Difference between revisions of "Template:Acquired from"

From Stoneshard wiki
Jump to navigation Jump to search
(add basic tags to osbrook and mannshire merchants that were missing them)
(update to 0.8.1.12 (skinflint))
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><!-- Check if item has data in Armor data or Weapon data, define appropriate data page as variable --><!--
--><!-- Check if item has data in Armor data or Weapon data, define appropriate data page as variable --><!--
-->{{#vardefine:Datapage|{{#ifeq:{{:Weapon_data|{{ROOTPAGENAME}}|LVL}}|Data does not exist.|Armor_data|Weapon_data}}}}<!--
-->{{#vardefine:Datapage|{{#ifeq:{{:Weapon_data|{{ROOTPAGENAME}}}}|Data does not exist.|{{#ifeq:{{:Armor_data|{{ROOTPAGENAME}}}}|Data does not exist.||Armor_data}}|Weapon_data}}}}<!--
--><!-- Load item data into variables --><!--
--><!-- if item isn't in either data page, just return empty string for now--><!--
-->{{#vardefine:Material|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|Material}}}}}}<!--
-->{{#if:{{#var:Datapage}}|<!--
-->{{#vardefine:Tags|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|Tags}}}}}}<!--
--- Load complete datastring into a variable - to only load from the data page once. ---
-->{{#vardefine:LVL|{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|LVL}}}}<!--
-->{{#vardefine:Datastring|{{:{{#var:Datapage}}|{{ROOTPAGENAME}}}}}}<!--
--><!-- RINGS and AMULETS are only sold by JEWELERS, GENERAL MERCHANTS, PAWNSHOP and DOCK ELF, define a variable to easily skip others --><!--
--><!-- Load item data into variables, temporary solution for armor and weapons only --><!--
-->{{#vardefine:Jewelry|{{#pos: ring|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|ArmorType}}}}}}{{#pos: amulet|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|ArmorType}}}}}}}}<!--
-->{{#ifeq:{{#var:Datapage}}|Armor_data|{{#vardefine:Material|{{lc:{{#explode: {{#var:Datastring}}|;|5}}}}}}|{{#vardefine:Material|{{lc:{{#explode: {{#var:Datastring}}|;|3}}}}}}}}<!--
-->{{#ifeq:{{#var:Datapage}}|Armor_data|{{#vardefine:Tags|{{lc:{{#explode: {{#var:Datastring}}|;|72}}}}}}|{{#vardefine:Tags|{{lc:{{#explode: {{#var:Datastring}}|;|72}}}}}}}}<!--
-->{{#ifeq:{{#var:Datapage}}|Armor_data|{{#vardefine:LVL|{{#explode: {{#var:Datastring}}|;|0}}}}|{{#vardefine:LVL|{{#explode: {{#var:Datastring}}|;|5}}}}}}<!--
--><!-- RINGS and AMULETS are only sold by JEWELERS, GENERAL MERCHANTS, PAWNSHOP, DOCK ELF and DWARF, define a variable to easily skip others --><!--
-->{{#ifeq:{{#var:Datapage}}|Armor_data|{{#vardefine:Jewelry|{{#pos: ring|{{lc:{{#explode: {{#var:Datastring}}|;|2}}}}}}{{#pos: amulet|{{lc:{{#explode: {{#var:Datastring}}|;|2}}}}}}}}}}<!--
--><!-- Define LVL adjustments at reputation levels into variables --><!--
--><!-- Define LVL adjustments at reputation levels into variables --><!--
-->{{#vardefine:Hatred|-4}}<!--
-->{{#vardefine:Hatred|-4}}<!--
Line 17: Line 21:
--><!-- List all the merchants and remove lines based on variables. --><!--
--><!-- List all the merchants and remove lines based on variables. --><!--
--><!-- Check if item is JEWELRY, skip merchants that can't sell jewelry to lessen the load --><!--
--><!-- Check if item is JEWELRY, skip merchants that can't sell jewelry to lessen the load --><!--
-->{{#if: {{#var:Jewelry}}||
-->{{#if: {{#var:Jewelry|}}||
<!-- Using pos to check if item's material type is sold by the merchant. --><!--
<!-- Using pos to check if item's material type is sold by the merchant. --><!--
--><!-- TAILORS only sell CLOTH and LEATHER --><!--
--><!-- TAILORS only sell CLOTH and LEATHER --><!--
-->{{#if: {{#pos: cloth leather leather2|{{#var:Material}}}}
-->{{#if: {{#pos: cloth leather leather2|{{#var:Material}}}}
|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Hold]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Hold|Hold/{{SUBPAGENAME}}}}|{{#if: {{Translate|Hold|NPCNames}}|{{Translate|Hold|NPCNames}}|Hold}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (6 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 6|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Amity}}) and {{#var:LVL}} <= (6 + {{#var:Amity}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Respect}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Keremit Lawe]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Keremit Lawe|Keremit Lawe/{{SUBPAGENAME}}}}|{{#if: {{Translate|Keremit Lawe|NPCNames}}|{{Translate|Keremit Lawe|NPCNames}}|Keremit Lawe}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->}}<!-- SMITHS only sell METAL --><!--
-->}}<!-- SMITHS only sell METAL --><!--
-->{{#if: {{#pos: metal|{{#var:Material}}}}
-->{{#if: {{#pos: metal|{{#var:Material}}}}
|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Jebar]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jebar|Jebar/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jebar|NPCNames}}|{{Translate|Jebar|NPCNames}}|Jebar}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (6 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 6|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Amity}}) and {{#var:LVL}} <= (6 + {{#var:Amity}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 6|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Respect}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Dietrich]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (12 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Dietrich|Dietrich/{{SUBPAGENAME}}}}|{{#if: {{Translate|Dietrich|NPCNames}}|{{Translate|Dietrich|NPCNames}}|Dietrich}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (12 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (12 + {{#var:Amity}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Respect}}) and {{#var:LVL}} <= (12 + {{#var:Respect}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Giles vir Ivet]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Giles vir Ivet|Giles vir Ivet/{{SUBPAGENAME}}}}|{{#if: {{Translate|Giles vir Ivet|NPCNames}}|{{Translate|Giles vir Ivet|NPCNames}}|Giles vir Ivet}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->}}<!-- CARPENTERS only sell WOOD --><!--
-->}}<!-- CARPENTERS only sell WOOD --><!--
-->{{#if: {{#pos: wood|{{#var:Material}}}}
-->{{#if: {{#pos: wood|{{#var:Material}}}}
|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Jurg]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jurg|Jurg/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jurg|NPCNames}}|{{Translate|Jurg|NPCNames}}|Jurg}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (6 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 6|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Amity}}) and {{#var:LVL}} <= (6 + {{#var:Amity}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 6|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Respect}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Dirk]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (12 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Dirk_(NPC)|Dirk_(NPC)/{{SUBPAGENAME}}}}|{{#if: {{Translate|Dirk|NPCNames}}|{{Translate|Dirk|NPCNames}}|Dirk}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (12 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (12 + {{#var:Amity}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Respect}}) and {{#var:LVL}} <= (12 + {{#var:Respect}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Noel vir Roan]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Noel vir Roan|Noel vir Roan/{{SUBPAGENAME}}}}|{{#if: {{Translate|Noel vir Roan|NPCNames}}|{{Translate|Noel vir Roan|NPCNames}}|Noel vir Roan}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->}}<!-- Using pos to check if item's origin and rarity tags can be sold by the merchant. --><!--
-->}}<!-- Using pos to check if item's origin and rarity tags can be sold by the merchant. --><!--
--><!-- Explode the variable to check place of origin first (ie. aldor). If matched, check for rarity second. --><!--
--><!-- Explode the variable to check place of origin first (ie. aldor). If matched, check for rarity second. --><!--
-->{{#if: {{#pos: aldor brynn common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor brynn common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Bern]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Bern|Bern/{{SUBPAGENAME}}}}|{{#if: {{Translate|Bern|NPCNames}}|{{Translate|Bern|NPCNames}}|Bern}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->}}}}<!--
-->)}}<!--
-->{{#if: {{#pos: aldor brynn aldwynn maen common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn aldwynn maen common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->* [[Skinflint Homs]] at <!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (16 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (16 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 16|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|Respect}}<!--
-->}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor magic|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor magic|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor magic|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor magic|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Renod Kann]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Renod Kann|Renod Kann/{{SUBPAGENAME}}}}|{{#if: {{Translate|Renod Kann|NPCNames}}|{{Translate|Renod Kann|NPCNames}}|Renod Kann}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->}}}}<!--
-->)}}<!--
-->{{#if: {{#pos: common uncommon elven rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: common uncommon elven rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->* [[Armuz]] at <!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: fjall common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: fjall common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: common uncommon elven|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: common uncommon elven rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
|{{#vardefine:NobodySells|1}}<!--
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->* [[Ormi]] at <!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Armuz|Armuz/{{SUBPAGENAME}}}}|{{#if: {{Translate|Armuz|NPCNames}}|{{Translate|Armuz|NPCNames}}|Armuz}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: nistra common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: nistra common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: nistra common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: nistra common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Rigo Nevic]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Rigo Nevic|Rigo Nevic/{{SUBPAGENAME}}}}|{{#if: {{Translate|Rigo Nevic|NPCNames}}|{{Translate|Rigo Nevic|NPCNames}}|Rigo Nevic}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: skadia common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: skadia common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: skadia common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: skadia common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Zdenebrad]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Zdenebrad|Zdenebrad/{{SUBPAGENAME}}}}|{{#if: {{Translate|Zdenebrad|NPCNames}}|{{Translate|Zdenebrad|NPCNames}}|Zdenebrad}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->}}<!-- ENDIF JEWELRY CHECK --><!--
-->}}<!-- ENDIF JEWELRY CHECK --><!--
-->{{#if: {{#pos: fjall common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: fjall common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})
|{{#vardefine:NobodySells|1}}<!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Ormi|Ormi/{{SUBPAGENAME}}}}|{{#if: {{Translate|Ormi|NPCNames}}|{{Translate|Ormi|NPCNames}}|Ormi}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (10 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Gerlot]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (10 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Gerlot|Gerlot/{{SUBPAGENAME}}}}|{{#if: {{Translate|Gerlot|NPCNames}}|{{Translate|Gerlot|NPCNames}}|Gerlot}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (10 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (10 + {{#var:Amity}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Respect}}) and {{#var:LVL}} <= (10 + {{#var:Respect}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Jervey vir Noms]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jervey vir Noms|Jervey vir Noms/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jervey vir Noms|NPCNames}}|{{Translate|Jervey vir Noms|NPCNames}}|Jervey vir Noms}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#var:Jewelry}}|{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#var:Jewelry}}|{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Letar]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Letar|Letar/{{SUBPAGENAME}}}}|{{#if: {{Translate|Letar|NPCNames}}|{{Translate|Letar|NPCNames}}|Letar}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}}}<!--
-->}}}}}}<!--
-->{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[General_Merchant_(Brynn_Mint_Square)]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|General Merchant (Brynn Mint Square)|General Merchant (Brynn Mint Square)/{{SUBPAGENAME}}}}|{{#if: {{Translate|General Merchant (Brynn Mint Square)|NPCNames}}|{{Translate|General Merchant (Brynn Mint Square)|NPCNames}}|General Merchant (Brynn Mint Square)}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[General_Merchant_(Brynn_Docks)]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|General Merchant (Brynn Docks)|General Merchant (Brynn Docks)/{{SUBPAGENAME}}}}|{{#if: {{Translate|General Merchant (Brynn Docks)|NPCNames}}|{{Translate|General Merchant (Brynn Docks)|NPCNames}}|General Merchant (Brynn Docks)}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor brynn aldwynn maen common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn aldwynn maen common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})
|{{#vardefine:NobodySells|1}}<!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Skinflint Homs|Skinflint Homs/{{SUBPAGENAME}}}}|{{#if: {{Translate|Skinflint Homs|NPCNames}}|{{Translate|Skinflint Homs|NPCNames}}|Skinflint Homs}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: elven common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: elven common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: elven common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: elven common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (18 + {{#var:RespectBrynn}})
|{{#vardefine:NobodySells|1}}<!--
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->* [[Esfah]] at <!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Esfah|Esfah/{{SUBPAGENAME}}}}|{{#if: {{Translate|Esfah|NPCNames}}|{{Translate|Esfah|NPCNames}}|Esfah}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (18 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (18 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 18|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (18 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (18 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common uncommon rare magic|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon rare magic|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor common uncommon rare magic|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon rare magic|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Ol' Tott]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Ol' Tott|Ol' Tott/{{SUBPAGENAME}}}}|{{#if: {{Translate|Ol' Tott|NPCNames}}|{{Translate|Ol' Tott|NPCNames}}|Ol' Tott}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 14|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (8 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Bert]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (8 + {{#var:Hatred}})|Hatred&nbsp;|}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Bert|Bert/{{SUBPAGENAME}}}}|{{#if: {{Translate|Bert|NPCNames}}|{{Translate|Bert|NPCNames}}|Bert}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Resentment}}) and {{#var:LVL}} <= (8 + {{#var:Resentment}})|Resentment&nbsp;|}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;|}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;|}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Amity}}) and {{#var:LVL}} <= (8 + {{#var:Amity}})|Amity&nbsp;|}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Respect}}) and {{#var:LVL}} <= (8 + {{#var:Respect}})|Respect|}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;|}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}}
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
|<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (20 + {{#var:Respect}})
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Respect}})
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
|{{#vardefine:NobodySells|1}}<!--
-->* [[Wigmar]] at <!--
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (20 + {{#var:Hatred}})|Hatred&nbsp;}}<!--
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|One-Eyed Wigmar|One-Eyed Wigmar/{{SUBPAGENAME}}}}|{{#if: {{Translate|One-Eyed Wigmar|NPCNames}}|{{Translate|One-Eyed Wigmar|NPCNames}}|One-Eyed Wigmar}}]] (&nbsp;<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (20 + {{#var:Resentment}})|Resentment&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 20|Neutral&nbsp;Benevolence&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Amity}}) and {{#var:LVL}} <= (20 + {{#var:Amity}})|Amity&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}}&nbsp;{{Translate|Benevolence|Properties}}&nbsp;}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Respect}}) and {{#var:LVL}} <= (20 + {{#var:Respect}})|Respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Amity}})|{{Translate|Amity|Properties}}&nbsp;}}<!--
-->}}<!--
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!--
-->)}}<!--
-->}}}}<!--
-->}}}}<!--
--><!-- OLD CODE for Containers, still works but the lists will be outdated for sure --><!--
-->{{#if: {{#var:NobodySells}}||Currently no merchant sells this item.}}}}<!--
-->{{#if: {{#pos:{{:Barrels|Loot}}|{{ROOTPAGENAME}}}} | * [[Barrels]] | }}<!--
--><!-- OLD CODE for Containers, still works but the lists will be outdated for sure - hiding for now --><!--
-->{{#if: {{#pos:{{:Bookshelves|Loot}}|{{ROOTPAGENAME}}}} | * [[Bookshelves]] | }}<!--
{{#if: {{#pos:{{:Barrels|Loot}}|{{ROOTPAGENAME}}}} | * [[Barrels]] | }}
-->{{#if: {{#pos:{{:Bookshelves|Treatise}}|{{ROOTPAGENAME}}}} | * [[Bookshelves]] | }}<!--
{{#if: {{#pos:{{:Bookshelves|Loot}}|{{ROOTPAGENAME}}}} | * [[Bookshelves]] | }}
-->{{#if: {{#pos:{{:Carts|Loot}}|{{ROOTPAGENAME}}}} | * [[Carts]] | }}<!--
{{#if: {{#pos:{{:Bookshelves|Treatise}}|{{ROOTPAGENAME}}}} | * [[Bookshelves]] | }}
-->{{#if: {{#pos:{{:Chests|Loot}}|{{ROOTPAGENAME}}}} | * [[Chests]] | }}<!--
{{#if: {{#pos:{{:Carts|Loot}}|{{ROOTPAGENAME}}}} | * [[Carts]] | }}
-->{{#if: {{#pos:{{:Coffins|Loot}}|{{ROOTPAGENAME}}}} | * [[Coffins]] | }}<!--
{{#if: {{#pos:{{:Chests|Loot}}|{{ROOTPAGENAME}}}} | * [[Chests]] | }}
-->{{#if: {{#pos:{{:Corpses|Loot}}|{{ROOTPAGENAME}}}} | * [[Corpses]] | }}<!--
{{#if: {{#pos:{{:Coffins|Loot}}|{{ROOTPAGENAME}}}} | * [[Coffins]] | }}
-->{{#if: {{#pos:{{:Crates|Loot}}|{{ROOTPAGENAME}}}} | * [[Crates]] | }}<!--
{{#if: {{#pos:{{:Corpses|Loot}}|{{ROOTPAGENAME}}}} | * [[Corpses]] | }}
-->{{#if: {{#pos:{{:Cupboards|Loot}}|{{ROOTPAGENAME}}}} | * [[Cupboards]] | }}<!--
{{#if: {{#pos:{{:Crates|Loot}}|{{ROOTPAGENAME}}}} | * [[Crates]] | }}
-->{{#if: {{#pos:{{:Graves|Loot}}|{{ROOTPAGENAME}}}} | * [[Graves]] | }}<!--
{{#if: {{#pos:{{:Cupboards|Loot}}|{{ROOTPAGENAME}}}} | * [[Cupboards]] | }}
-->{{#if: {{#pos:{{:Hero Sarcophagus|Loot}}|{{ROOTPAGENAME}}}} | * [[Hero Sarcophagus]] | }}<!--
{{#if: {{#pos:{{:Graves|Loot}}|{{ROOTPAGENAME}}}} | * [[Graves]] | }}
-->{{#if: {{#pos:{{:Nightstands|Loot}}|{{ROOTPAGENAME}}}} | * [[Nightstands]] | }}<!--
{{#if: {{#pos:{{:Hero Sarcophagus|Loot}}|{{ROOTPAGENAME}}}} | * [[Hero Sarcophagus]] | }}
-->{{#if: {{#pos:{{:Racks|Loot}}|{{ROOTPAGENAME}}}} | * [[Racks]] | }}<!--
{{#if: {{#pos:{{:Nightstands|Loot}}|{{ROOTPAGENAME}}}} | * [[Nightstands]] | }}
-->{{#if: {{#pos:{{:Sarcophagi|Loot}}|{{ROOTPAGENAME}}}} | * [[Sarcophagi]] | }}<!--
{{#if: {{#pos:{{:Racks|Loot}}|{{ROOTPAGENAME}}}} | * [[Racks]] | }}
-->{{#if: {{#pos:{{:Shelves|Loot}}|{{ROOTPAGENAME}}}} | * [[Shelves]] | }}<!--
{{#if: {{#pos:{{:Sarcophagi|Loot}}|{{ROOTPAGENAME}}}} | * [[Sarcophagi]] | }}
-->{{#if: {{#pos:{{:Vases|Loot}}|{{ROOTPAGENAME}}}} | * [[Vases]] | }}<!--
{{#if: {{#pos:{{:Shelves|Loot}}|{{ROOTPAGENAME}}}} | * [[Shelves]] | }}
-->{{#if: {{#pos:{{:Wardrobes|Loot}}|{{ROOTPAGENAME}}}} | * [[Wardrobes]] | }}</includeonly><noinclude>{{doc}}
{{#if: {{#pos:{{:Vases|Loot}}|{{ROOTPAGENAME}}}} | * [[Vases]] | }}
{{#if: {{#pos:{{:Wardrobes|Loot}}|{{ROOTPAGENAME}}}} | * [[Wardrobes]] | }}--></includeonly><noinclude>{{doc}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 12:18, 28 June 2023

Template-info.png Documentation

This template automatically provides a list of loot sources (where an item can spawn/who drops an item). It is incomplete, a work in progress.


Usage

Call this template from any item page, place it where you want to have a list of sources. No parameter is required, ie. simply copy this text:

{{Acquired from}}


How does it work? (OLD WAY)

  • The template automatically uses the page name as the string to look for.
  • We check if the string we're looking for is part of a data string from a given container page.
  • If a match is found, we display the source's page name. If not, we display nothing.
  • Template assumes that all pages we check have their loot data available in our Data Structure format.
  • Due to the #pos Parser Function limitation, the loot data strings must have less than 1000 characters.


Live Examples

Example of loot data from Hero Sarcophagus:

<includeonly>{{#switch: {{{1}}}
|Loot = Pig-Faced Bascinet, Ceremonial Cuirass, Bollock Dagger, Footman Sword, Rondel, Bastard Sword, Battle Axe, War Pick, Knight Warhammer, Fancy Sword, Decorated Dagger, Orient Staff, Golden Ring, Pearl Necklace, Golden Fancy Ring, Golden Patterned Ring, Sapphire Pendant, Emerald, Sapphire, Sea Pearls, Ruby Beads, Exquisite Casket, Golden Earrings, Amethyst, Aquamarine, Topaz, Golden Brooch, Old Agraffe, Silver Buckle, Golden Cup, Diamond, Ruby
|#default = 
}}</includeonly>

If a container's loot data has more than 1000 characters, the data structure can be organized into multiple entries, for example based on item types.

Example of loot data from Bookshelves:

<includeonly>{{#switch: {{{1}}}
|Loot = Plague Doctor Mask, Brynn Vermouth, Mannshire Fortified, Brandy, Lockpicks, Repair Kit, Crowbar, Surgeon's Kit, Horsetail, Peppermint, Mindwort, Burdock, Bogbean, Agrimony, Vivifying Essence, Gwynnel's Elixir, Healing Salve, Splint, Bandage, Ether Inhaler, Antitoxin, Identification Scroll, Enchantment Scroll, Disenchantment Scroll, Bolt of Cloth, Silver Cup, Hourglass, Jade Figurine, Spool of Thread, Silver Buckle, Silver Plate, Decorated Inkpot, Golden Candelabrum, Silver Cutlery, Bottle of Oil, Iron Ingot, Gold Nugget, Silver Nugget, Copper Candlestick, Bottle, Candle-end, Straw, Coal Chunk, Nails, Ladle, Mug, Bowl, Pot, Plate, Rag, Rope
|Treatise = Sword Treatise I, Sword Treatise II, Sword Treatise III, Axe Treatise I, Axe Treatise II, Axe Treatise III, Mace Treatise I, Mace Treatise II, Mace Treatise III, Dagger Treatise I, Dagger Treatise II, Dagger Treatise III, Greatswords Treatise I, Greatswords Treatise II, Greatswords Treatise III, Ranged Weapons Treatise I, Ranged Weapons Treatise II, Ranged Weapons Treatise III, Shields Treatise I, Shields Treatise II, Shields Treatise III, Staffs Treatise I, Staffs Treatise II, Staffs Treatise III, Combat Mastery Treatise I, Combat Mastery Treatise II, Combat Mastery Treatise III, Combat Mastery Treatise IV, Athletics Treatise I, Athletics Treatise II, Athletics Treatise III, Athletics Treatise IV, Pyromantic Treatise I, Pyromantic Treatise II, Pyromantic Treatise III, Pyromantic Treatise IV, Geomantic Treatise I, Geomantic Treatise II, Geomantic Treatise III, Geomantic Treatise IV
|#default = 
}}</includeonly>

For each parameter you have to add a new line to the template to check for. Example:

-->{{#if: {{#pos:{{:Bookshelves|Loot}}|{{ROOTPAGENAME}}}} | * [[Bookshelves]] | }}<!--
-->{{#if: {{#pos:{{:Bookshelves|Treatise}}|{{ROOTPAGENAME}}}} | * [[Bookshelves]] | }}<!--