/tg/ Station 13 - Modules - TypesVar Details - Proc Details

durand

Vars

defense_modeBool for energy shield on/off
shieldFake shield object we use as a way to redirect attacks off ourselves
switchingIs the shield currently switching modes?

Procs

defense_checkChecks if defense mode is enabled, and if the attacker is standing in an area covered by the shield. Expects a turf. Returns true if the attack should be blocked, false if not.

Var Details

defense_mode

Bool for energy shield on/off

shield

Fake shield object we use as a way to redirect attacks off ourselves

switching

Is the shield currently switching modes?

Proc Details

defense_check

Checks if defense mode is enabled, and if the attacker is standing in an area covered by the shield. Expects a turf. Returns true if the attack should be blocked, false if not.