Goonstation 13 - Modules - TypesVar Details - Proc Details

assembly

Assembly parent

Vars

additional_componentsThis is a list of components that don't make up the main 3 components of the assembly, but can be attached after the target was added.
applierThis is anything that is activated by the trigger, e.g. an igniter or a bikehorn
expendedset this to true to disable the assembly from firing. Use this for one-time-use parts that remove the assembly on a delay, e.g. gimmickbombs....
force_dudcan be set within bomb_monitor to make the assembly in question never fire
icon_base_offsetoffset for the base-icon of the assembly, if the target gets overriden
last_armerfor tracking/logging of who armed the assembly
override_descriptionsame for the descripion
override_help_messagesee override_name, just for help message
override_nameuse this when an assembly should override the name of the assembly, e.g. canbomb assembly
override_upstreamSet this to true if the assembly should send the signal received to its master (e.g. in case of canbombs)
qdel_on_tear_apartset this to TRUE for applier who needs multiple spawns to do their effect before eliminating itself (because for some reason smokebombs need it, ugh)
secured! use this if you dont want either the target or the target_item_prefix to create an overlay If false, this does not activate and can be modified on self-use
special_construction_identifiera string which should be used to identify special constructions, so e.g. cables in additional_components know they should show their overlay for a canbomb
targetThis is anything that the applier will be used upon, e.g. a plasma tank or a beaker
triggerThis is anything that causes the Applier to fire, e.g. a signaler, mouse trap or a timer

Procs

add_target_itemmisc. Assembly-procs --------------------------------
create_mousetrap_rollermousetrap roller crafting proc
disposing
get_additional_logging_informationthis goes over every component of the assembly and checks if admins need additional informations about these.
get_first_component_reagentsThis proc returns the reagents holder of the items in order: target, applier, trigger This is needed in order to make reagent scanner work on beaker-assemblies
remove_until_minimum_componentsan assembly does need at least a trigger and an applier, so this proc strips down the assembly to these parts
requires_admin_messagingreturns TRUE if the assembly has anything that condemns it worth to be logged
tear_apartThis proc removes all items attached to the assembly and removes it
temperature_expose------ Proc to transfer impulses/events onto the main components ---------

Var Details

additional_components

This is a list of components that don't make up the main 3 components of the assembly, but can be attached after the target was added.

applier

This is anything that is activated by the trigger, e.g. an igniter or a bikehorn

expended

set this to true to disable the assembly from firing. Use this for one-time-use parts that remove the assembly on a delay, e.g. gimmickbombs....

force_dud

can be set within bomb_monitor to make the assembly in question never fire

icon_base_offset

offset for the base-icon of the assembly, if the target gets overriden

last_armer

for tracking/logging of who armed the assembly

override_description

same for the descripion

override_help_message

see override_name, just for help message

override_name

use this when an assembly should override the name of the assembly, e.g. canbomb assembly

override_upstream

Set this to true if the assembly should send the signal received to its master (e.g. in case of canbombs)

qdel_on_tear_apart

set this to TRUE for applier who needs multiple spawns to do their effect before eliminating itself (because for some reason smokebombs need it, ugh)

secured

! use this if you dont want either the target or the target_item_prefix to create an overlay If false, this does not activate and can be modified on self-use

special_construction_identifier

a string which should be used to identify special constructions, so e.g. cables in additional_components know they should show their overlay for a canbomb

target

This is anything that the applier will be used upon, e.g. a plasma tank or a beaker

trigger

This is anything that causes the Applier to fire, e.g. a signaler, mouse trap or a timer

Proc Details

add_target_item

misc. Assembly-procs --------------------------------

create_mousetrap_roller

mousetrap roller crafting proc

disposing


get_additional_logging_information

this goes over every component of the assembly and checks if admins need additional informations about these.

get_first_component_reagents

This proc returns the reagents holder of the items in order: target, applier, trigger This is needed in order to make reagent scanner work on beaker-assemblies

remove_until_minimum_components

an assembly does need at least a trigger and an applier, so this proc strips down the assembly to these parts

requires_admin_messaging

returns TRUE if the assembly has anything that condemns it worth to be logged

tear_apart

This proc removes all items attached to the assembly and removes it

temperature_expose

------ Proc to transfer impulses/events onto the main components ---------