From Dark and Darker Wiki
(Automated edit: HF55) |
(Automated edit: Fixed spellbook/voidblade magic from being called Base damage, it is now Gear damage) Tag: Reverted |
||
Line 4: | Line 4: | ||
|accessory={{#switch:{{lc:{{{4|}}}}} | |accessory={{#switch:{{lc:{{{4|}}}}} | ||
|uncraftable={{#switch:{{lc:{{{5|}}}}} | |uncraftable={{#switch:{{lc:{{{5|}}}}} | ||
|necklace=Badger Pendant,Bear Pendant,Fox Pendant,Frost Amulet,Monkey Pendant,Necklace of Peace,Owl Pendant,Ox Pendant,Phoenix Choker,Rat Pendant,Torq of Soul,Wind Locket | |necklace=Badger Pendant,Bear Pendant,Fangs of Death Necklace,Fox Pendant,Frost Amulet,Monkey Pendant,Necklace of Peace,Owl Pendant,Ox Pendant,Phoenix Choker,Rat Pendant,Torq of Soul,Wind Locket | ||
|ring=Ring of Courage,Ring of Finesse,Ring of Quickness,Ring of Resolve,Ring of Survival,Ring of Vitality,Ring of Wisdom | |ring=Grimsmile Ring,Ring of Courage,Ring of Finesse,Ring of Quickness,Ring of Resolve,Ring of Survival,Ring of Vitality,Ring of Wisdom | ||
|all=Necklace,Ring | |all=Necklace,Ring | ||
}} | }} | ||
Line 13: | Line 13: | ||
|all=Necklace,Ring | |all=Necklace,Ring | ||
}} | }} | ||
|all=Uncraftable,Both | |||
|all=Uncraftable,Both | |||
}} | }} | ||
|all=Accessory | |all=Accessory | ||
Line 73: | Line 68: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 140: | Line 127: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 196: | Line 175: | ||
|7=0 | |7=0 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 256: | Line 230: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 323: | Line 289: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 380: | Line 338: | ||
|7=0 | |7=0 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 440: | Line 393: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 507: | Line 452: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 574: | Line 511: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 641: | Line 570: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 708: | Line 629: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 775: | Line 688: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 842: | Line 747: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 909: | Line 806: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 976: | Line 865: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,043: | Line 924: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,110: | Line 983: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,177: | Line 1,042: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,244: | Line 1,101: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,311: | Line 1,160: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,378: | Line 1,219: | ||
|7=30 | |7=30 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |numenchants={{#switch:{{lc:{{{3|}}}}} |
Revision as of 02:58, 23 July 2024
Usage
{{Accessory_Data|<variable1>|<variable2>|...}}
Variables
- <item_name>
- stats
- <stat_name>
- allstats
- abilities
- <ability_type>
- <ability_name>
- <ability_attribute>
- <ability_name>
- <ability_type>
- types
- <type>
- hitbox
- height
- width
- height
- rarities
- handtype
- slottype
- artifactname
- artifactpower
- invslots
- invwidth
- invheight
- hitslow
- hitslowduration
- flavortext
- maxammocount
- maxcount
- maxcontentscount
- reloadtime
- wearingdelaytime
- equiptime
- unequiptime
- ap
- <rarity>
- xp
- <rarity>
- gearscore
- <rarity>
- sellprices
- <rarity>
- initialspeed
- damagefalloff
- piercecount
- classes
- impactresistance
- interactiontime
- interactiontimescaling
- stats
Global
All attributes that are shared between all other attributes in the same layer are moved to a global layer
For example, if all |movementmultiplier's under Abilities|Primary| are the same, they will be moved to Abilities|Primary|global
See Example 2 for more information
All
All sub-layers can also call |all for a list of all unique attributes For example,
{{Accessory_Data|all}}
will output a list of all items
For example,
{{Accessory_Data|<itemname>|all}}
will output a list of all attributes of a particular
See example 1 and 6 for more information
Examples
Note, some variables may not be applicable to all item categories. The below examples are for the Arming Sword, which only exists in Weapon_Data. Other item categories, like Misc_Data, may have different variables, and obviously don't have others, like abilities
Example 1
All stats of the Arming Sword
{{Accessory_Data|Arming Sword|stats|all}}
Outputs
Example 2
All shared attributes for Primary attacks of Arming Sword
{{Accessory_Data|Arming Sword|abilities|Primary|global}}
Outputs
Example 3
Damagefalloff widget of Longbow
{{Accessory_Data|Longbow|damagefalloff}}
Outputs
Example 4
All non-artifact rarities of the Arming Sword
{{Accessory_Data|Arming Sword|rarities}}
Outputs
Example 5
Invslots size image of Arming Sword
{{Accessory_Data|Arming Sword|invslots}}
Outputs
Example 6
All attributes of primary abilities of Arming Sword
{{Accessory_Data|Arming Sword|abilities|Primary|all}}
Outputs