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

structure

Corrupt Structures

Contains all of the structures that the fleshmind can use.

Has some inbuilt features, such as a special ability with trigger turfs.

Vars

ability_cooldownOur ability cooldown
ability_cooldown_timeThe time to regenerate our ability. Set to 0 to disasble the cooldown system.
activation_rangeThe range at which we will trigger our special ability. Set to 0 to disable.
automatic_trigger_time_lowerHow often we automatically trigger our ability. LOWER END. Set to 0 to disable.
automatic_trigger_time_upperHow often we automatically trigger our ability. UPPER END.
disabledAre we inoperative?
disabled_spriteDo we have a disabled sprite?
immediate_triggerDo we automatically trigger on creation?
requires_controllerDo we need a core to function? If set to TRUE, our ability will not trigger if we have no core.
trigger_on_attackDo we trigger on someone attacking us?

Procs

activate_abilityActivate ability
calculate_trigger_turfsCalculate trigger turfs - INTERNAL PROC
disableDisable
enableEnable
proximity_triggerProximity trigger - INTERNAL PROC

Var Details

ability_cooldown

Our ability cooldown

ability_cooldown_time

The time to regenerate our ability. Set to 0 to disasble the cooldown system.

activation_range

The range at which we will trigger our special ability. Set to 0 to disable.

automatic_trigger_time_lower

How often we automatically trigger our ability. LOWER END. Set to 0 to disable.

automatic_trigger_time_upper

How often we automatically trigger our ability. UPPER END.

disabled

Are we inoperative?

disabled_sprite

Do we have a disabled sprite?

immediate_trigger

Do we automatically trigger on creation?

requires_controller

Do we need a core to function? If set to TRUE, our ability will not trigger if we have no core.

trigger_on_attack

Do we trigger on someone attacking us?

Proc Details

activate_ability

Activate ability

Must return TRUE or FALSE as this is used to reset cooldown. Activated using the above methods.

calculate_trigger_turfs

Calculate trigger turfs - INTERNAL PROC

disable

Disable

Disables the device for a set amount of time. Duration = seconds

enable

Enable

Enables a device after it was disabled.

proximity_trigger

Proximity trigger - INTERNAL PROC