From Dark and Darker Wiki
m (Automated edit: HF72) |
m (Automated edit: HF72 pestilence 3s->5s; PhysicalReductionMod wikilink fixed; wanderlight desc fixed) |
||
Line 9,866: | Line 9,866: | ||
|event=Detect Target | |event=Detect Target | ||
|eventtagunlocalized=Event.Aura.Add | |eventtagunlocalized=Event.Aura.Add | ||
|physicaldamagereductionmod=-5% [[ | |physicaldamagereductionmod=-5% [[Damage#Damage_Reduction_Mod|Physical Damage Reduction Mod]] | ||
|magicaldamagereduction=-5% [[Stats#Magical_Damage_Reduction|Magical Damage Reduction]] | |magicaldamagereduction=-5% [[Stats#Magical_Damage_Reduction|Magical Damage Reduction]] | ||
}} | }} | ||
Line 9,883: | Line 9,883: | ||
|event=Detect Target | |event=Detect Target | ||
|eventtagunlocalized=Event.Aura.Add | |eventtagunlocalized=Event.Aura.Add | ||
|physicaldamagereductionmod=-10% [[ | |physicaldamagereductionmod=-10% [[Damage#Damage_Reduction_Mod|Physical Damage Reduction Mod]] | ||
|magicaldamagereduction=-10% [[Stats#Magical_Damage_Reduction|Magical Damage Reduction]] | |magicaldamagereduction=-10% [[Stats#Magical_Damage_Reduction|Magical Damage Reduction]] | ||
}} | }} | ||
Line 9,900: | Line 9,900: | ||
|event=Detect Target | |event=Detect Target | ||
|eventtagunlocalized=Event.Aura.Add | |eventtagunlocalized=Event.Aura.Add | ||
|physicaldamagereductionmod=-50% [[ | |physicaldamagereductionmod=-50% [[Damage#Damage_Reduction_Mod|Physical Damage Reduction Mod]] | ||
|magicaldamagereduction=-50% [[Stats#Magical_Damage_Reduction|Magical Damage Reduction]] | |magicaldamagereduction=-50% [[Stats#Magical_Damage_Reduction|Magical Damage Reduction]] | ||
}} | }} |
Latest revision as of 20:03, 29 November 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.
- To use these lists to index existing props, loop through the list and append
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