byond - Modules - TypesVar Details - Proc Details

eshield

Vars

current_colorCurrent shield color
damaged_shield_cooldownDelay it takes to start recharging again after the shield has been damaged.
max_shield_healthMaximum shield Health
recharge_rateAmount to recharge per tick, processes once every two seconds.
recharge_timerHolds id for a timer which triggers recharge start. Null if not currently delayed.
shield_color_fullShield color when the shield is 66% to full
shield_color_lowShield color when the shield is 0 - 33% full
shield_color_midShield color when the shield is 33 - 66% full
shield_healthCurrent shield Health
spark_systemSpark system used to generate sparks when the armor takes damage

Procs

begin_rechargeStarts the shield recharging after it has been broken.
handle_equipHandles starting the shield when the parent is equiped to the correct slot.
handle_shieldAdds the correct proc callback to the shield list for intercepting damage.
handle_unequipHandles removing the shield when the parent is unequipped
intercept_damageHandles the interception of damage.
parent_examineCalled to give extra info on parent examine.

Var Details

current_color

Current shield color

damaged_shield_cooldown

Delay it takes to start recharging again after the shield has been damaged.

max_shield_health

Maximum shield Health

recharge_rate

Amount to recharge per tick, processes once every two seconds.

recharge_timer

Holds id for a timer which triggers recharge start. Null if not currently delayed.

shield_color_full

Shield color when the shield is 66% to full

shield_color_low

Shield color when the shield is 0 - 33% full

shield_color_mid

Shield color when the shield is 33 - 66% full

shield_health

Current shield Health

spark_system

Spark system used to generate sparks when the armor takes damage

Proc Details

begin_recharge

Starts the shield recharging after it has been broken.

handle_equip

Handles starting the shield when the parent is equiped to the correct slot.

handle_shield

Adds the correct proc callback to the shield list for intercepting damage.

handle_unequip

Handles removing the shield when the parent is unequipped

intercept_damage

Handles the interception of damage.

parent_examine

Called to give extra info on parent examine.