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

optable

Vars

attached_tankInternals tank clamped onto the table. Allows an operating computer to easily attach it to the mob and use it for anesthesia.
failsafe_timeTime after which the anesthesia will be automatically disabled Can be set to INFINITY to never auto-disable
patient_set_atWorld time when the patient was set onto the tank

Procs

can_have_tank_openedChecks if the passed mob is in a valid state to start breathing out of the attached tank.
disable_anesthesiaDisables the patient from breathing out of the attached tank.
enable_anesthesiaEnables the patient to start breathing out of the attached tank.
mark_patientAny mob that enters our tile will be marked as a potential patient. They will be turned into a patient if they lie down.
post_buckle_mobAlign the mob with the table when buckled.
post_unbuckle_mobDisalign the mob with the table when unbuckled.
safety_disableCalled when the safety triggers and attempts to unhook the patient from the tank.
toggle_anesthesiaToggles the tank on and off, playing a sound as well.
unmark_patientUnmark the potential patient.

Var Details

attached_tank

Internals tank clamped onto the table. Allows an operating computer to easily attach it to the mob and use it for anesthesia.

failsafe_time

Time after which the anesthesia will be automatically disabled Can be set to INFINITY to never auto-disable

patient_set_at

World time when the patient was set onto the tank

Proc Details

can_have_tank_opened

Checks if the passed mob is in a valid state to start breathing out of the attached tank.

disable_anesthesia

Disables the patient from breathing out of the attached tank.

enable_anesthesia

Enables the patient to start breathing out of the attached tank.

mark_patient

Any mob that enters our tile will be marked as a potential patient. They will be turned into a patient if they lie down.

post_buckle_mob

Align the mob with the table when buckled.

post_unbuckle_mob

Disalign the mob with the table when unbuckled.

safety_disable

Called when the safety triggers and attempts to unhook the patient from the tank.

toggle_anesthesia

Toggles the tank on and off, playing a sound as well.

unmark_patient

Unmark the potential patient.