From Dark and Darker Wiki

(Automated edit: HF67-1)
m (Automated edit: HF69)
Line 12,233: Line 12,233:
}}
}}
|drops={{#switch:{{lc:{{{4|}}}}}
|drops={{#switch:{{lc:{{{4|}}}}}
|prop_goldchest_n_goldchest_n0=2
|goldchest_n0=2
|spawn_gems_n_gems_n0=1
|gems_n0=1
|spawn_trinkets_n_trinkets_n0=4
|trinkets_n0=4
|spawn_eventcurrency_n=1
|spawn_eventcurrency_n=1
|all=Prop_Goldchest_N_Goldchest_N0,Spawn_Gems_N_Gems_N0,Spawn_Trinkets_N_Trinkets_N0,Spawn_Eventcurrency_N
|all=Goldchest_N0,Gems_N0,Trinkets_N0,Spawn_Eventcurrency_N
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}
Line 16,690: Line 16,690:
|hoardweaponarmor_hr3=1
|hoardweaponarmor_hr3=1
|coin_spawn_hr=1
|coin_spawn_hr=1
|spawn_goldcoinchest=1
|spawn_goldcoinchest_hr2=1
|all=Hoardtreasure_HR3,Hoardweaponarmor_HR3,Coin_Spawn_HR,Spawn_Goldcoinchest
|all=Hoardtreasure_HR3,Hoardweaponarmor_HR3,Coin_Spawn_HR,Spawn_Goldcoinchest_HR2
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}
Line 16,732: Line 16,732:
|hoardweaponarmor_n3=1
|hoardweaponarmor_n3=1
|coin_spawn_n=1
|coin_spawn_n=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N
|spawn_goldcoinbag_n2=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N,Spawn_Goldcoinbag_N2
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}
Line 16,774: Line 16,775:
|hoardtreasure_hr3=4
|hoardtreasure_hr3=4
|hoardweaponarmor_hr3=1
|hoardweaponarmor_hr3=1
|spawn_goldcoinbag=1
|spawn_goldcoinchest_hr1=1
|all=Hoardtreasure_HR3,Hoardweaponarmor_HR3,Spawn_Goldcoinbag
|all=Hoardtreasure_HR3,Hoardweaponarmor_HR3,Spawn_Goldcoinchest_HR1
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}
Line 16,816: Line 16,817:
|hoardweaponarmor_n3=1
|hoardweaponarmor_n3=1
|coin_spawn_n=1
|coin_spawn_n=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N
|spawn_goldcoinbag_n0=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N,Spawn_Goldcoinbag_N0
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}
Line 16,859: Line 16,861:
|hoardweaponarmor_hr3=1
|hoardweaponarmor_hr3=1
|coin_spawn_hr=1
|coin_spawn_hr=1
|spawn_goldcoinchest=1
|spawn_goldcoinchest_hr3=1
|all=Hoardtreasure_HR3,Hoardweaponarmor_HR3,Coin_Spawn_HR,Spawn_Goldcoinchest
|all=Hoardtreasure_HR3,Hoardweaponarmor_HR3,Coin_Spawn_HR,Spawn_Goldcoinchest_HR3
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}
Line 16,901: Line 16,903:
|hoardweaponarmor_n3=1
|hoardweaponarmor_n3=1
|coin_spawn_n=1
|coin_spawn_n=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N
|spawn_goldcoinbag_n3=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N,Spawn_Goldcoinbag_N3
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}
Line 16,944: Line 16,947:
|hoardweaponarmor_n3=1
|hoardweaponarmor_n3=1
|coin_spawn_n=1
|coin_spawn_n=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N
|spawn_goldcoinbag_n1=1
|all=Hoardtreasure_N3,Hoardweaponarmor_N3,Coin_Spawn_N,Spawn_Goldcoinbag_N1
}}
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|interactions={{#switch:{{lc:{{{4|}}}}}

Revision as of 03:25, 27 October 2024


Usage

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

Variables

  • AllList
    • <type>
    • <grade>
      • <type>
  • <prop_name>
    • {N, HR, Global}
      • localizedstring
      • gradetype
      • idtag
      • drops
      • abilities
        • <abilities>
      • interactions
        • <interactions>
      • interactioncount
      • impactendurance
      • impactresistance
      • breaksifcrushPerk
      • breaksifdemolitiondamage
      • breaksifcollected
      • ap
      • xp

Note that angled brackets are not literal. They indicate a variable string. <type> can indicate item or environmental trap or regular door etc. Such notation is used when there are too many strings encapsulated by the variable, and listing them all is less clarifying than a descriptive variable.

Likewise, curly brackets are not literal. They are used in the sense of set notation. That is, {N, HR, Global} means the variable can be any of these three.

All

Many sub-layers can call |all for a list of all cases for a given level

For example,

{{Prop_Data|<prop_name>|all}}

will output a list of all types that exist for the prop <prop_name>.

For example,

{{Prop_Data|<prop_name>|Interactions|All}}

will output a list of all interactions of the prop <prop_name>.

AllList Examples

List of Item Type Props

{{Prop_Data|AllList|Item}}

Outputs Campfire,Hunting Trap,Pavise

List of Coffin Type Props of Crypts Grade

{{Prop_Data|AllList|Crypts|Coffin}}

Outputs Casket,Coffin 1,Coffin 2,Old Coffin,Stone Tomb,Wood Coffin

  • Note: Such lists indicate existence of a prop for a given grade. If a prop doesn't exist for that grade and type, it will never be listed. These lists were created with this use in mind.
    • To use these lists to index existing props, loop through the list and append -<grade> to the ends of the list-indexed prop name.

Prop Examples

Altar of Sacrifice: AP

{{Prop_Data|Altar of Sacrifice|Global|AP}}

Outputs 20

Altar of Sacrifice: List of Interactions

{{Prop_Data|Altar of Sacrifice|Global|Interactions|All}}

Outputs Use Shrine

Axe Trap: List of Abilities

{{Prop_Data|Axe Trap|Global|Abilities|All}}

Outputs Activate,Deactivate,Removed

Copper Ore Prop-Global: List of Types

{{Prop_Data|Copper Ore Prop-Global|All}}

Outputs HR,N

Golden Chest-Crypts#Locked: List of HR Loot Tables

{{Prop_Data|Golden Chest-Crypts#Locked|HR|Drops|All}}

Outputs Goldchest_HR2,Spawn_Eventcurrency_N,Spawn_Treasure_Goldchesttreasure_HR2,Utility_Goldchestutility_HR2,Spawn_Chestcoin_Goldchestgold_HR2

Golden Chest-Crypts#Locked: Number of Rolls of a Specific Loot Table

{{Prop_Data|Golden Chest-Crypts#Locked|HR|Drops|spawn_treasure_goldchesttreasure_hr2}}

Outputs 2