From Dark and Darker Wiki
(Automated edit: HF79) |
(Automated edit:) |
||
Line 228: | Line 228: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 346: | Line 340: | ||
|interactiontime=4 | |interactiontime=4 | ||
|interactiontimescaling=50% | |interactiontimescaling=50% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 420: | Line 408: | ||
|interactiontime=10 | |interactiontime=10 | ||
|interactiontimescaling=100% | |interactiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 557: | Line 539: | ||
|initialspeed=10 | |initialspeed=10 | ||
|damagefalloff={{#widget:Chart|uniqueId=Drum|data=[{"x": 0,"y": 1},{"x": 0,"y": 1},{"x": 0.051,"y": 0.999},{"x": 0.102,"y": 0.997},{"x": 0.153,"y": 0.993},{"x": 0.205,"y": 0.989},{"x": 0.256,"y": 0.982},{"x": 0.307,"y": 0.975},{"x": 0.358,"y": 0.966},{"x": 0.41,"y": 0.956},{"x": 0.461,"y": 0.946},{"x": 0.513,"y": 0.934},{"x": 0.564,"y": 0.921},{"x": 0.616,"y": 0.907},{"x": 0.667,"y": 0.892},{"x": 0.719,"y": 0.877},{"x": 0.77,"y": 0.86},{"x": 0.822,"y": 0.843},{"x": 0.873,"y": 0.825},{"x": 0.925,"y": 0.807},{"x": 0.976,"y": 0.788},{"x": 1.028,"y": 0.768},{"x": 1.079,"y": 0.748},{"x": 1.131,"y": 0.728},{"x": 1.182,"y": 0.707},{"x": 1.234,"y": 0.686},{"x": 1.285,"y": 0.665},{"x": 1.336,"y": 0.643},{"x": 1.388,"y": 0.621},{"x": 1.439,"y": 0.599},{"x": 1.49,"y": 0.577},{"x": 1.541,"y": 0.555},{"x": 1.592,"y": 0.533},{"x": 1.644,"y": 0.511},{"x": 1.695,"y": 0.49},{"x": 1.746,"y": 0.468},{"x": 1.796,"y": 0.447},{"x": 1.847,"y": 0.425},{"x": 1.898,"y": 0.405},{"x": 1.949,"y": 0.384},{"x": 1.999,"y": 0.364},{"x": 2.05,"y": 0.345},{"x": 2.1,"y": 0.326},{"x": 2.151,"y": 0.308},{"x": 2.201,"y": 0.29},{"x": 2.251,"y": 0.273},{"x": 2.301,"y": 0.257},{"x": 2.351,"y": 0.241},{"x": 2.401,"y": 0.227},{"x": 2.45,"y": 0.213},{"x": 2.5,"y": 0.2},{"x": 2.5,"y": 0.2},{"x": 2.53,"y": 0.193},{"x": 2.56,"y": 0.186},{"x": 2.589,"y": 0.179},{"x": 2.619,"y": 0.172},{"x": 2.649,"y": 0.165},{"x": 2.679,"y": 0.159},{"x": 2.71,"y": 0.152},{"x": 2.74,"y": 0.146},{"x": 2.77,"y": 0.14},{"x": 2.8,"y": 0.134},{"x": 2.831,"y": 0.129},{"x": 2.861,"y": 0.123},{"x": 2.892,"y": 0.118},{"x": 2.922,"y": 0.113},{"x": 2.953,"y": 0.107},{"x": 2.983,"y": 0.103},{"x": 3.014,"y": 0.098},{"x": 3.045,"y": 0.093},{"x": 3.075,"y": 0.089},{"x": 3.106,"y": 0.085},{"x": 3.137,"y": 0.08},{"x": 3.167,"y": 0.076},{"x": 3.198,"y": 0.073},{"x": 3.229,"y": 0.069},{"x": 3.26,"y": 0.066},{"x": 3.291,"y": 0.062},{"x": 3.322,"y": 0.059},{"x": 3.352,"y": 0.056},{"x": 3.383,"y": 0.053},{"x": 3.414,"y": 0.05},{"x": 3.445,"y": 0.048},{"x": 3.476,"y": 0.045},{"x": 3.507,"y": 0.043},{"x": 3.538,"y": 0.041},{"x": 3.569,"y": 0.039},{"x": 3.6,"y": 0.037},{"x": 3.631,"y": 0.035},{"x": 3.662,"y": 0.033},{"x": 3.692,"y": 0.032},{"x": 3.723,"y": 0.031},{"x": 3.754,"y": 0.029},{"x": 3.785,"y": 0.028},{"x": 3.816,"y": 0.027},{"x": 3.847,"y": 0.027},{"x": 3.877,"y": 0.026},{"x": 3.908,"y": 0.026},{"x": 3.939,"y": 0.025},{"x": 3.969,"y": 0.025},{"x": 4,"y": 0.025}]|color=orange}} | |damagefalloff={{#widget:Chart|uniqueId=Drum|data=[{"x": 0,"y": 1},{"x": 0,"y": 1},{"x": 0.051,"y": 0.999},{"x": 0.102,"y": 0.997},{"x": 0.153,"y": 0.993},{"x": 0.205,"y": 0.989},{"x": 0.256,"y": 0.982},{"x": 0.307,"y": 0.975},{"x": 0.358,"y": 0.966},{"x": 0.41,"y": 0.956},{"x": 0.461,"y": 0.946},{"x": 0.513,"y": 0.934},{"x": 0.564,"y": 0.921},{"x": 0.616,"y": 0.907},{"x": 0.667,"y": 0.892},{"x": 0.719,"y": 0.877},{"x": 0.77,"y": 0.86},{"x": 0.822,"y": 0.843},{"x": 0.873,"y": 0.825},{"x": 0.925,"y": 0.807},{"x": 0.976,"y": 0.788},{"x": 1.028,"y": 0.768},{"x": 1.079,"y": 0.748},{"x": 1.131,"y": 0.728},{"x": 1.182,"y": 0.707},{"x": 1.234,"y": 0.686},{"x": 1.285,"y": 0.665},{"x": 1.336,"y": 0.643},{"x": 1.388,"y": 0.621},{"x": 1.439,"y": 0.599},{"x": 1.49,"y": 0.577},{"x": 1.541,"y": 0.555},{"x": 1.592,"y": 0.533},{"x": 1.644,"y": 0.511},{"x": 1.695,"y": 0.49},{"x": 1.746,"y": 0.468},{"x": 1.796,"y": 0.447},{"x": 1.847,"y": 0.425},{"x": 1.898,"y": 0.405},{"x": 1.949,"y": 0.384},{"x": 1.999,"y": 0.364},{"x": 2.05,"y": 0.345},{"x": 2.1,"y": 0.326},{"x": 2.151,"y": 0.308},{"x": 2.201,"y": 0.29},{"x": 2.251,"y": 0.273},{"x": 2.301,"y": 0.257},{"x": 2.351,"y": 0.241},{"x": 2.401,"y": 0.227},{"x": 2.45,"y": 0.213},{"x": 2.5,"y": 0.2},{"x": 2.5,"y": 0.2},{"x": 2.53,"y": 0.193},{"x": 2.56,"y": 0.186},{"x": 2.589,"y": 0.179},{"x": 2.619,"y": 0.172},{"x": 2.649,"y": 0.165},{"x": 2.679,"y": 0.159},{"x": 2.71,"y": 0.152},{"x": 2.74,"y": 0.146},{"x": 2.77,"y": 0.14},{"x": 2.8,"y": 0.134},{"x": 2.831,"y": 0.129},{"x": 2.861,"y": 0.123},{"x": 2.892,"y": 0.118},{"x": 2.922,"y": 0.113},{"x": 2.953,"y": 0.107},{"x": 2.983,"y": 0.103},{"x": 3.014,"y": 0.098},{"x": 3.045,"y": 0.093},{"x": 3.075,"y": 0.089},{"x": 3.106,"y": 0.085},{"x": 3.137,"y": 0.08},{"x": 3.167,"y": 0.076},{"x": 3.198,"y": 0.073},{"x": 3.229,"y": 0.069},{"x": 3.26,"y": 0.066},{"x": 3.291,"y": 0.062},{"x": 3.322,"y": 0.059},{"x": 3.352,"y": 0.056},{"x": 3.383,"y": 0.053},{"x": 3.414,"y": 0.05},{"x": 3.445,"y": 0.048},{"x": 3.476,"y": 0.045},{"x": 3.507,"y": 0.043},{"x": 3.538,"y": 0.041},{"x": 3.569,"y": 0.039},{"x": 3.6,"y": 0.037},{"x": 3.631,"y": 0.035},{"x": 3.662,"y": 0.033},{"x": 3.692,"y": 0.032},{"x": 3.723,"y": 0.031},{"x": 3.754,"y": 0.029},{"x": 3.785,"y": 0.028},{"x": 3.816,"y": 0.027},{"x": 3.847,"y": 0.027},{"x": 3.877,"y": 0.026},{"x": 3.908,"y": 0.026},{"x": 3.939,"y": 0.025},{"x": 3.969,"y": 0.025},{"x": 4,"y": 0.025}]|color=orange}} | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 696: | Line 663: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=12 | |initialspeed=12 | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 846: | Line 804: | ||
}} | }} | ||
|impactresistance=4 | |impactresistance=4 | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |||
|1=0 | |||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |||
|1=0 | |||
|2=9 | |2=9 | ||
|3=15 | |3=15 | ||
Line 989: | Line 920: | ||
|classes=[[Barbarian]],[[Fighter]],[[Bard]] | |classes=[[Barbarian]],[[Fighter]],[[Bard]] | ||
|iscraftableby=Weaponsmith | |iscraftableby=Weaponsmith | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 1,131: | Line 1,053: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=12 | |initialspeed=12 | ||
}} | }} | ||
|golden key={{#switch:{{lc:{{{2|}}}}} | |golden key={{#switch:{{lc:{{{2|}}}}} | ||
Line 1,295: | Line 1,208: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|5=1 | |5=1 | ||
Line 1,364: | Line 1,271: | ||
|interactiontime=1 | |interactiontime=1 | ||
|interactiontimescaling=100% | |interactiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 1,447: | Line 1,348: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=? | |initialspeed=? | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 1,665: | Line 1,557: | ||
|7=20 | |7=20 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,806: | Line 1,661: | ||
|7=20 | |7=20 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,955: | Line 1,798: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 2,108: | Line 1,945: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=12 | |initialspeed=12 | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|2=15 | |2=15 | ||
Line 2,285: | Line 2,110: | ||
}} | }} | ||
|iscraftableby=Weaponsmith | |iscraftableby=Weaponsmith | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 2,413: | Line 2,224: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=12 | |initialspeed=12 | ||
}} | }} | ||
|potion of clarity={{#switch:{{lc:{{{2|}}}}} | |potion of clarity={{#switch:{{lc:{{{2|}}}}} | ||
Line 2,536: | Line 2,338: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 2,665: | Line 2,461: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 2,796: | Line 2,586: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|2=3 | |2=3 | ||
Line 2,918: | Line 2,702: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|3=15 | |3=15 | ||
Line 3,047: | Line 2,825: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 3,174: | Line 2,946: | ||
|7=0 | |7=0 | ||
|all=0,1,2,3,4,5,6,7 | |all=0,1,2,3,4,5,6,7 | ||
}} | }} | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
Line 3,258: | Line 3,024: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=12 | |initialspeed=12 | ||
}} | }} | ||
|surgical kit={{#switch:{{lc:{{{2|}}}}} | |surgical kit={{#switch:{{lc:{{{2|}}}}} | ||
Line 3,340: | Line 3,097: | ||
|interactiontime=9 | |interactiontime=9 | ||
|interactiontimescaling=50% | |interactiontimescaling=50% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 3,430: | Line 3,181: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=12 | |initialspeed=12 | ||
}} | }} | ||
|throwing knife={{#switch:{{lc:{{{2|}}}}} | |throwing knife={{#switch:{{lc:{{{2|}}}}} | ||
Line 3,537: | Line 3,279: | ||
|classes=[[Rogue]],[[Wizard]],[[Bard]] | |classes=[[Rogue]],[[Wizard]],[[Bard]] | ||
|iscraftableby=Weaponsmith | |iscraftableby=Weaponsmith | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 3,651: | Line 3,384: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=? | |initialspeed=? | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|1=0 | |1=0 | ||
Line 3,806: | Line 3,521: | ||
|actiontime=3 | |actiontime=3 | ||
|actiontimescaling=100% | |actiontimescaling=100% | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|5=60 | |5=60 | ||
Line 3,870: | Line 3,579: | ||
|isprojectile=true | |isprojectile=true | ||
|initialspeed=? | |initialspeed=? | ||
|sellprices={{#switch:{{lc:{{{3|}}}}} | |sellprices={{#switch:{{lc:{{{3|}}}}} | ||
|5=80 | |5=80 | ||
Line 3,968: | Line 3,668: | ||
See example 1 and 6 for more information | See example 1 and 6 for more information | ||
==Examples== | ==Examples== | ||
Line 4,014: | Line 3,713: | ||
<pre style="width:fit-content;">{{Utility_Data|Arming Sword|abilities|Primary|all}}</pre> | <pre style="width:fit-content;">{{Utility_Data|Arming Sword|abilities|Primary|all}}</pre> | ||
Outputs {{Utility_Data|Arming Sword|abilities|Primary|all}} | Outputs {{Utility_Data|Arming Sword|abilities|Primary|all}} | ||
</noinclude> | </noinclude> |
Revision as of 06:13, 19 February 2025
Usage
{{Utility_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,
{{Utility_Data|all}}
will output a list of all items
For example,
{{Utility_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
{{Utility_Data|Arming Sword|stats|all}}
Outputs
Example 2
All shared attributes for Primary attacks of Arming Sword
{{Utility_Data|Arming Sword|abilities|Primary|global}}
Outputs
Example 3
Damagefalloff widget of Longbow
{{Utility_Data|Longbow|damagefalloff}}
Outputs
Example 4
All non-artifact rarities of the Arming Sword
{{Utility_Data|Arming Sword|rarities}}
Outputs
Example 5
Invslots size image of Arming Sword
{{Utility_Data|Arming Sword|invslots}}
Outputs
Example 6
All attributes of primary abilities of Arming Sword
{{Utility_Data|Arming Sword|abilities|Primary|all}}
Outputs