hello everyone 
im facing a problem i added 2x item loot in onDropLoot tfs 1.4
i want to know which item/loot i got from the storage to use it on the loot text
how should Text be?
i am trying to show normal loot and double loot drop separated not all loot together but this text show all loot 2 times in each %s
im facing a problem i added 2x item loot in onDropLoot tfs 1.4
i want to know which item/loot i got from the storage to use it on the loot text
Lua:
if player:getStorageValue(lionStorage) >= 1 then
local itemOne = corpse:createLootItem(monsterLoot[i])
end
local item = corpse:createLootItem(monsterLoot[i])
if not item then
print('[Warning] DropLoot:', 'Could not add loot item to corpse.')
end
Lua:
text = ("Loot of %s: %s and Double Loot: %s"):format(mType:getNameDescription(), corpse:getContentDescription(), lootDoubleContent)