/tg/ Station 13 - Modules - TypesDefine Details

modular_nova/modules/energy_shield/code/energy_shield.dm

ENERGY_SHIELD_FILTERFilter name for the energy shield outline glow
ENERGY_SHIELD_PATTERN_FILTERFilter name for the energy shield texture pattern
ENERGY_SHIELD_TRAITTrait source for the energy shield
TRAIT_ENERGY_SHIELDEDTrait applied to wearer to prevent stacking multiple shields
SHIELD_HUD_Y_OFFSETY offset for shield HUD bar so it doesn't overlap health bar
SHIELD_VISUAL_LINGERHow long the shield filters stay visible after a hit
/obj/effect/temp_visual/energy_shield_rippleConcentric ripple effect spawned at the struck limb on shield hit.
/datum/action/item_action/toggle_energy_shieldAction button for toggling the energy shield on/off.

Define Details

ENERGY_SHIELD_FILTER

Filter name for the energy shield outline glow

ENERGY_SHIELD_PATTERN_FILTER

Filter name for the energy shield texture pattern

ENERGY_SHIELD_TRAIT

Trait source for the energy shield

SHIELD_HUD_Y_OFFSET

Y offset for shield HUD bar so it doesn't overlap health bar

SHIELD_VISUAL_LINGER

How long the shield filters stay visible after a hit

TRAIT_ENERGY_SHIELDED

Trait applied to wearer to prevent stacking multiple shields