If there lays two chests items with health of 50% and 75% under a ghost and it is revived, what I currently get is the following:
Code: Select all
local items, entity = ghost.revive()
-- items = {"chest" = 2}
Code: Select all
local items, entity = ghost.revive()
-- list of LuaItemStack
-- items = {{name = "chest", health = 0.5, …}, {name = "chest", health = 0.75, …}
Gerhard