airlock
![code/modules/wiremod/shell/airlock.dm 41](git.png)
Vars | |
attached_airlock | The shell, if it is an airlock. |
---|---|
bolt | Bolts the airlock (if possible) |
bolted | Called when the airlock is bolted |
close | Closes the airlock (if possible) |
closed | Called when the airlock is closed |
is_bolted | Contains whether the airlock is bolted or not |
is_open | Contains whether the airlock is open or not |
open | Opens the airlock (if possible) |
opened | Called when the airlock is opened. |
unbolt | Unbolts the airlock (if possible) |
unbolted | Called when the airlock is unbolted |
Var Details
attached_airlock
![code/modules/wiremod/shell/airlock.dm 46](git.png)
The shell, if it is an airlock.
bolt
![code/modules/wiremod/shell/airlock.dm 49](git.png)
Bolts the airlock (if possible)
bolted
![code/modules/wiremod/shell/airlock.dm 68](git.png)
Called when the airlock is bolted
close
![code/modules/wiremod/shell/airlock.dm 55](git.png)
Closes the airlock (if possible)
closed
![code/modules/wiremod/shell/airlock.dm 65](git.png)
Called when the airlock is closed
is_bolted
![code/modules/wiremod/shell/airlock.dm 60](git.png)
Contains whether the airlock is bolted or not
is_open
![code/modules/wiremod/shell/airlock.dm 58](git.png)
Contains whether the airlock is open or not
open
![code/modules/wiremod/shell/airlock.dm 53](git.png)
Opens the airlock (if possible)
opened
![code/modules/wiremod/shell/airlock.dm 63](git.png)
Called when the airlock is opened.
unbolt
![code/modules/wiremod/shell/airlock.dm 51](git.png)
Unbolts the airlock (if possible)
unbolted
![code/modules/wiremod/shell/airlock.dm 72](git.png)
Called when the airlock is unbolted