Stable Foundations

by Dummiez

Buildings and other structures now have improved damage resistance, productivity, speed and efficiency when built over stone and concrete tiles. Can also be used to reinforce vehicles, robots and players as well as adjusting the additional foundation stats to your liking. Highly configurable/mod compatible.

Tweaks
a month ago
1.1 - 2.0
4.62K
Combat Armor Manufacturing Cheats

b ✅ Stable foundation reinforce enemy units

4 months ago

Hi, thanks for interesting mod!

When I check it, I noticed, that zerlings (from ERM mod) are very hard to kill by my turrets.
After some debugging I found out, that this stable foundation reinforce enemies standing on it, looks like this line https://github.com/Dummiez/Factorio-StableFoundations/blob/main/control.lua#L255C1-L256C1 can be changed to "if not entityUID or not canReinforceBuilding(entityBuilding) or entityBuilding.force.name == ENEMY_FORCE then return end". Also, not all enemy force have name "enemy", in my case it was enemy_erm_zerg, so last check can be updated as well

After that change my defence start holding

4 months ago

Should now be fixed in the latest version (1.1.3)

New response