From Dark and Darker Wiki
(Automated edit: HF67-1) |
m (Automated edit: Patch 8) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
|both={{#switch:{{lc:{{{5|}}}}} | |both={{#switch:{{lc:{{{5|}}}}} | ||
|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 | |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=Grimsmile Ring,Ring of Courage,Ring of Finesse,Ring of Quickness,Ring of Resolve,Ring of Survival,Ring of Vitality,Ring of Wisdom | |ring=Crystal Frost 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 | ||
}} | }} | ||
|craftable={{#switch:{{lc:{{{5|}}}}} | |craftable={{#switch:{{lc:{{{5|}}}}} | ||
|ring=Crystal Frost Ring,Grimsmile Ring | |||
|necklace=Fangs of Death Necklace | |necklace=Fangs of Death Necklace | ||
| | |all=Ring,Necklace | ||
}} | }} | ||
|all=Uncraftable,Both,Craftable | |all=Uncraftable,Both,Craftable | ||
Line 87: | Line 87: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 154: | Line 154: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | |||
}} | |||
|crystal frost ring={{#switch:{{lc:{{{2|}}}}} | |||
|stats={{#switch:{{lc:{{{3|}}}}} | |||
|vigor=2 | |||
|will=2 | |||
|allstats=Vigor,Will | |||
|all=vigor,will,allstats | |||
}} | |||
|types={{#switch:{{lc:{{{3|}}}}} | |||
|ring=Accessory | |||
|all=Ring | |||
}} | |||
|rarities=5 | |||
|slottype=Ring | |||
|invwidth=1 | |||
|invheight=1 | |||
|invslots=[[File:1x1InvSlot.jpg]] | |||
|flavortext=A shard of eternal winter trapped in cobalt, this ring saps warmth from the wearer's soul, leaving behind only ice and silence. | |||
|maxammocount=0 | |||
|maxcount=1 | |||
|wearingdelaytime=0 | |||
|ap={{#switch:{{lc:{{{3|}}}}} | |||
|5=3 | |||
|all=5 | |||
}} | |||
|xp={{#switch:{{lc:{{{3|}}}}} | |||
|5=5 | |||
|all=5 | |||
}} | |||
|gearscore={{#switch:{{lc:{{{3|}}}}} | |||
|0=0 | |||
|1=0 | |||
|2=0 | |||
|3=0 | |||
|4=0 | |||
|5=50 | |||
|6=0 | |||
|7=0 | |||
|all=0,1,2,3,4,5,6,7 | |||
}} | |||
|iscraftableby=Alchemist | |||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |||
|5=60 | |||
|all=5 | |||
}} | |||
|numenchants={{#switch:{{lc:{{{3|}}}}} | |||
|5=4 | |||
|all=5 | |||
}} | }} | ||
}} | }} | ||
Line 192: | Line 241: | ||
|3=0 | |3=0 | ||
|4=0 | |4=0 | ||
|5= | |5=50 | ||
|6=0 | |6=0 | ||
|7=0 | |7=0 | ||
Line 270: | Line 319: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 337: | Line 386: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 344: | Line 393: | ||
|stats={{#switch:{{lc:{{{3|}}}}} | |stats={{#switch:{{lc:{{{3|}}}}} | ||
|strength=2 | |strength=2 | ||
|vigor= | |vigor=2 | ||
|luck=6~12 | |luck=6~12 | ||
|allstats=Strength,Vigor,Luck | |allstats=Strength,Vigor,Luck | ||
Line 454: | Line 503: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 521: | Line 570: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 588: | Line 637: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 655: | Line 704: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 722: | Line 771: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 789: | Line 838: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 856: | Line 905: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 923: | Line 972: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 990: | Line 1,039: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,057: | Line 1,106: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,124: | Line 1,173: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,191: | Line 1,240: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,258: | Line 1,307: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,325: | Line 1,374: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,392: | Line 1,441: | ||
|5=3 | |5=3 | ||
|6=4 | |6=4 | ||
|7= | |7=1 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
}} | }} | ||
|all=Badger Pendant,Bear Pendant,Fangs of Death Necklace,Fox Pendant,Frost Amulet,Grimsmile Ring,Monkey Pendant,Necklace of Peace,Owl Pendant,Ox Pendant,Phoenix Choker,Rat Pendant,Ring of Courage,Ring of Finesse,Ring of Quickness,Ring of Resolve,Ring of Survival,Ring of Vitality,Ring of Wisdom,Torq of Soul,Wind Locket | |all=Badger Pendant,Bear Pendant,Crystal Frost Ring,Fangs of Death Necklace,Fox Pendant,Frost Amulet,Grimsmile Ring,Monkey Pendant,Necklace of Peace,Owl Pendant,Ox Pendant,Phoenix Choker,Rat Pendant,Ring of Courage,Ring of Finesse,Ring of Quickness,Ring of Resolve,Ring of Survival,Ring of Vitality,Ring of Wisdom,Torq of Soul,Wind Locket | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 1,476: | Line 1,525: | ||
See example 1 and 6 for more information | See example 1 and 6 for more information | ||
==Examples== | ==Examples== | ||
Line 1,522: | Line 1,570: | ||
<pre style="width:fit-content;">{{Accessory_Data|Arming Sword|abilities|Primary|all}}</pre> | <pre style="width:fit-content;">{{Accessory_Data|Arming Sword|abilities|Primary|all}}</pre> | ||
Outputs {{Accessory_Data|Arming Sword|abilities|Primary|all}} | Outputs {{Accessory_Data|Arming Sword|abilities|Primary|all}} | ||
</noinclude> | </noinclude> |
Latest revision as of 03:20, 11 April 2025
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