Difference between revisions of "Template:Acquired from"
Jump to navigation
Jump to search
m |
(remove reputation bonus from MIN lvl) |
||
Line 26: | Line 26: | ||
-->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Hold|Hold/{{SUBPAGENAME}}}}|{{#if: {{Translate|Hold|NPCNames}}|{{Translate|Hold|NPCNames}}|Hold}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Hold|Hold/{{SUBPAGENAME}}}}|{{#if: {{Translate|Hold|NPCNames}}|{{Translate|Hold|NPCNames}}|Hold}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Amity}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Keremit Lawe|Keremit Lawe/{{SUBPAGENAME}}}}|{{#if: {{Translate|Keremit Lawe|NPCNames}}|{{Translate|Keremit Lawe|NPCNames}}|Keremit Lawe}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Keremit Lawe|Keremit Lawe/{{SUBPAGENAME}}}}|{{#if: {{Translate|Keremit Lawe|NPCNames}}|{{Translate|Keremit Lawe|NPCNames}}|Keremit Lawe}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!-- | ||
-->)}}<!-- | -->)}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
Line 54: | Line 54: | ||
-->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jebar|Jebar/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jebar|NPCNames}}|{{Translate|Jebar|NPCNames}}|Jebar}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jebar|Jebar/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jebar|NPCNames}}|{{Translate|Jebar|NPCNames}}|Jebar}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 6|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 6|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Amity}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Dietrich|Dietrich/{{SUBPAGENAME}}}}|{{#if: {{Translate|Dietrich|NPCNames}}|{{Translate|Dietrich|NPCNames}}|Dietrich}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Dietrich|Dietrich/{{SUBPAGENAME}}}}|{{#if: {{Translate|Dietrich|NPCNames}}|{{Translate|Dietrich|NPCNames}}|Dietrich}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Amity}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Giles vir Ivet|Giles vir Ivet/{{SUBPAGENAME}}}}|{{#if: {{Translate|Giles vir Ivet|NPCNames}}|{{Translate|Giles vir Ivet|NPCNames}}|Giles vir Ivet}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Giles vir Ivet|Giles vir Ivet/{{SUBPAGENAME}}}}|{{#if: {{Translate|Giles vir Ivet|NPCNames}}|{{Translate|Giles vir Ivet|NPCNames}}|Giles vir Ivet}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!-- | ||
-->)}}<!-- | -->)}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
Line 95: | Line 95: | ||
-->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jurg|Jurg/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jurg|NPCNames}}|{{Translate|Jurg|NPCNames}}|Jurg}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jurg|Jurg/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jurg|NPCNames}}|{{Translate|Jurg|NPCNames}}|Jurg}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 6|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 6|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (6 + {{#var:Amity}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Dirk_(NPC)|Dirk_(NPC)/{{SUBPAGENAME}}}}|{{#if: {{Translate|Dirk|NPCNames}}|{{Translate|Dirk|NPCNames}}|Dirk}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Dirk_(NPC)|Dirk_(NPC)/{{SUBPAGENAME}}}}|{{#if: {{Translate|Dirk|NPCNames}}|{{Translate|Dirk|NPCNames}}|Dirk}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Amity}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Noel vir Roan|Noel vir Roan/{{SUBPAGENAME}}}}|{{#if: {{Translate|Noel vir Roan|NPCNames}}|{{Translate|Noel vir Roan|NPCNames}}|Noel vir Roan}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Noel vir Roan|Noel vir Roan/{{SUBPAGENAME}}}}|{{#if: {{Translate|Noel vir Roan|NPCNames}}|{{Translate|Noel vir Roan|NPCNames}}|Noel vir Roan}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!-- | ||
-->)}}<!-- | -->)}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
Line 136: | Line 136: | ||
--><!-- 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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Bern|Bern/{{SUBPAGENAME}}}}|{{#if: {{Translate|Bern|NPCNames}}|{{Translate|Bern|NPCNames}}|Bern}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Bern|Bern/{{SUBPAGENAME}}}}|{{#if: {{Translate|Bern|NPCNames}}|{{Translate|Bern|NPCNames}}|Bern}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 8 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!-- | ||
-->)}}<!-- | -->)}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
-->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Renod Kann|Renod Kann/{{SUBPAGENAME}}}}|{{#if: {{Translate|Renod Kann|NPCNames}}|{{Translate|Renod Kann|NPCNames}}|Renod Kann}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Renod Kann|Renod Kann/{{SUBPAGENAME}}}}|{{#if: {{Translate|Renod Kann|NPCNames}}|{{Translate|Renod Kann|NPCNames}}|Renod Kann}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 16|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (16 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!-- | ||
-->)}}<!-- | -->)}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
-->{{#if: {{#pos: common uncommon elven|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: common uncommon elven 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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Armuz|Armuz/{{SUBPAGENAME}}}}|{{#if: {{Translate|Armuz|NPCNames}}|{{Translate|Armuz|NPCNames}}|Armuz}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Armuz|Armuz/{{SUBPAGENAME}}}}|{{#if: {{Translate|Armuz|NPCNames}}|{{Translate|Armuz|NPCNames}}|Armuz}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Rigo Nevic|Rigo Nevic/{{SUBPAGENAME}}}}|{{#if: {{Translate|Rigo Nevic|NPCNames}}|{{Translate|Rigo Nevic|NPCNames}}|Rigo Nevic}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Rigo Nevic|Rigo Nevic/{{SUBPAGENAME}}}}|{{#if: {{Translate|Rigo Nevic|NPCNames}}|{{Translate|Rigo Nevic|NPCNames}}|Rigo Nevic}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Zdenebrad|Zdenebrad/{{SUBPAGENAME}}}}|{{#if: {{Translate|Zdenebrad|NPCNames}}|{{Translate|Zdenebrad|NPCNames}}|Zdenebrad}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Zdenebrad|Zdenebrad/{{SUBPAGENAME}}}}|{{#if: {{Translate|Zdenebrad|NPCNames}}|{{Translate|Zdenebrad|NPCNames}}|Zdenebrad}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}})|{{Translate|Respect|Properties}}}}<!-- | ||
-->)}}<!-- | -->)}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
Line 205: | Line 205: | ||
-->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Ormi|Ormi/{{SUBPAGENAME}}}}|{{#if: {{Translate|Ormi|NPCNames}}|{{Translate|Ormi|NPCNames}}|Ormi}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Ormi|Ormi/{{SUBPAGENAME}}}}|{{#if: {{Translate|Ormi|NPCNames}}|{{Translate|Ormi|NPCNames}}|Ormi}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Gerlot|Gerlot/{{SUBPAGENAME}}}}|{{#if: {{Translate|Gerlot|NPCNames}}|{{Translate|Gerlot|NPCNames}}|Gerlot}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Gerlot|Gerlot/{{SUBPAGENAME}}}}|{{#if: {{Translate|Gerlot|NPCNames}}|{{Translate|Gerlot|NPCNames}}|Gerlot}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 10|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (10 + {{#var:Amity}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jervey vir Noms|Jervey vir Noms/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jervey vir Noms|NPCNames}}|{{Translate|Jervey vir Noms|NPCNames}}|Jervey vir Noms}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Jervey vir Noms|Jervey vir Noms/{{SUBPAGENAME}}}}|{{#if: {{Translate|Jervey vir Noms|NPCNames}}|{{Translate|Jervey vir Noms|NPCNames}}|Jervey vir Noms}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Letar|Letar/{{SUBPAGENAME}}}}|{{#if: {{Translate|Letar|NPCNames}}|{{Translate|Letar|NPCNames}}|Letar}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Letar|Letar/{{SUBPAGENAME}}}}|{{#if: {{Translate|Letar|NPCNames}}|{{Translate|Letar|NPCNames}}|Letar}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#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)}}]] ( <!-- | -->* [[{{#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)}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 4 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#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)}}]] ( <!-- | -->* [[{{#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)}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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}}}} | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Skinflint Homs|Skinflint Homs/{{SUBPAGENAME}}}}|{{#if: {{Translate|Skinflint Homs|NPCNames}}|{{Translate|Skinflint Homs|NPCNames}}|Skinflint Homs}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Skinflint Homs|Skinflint Homs/{{SUBPAGENAME}}}}|{{#if: {{Translate|Skinflint Homs|NPCNames}}|{{Translate|Skinflint Homs|NPCNames}}|Skinflint Homs}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (14 + {{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Esfah|Esfah/{{SUBPAGENAME}}}}|{{#if: {{Translate|Esfah|NPCNames}}|{{Translate|Esfah|NPCNames}}|Esfah}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Esfah|Esfah/{{SUBPAGENAME}}}}|{{#if: {{Translate|Esfah|NPCNames}}|{{Translate|Esfah|NPCNames}}|Esfah}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | --><!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Ol' Tott|Ol' Tott/{{SUBPAGENAME}}}}|{{#if: {{Translate|Ol' Tott|NPCNames}}|{{Translate|Ol' Tott|NPCNames}}|Ol' Tott}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Ol' Tott|Ol' Tott/{{SUBPAGENAME}}}}|{{#if: {{Translate|Ol' Tott|NPCNames}}|{{Translate|Ol' Tott|NPCNames}}|Ol' Tott}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 14|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Bert|Bert/{{SUBPAGENAME}}}}|{{#if: {{Translate|Bert|NPCNames}}|{{Translate|Bert|NPCNames}}|Bert}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|Bert|Bert/{{SUBPAGENAME}}}}|{{#if: {{Translate|Bert|NPCNames}}|{{Translate|Bert|NPCNames}}|Bert}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} |}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} |}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= 8|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 2 and {{#var:LVL}} <= (8 + {{#var:Amity}})|{{Translate|Amity|Properties}} |}}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#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 | |<!-- First check item's LVL is between merchant's minimum LVL and maximum LVL at Respect. --><!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Respect}}) | ||
|{{#vardefine:NobodySells|1}}<!-- | |{{#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. --><!-- | ||
-->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|One-Eyed Wigmar|One-Eyed Wigmar/{{SUBPAGENAME}}}}|{{#if: {{Translate|One-Eyed Wigmar|NPCNames}}|{{Translate|One-Eyed Wigmar|NPCNames}}|One-Eyed Wigmar}}]] ( <!-- | -->* [[{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}|One-Eyed Wigmar|One-Eyed Wigmar/{{SUBPAGENAME}}}}|{{#if: {{Translate|One-Eyed Wigmar|NPCNames}}|{{Translate|One-Eyed Wigmar|NPCNames}}|One-Eyed Wigmar}}]] ( <!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Hatred}})|{{Translate|Hatred|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Resentment}})|{{Translate|Resentment|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= 12|{{Translate|Neutral|Properties}} {{Translate|Benevolence|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Amity}})|{{Translate|Amity|Properties}} }}<!-- | ||
-->{{#ifexpr: {{#var:LVL}} >= | -->{{#ifexpr: {{#var:LVL}} >= 6 and {{#var:LVL}} <= (12 + {{#var:Respect}})|{{Translate|Respect|Properties}}}}<!-- | ||
-->)}}<!-- | -->)}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- |
Revision as of 10:37, 23 June 2023
Documentation
[purge]
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]] | }}<!--