Hi, I have similar problem (crash on enemy death) with a mod Legio Titanicus: https://mods.factorio.com/mod/WH40k-Titans
Basically, if I kill someone with the primary weapon - game crashes. Laser defence and stomping is OK tho o_o
Error text:
Error while running event ColonyBuilder::on_entity_died (ID 4)
ColonyBuilder/control.lua:184: bad argument #2 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__ColonyBuilder/control.lua:184: in function <ColonyBuilder/control.lua:157>
==============================================
On the side note - there is fun (probably unintendent) feature - Colony soldiers can embark titans like APC (in the equipment grid).
I wonder:
- Why?
- Maybe you can make togglable setting to allow soldiers to embark in vanilla equipment grids and/or vehicle storage? Spidertrons/modded flyers with dropship troops - sounds cool!