LuaEntity::revive{ } overflow inventory parameter

User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 269
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

LuaEntity::revive{ } overflow inventory parameter

Post 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.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 326
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: LuaEntity::revive{ } overflow inventory parameter

Post by protocol_1903 »

+1
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16128
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaEntity::revive{ } overflow inventory parameter

Post by Rseding91 »

Ok. I added it for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”