Skip to main content

Module lethal

Module lethal 

Source
Expand description

Lethal volumes and the kinds of damage they deal.

Structs§

LethalVolume
A stage-5 lethal volume (DSL v0.10, spec-0031): a declared box that kills whatever enters it, and states — in the campaign’s own words — what killed it.

Enums§

DamageKind
The damage type of a Verb::DamagePlayers effect (DSL v0.6). A curated subset of the vanilla 1.21.11 damage-type registry: every variant respects the keepInventory death flow (a gamerule, so all deaths do) and does not bypass a totem of undying — the totem-bypassing out_of_world / generic_kill types are deliberately excluded, so a scripted consequence can never silently void a player’s held totem. Modelled as an enum (not a free string) so an unknown type is a schema rejection (DW0100) and needs no separate registry / diagnostic. generic is the default: command damage that respects totems + absorption but ignores armor, so a scripted hit lands regardless of gear.

Constants§

LETHAL_INVISIBLE
(spec-0062) A killing volume and what shows it disagree.
LETHAL_MESSAGE_BLANK
(spec-0031, DSL v0.10) A lethal_volumes[] entry’s message is blank.