assembly_holder
Vars | |
assemblies | used to store the list of assemblies making up our assembly holder |
---|---|
Procs | |
add_assembly | Adds an assembly to the assembly holder |
process_activation | this proc is used to process the activation of the assembly holder |
Var Details
assemblies
used to store the list of assemblies making up our assembly holder
Proc Details
add_assembly
Adds an assembly to the assembly holder
This proc is used to add an assembly to the assembly holder, update the appearance, and the name of it. Arguments:
- attached_assembly - assembly we are adding to the assembly holder
- user - user we pass into attach()
process_activation
this proc is used to process the activation of the assembly holder
This proc is usually called by signalers, timers, or anything that can trigger and send a pulse to the assembly holder, which then calls this proc that actually activates the assemblies Arguments:
- /obj/device - the device we sent the pulse from which called this proc
- normal - if this is a normal activation
- special - if this is a special activation