Biter-proofing


Stops biters from chewing on your power lines by making them invincible. Can be configured to protect other parts of your infrastructure. By default only affects newly-placed entities but can be applied retroactively.

Content
5 months ago
1.0 - 2.0
2.64K
Transportation Combat

g Possible to add option for Big Electric Poles specifically?

5 months ago
(updated 5 months ago)

Thanks for updating this mod, it's very useful for my preferred playstyle of making large outposts connected by trainlines with power poles.

Is it possible to add another option to make only Big Electric Poles invincible, but not Small/Medium/Substations etc.? I like having the connections between my factories / outposts be safe, which is generally just rails, rail signals, and Big Electric Poles, but would also like all the other electric infrastructure inside my bases to be vulnerable to attacks, which is usually Small/Medium poles & substations.

I tried some editing in control.lua to do this (e.g. using {filter="big-electric-pole"} instead of {filter="type", type="electric-pole"}, and fef["big-electric-pole"] etc. ), but couldn't get it to work since it seems the method that toggles the invincibility works by item "Prototype" type, not internal name?

5 months ago

I reworked the way filters work so you can include only entities of specific prototypes by putting big-electric-pole in the name filter field

5 months ago

Thanks so much, that will be very useful!

New response