Difference between revisions of "Preset equipment lookup"

(added most ids for grieving, harrier, giver, giftbringer and marshal (weapons))
m
Line 35: Line 35:
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1| medium= 86648| heavy= -1}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1| medium= 86648| heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86671 | medium= 86435 | heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86671 | medium= 86435 | heavy= -1}}
 +
                | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 
                 }}
 
                 }}
 
| shoulders = {{#switch:{{lc:{{{2|berserker}}}}}
 
| shoulders = {{#switch:{{lc:{{{2|berserker}}}}}
Line 70: Line 71:
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86650 | medium= 86623| heavy= -1}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86650 | medium= 86623| heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86628 | medium= -1 | heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86628 | medium= -1 | heavy= -1}}
 +
                | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 
                         }}
 
                         }}
 
| coat = {{#switch:{{lc:{{{2|berserker}}}}}
 
| coat = {{#switch:{{lc:{{{2|berserker}}}}}
Line 105: Line 107:
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86486| medium= 86684 | heavy= 86536}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86486| medium= 86684 | heavy= 86536}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86670 | medium= 86544 | heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86670 | medium= 86544 | heavy= -1}}
 +
                | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 
               }}
 
               }}
 
| gloves = {{#switch:{{lc:{{{2|berserker}}}}}
 
| gloves = {{#switch:{{lc:{{{2|berserker}}}}}
Line 140: Line 143:
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light=86518| medium= 86506| heavy= 86717}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light=86518| medium= 86506| heavy= 86717}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86691 | medium= 86709 | heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86691 | medium= 86709 | heavy= -1}}
 +
                | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 
                   }}
 
                   }}
 
| leggings = {{#switch:{{lc:{{{2|berserker}}}}}
 
| leggings = {{#switch:{{lc:{{{2|berserker}}}}}
Line 175: Line 179:
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86471| medium= 86412| heavy= 86548}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86471| medium= 86412| heavy= 86548}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86633 | medium= 86681| heavy=86629}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86633 | medium= 86681| heavy=86629}}
 +
                | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 
                       }}
 
                       }}
 
| feet = {{#switch:{{lc:{{{2|berserker}}}}}
 
| feet = {{#switch:{{lc:{{{2|berserker}}}}}
Line 210: Line 215:
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1| medium= 86686| heavy= -1}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1| medium= 86686| heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86520| medium= 86707| heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86520| medium= 86707| heavy= -1}}
 +
                | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 
                 }}
 
                 }}
 
| axe = {{#switch:{{lc:{{{2|berserker}}}}}
 
| axe = {{#switch:{{lc:{{{2|berserker}}}}}
Line 246: Line 252:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = 86460
 
             | giftbringer = 86460
 +
                | plaguedoctor = -1
 
             }}
 
             }}
 
| dagger = {{#switch:{{lc:{{{2|berserker}}}}}
 
| dagger = {{#switch:{{lc:{{{2|berserker}}}}}
Line 282: Line 289:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = 86583
 
             | giftbringer = 86583
 +
                | plaguedoctor = -1
 
                   }}
 
                   }}
 
| mace = {{#switch:{{lc:{{{2|berserker}}}}}
 
| mace = {{#switch:{{lc:{{{2|berserker}}}}}
Line 318: Line 326:
 
             | giver = 86504
 
             | giver = 86504
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
                 }}
 
                 }}
 
| pistol = {{#switch:{{lc:{{{2|berserker}}}}}
 
| pistol = {{#switch:{{lc:{{{2|berserker}}}}}
Line 354: Line 363:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
                 }}
 
                 }}
 
| sword = {{#switch:{{lc:{{{2|berserker}}}}}
 
| sword = {{#switch:{{lc:{{{2|berserker}}}}}
Line 390: Line 400:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = 86450
 
             | giftbringer = 86450
 +
                | plaguedoctor = -1
 
                   }}
 
                   }}
 
| scepter = {{#switch:{{lc:{{{2|berserker}}}}}
 
| scepter = {{#switch:{{lc:{{{2|berserker}}}}}
Line 426: Line 437:
 
             | giver = 86443
 
             | giver = 86443
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
                     }}
 
                     }}
 
| focus = {{#switch:{{lc:{{{2|berserker}}}}}
 
| focus = {{#switch:{{lc:{{{2|berserker}}}}}
Line 462: Line 474:
 
             | giver = 86463
 
             | giver = 86463
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
                 }}
 
                 }}
 
| shield = {{#switch:{{lc:{{{2|berserker}}}}}
 
| shield = {{#switch:{{lc:{{{2|berserker}}}}}
Line 498: Line 511:
 
             | giver = 86505
 
             | giver = 86505
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
                   }}
 
                   }}
 
| torch = {{#switch:{{lc:{{{2|berserker}}}}}
 
| torch = {{#switch:{{lc:{{{2|berserker}}}}}
Line 534: Line 548:
 
             | giver = 86439
 
             | giver = 86439
 
             | giftbringer = 86640
 
             | giftbringer = 86640
 +
                | plaguedoctor = -1
 
                 }}
 
                 }}
 
| warhorn = {{#switch:{{lc:{{{2|berserker}}}}}
 
| warhorn = {{#switch:{{lc:{{{2|berserker}}}}}
Line 570: Line 585:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = 86653  
 
             | giftbringer = 86653  
 +
                | plaguedoctor = -1
 
                       }}
 
                       }}
 
| greatsword = {{#switch:{{lc:{{{2|berserker}}}}}
 
| greatsword = {{#switch:{{lc:{{{2|berserker}}}}}
Line 606: Line 622:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = 86632
 
             | giftbringer = 86632
 +
                | plaguedoctor = -1
 
                           }}
 
                           }}
 
| hammer = {{#switch:{{lc:{{{2|berserker}}}}}
 
| hammer = {{#switch:{{lc:{{{2|berserker}}}}}
Line 642: Line 659:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
                       }}
 
                       }}
 
| longbow = {{#switch:{{lc:{{{2|berserker}}}}}
 
| longbow = {{#switch:{{lc:{{{2|berserker}}}}}
Line 678: Line 696:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
                       }}
 
                       }}
 
| rifle = {{#switch:{{lc:{{{2|berserker}}}}}
 
| rifle = {{#switch:{{lc:{{{2|berserker}}}}}
Line 714: Line 733:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = 86673  
 
             | giftbringer = 86673  
 +
                | plaguedoctor = -1
 
               }}
 
               }}
 
| short bow | shortbow = {{#switch:{{lc:{{{2|berserker}}}}}
 
| short bow | shortbow = {{#switch:{{lc:{{{2|berserker}}}}}
Line 750: Line 770:
 
             | giver = -1
 
             | giver = -1
 
             | giftbringer = 86731
 
             | giftbringer = 86731
 +
                | plaguedoctor = -1
 
                                               }}
 
                                               }}
 
| staff = {{#switch:{{lc:{{{2|berserker}}}}}
 
| staff = {{#switch:{{lc:{{{2|berserker}}}}}
Line 786: Line 807:
 
             | giver = 86561
 
             | giver = 86561
 
             | giftbringer = -1
 
             | giftbringer = -1
 +
                | plaguedoctor = -1
 
               }}
 
               }}
 
| ring1 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| ring1 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 818: Line 840:
 
                 | celestial = 37088
 
                 | celestial = 37088
 
                     | captain = 39612
 
                     | captain = 39612
 +
            | grieving = -1
 +
            | harrier = -1
 +
            | marshal = 82216
 +
            | giver = -1
 +
            | giftbringer = -1
 +
                | plaguedoctor = 88026
 
                 }}
 
                 }}
 
| ring2 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| ring2 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 850: Line 878:
 
                 | celestial = 37078
 
                 | celestial = 37078
 
                     | captain = 39613
 
                     | captain = 39613
 +
            | grieving = -1
 +
            | harrier = -1
 +
            | marshal = 83640
 +
            | giver = -1
 +
            | giftbringer = -1
 +
                | plaguedoctor = -1
 
                 }}
 
                 }}
 
| accessory1 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| accessory1 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 882: Line 916:
 
                           | celestial = 39243
 
                           | celestial = 39243
 
                           | captain = 39563
 
                           | captain = 39563
 +
            | grieving = -1
 +
            | harrier = -1
 +
            | marshal = -1
 +
            | giver = -1
 +
            | giftbringer = -1
 +
                | plaguedoctor = -1
 
                           }}
 
                           }}
 
| accessory2 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| accessory2 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 914: Line 954:
 
                           | celestial = 39242
 
                           | celestial = 39242
 
                           | captain = 39562
 
                           | captain = 39562
 +
            | grieving = -1
 +
            | harrier = -1
 +
            | marshal = -1
 +
            | giver = -1
 +
            | giftbringer = -1
 +
                | plaguedoctor = -1
 
                           }}
 
                           }}
 
  | amulet = {{#switch:{{lc:{{{2|berserker}}}}}
 
  | amulet = {{#switch:{{lc:{{{2|berserker}}}}}
Line 946: Line 992:
 
                     | celestial = 39282
 
                     | celestial = 39282
 
                     | captain = 39583
 
                     | captain = 39583
 +
            | grieving = -1
 +
            | harrier = -1
 +
            | marshal = -1
 +
            | giver = -1
 +
            | giftbringer = -1
 +
                | plaguedoctor = 87860
 
                     }}
 
                     }}
 
| back item = {{#switch:{{lc:{{{2|berserker}}}}}
 
| back item = {{#switch:{{lc:{{{2|berserker}}}}}
Line 977: Line 1,029:
 
                         | minstrel = 79830*
 
                         | minstrel = 79830*
 
                         | celestial = 79830*
 
                         | celestial = 79830*
 +
            | grieving = -1
 +
            | harrier = -1
 +
            | marshal = -1
 +
            | giver = -1
 +
            | giftbringer = -1
 +
                | plaguedoctor = -1
 
                         }}
 
                         }}
 
| #default = -1
 
| #default = -1

Revision as of 04:44, 27 June 2018

Description

Looks up a specific equipment id through its type and stat.

{{Item lookup|<unnamed param 1>|<unnamed param 2>}}

Parameters

unnamed param 1
Equipment. Accepts:
  • Armor: head, shoulders, coat, gloves, leggings, or feet.
  • Trinkets: backpiece, accessory, ring, or amulet.
  • Weapons: axe, dagger, mace, pistol, sword, scepter, focus, shield, torch, warhorn, greatsword, hammer, longbow, rifle, short bow, staff, harpoon gun, spear, or trident.
unnamed param 2
The stat. Accepts: berserker, zealot, soldier, valkyrie, rampager, assassin, knight, cavalier, nomad, settler, sentinel, shaman, sinister, carrion, rabid, dire, cleric, magi, apothecary, commander, marauder, vigilant, crusader, wanderer, viper, seraph, trailblazer, minstrel, celestial. Defaults to berserker.

Note: Looks up armor pieces depending on weight set by variable mbuild_armor_weight (source within build pages come from {{MBuild}}).
Note 2: Items with selectable stats will have an '*' appended to their ids, these must be stripped before using; it's supposed to be a check against {{selectable stat}} to define an item's stat.

Examples

{{Preset equipment lookup|head|wanderer}}

73521

{{Preset equipment lookup|leggings|celestial}}

47938

{{Preset equipment lookup|ring2|zealot}}

79712*

Tooltip example

<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|leggings|celestial}}"
  data-armory-size="40"
>
</div>
<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|ring1|cleric}}"
  data-armory-size="40"
>
</div>
<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|ring2|cleric}}"
  data-armory-size="40"
>
</div>
<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|amulet|rampager}}"
  data-armory-size="40"
>
</div>
<div
  data-armory-embed="items"
  data-armory-ids="{{#replace:{{Preset equipment lookup|ring1|zealot}}|*|}}"
  data-armory-size="40"
  data-armory-{{#replace:{{Preset equipment lookup|ring1|zealot}}|*|}}-stat="{{Selectable stat|zealot}}"
>
</div>