/tg/ Station 13 - Modules - Types — Var Details

crackable

Adds crack overlays to an object when it sustains integrity damage

You can provide an icon and a list of icon states for the cracks If no icon is provided, a generic icon and list of icon states will be used

You can also decide at what percentage of integrity the cracks start to appear (1.0 meaning it starts appearing cracked upon taking any damage, 0.5 meaning it starts appearing cracked only at half integrity)

Vars

crack_appearancesCached crack appearances
crack_integrityThe level at which the object starts showing cracks, 1 being at full health and 0.5 being at half health

Var Details

crack_appearances

Cached crack appearances

crack_integrity

The level at which the object starts showing cracks, 1 being at full health and 0.5 being at half health