Difference between revisions of "Template:NPCSub"
m |
m |
||
Line 52: | Line 52: | ||
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{Quest|}}}|{{{Drops|}}}}} | |MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{Quest|}}}|{{{Drops|}}}}} | ||
|npcTbl={{Tables|NPCTblInput|{{{Image|{{{Icon}}}}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}} | |npcTbl={{Tables|NPCTblInput|{{{Image|{{{Icon}}}}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}} | ||
− | |npcInv={{Inventory|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup| | + | |npcInv={{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}} |
− | |npcInvList={{Inventory|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup| | + | |npcInvList={{#invoke:Inventory|makeList|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}} |
|npcSel={{{{{{Sel|}}}}}} | |npcSel={{{{{{Sel|}}}}}} | ||
|genSel={{{{{{Sel|}}}}}} | |genSel={{{{{{Sel|}}}}}} | ||
Line 94: | Line 94: | ||
<includeonly>[[Category:NPC:Merchants]]</includeonly> | <includeonly>[[Category:NPC:Merchants]]</includeonly> | ||
{{Tables|AreaMerchant|{{PAGENAME}}'s Wares}} | {{Tables|AreaMerchant|{{PAGENAME}}'s Wares}} | ||
− | {{Inventory|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup| | + | {{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}} |
</table> | </table> | ||
}}{{#if:{{{Combatant|}}}|: | }}{{#if:{{{Combatant|}}}|: |