4,951
edits
Falterfire (talk | contribs) (Changed duplicate function name) |
Falterfire (talk | contribs) m (Formatting changes) |
||
Line 994: | Line 994: | ||
local result = '' | local result = '' | ||
local creationTable = p._getCreationTable(item) | local creationTable = p._getCreationTable(item) | ||
result = result..creationTable | if string.len(creationTable) > 0 then result = result..'===Creation===\r\n'..creationTable end | ||
local lootTable = p._getItemLootSourceTable(item) | local lootTable = p._getItemLootSourceTable(item) | ||
if string.len(lootTable) > 0 then | if string.len(lootTable) > 0 then | ||
if string.len(result) > 0 then result = result..'<br/>\r\n' end | if string.len(result) > 0 then result = result..'<br/>\r\n' end | ||
result = result..lootTable | result = result..'===Loot===\r\n'..lootTable | ||
end | end | ||
return result | return result |