Damageable Spider Leg deprecated

by x2605

Spidertron now can be damaged by car impact, and some collision-mask filtered attacks. You need to load this mod before placing any of spidertrons in game, otherwise it will be broken. For unmodded-vanilla scenarios, there is "damageable_spider_leg.lua" file in zipfile for used as lua module.

Tweaks
4 years ago
1.0 - 1.1
69

i on_entity_damaged filter

4 years ago
(updated 4 years ago)

Hi, can you please filter the the on_entity_damaged event for ups saving ?
On late games the ups drops hard without filtering damage event...
https://lua-api.factorio.com/latest/Event-Filters.html#LuaEntityDamagedEventFilters

4 years ago

Event filter is already set if it is used as mod, at line 103 of control.lua.
If you are manually inserting code in your scenario, you have to input filter code manually.

4 years ago

Thank you!

New response