LuaEntity.revive incorrect first result value

User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 294
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

LuaEntity.revive incorrect first result value

Post by Osmo »

LuaEntity.revive says the first return value is dictionary[string → uint32]?
However, it seems to actually be an array of structures, presumably an array of ItemWithQualityCount
изображение.png
изображение.png (101.2 KiB) Viewed 219 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3761
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaEntity.revive incorrect first result value

Post by Bilka »

Thanks for the report, it's an array of ItemWithQualityCount. The type of silent_revive is correct, it looks like we just missed updating revive as well. Fixed for the next release.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”