[StrangePan] [1.1.107] Decreasing enemy expansion distance causes expansion failures

Bugs that are actually features.
Atraps003
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu Jan 04, 2018 6:34 am
Contact:

[StrangePan] [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 39 times
StrangePan
Factorio Staff
Factorio Staff
Posts: 155
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan] [1.1.107] Decreasing enemy expansion distance causes expansion failures

Post by StrangePan »

I think I'm going to categorize this as not a bug. While not configurable, enemies are required to expand some minimum distance from other bases to prevent areas from becoming overly dense.
Post Reply

Return to “Not a bug”