From Dark and Darker Wiki

(Automated edit: HF65)
m (Automated edit: HF66)
Line 829: Line 829:
|francisca axe={{#switch:{{lc:{{{2|}}}}}
|francisca axe={{#switch:{{lc:{{{2|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical base weapon damage 1=14
|physical base weapon damage 1=10
|physical base weapon damage 2=16
|physical base weapon damage 2=11
|physical base weapon damage 3=18
|physical base weapon damage 3=12
|physical base weapon damage 4=20
|physical base weapon damage 4=13
|physical base weapon damage 5=22
|physical base weapon damage 5=14
|physical base weapon damage 6=24
|physical base weapon damage 6=15
|physical base weapon damage 7=26
|physical base weapon damage 7=16
|move speed=-10
|move speed=-10
|allstats=Physical Base Weapon Damage,Move Speed
|allstats=Physical Base Weapon Damage,Move Speed
Line 1,933: Line 1,933:
|sellprices={{#switch:{{lc:{{{3|}}}}}
|sellprices={{#switch:{{lc:{{{3|}}}}}
|1=0
|1=0
|2=2
|2=3
|3=2
|3=4
|4=3
|4=6
|5=3
|5=9
|6=4
|6=15
|7=5
|7=24
|all=1,2,3,4,5,6,7
|all=1,2,3,4,5,6,7
}}
}}
Line 2,786: Line 2,786:
|throwing knife={{#switch:{{lc:{{{2|}}}}}
|throwing knife={{#switch:{{lc:{{{2|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|stats={{#switch:{{lc:{{{3|}}}}}
|physical base weapon damage 1=12
|physical base weapon damage 1=10
|physical base weapon damage 2=14
|physical base weapon damage 2=11
|physical base weapon damage 3=16
|physical base weapon damage 3=12
|physical base weapon damage 4=18
|physical base weapon damage 4=13
|physical base weapon damage 5=20
|physical base weapon damage 5=14
|physical base weapon damage 6=22
|physical base weapon damage 6=15
|physical base weapon damage 7=24
|physical base weapon damage 7=16
|move speed=-10
|move speed=-10
|allstats=Physical Base Weapon Damage,Move Speed
|allstats=Physical Base Weapon Damage,Move Speed

Revision as of 20:45, 4 October 2024


Usage

{{Utility_Data|<variable1>|<variable2>|...}}


Variables

  • <item_name>
    • stats
      • <stat_name>
      • allstats
    • abilities
      • <ability_type>
        • <ability_name>
          • <ability_attribute>
    • 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


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