Krastorio 2


An overhaul mod focusing on end-game technologies and moderately increased complexity.

Overhaul
6 months ago
0.18 - 1.1
338K
Transportation Logistics Trains Combat Armor Mining Fluids Logistic network Manufacturing Power Storage

g Creep Generator support new enemy forces

3 years ago

Hi Linver

I'm making a mod to add new enemy forces. A player brought up about compatibility with Krastorio. The only problem I see is the creep generator. It doesn't generate creep under my new enemy forces. Other aspects seem fine.

https://mods.factorio.com/mod/enemyracemanager/discussion/605c9c708618fe16b0713f92

The creep generator in this mod only filter the "enemy" force. Do you mind to changing it to support all forces with the word "enemy"? My new enemy forces are prefix with "enemy_".

Here is the gist for the change of function pushCreepToGenerate(event) in mods/Krastorio2_1.0.23/lib/private/control-scripts/creep-generator.lua
https://gist.github.com/heyqule/cbb9b7b72b7cfc1598f8c72ca8e00524