[1.1.107] Decreasing enemy expansion distance causes expansion failures

Post your bugs and problems so we can fix them.
Post Reply
Atraps003
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Thu Jan 04, 2018 6:34 am
Contact:

[1.1.107] Decreasing enemy expansion distance causes expansion failures

Post by Atraps003 »

If enemy_expansion.max_expansion_distance is decreased after a map has been generated many enemy expansion attempts will fail depending on map conditions.

Steps to reproduce:
-Download map (map starts with 255 spawners and expansion distance of 20)
-Count spawners /c count=game.forces["enemy"].get_entity_count x=count("biter-spawner")+count("spitter-spawner") game.print(x)
-Play map for 200000 ticks
-Count spawners (my result is 333)
-Reload same map
-Decrease expansion distance /c game.map_settings.enemy_expansion.max_expansion_distance = 2
-Play map for 200000 ticks
-Count spawners (my result is 255)
Attachments
failed-enemy-expansions.zip
(5.12 MiB) Downloaded 13 times

Post Reply

Return to “Bug Reports”