module
Vars | |
active | Is the module active |
---|---|
active_power_cost | Power use when active |
allowed_in_phaseout | If we're allowed to use this module while phased out. |
allowed_inactive | If we're allowed to use this module while the suit is disabled. |
complexity | How much space it takes up in the MOD |
cooldown_time | Cooldown after use |
cooldown_timer | Timer for the cooldown |
device | If we're an active module, what item are we? |
idle_power_cost | Power use when idle |
incompatible_modules | What modules are we incompatible with? |
mod | Linked MODsuit |
module_type | If it's passive, togglable, usable or active |
overlay_icon_file | Icon file for the overlay. |
overlay_state_active | Overlay given to the user when the module is active |
overlay_state_inactive | Overlay given to the user when the module is inactive |
overlay_state_use | Overlay given to the user when the module is used, lasts until cooldown finishes |
removable | If it can be removed |
tgui_id | ID used by their TGUI |
use_mod_colors | Does the overlay use the control unit's colors? |
use_power_cost | Power use when used, we call it manually |
used_signal | The mouse button needed to use this module |
Procs | |
add_ui_configuration | Generates an element of the get_configuration list with a display name, type and value |
add_ui_data | Adds additional things to the MODsuit ui_data() |
configure_edit | Receives configure edits from the TGUI and edits the vars |
drain_power | Drains power from the suit cell |
generate_worn_overlay | Generates an icon to be used for the suit's worn overlays |
get_configuration | Creates a list of configuring options for this module |
on_activation | Called when the module is activated |
on_active_process | Called on the MODsuit's process if it is an active module |
on_deactivation | Called when the module is deactivated |
on_device_deletion | Called when the device gets deleted on active modules |
on_equip | Called when the MODsuit is equipped |
on_exit | Called when the device moves to a different place on active modules |
on_install | Called from MODsuit's install() proc, so when the module is installed. |
on_process | Called on the MODsuit's process |
on_select | Called when the module is selected from the TGUI |
on_select_use | Called when an activated module without a device is used |
on_special_click | Called when an activated module without a device is active and the user alt/middle-clicks |
on_suit_activation | Called when the MODsuit is activated |
on_suit_deactivation | Called when the MODsuit is deactivated |
on_unequip | Called when the MODsuit is unequipped |
on_uninstall | Called from MODsuit's uninstall() proc, so when the module is uninstalled. |
on_use | Called when the module is used |
update_signal | Updates the signal used by active modules to be activated |
Var Details
active
Is the module active
active_power_cost
Power use when active
allowed_in_phaseout
If we're allowed to use this module while phased out.
allowed_inactive
If we're allowed to use this module while the suit is disabled.
complexity
How much space it takes up in the MOD
cooldown_time
Cooldown after use
cooldown_timer
Timer for the cooldown
device
If we're an active module, what item are we?
idle_power_cost
Power use when idle
incompatible_modules
What modules are we incompatible with?
mod
Linked MODsuit
module_type
If it's passive, togglable, usable or active
overlay_icon_file
Icon file for the overlay.
overlay_state_active
Overlay given to the user when the module is active
overlay_state_inactive
Overlay given to the user when the module is inactive
overlay_state_use
Overlay given to the user when the module is used, lasts until cooldown finishes
removable
If it can be removed
tgui_id
ID used by their TGUI
use_mod_colors
Does the overlay use the control unit's colors?
use_power_cost
Power use when used, we call it manually
used_signal
The mouse button needed to use this module
Proc Details
add_ui_configuration
Generates an element of the get_configuration list with a display name, type and value
add_ui_data
Adds additional things to the MODsuit ui_data()
configure_edit
Receives configure edits from the TGUI and edits the vars
drain_power
Drains power from the suit cell
generate_worn_overlay
Generates an icon to be used for the suit's worn overlays
get_configuration
Creates a list of configuring options for this module
on_activation
Called when the module is activated
on_active_process
Called on the MODsuit's process if it is an active module
on_deactivation
Called when the module is deactivated
on_device_deletion
Called when the device gets deleted on active modules
on_equip
Called when the MODsuit is equipped
on_exit
Called when the device moves to a different place on active modules
on_install
Called from MODsuit's install() proc, so when the module is installed.
on_process
Called on the MODsuit's process
on_select
Called when the module is selected from the TGUI
on_select_use
Called when an activated module without a device is used
on_special_click
Called when an activated module without a device is active and the user alt/middle-clicks
on_suit_activation
Called when the MODsuit is activated
on_suit_deactivation
Called when the MODsuit is deactivated
on_unequip
Called when the MODsuit is unequipped
on_uninstall
Called from MODsuit's uninstall() proc, so when the module is uninstalled.
on_use
Called when the module is used
update_signal
Updates the signal used by active modules to be activated