Page 1 of 1

LuaEntity::revive{ } overflow inventory parameter

Posted: Mon Aug 25, 2025 8:29 pm
by Quezler
It would be nice if we could supply it an overflow inventory just like https://lua-api.factorio.com/latest/cla ... e_override.

Currently any items on ground it collided with are returned in a string to uint map, which loses stuff like quality, damage, and more.

If we could supply a target inventory in which the revive would put all those items on ground instead that would be nice.

Re: LuaEntity::revive{ } overflow inventory parameter

Posted: Tue Aug 26, 2025 3:48 pm
by protocol_1903
+1

Re: LuaEntity::revive{ } overflow inventory parameter

Posted: Tue Aug 26, 2025 6:56 pm
by Rseding91
Ok. I added it for the next release.