control
Vars | |
activating | If the suit is currently activating/deactivating. |
---|---|
activation_step_time | How long this MOD takes each part to seal. |
active | If the suit is deployed and turned on. |
ai_assistant | AI or pAI mob inhabiting the MOD. |
charge_drain | Power usage of the MOD. |
complexity | How much module complexity this MOD is carrying. |
complexity_max | How much module complexity can this MOD carry. |
cooldown_mod_move | Cooldown for AI moves. |
core | MOD core. |
extended_desc | Extended description of the theme. |
interface_break | If the suit interface is broken. |
locked | If the suit is ID locked. |
malfunctioning | If the suit is malfunctioning. |
mod_link | The MODlink datum, letting us call people from the suit. |
mod_parts | List of MODsuit part datums. |
modules | Modules the MOD currently possesses. |
movedelay | Delay between moves as AI. |
open | If the suit wire/module hatch is open. |
seconds_electrified | How long the MOD is electrified for. |
selected_module | Currently used module. |
skin | Looks of the MOD. |
slowdown_active | Slowdown of the MOD when active. |
slowdown_inactive | Slowdown of the MOD when not active. |
starting_frequency | The starting MODlink frequency, overridden on subtypes that want it to be something. |
theme | The MOD's theme, decides on some stuff like armor and statistics. |
ui_theme | Theme of the MOD TGUI |
wearer | Person wearing the MODsuit. |
Procs | |
ai_enter_mod | Place an AI in control of your suit functions |
ai_exit_mod | Remove an AI's control of your suit functions |
choose_deploy | Creates a radial menu from which the user chooses parts of the suit to deploy/retract. Repeats until all parts are extended or retracted. |
control_activation | Finishes the suit's activation |
deploy | Deploys a part of the suit onto the user. |
disable_modlink | Disables the mod link frequency attached to this unit. |
get_wearer | Intended for callbacks, don't use normally, just get wearer by itself. |
insert_pai | Place a pAI in control of your suit functions |
on_gained_assistant | Called when a new ai assistant is inserted |
on_removed_assistant | Called when an existing ai assistant is removed |
quick_activation | Quickly deploys all the suit parts and if successful, seals them and turns on the suit. Intended mostly for outfits. |
quick_deploy | Quickly deploys all parts (or retracts if all are on the wearer) |
remove_pai | Removes pAI control from a modsuit |
retract | Retract a part of the suit from the user. |
seal_part | Seals or unseals the given part. |
toggle_activate | Starts the activation sequence, where parts of the suit activate one by one until the whole suit is on. |
update_charge_alert | Updates the wearer's hud according to the current state of the MODsuit |
Var Details
activating
If the suit is currently activating/deactivating.
activation_step_time
How long this MOD takes each part to seal.
active
If the suit is deployed and turned on.
ai_assistant
AI or pAI mob inhabiting the MOD.
charge_drain
Power usage of the MOD.
complexity
How much module complexity this MOD is carrying.
complexity_max
How much module complexity can this MOD carry.
cooldown_mod_move
Cooldown for AI moves.
core
MOD core.
extended_desc
Extended description of the theme.
interface_break
If the suit interface is broken.
locked
If the suit is ID locked.
malfunctioning
If the suit is malfunctioning.
mod_link
The MODlink datum, letting us call people from the suit.
mod_parts
List of MODsuit part datums.
modules
Modules the MOD currently possesses.
movedelay
Delay between moves as AI.
open
If the suit wire/module hatch is open.
seconds_electrified
How long the MOD is electrified for.
selected_module
Currently used module.
skin
Looks of the MOD.
slowdown_active
Slowdown of the MOD when active.
slowdown_inactive
Slowdown of the MOD when not active.
starting_frequency
The starting MODlink frequency, overridden on subtypes that want it to be something.
theme
The MOD's theme, decides on some stuff like armor and statistics.
ui_theme
Theme of the MOD TGUI
wearer
Person wearing the MODsuit.
Proc Details
ai_enter_mod
Place an AI in control of your suit functions
ai_exit_mod
Remove an AI's control of your suit functions
choose_deploy
Creates a radial menu from which the user chooses parts of the suit to deploy/retract. Repeats until all parts are extended or retracted.
control_activation
Finishes the suit's activation
deploy
Deploys a part of the suit onto the user.
disable_modlink
Disables the mod link frequency attached to this unit.
get_wearer
Intended for callbacks, don't use normally, just get wearer by itself.
insert_pai
Place a pAI in control of your suit functions
on_gained_assistant
Called when a new ai assistant is inserted
on_removed_assistant
Called when an existing ai assistant is removed
quick_activation
Quickly deploys all the suit parts and if successful, seals them and turns on the suit. Intended mostly for outfits.
quick_deploy
Quickly deploys all parts (or retracts if all are on the wearer)
remove_pai
Removes pAI control from a modsuit
retract
Retract a part of the suit from the user.
seal_part
Seals or unseals the given part.
toggle_activate
Starts the activation sequence, where parts of the suit activate one by one until the whole suit is on.
update_charge_alert
Updates the wearer's hud according to the current state of the MODsuit