Drox's Regenerative Walls


Adds 3 tiers of walls/gates, each progressively getting more health regen as you research the next tiers

Content
2 months ago
2.0
808
Combat

i Possible fix for script overload

2 months ago

Hellooo Nova!

I saw that you talk about some scripts issues in the last changuelog, mostly about script overload i guess.

I haven't seen the inside of the mod to be able to suggest correctly, however, maybe this property can help you with the walls healing: https://lua-api.factorio.com/latest/prototypes/EntityWithHealthPrototype.html#healing_per_tick

2 months ago

Hey Factory!

Yeah, I did. Mainly cause when I used nanobots, it wouldn't register the walls to the list of entities needing to regen health. So, I originally used a rescan of the map method to do it, but found out quickly it caused a quick stutter on the player. I was able to fix this by finding another way and removed the rescan function out.

In terms of your finding, I did not know about this! For the healing effect, I just took the health of the wall and added on a small bit of health every second.

New response