From Dark and Darker Wiki
 (Automated edit: Changed item properties for crafting templates. HF54)  | 
				 (Automated edit: HF54-1)  | 
				||
| Line 47: | Line 47: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 106: | Line 114: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 144: | Line 160: | ||
|fangs of death necklace={{#switch:{{lc:{{{2|}}}}}  | |fangs of death necklace={{#switch:{{lc:{{{2|}}}}}  | ||
	|stats={{#switch:{{lc:{{{3|}}}}}  | 	|stats={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|magical resistance=22~26  | ||
		|luck=18~25  | 		|luck=18~25  | ||
		|allstats=  | 		|allstats=Magical Resistance,Luck  | ||
		|all=  | 		|all=magical resistance,luck,allstats  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 162: | Line 178: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|5=5  | |||
		|all=5  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=4  | 		|5=4  | ||
| Line 210: | Line 230: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 248: | Line 276: | ||
|frost amulet={{#switch:{{lc:{{{2|}}}}}  | |frost amulet={{#switch:{{lc:{{{2|}}}}}  | ||
	|stats={{#switch:{{lc:{{{3|}}}}}  | 	|stats={{#switch:{{lc:{{{3|}}}}}  | ||
		|physical damage   | 		|true physical damage 3=1  | ||
		|physical damage   | 		|true physical damage 4=2  | ||
		|physical damage   | 		|true physical damage 5=3  | ||
		|physical damage   | 		|true physical damage 6=4  | ||
		|physical damage   | 		|true physical damage 7=4  | ||
		|allstats=Physical Damage   | 		|allstats=True Physical Damage  | ||
		|all=physical damage   | 		|all=true physical damage 3,true physical damage 4,true physical damage 5,true physical damage 6,true physical damage 7,allstats  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 269: | Line 297: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 326: | Line 362: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|5=5  | |||
		|all=5  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|5=4  | 		|5=4  | ||
| Line 374: | Line 414: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 433: | Line 481: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 492: | Line 548: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 551: | Line 615: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 589: | Line 661: | ||
|phoenix choker={{#switch:{{lc:{{{2|}}}}}  | |phoenix choker={{#switch:{{lc:{{{2|}}}}}  | ||
	|stats={{#switch:{{lc:{{{3|}}}}}  | 	|stats={{#switch:{{lc:{{{3|}}}}}  | ||
		|magical damage   | 		|true magical damage 3=1  | ||
		|magical damage   | 		|true magical damage 4=2  | ||
		|magical damage   | 		|true magical damage 5=3  | ||
		|magical damage   | 		|true magical damage 6=4  | ||
		|magical damage   | 		|true magical damage 7=4  | ||
		|allstats=Magical Damage   | 		|allstats=True Magical Damage  | ||
		|all=magical damage   | 		|all=true magical damage 3,true magical damage 4,true magical damage 5,true magical damage 6,true magical damage 7,allstats  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 610: | Line 682: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 669: | Line 749: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 728: | Line 816: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 787: | Line 883: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 846: | Line 950: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 905: | Line 1,017: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 964: | Line 1,084: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 1,023: | Line 1,151: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 1,082: | Line 1,218: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 1,120: | Line 1,264: | ||
|torq of soul={{#switch:{{lc:{{{2|}}}}}  | |torq of soul={{#switch:{{lc:{{{2|}}}}}  | ||
	|stats={{#switch:{{lc:{{{3|}}}}}  | 	|stats={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|magical resistance 3=12~14  | ||
		|  | 		|magical resistance 4=16~20  | ||
		|  | 		|magical resistance 5=22~26  | ||
		|  | 		|magical resistance 6=28~32  | ||
		|  | 		|magical resistance 7=28~32  | ||
		|allstats=  | 		|allstats=Magical Resistance  | ||
		|all=  | 		|all=magical resistance 3,magical resistance 4,magical resistance 5,magical resistance 6,magical resistance 7,allstats  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 1,141: | Line 1,285: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
| Line 1,200: | Line 1,352: | ||
	|maxcount=1  | 	|maxcount=1  | ||
	|wearingdelaytime=0  | 	|wearingdelaytime=0  | ||
	|ap={{#switch:{{lc:{{{3|}}}}}  | |||
		|3=3  | |||
		|4=4  | |||
		|5=5  | |||
		|6=6  | |||
		|7=7  | |||
		|all=3,4,5,6,7  | |||
		}}  | |||
	|xp={{#switch:{{lc:{{{3|}}}}}  | 	|xp={{#switch:{{lc:{{{3|}}}}}  | ||
		|3=3  | 		|3=3  | ||
Revision as of 22:12, 24 June 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