/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.
toggleCalled 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.

toggle

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