From Dark and Darker Wiki
(Automated edit: HF65) |
m (Automated edit: HF69-2) Tag: Manual revert |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 49: | Line 49: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 116: | Line 116: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 179: | Line 179: | ||
|wearingdelaytime=0 | |wearingdelaytime=0 | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|5= | |5=3 | ||
|all=5 | |all=5 | ||
}} | }} | ||
Line 232: | Line 232: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 299: | Line 299: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 363: | Line 363: | ||
|wearingdelaytime=0 | |wearingdelaytime=0 | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|5= | |5=3 | ||
|all=5 | |all=5 | ||
}} | }} | ||
Line 416: | Line 416: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 483: | Line 483: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 550: | Line 550: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 617: | Line 617: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 684: | Line 684: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 751: | Line 751: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 818: | Line 818: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 885: | Line 885: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 952: | Line 952: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,019: | Line 1,019: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,086: | Line 1,086: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,153: | Line 1,153: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,220: | Line 1,220: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,287: | Line 1,287: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} | ||
Line 1,354: | Line 1,354: | ||
|ap={{#switch:{{lc:{{{3|}}}}} | |ap={{#switch:{{lc:{{{3|}}}}} | ||
|3=1 | |3=1 | ||
|4= | |4=2 | ||
|5= | |5=3 | ||
|6= | |6=5 | ||
|7= | |7=10 | ||
|all=3,4,5,6,7 | |all=3,4,5,6,7 | ||
}} | }} |
Latest revision as of 00:03, 1 November 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