Difference between revisions of "Template:Acquired from test"
Jump to navigation
Jump to search
m |
|||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- Load item data into variables --><!-- | <includeonly><!-- | ||
-->{{#vardefine:Material|{{lc:{{: | --><!-- Check if item has data in Armor data or Weapon data, define appropriate data page as variable --><!-- | ||
-->{{#vardefine:Tags|{{lc:{{: | -->{{#vardefine:Datapage|{{#ifeq:{{:Weapon_data|{{ROOTPAGENAME}}|LVL}}|Data does not exist.|Armor_data|Weapon_data}}}}<!-- | ||
-->{{#vardefine:LVL|{{: | --><!-- Load item data into variables --><!-- | ||
--><!-- RINGS and AMULETS are only sold by JEWELERS | -->{{#vardefine:Material|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|Material}}}}}}<!-- | ||
-->{{#vardefine: | -->{{#vardefine:Tags|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|Tags}}}}}}<!-- | ||
<!-- Define LVL adjustments at reputation levels into variables --><!-- | -->{{#vardefine:LVL|{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|LVL}}}}<!-- | ||
--><!-- RINGS and AMULETS are only sold by JEWELERS, GENERAL MERCHANTS, PAWNSHOP and DOCK ELF, define a variable to easily skip others --><!-- | |||
-->{{#vardefine:Jewelry|{{#pos: ring|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|ArmorType}}}}}}{{#pos: amulet|{{lc:{{:{{#var:Datapage}}|{{ROOTPAGENAME}}|ArmorType}}}}}}}}<!-- | |||
--><!-- Define LVL adjustments at reputation levels into variables --><!-- | |||
-->{{#vardefine:Hatred|-4}}<!-- | -->{{#vardefine:Hatred|-4}}<!-- | ||
-->{{#vardefine:Resentment|-2}}<!-- | -->{{#vardefine:Resentment|-2}}<!-- | ||
Line 13: | Line 16: | ||
-->{{#vardefine:RespectBrynn|10}}<!-- | -->{{#vardefine:RespectBrynn|10}}<!-- | ||
--><!-- 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 --><!-- | --><!-- Check if item is JEWELRY, skip merchants that can't sell jewelry to lessen the load --><!-- | ||
-->{{#if: {{#var: | -->{{#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}}}} | |||
|<!-- 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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Hatred}} and {{#var:LVL}} < (6 + {{#var:Respect}}) | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Hold]] at <!-- | -->* [[Hold]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Hatred}} and {{#var:LVL}} < (6 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Resentment}} and {{#var:LVL}} < (6 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (6 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 1 and {{#var:LVL}} < 6| | -->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 6|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Amity}} and {{#var:LVL}} < (6 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Amity}}) and {{#var:LVL}} <= (6 + {{#var:Amity}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Respect}} and {{#var:LVL}} < (6 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Respect}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | -->}}}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}} | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#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. --><!-- | |||
-->* [[Keremit Lawe]] at <!-- | -->* [[Keremit Lawe]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
}}<!-- | -->}}}}<!-- | ||
--><!-- 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}}}} | |||
|<!-- 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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Hatred}} and {{#var:LVL}} < (6 + {{#var:Respect}}) | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Jebar]] at <!-- | -->* [[Jebar]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Hatred}} and {{#var:LVL}} < (6 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Resentment}} and {{#var:LVL}} < (6 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (6 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 1 and {{#var:LVL}} < 6| | -->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 6|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Amity}} and {{#var:LVL}} < (6 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Amity}}) and {{#var:LVL}} <= (6 + {{#var:Amity}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Respect}} and {{#var:LVL}} < (6 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Respect}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
<!-- 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}} < (6 + {{#var:Respect}}) | -->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}} | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |<!-- 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}} <= (6 + {{#var:Respect}}) | |||
|{{#vardefine:NobodySells|1}}<!-- | |||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Dietrich]] at <!-- | -->* [[Dietrich]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (12 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (12 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Resentment}} and {{#var:LVL}} < (12 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (12 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 4 and {{#var:LVL}} < 12| | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Amity}} and {{#var:LVL}} < (12 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (12 + {{#var:Amity}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Respect}} and {{#var:LVL}} < (12 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Respect}}) and {{#var:LVL}} <= (12 + {{#var:Respect}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | -->}}}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}} | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#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. --><!-- | |||
-->* [[Giles vir Ivet]] at <!-- | -->* [[Giles vir Ivet]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
}}<!-- | -->}}}}<!-- | ||
--><!-- 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}}}} | |||
|<!-- 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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Hatred}} and {{#var:LVL}} < (6 + {{#var:Respect}}) | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Respect}}) | ||
<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Jurg]] at <!-- | -->* [[Jurg]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Hatred}} and {{#var:LVL}} < (6 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (6 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Resentment}} and {{#var:LVL}} < (6 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (6 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 1 and {{#var:LVL}} < 6| | -->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 6|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Amity}} and {{#var:LVL}} < (6 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Amity}}) and {{#var:LVL}} <= (6 + {{#var:Amity}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (1 + {{#var:Respect}} and {{#var:LVL}} < (6 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Respect}}) and {{#var:LVL}} <= (6 + {{#var:Respect}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
<!-- 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}} < (6 + {{#var:Respect}}) | -->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}} | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |<!-- 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}} <= (6 + {{#var:Respect}}) | |||
|{{#vardefine:NobodySells|1}}<!-- | |||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Dirk]] at <!-- | -->* [[Dirk]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (12 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (12 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Resentment}} and {{#var:LVL}} < (12 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (12 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 4 and {{#var:LVL}} < 12| | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Amity}} and {{#var:LVL}} < (12 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (12 + {{#var:Amity}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Respect}} and {{#var:LVL}} < (12 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Respect}}) and {{#var:LVL}} <= (12 + {{#var:Respect}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | -->}}}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}} | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#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. --><!-- | |||
-->* [[Noel vir Roan]] at <!-- | -->* [[Noel vir Roan]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}} | -->}}<!-- | ||
}}<!-- | -->}}}}<!-- | ||
--><!-- 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. --><!-- | ||
| | -->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} > (8 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | --><!-- 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. --><!-- | |||
-->* [[Bern]] at <!-- | -->* [[Bern]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (8 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (8 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 8 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (8 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (8 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (8 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#if: {{#pos: aldor | -->{{#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. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | |||
-->{{#ifexpr: {{#var:LVL}} > ( | |{{#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. --><!-- | ||
-->* [[ | -->* [[Renod Kann]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#if: {{#pos: | -->{{#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}}) | |||
-->{{#ifexpr: {{#var:LVL}} > ( | |{{#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. --><!-- | ||
-->* [[ | -->* [[Armuz]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#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: 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 at Hatred 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 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Ormi]] at <!-- | -->* [[Ormi]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Rigo Nevic]] at <!-- | -->* [[Rigo Nevic]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Zdenebrad]] at <!-- | -->* [[Zdenebrad]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
-->}}<!-- ENDIF JEWELRY CHECK --> | -->}}<!-- ENDIF JEWELRY CHECK --><!-- | ||
{{#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. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (10 + {{#var:Respect}}) | |||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (10 + {{#var:Respect}}) | |{{#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. --><!-- | ||
-->* [[Gerlot]] at <!-- | -->* [[Gerlot]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (10 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (10 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Resentment}} and {{#var:LVL}} < (10 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (10 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 4 and {{#var:LVL}} < 10| | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Amity}} and {{#var:LVL}} < (10 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (10 + {{#var:Amity}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Respect}} and {{#var:LVL}} < (10 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Respect}}) and {{#var:LVL}} <= (10 + {{#var:Respect}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#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. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Jervey vir Noms]] at <!-- | -->* [[Jervey vir Noms]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 4 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#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. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Letar]] at <!-- | -->* [[Letar]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 4 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (4 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}}}<!-- | ||
{{#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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
-->* [[ | --><!-- 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}})| | -->* [[General Merchant (Brynn Mint Square)]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}}) | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
-->* [[ | --><!-- 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}})| | -->* [[General Merchant (Brynn Docks)]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (14 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 14| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:AmityBrynn}} and {{#var:LVL}} < (14 + {{#var:AmityBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:RespectBrynn}} and {{#var:LVL}} < (14 + {{#var:RespectBrynn}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | |||
-->}}<!-- | |||
-->}}}}<!-- | |||
-->{{#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}} <= (16 + {{#var:RespectBrynn}}) | |||
|{{#vardefine:NobodySells|1}}<!-- | |||
--><!-- 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 }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Resentment}}) and {{#var:LVL}} <= (16 + {{#var:Resentment}})|Resentment }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 16|Neutral Benevolence }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|Amity }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|Respect}}<!-- | |||
-->}}<!-- | |||
-->}}}}<!-- | |||
-->{{#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 at Hatred and maximum LVL at Respect. --><!-- | |||
-->{{#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. --><!-- | |||
-->* [[Esfah]] at <!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Hatred}}) and {{#var:LVL}} <= (18 + {{#var:Hatred}})|Hatred }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Resentment}}) and {{#var:LVL}} <= (18 + {{#var:Resentment}})|Resentment }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= 1 and {{#var:LVL}} <= 18|Neutral Benevolence }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (18 + {{#var:AmityBrynn}})|Amity }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (18 + {{#var:RespectBrynn}})|Respect}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
{{#if: {{#pos: | -->{{#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 at Hatred and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#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. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
-->* [[ | --><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->* [[Ol' Tott]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (14 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Resentment}}) and {{#var:LVL}} <= (14 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 14|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > ( | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|Amity }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|Respect}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->}}}} | -->}}}}<!-- | ||
-->{{#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. --><!-- | |||
-->{{#ifexpr: {{#var:LVL}} > (2 + {{#var:Hatred}} and {{#var:LVL}} < (8 + {{#var: | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (8 + {{#var:Respect}}) | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |{{#vardefine:NobodySells|1}}<!-- | ||
--><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |||
-->* [[Bert]] at <!-- | -->* [[Bert]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (2 + {{#var:Hatred}} and {{#var:LVL}} < (8 + {{#var:Hatred}})| | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Hatred}}) and {{#var:LVL}} <= (8 + {{#var:Hatred}})|Hatred |}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (2 + {{#var:Resentment}} and {{#var:LVL}} < (8 + {{#var:Resentment}})| | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Resentment}}) and {{#var:LVL}} <= (8 + {{#var:Resentment}})|Resentment |}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 2 and {{#var:LVL}} < 8| | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|Neutral Benevolence }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (2 + {{#var:Amity}} and {{#var:LVL}} < (8 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Amity}}) and {{#var:LVL}} <= (8 + {{#var:Amity}})|Amity |}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (2 + {{#var:Respect}} and {{#var:LVL}} < (8 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (2 + {{#var:Respect}}) and {{#var:LVL}} <= (8 + {{#var:Respect}})|Respect|}}<!-- | ||
-->}} | -->}}<!-- | ||
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | -->}}}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (20 + {{#var: | -->{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common|{{#explode:{{#var:Tags}}| |-1}}}} | ||
|<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | |<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | ||
-->* [[Wigmar]] at <!-- | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (20 + {{#var:Respect}}) | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Hatred}} and {{#var:LVL}} < (20 + {{#var:Hatred}})| | |{{#vardefine:NobodySells|1}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Resentment}} and {{#var:LVL}} < (20 + {{#var:Resentment}})| | --><!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} > 6 and {{#var:LVL}} < 20| | -->* [[One-Eyed Wigmar]] at <!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Amity}} and {{#var:LVL}} < (20 + {{#var:Amity}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Hatred}}) and {{#var:LVL}} <= (20 + {{#var:Hatred}})|Hatred }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} > (6 + {{#var:Respect}} and {{#var:LVL}} < (20 + {{#var:Respect}})| | -->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Resentment}}) and {{#var:LVL}} <= (20 + {{#var:Resentment}})|Resentment }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 20|Neutral Benevolence }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Amity}}) and {{#var:LVL}} <= (20 + {{#var:Amity}})|Amity }}<!-- | |||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:Respect}}) and {{#var:LVL}} <= (20 + {{#var:Respect}})|Respect}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->}}}}<!-- | |||
-->{{#if: {{#var:NobodySells}}||Currently no merchant sells this item.}}<!-- | |||
--><!-- OLD CODE for Containers, still works but the lists will be outdated for sure --><!-- | --><!-- OLD CODE for Containers, still works but the lists will be outdated for sure --><!-- | ||
-->{{#if: {{#pos:{{:Barrels|Loot}}|{{ROOTPAGENAME}}}} | * [[Barrels]] | }}<!-- | -->{{#if: {{#pos:{{:Barrels|Loot}}|{{ROOTPAGENAME}}}} | * [[Barrels]] | }}<!-- |
Latest revision as of 13:06, 23 December 2022
This template has no documentation. If you know how to use this template, please add some.