/tg/ Station 13 - Modules - TypesVar Details

debris_bleeder

Drop debris when taking damage

Vars

damage_typeWhich type of damage to respond to
debris_to_damageThe type of debrees to spawn at a certain damage threshold. First threshold to hit in the list wins, so usually you'd want to construct from descending damage list(/obj/item/toolbox = 30, /obj/item/wire = 20, etc)
soundThe sound to play on hit
sound_thresholdMinimal damage at which we can play the sound

Var Details

damage_type

Which type of damage to respond to

debris_to_damage

The type of debrees to spawn at a certain damage threshold. First threshold to hit in the list wins, so usually you'd want to construct from descending damage list(/obj/item/toolbox = 30, /obj/item/wire = 20, etc)

sound

The sound to play on hit

sound_threshold

Minimal damage at which we can play the sound