When using LuaEntityPrototype::time_to_live in control stage to get a Prototype/Corpse.time_before_removed property, the value returned is not the one defined in the prototype (in ticks) but has been in-between multiplied by its Prototype/Corpse.dying_speed property, making it unusable.
Adding LuaEntityPrototype::dying_speed (read-only) could be a simple solution.
LuaEntityPrototype::dying_speed [R]
Re: LuaEntityPrototype::dying_speed [R]
This has been implemented at some point in the last 2 years.
If you want to get ahold of me I'm almost always on Discord.
Re: LuaEntityPrototype::dying_speed [R]
I didn't noticed, it slipped through the changelogs. Thank you for the notification!
It was added in 1.1.60 apparently.
It was added in 1.1.60 apparently.