/tg/ Station 13 - Modules - TypesVar Details - Proc Details

delam_scram

An atmos device that uses freezing cold air to attempt an emergency shutdown of the supermatter engine

Vars

admin_disabledIf someone -really- wants the SM to explode
emergency_channelRadio channels, need null to actually broadcast on common, lol
my_smweakref to our SM
radioOur internal radio
radio_keyThe key our internal radio uses
volume_rateRate of operation of the device (L/s)

Procs

goodbye_friendsThe valiant little machine falls apart, one time use only!
marry_smSets the weakref to the SM
panic_timeSignal handler for the emergency stop button/automated system
prereq_checkCheck for admin intervention or a fault in the signal validation, we don't exactly want to fire this on accident
prevent_explosionDrain the internal energy, if the crystal damage is above 100 we heal it a bit. Not much, but should be good to let them recover.
process_atmosThe atmos code is functionally identical to /obj/machinery/atmospherics/components/unary/outlet_injector However this is a hardened all-in-one unit that can't have its controls tampered with like an outlet injector
put_on_a_showStop the delamination. Let the fireworks begin
send_warningTells the station (they probably already know) and starts the procedure

Var Details

admin_disabled

If someone -really- wants the SM to explode

emergency_channel

Radio channels, need null to actually broadcast on common, lol

my_sm

weakref to our SM

radio

Our internal radio

radio_key

The key our internal radio uses

volume_rate

Rate of operation of the device (L/s)

Proc Details

goodbye_friends

The valiant little machine falls apart, one time use only!

marry_sm

Sets the weakref to the SM

panic_time

Signal handler for the emergency stop button/automated system

prereq_check

Check for admin intervention or a fault in the signal validation, we don't exactly want to fire this on accident

prevent_explosion

Drain the internal energy, if the crystal damage is above 100 we heal it a bit. Not much, but should be good to let them recover.

process_atmos

The atmos code is functionally identical to /obj/machinery/atmospherics/components/unary/outlet_injector However this is a hardened all-in-one unit that can't have its controls tampered with like an outlet injector

put_on_a_show

Stop the delamination. Let the fireworks begin

send_warning

Tells the station (they probably already know) and starts the procedure