From Dark and Darker Wiki
 (Automated edit: HF79)  | 
				 (Automated edit: Changed ability types to associate with activation input.  Primary vs Secondary is now tied to which key activates it, for the most part.  Special and Other remain unchanged.)  | 
				||
| Line 1,193: | Line 1,193: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 1,340: | Line 1,340: | ||
			|all=Passive  | 			|all=Passive  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary,Other  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 1,847: | Line 1,847: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 1,945: | Line 1,945: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 3,327: | Line 3,327: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 3,406: | Line 3,406: | ||
			|all=Unique Passive  | 			|all=Unique Passive  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary,Other  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 4,495: | Line 4,495: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 4,623: | Line 4,623: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 7,612: | Line 7,612: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Pierce  | 				|damagetype=Pierce  | ||
| Line 7,653: | Line 7,653: | ||
			|all=Reload  | 			|all=Reload  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary,Other  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 7,733: | Line 7,733: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 7,804: | Line 7,804: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 8,280: | Line 8,280: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 8,378: | Line 8,378: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 12,109: | Line 12,109: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 12,237: | Line 12,237: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 12,298: | Line 12,298: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 12,426: | Line 12,426: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 14,394: | Line 14,394: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 14,522: | Line 14,522: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
| Line 14,718: | Line 14,718: | ||
		}}  | 		}}  | ||
	|abilities={{#switch:{{lc:{{{3|}}}}}  | 	|abilities={{#switch:{{lc:{{{3|}}}}}  | ||
		|  | 		|secondary={{#switch:{{lc:{{{4|}}}}}  | ||
			|attack 1={{#switch:{{lc:{{{5|}}}}}  | 			|attack 1={{#switch:{{lc:{{{5|}}}}}  | ||
				|damagetype=Slash  | 				|damagetype=Slash  | ||
| Line 14,768: | Line 14,768: | ||
			|all=Attack 1,Attack 2,Attack 3,Global  | 			|all=Attack 1,Attack 2,Attack 3,Global  | ||
			}}  | 			}}  | ||
		|all=  | 		|all=Secondary  | ||
		}}  | 		}}  | ||
	|types={{#switch:{{lc:{{{3|}}}}}  | 	|types={{#switch:{{lc:{{{3|}}}}}  | ||
Revision as of 04:12, 16 February 2025
Usage
{{Weapon_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,
{{Weapon_Data|all}}
will output a list of all items
For example,
{{Weapon_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
{{Weapon_Data|Arming Sword|stats|all}}
Outputs physical base weapon damage 1,physical base weapon damage 2,physical base weapon damage 3,physical base weapon damage 4,physical base weapon damage 5,physical base weapon damage 6,move speed,allstats
Example 2
All shared attributes for Primary attacks of Arming Sword
{{Weapon_Data|Arming Sword|abilities|Primary|global}}
Outputs
Example 3
Damagefalloff widget of Longbow
{{Weapon_Data|Longbow|damagefalloff}}
Outputs
Example 4
All non-artifact rarities of the Arming Sword
{{Weapon_Data|Arming Sword|rarities}}
Outputs 1,2,3,4,5,6
Example 5
Invslots size image of Arming Sword
{{Weapon_Data|Arming Sword|invslots}}
Example 6
All attributes of primary abilities of Arming Sword
{{Weapon_Data|Arming Sword|abilities|Primary|all}}
Outputs Attack 1,Attack 2,Attack 3,Global