Difference between revisions of "Template:Acquired from test"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
-->{{#ifexpr: {{#var:LVL}} >= (1 + {{#var:Amity}}) and {{#var:LVL}} <= (6 + {{#var:Amity}})|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}})|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. --><!-- | -->}} | ||
{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}} | |||
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | |||
-->{{#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. --><!-- | |<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | ||
Line 39: | Line 41: | ||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|amity }}<!-- | -->{{#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}}<!-- | -->{{#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}}}} | ||
|<!-- 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. --><!-- | ||
Line 59: | Line 63: | ||
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (12 + {{#var:Amity}})|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}})|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. --><!-- | -->}} | ||
{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}} | |||
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | |||
-->{{#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. --><!-- | |<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | ||
Line 68: | Line 74: | ||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|amity }}<!-- | -->{{#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}}<!-- | -->{{#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}}}} | ||
|<!-- 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. --><!-- | ||
Line 88: | Line 96: | ||
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:Amity}}) and {{#var:LVL}} <= (12 + {{#var:Amity}})|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}})|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. --><!-- | -->}} | ||
{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}} | |||
|<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- | |||
-->{{#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. --><!-- | |<!-- If true, merchant can sell the item, list the merchant. Now check each reputation individually. --><!-- | ||
Line 97: | Line 107: | ||
-->{{#ifexpr: {{#var:LVL}} >= (6 + {{#var:AmityBrynn}}) and {{#var:LVL}} <= (14 + {{#var:AmityBrynn}})|amity }}<!-- | -->{{#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}}<!-- | -->{{#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. --><!-- | |<!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!-- |
Revision as of 19:03, 16 December 2022
This template has no documentation. If you know how to use this template, please add some.