It's been a really long time since I've been doing any Factorio modding.
I'm back now that 0.15 is out and am trying to update my mods.
seems like "game.evolution_factor" has changed.
Can someone please point me where to go look up functions/changes in 0.15?
How should I adjust the below:
Code: Select all
if game.evolution_factor > 0.995 then
Code: Select all
Bio_Cannon.surface.set_multi_command{command = {type=defines.command.attack, target=Bio_Cannon, distraction=defines.distraction.by_enemy},unit_count = math.floor(100 * game.evolution_factor), unit_search_distance = 500}