Negative evolution factors

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Negative evolution factors

Post by darkfrei »

Hi all!

Can you please to add the possibility to make negative evolution factors?
For example game.map_settings.enemy_evolution.time_factor could be negative and then enemies by green factory and after time are not so aggressive anymore.

Cadde
Fast Inserter
Fast Inserter
Posts: 149
Joined: Tue Oct 02, 2018 5:44 pm
Contact:

Re: Negative evolution factors

Post by Cadde »

Are you talking about scripting? Because then i don't know if it's possible.
But if you are talking about making it negative in game, that was possible already last i tried from the console. And it worked too.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Negative evolution factors

Post by darkfrei »

No, I'm talking about data stage

Code: Select all

data.raw["map-settings"]["map-settings"].enemy_evolution = 
  {
    enabled = true,
    time_factor = -1/1000000, -- no negative time factor in Factorio 0.17.41, negative is 0
    destroy_factor = 0,
    pollution_factor = 0
  }
It doesn't work, just got the 0 :(

sparr
Smart Inserter
Smart Inserter
Posts: 1327
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: Negative evolution factors

Post by sparr »


Post Reply

Return to “Modding interface requests”