The time_to_live for a character-corpse is listed as uint32. However if you put a max uint32 value the corpse vanishes instantly.
https://wiki.factorio.com/Prototype/Cha ... me_to_live
Assume the same issue exists for regular corpse.
In my testing I found that the vanishing is somewhere above 4,200,000 and below the max of 4,294,967,295. i.e. 4,294,967,000 still causes it to instant vanish.
From another modders test they believed it looks like the corpse time_to_live is added to current game tick and then wraps around the max uint32 and so becomes a low number and thus vanishes.
[1.1.53] Corpse TTL set to uint max vanishes instantly
- Muppet9010
- Filter Inserter
- Posts: 278
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
Re: [1.1.53] Corpse TTL set to uint max vanishes instantly
Hey, this is fixed in 1.1.54 which was released about two hours ago.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.