From Dark and Darker Wiki

(Automated edit: HF75. Removing loot tables that roll 0 times from Monster and Prop data.)
(Automated edit: HF79)
Line 15: Line 15:
|floor effect=Blizzard,Cave Collapse,Dark Swarm,Death Beetle
|floor effect=Blizzard,Cave Collapse,Dark Swarm,Death Beetle
|global={{#switch:{{lc:{{{3|}}}}}
|global={{#switch:{{lc:{{{3|}}}}}
|herb=Black Rose,Lifeleaf Prop,Phantom Flower Prop,Wardweed Prop
|high-end props=Bronze Ornate Chest,Golden Chest,Heavy Ornate Chest,Lion's Head Chest,Marvelous Chest,Royal Coffin
|high-end props=Bronze Ornate Chest,Golden Chest,Heavy Ornate Chest,Lion's Head Chest,Marvelous Chest,Royal Coffin
|coffin=Casket,Coffin 1,Coffin 2,Old Coffin,Stone Tomb,Wood Coffin
|coffin=Casket,Coffin 1,Coffin 2,Old Coffin,Stone Tomb,Wood Coffin
|ore=Cobalt Ore Prop,Copper Ore Prop,Froststone Ore Prop,Gold Ore Prop,Iron Ore Prop,Rubysilver Ore Prop
|ore=Cobalt Ore Prop,Copper Ore Prop,Froststone Ore Prop,Gold Ore Prop,Iron Ore Prop,Rubysilver Ore Prop
|chest=Flat Chest,Large Oak Chest,Large Reinforced Chest,Oak Chest,Reinforced Chest,Small Coffer,Small Oak Chest,Small Reinforced Chest
|chest=Flat Chest,Large Oak Chest,Large Reinforced Chest,Oak Chest,Reinforced Chest,Small Coffer,Small Oak Chest,Small Reinforced Chest
|herb=Lifeleaf Prop,Phantom Flower Prop,Wardweed Prop
|crate=Medium Wooden Crate,Small Wooden Crate
|crate=Medium Wooden Crate,Small Wooden Crate
|pot=Pot 1,Pot 2,Pot 3,Pot 4,Spider Pot
|pot=Pot 1,Pot 2,Pot 3,Pot 4,Spider Pot
Line 45: Line 45:
}}
}}
|item=Campfire,Hunting Trap,Pavise
|item=Campfire,Hunting Trap,Pavise
|lever=Cup Lever,Cup Lever Only Activate,Elevator Floor Lever,Floor Lever,Floor Lever Only Activate,Gold Chalice,Silver Chalice,Statue Lever,Statue Lever Only Activate,Unlocking Lever By Monster Kill,Wall Lever,Wall Lever Only Activate
|lever=Cup Lever,Cup Lever Only Activate,Elevator Floor Lever,Floor Lever,Floor Lever Only Activate,Floor Lever Random Timer,Gold Chalice,Silver Chalice,Statue Lever,Statue Lever Only Activate,Unlocking Lever By Monster Kill,Wall Lever,Wall Lever Only Activate
|lever door=Cave Secret Wall Door,Crypt Secret Wall Door,Inferno Secret Wall Door
|lever door=Cave Secret Wall Door,Crypt Secret Wall Door,Inferno Secret Wall Door
|non-portal escape=Cave Exit,Down Crevice,Lift,Rope,Ruins Down Stair,Updraft
|non-portal escape=Cave Exit,Down Crevice,Lift,Rope,Ruins Down Stair,Updraft
Line 66: Line 66:
|torch=Bold Torch,Down Indicator Torch,Escape Indicator Torch,Ice Torch,Inferno Torch,Luminpearls Torch,Skull Torch,Torch,Torch Blue,Torch Yellow
|torch=Bold Torch,Down Indicator Torch,Escape Indicator Torch,Ice Torch,Inferno Torch,Luminpearls Torch,Skull Torch,Torch,Torch Blue,Torch Yellow
|trophy=InsaneZeno's Double Axe,LatexMonkeynuts' Longbow,Lich Trophy,Lindstrom3TTV's Recurve Bow,Malkavia's Heater Shield,Narikk's Felling Axe,Placeholder_Props_Props_HistoryBook_01,Portal Trophy,Wanted Poster,Xenophobia2027's Survival Bow,YoloRage's Rondel Dagger
|trophy=InsaneZeno's Double Axe,LatexMonkeynuts' Longbow,Lich Trophy,Lindstrom3TTV's Recurve Bow,Malkavia's Heater Shield,Narikk's Felling Axe,Placeholder_Props_Props_HistoryBook_01,Portal Trophy,Wanted Poster,Xenophobia2027's Survival Bow,YoloRage's Rondel Dagger
|unhandled type=Book,Bookshelf,Burn,Caltrops,Candle Wall,Demonic Guardians,Drawbridge,Drawbridge Wheel,Escape Tag Volume,Falling Debris Trap,Falling Stone,Ghostdust Pouch,Inscription,Lamp,Midnight Curse,Mud Shield,Murder of Crows,Portcullis,Pressure Plate,Safety Zone,Spider Web,Spiked Log,Spiked Log Ejector,Sticky Tar,Swamp of Decay,The Void,Wall of Fire,Water
|unhandled type=Book,Bookshelf,Burn,Caltrops,Candle Wall,Demonic Guardians,Drawbridge,Drawbridge Wheel,Escape Tag Volume,Falling Debris Trap,Falling Stone,Ghostdust Pouch,Inscription,Lamp,Midnight Curse,Mud Shield,Murder of Crows,Portcullis,Pressure Plate,Random Timer Switch,Safety Zone,Spider Web,Spiked Log,Spiked Log Ejector,Sticky Tar,Swamp of Decay,The Void,Wall of Fire,Water
|all=Crypts,Destructible,Environmental Trap,Floor Effect,Global,Goblin Caves and Ice Cavern,Inferno and Ice Abyss,Item,Lever,Lever Door,Non-Portal Escape,Portal,Regular Door,Roaster,Ruins,Shrine,Skeleton Barrel,Special Door,Torch,Trophy,Unhandled Type
|all=Crypts,Destructible,Environmental Trap,Floor Effect,Global,Goblin Caves and Ice Cavern,Inferno and Ice Abyss,Item,Lever,Lever Door,Non-Portal Escape,Portal,Regular Door,Roaster,Ruins,Shrine,Skeleton Barrel,Special Door,Torch,Trophy,Unhandled Type
}}
}}
Line 147: Line 147:
}}
}}
|all=Global
|all=Global
}}
|black rose-global={{#switch:{{lc:{{{2|}}}}}
|hr={{#switch:{{lc:{{{3|}}}}}
|localizedstring=Black Rose
|gradetype=Normal
|idtag=BlackRose
|abilities={{#switch:{{lc:{{{4|}}}}}
|ore destruction={{#switch:{{lc:{{{5|}}}}}
|effects={{#switch:{{lc:{{{6|}}}}}
|oredestruction={{#switch:{{lc:{{{7|}}}}}
|event=Hit
|eventtagunlocalized=Event.Attack.Hit
|impactpower=10 [[Impact_Power|Impact Power]]
}}
}}
}}
|all=Ore Destruction
}}
|drops={{#switch:{{lc:{{{4|}}}}}
|spawn_blackrose_hr=1
|all=Spawn_Blackrose_HR
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|harvesting={{#switch:{{lc:{{{5|}}}}}
|text=Harvesting
|duration=3.5
}}
|all=Harvesting
}}
|interactioncount=1
|impactendurance=1
|impactresistance=1
|breaksifcollected=true
|ap=1
|xp=1
}}
|n={{#switch:{{lc:{{{3|}}}}}
|localizedstring=Black Rose
|gradetype=Normal
|idtag=BlackRose
|abilities={{#switch:{{lc:{{{4|}}}}}
|ore destruction={{#switch:{{lc:{{{5|}}}}}
|effects={{#switch:{{lc:{{{6|}}}}}
|oredestruction={{#switch:{{lc:{{{7|}}}}}
|event=Hit
|eventtagunlocalized=Event.Attack.Hit
|impactpower=10 [[Impact_Power|Impact Power]]
}}
}}
}}
|all=Ore Destruction
}}
|drops={{#switch:{{lc:{{{4|}}}}}
|spawn_blackrose_n=1
|all=Spawn_Blackrose_N
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|harvesting={{#switch:{{lc:{{{5|}}}}}
|text=Harvesting
|duration=3.5
}}
|all=Harvesting
}}
|interactioncount=1
|impactendurance=1
|impactresistance=1
|breaksifcollected=true
|ap=1
|xp=1
}}
|all=HR,N
}}
}}
|blizzard={{#switch:{{lc:{{{2|}}}}}
|blizzard={{#switch:{{lc:{{{2|}}}}}
Line 4,379: Line 4,450:
}}
}}
|all=Activate Lever,Lever Broken
|all=Activate Lever,Lever Broken
}}
}}
|all=Global
}}
|floor lever random timer={{#switch:{{lc:{{{2|}}}}}
|global={{#switch:{{lc:{{{3|}}}}}
|localizedstring=Lever
|gradetype=Normal
|idtag=RandomTimer
|abilities={{#switch:{{lc:{{{4|}}}}}
|floor lever activate={{#switch:{{lc:{{{5|}}}}}
|effects={{#switch:{{lc:{{{6|}}}}}
|activatestate={{#switch:{{lc:{{{7|}}}}}
|event=Interaction
|eventtagunlocalized=Event.Interact.Trigger
}}
}}
|requesteventtag=Event.ObjectLink.Activate
|idleanimsequencegameplaytag=State.Animation.Idle.Activate
}}
|floor lever deactivate={{#switch:{{lc:{{{5|}}}}}
|effects={{#switch:{{lc:{{{6|}}}}}
|deactivatestate={{#switch:{{lc:{{{7|}}}}}
|event=Interaction
|eventtagunlocalized=Event.Interact.Trigger
}}
}}
|requesteventtag=Event.ObjectLink.Deactivate
|idleanimsequencegameplaytag=State.Animation.Idle.Deactivate
}}
|all=Floor Lever Activate,Floor Lever Deactivate
}}
|interactions={{#switch:{{lc:{{{4|}}}}}
|activate lever={{#switch:{{lc:{{{5|}}}}}
|text=Activating...
|duration=3
}}
|deactivate lever={{#switch:{{lc:{{{5|}}}}}
|text=Deactivating...
|duration=0.5
}}
|all=Activate Lever,Deactivate Lever
}}
}}
}}
}}
Line 11,493: Line 11,606:
}}
}}
|all=Pushing Block
|all=Pushing Block
}}
}}
|all=Global
}}
|random timer switch={{#switch:{{lc:{{{2|}}}}}
|global={{#switch:{{lc:{{{3|}}}}}
|gradetype=Normal
|idtag=RandomTimerSwitch
|abilities={{#switch:{{lc:{{{4|}}}}}
|activate={{#switch:{{lc:{{{5|}}}}}
|effects={{#switch:{{lc:{{{6|}}}}}
|activatestate={{#switch:{{lc:{{{7|}}}}}
|event=Interaction
|eventtagunlocalized=Event.Interact.Trigger
}}
}}
|requesteventtag=Event.ObjectLink.Activate
|idleanimsequencegameplaytag=State.Animation.Idle.Activate
}}
|deactivate={{#switch:{{lc:{{{5|}}}}}
|effects={{#switch:{{lc:{{{6|}}}}}
|deactivatestate={{#switch:{{lc:{{{7|}}}}}
|event=Interaction
|eventtagunlocalized=Event.Interact.Trigger
}}
}}
|requesteventtag=Event.ObjectLink.Deactivate
|idleanimsequencegameplaytag=State.Animation.Idle.Deactivate
}}
|all=Activate,Deactivate
}}
}}
}}
}}

Revision as of 21:32, 13 February 2025


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