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
3 years ago
1.0 - 1.1
66

i on_entity_damaged filter

3 years ago
(updated 3 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

3 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.

3 years ago

Thank you!

New response