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

valve

Vars

switchingBool to stop interactions while the opening/closing animation is going
valve_typeType of valve (manual or digital), used to set the icon of the component in update_icon_nopipes()

Procs

finish_interactCalled by iteract() after a 1 second timer, calls toggle(), allows another interaction with the component.
set_openCalled by finish_interact(), switch between open and closed, reconcile the air between two pipelines

Var Details

switching

Bool to stop interactions while the opening/closing animation is going

valve_type

Type of valve (manual or digital), used to set the icon of the component in update_icon_nopipes()

Proc Details

finish_interact

Called by iteract() after a 1 second timer, calls toggle(), allows another interaction with the component.

set_open

Called by finish_interact(), switch between open and closed, reconcile the air between two pipelines