Template:LootSources: Difference between revisions

From Melvor Idle
mNo edit summary
(Fixed now incorrect reference)
 
Line 5: Line 5:
<onlyinclude><includeonly>
<onlyinclude><includeonly>
===Loot===
===Loot===
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items|getItemLootSourceTable|{{#var:name}}}}</includeonly></onlyinclude>
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items/SourceTables|getItemLootSourceTable|{{#var:name}}}}</includeonly></onlyinclude>

Latest revision as of 23:35, 27 November 2020

Template for calling loot sources for an item. Specifically checks monster drops, pickpocketing drops, and chests.

For example, {{LootSources|Mithril Sword}} gives

Loot