Shiptest 13 - Modules - TypesVar Details - Proc Details

durand_shield

Shield processing *An object to take the hit for us when using the Durand's defense mode. It is spawned in during the durand's initilization, and always stays on the same tile. Normally invisible, until defense mode is actvated. When the durand detects an attack that should be blocked, the attack is passed to the shield. The shield takes the damage, uses it to calculate charge cost, and then sets its own integrity back to max. Shield is automatically dropped if we run out of power or the user gets out.

Vars

switchingOur link back to the durand

Procs

InitializeTo keep track of things during the animation
activate*Handles activating and deactivating the shield. This proc is called by a signal sent from the mech's action button and relayed by the mech itself. The "forced" variabe, signal_args[1], will skip the to-pilot text and is meant for when the shield is disabled by means other than the action button (like running out of power)

Var Details

switching

Our link back to the durand

Proc Details

Initialize

To keep track of things during the animation

activate

*Handles activating and deactivating the shield. This proc is called by a signal sent from the mech's action button and relayed by the mech itself. The "forced" variabe, signal_args[1], will skip the to-pilot text and is meant for when the shield is disabled by means other than the action button (like running out of power)