control ![code/modules/mod/mod_control.dm 8](git.png)
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. |
bag | Internal storage in a modsuit |
boots | MOD boots. |
chameleon_action | Cham option for when the cham module is installed. |
charge_drain | Power usage of the MOD. |
chestplate | MOD chestplate. |
complexity | How much module complexity this MOD is carrying. |
complexity_max | How much module complexity can this MOD carry. |
core | MOD core. |
current_disguise | Is the control unit disquised? |
emp_proof | Is it EMP proof? |
extended_desc | Extended description of the theme. |
gauntlets | MOD gauntlets. |
helmet | MOD helmet. |
interface_break | If the suit interface is broken. |
jetpack_active | Is the jetpack on so we should make ion effects? |
locked | If the suit is ID locked. |
malfunctioning | If the suit is malfunctioning. |
mod_overlays | List of overlays the mod has. Needs to be cut onremoval / module deactivation |
mod_parts | Associated list of parts (helmet, chestplate, gauntlets, boots) to their unsealed worn layer. |
modules | Modules the MOD currently possesses. |
open | If the suit wire/module hatch is open. |
overslotting_parts | Associated list of parts that can overslot to their overslot (overslot means the part can cover another layer of clothing). |
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. |
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 | |
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. |
deploy | Deploys a part of the suit onto the user. |
finish_activation | Finishes the suit's activation, starts processing |
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) |
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 |
Var Details
activating ![code/modules/mod/mod_control.dm 45](git.png)
If the suit is currently activating/deactivating.
activation_step_time ![code/modules/mod/mod_control.dm 61](git.png)
How long this MOD takes each part to seal.
active ![code/modules/mod/mod_control.dm 37](git.png)
If the suit is deployed and turned on.
bag ![code/modules/mod/mod_control.dm 85](git.png)
Internal storage in a modsuit
boots ![code/modules/mod/mod_control.dm 71](git.png)
MOD boots.
chameleon_action ![code/modules/mod/mod_control.dm 93](git.png)
Cham option for when the cham module is installed.
charge_drain ![code/modules/mod/mod_control.dm 55](git.png)
Power usage of the MOD.
chestplate ![code/modules/mod/mod_control.dm 67](git.png)
MOD chestplate.
complexity ![code/modules/mod/mod_control.dm 53](git.png)
How much module complexity this MOD is carrying.
complexity_max ![code/modules/mod/mod_control.dm 51](git.png)
How much module complexity can this MOD carry.
core ![code/modules/mod/mod_control.dm 73](git.png)
MOD core.
current_disguise ![code/modules/mod/mod_control.dm 95](git.png)
Is the control unit disquised?
emp_proof ![code/modules/mod/mod_control.dm 87](git.png)
Is it EMP proof?
extended_desc ![code/modules/mod/mod_control.dm 63](git.png)
Extended description of the theme.
gauntlets ![code/modules/mod/mod_control.dm 69](git.png)
MOD gauntlets.
helmet ![code/modules/mod/mod_control.dm 65](git.png)
MOD helmet.
interface_break ![code/modules/mod/mod_control.dm 49](git.png)
If the suit interface is broken.
jetpack_active ![code/modules/mod/mod_control.dm 91](git.png)
Is the jetpack on so we should make ion effects?
locked ![code/modules/mod/mod_control.dm 41](git.png)
If the suit is ID locked.
malfunctioning ![code/modules/mod/mod_control.dm 43](git.png)
If the suit is malfunctioning.
mod_overlays ![code/modules/mod/mod_control.dm 89](git.png)
List of overlays the mod has. Needs to be cut onremoval / module deactivation
mod_parts ![code/modules/mod/mod_control.dm 75](git.png)
Associated list of parts (helmet, chestplate, gauntlets, boots) to their unsealed worn layer.
modules ![code/modules/mod/mod_control.dm 79](git.png)
Modules the MOD currently possesses.
open ![code/modules/mod/mod_control.dm 39](git.png)
If the suit wire/module hatch is open.
overslotting_parts ![code/modules/mod/mod_control.dm 77](git.png)
Associated list of parts that can overslot to their overslot (overslot means the part can cover another layer of clothing).
seconds_electrified ![code/modules/mod/mod_control.dm 47](git.png)
How long the MOD is electrified for.
selected_module ![code/modules/mod/mod_control.dm 81](git.png)
Currently used module.
skin ![code/modules/mod/mod_control.dm 33](git.png)
Looks of the MOD.
slowdown_active ![code/modules/mod/mod_control.dm 59](git.png)
Slowdown of the MOD when active.
slowdown_inactive ![code/modules/mod/mod_control.dm 57](git.png)
Slowdown of the MOD when not active.
theme ![code/modules/mod/mod_control.dm 31](git.png)
The MOD's theme, decides on some stuff like armor and statistics.
ui_theme ![code/modules/mod/mod_control.dm 35](git.png)
Theme of the MOD TGUI
wearer ![code/modules/mod/mod_control.dm 83](git.png)
Person wearing the MODsuit.
Proc Details
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.
deploy
Deploys a part of the suit onto the user.
finish_activation
Finishes the suit's activation, starts processing
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)
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