pipe_dispenser ![code/game/objects/items/rcd/RPD.dm 21](git.png)
Vars | |
atmos_build_speed | Speed of building atmos devices |
---|---|
category | Category currently active (Atmos, disposal, transit) |
disposal_build_speed | Speed of building disposal devices |
first_atmos | Stores the first atmos device |
first_disposal | Stores the first disposal device |
first_transit | Stores the first transit device |
mode | The modes that are allowed for the RPD |
multi_layer | Are we laying multiple layers per click |
p_dir | Direction of the device we are going to spawn, set up in the UI |
p_flipped | Is the device of the flipped type? |
p_init_dir | Initial direction of the smart pipe we are going to spawn, set up in the UI |
paint_color | Color of the device we are going to spawn |
pipe_layers | All pipe layers we are going to spawn the atmos devices in |
recipe | Stores the current device to spawn |
spark_system | Sparks system used when changing device in the UI |
transit_build_speed | Speed of building transit devices |
upgrade_flags | Bitflags for upgrades |
Procs | |
check_can_make_pipe | Can we make a pipe on the target Arguments |
do_pipe_build | Build pipe on the target Arguments |
get_active_pipe_layers | Converts pipe_layers bitflag into its corresponding list of actual pipe layers |
mouse_wheeled | Changes the piping layer when the mousewheel is scrolled up or down. |
Var Details
atmos_build_speed ![code/game/objects/items/rcd/RPD.dm 53](git.png)
Speed of building atmos devices
category ![code/game/objects/items/rcd/RPD.dm 59](git.png)
Category currently active (Atmos, disposal, transit)
disposal_build_speed ![code/game/objects/items/rcd/RPD.dm 55](git.png)
Speed of building disposal devices
first_atmos ![code/game/objects/items/rcd/RPD.dm 67](git.png)
Stores the first atmos device
first_disposal ![code/game/objects/items/rcd/RPD.dm 69](git.png)
Stores the first disposal device
first_transit ![code/game/objects/items/rcd/RPD.dm 71](git.png)
Stores the first transit device
mode ![code/game/objects/items/rcd/RPD.dm 73](git.png)
The modes that are allowed for the RPD
multi_layer ![code/game/objects/items/rcd/RPD.dm 63](git.png)
Are we laying multiple layers per click
p_dir ![code/game/objects/items/rcd/RPD.dm 45](git.png)
Direction of the device we are going to spawn, set up in the UI
p_flipped ![code/game/objects/items/rcd/RPD.dm 49](git.png)
Is the device of the flipped type?
p_init_dir ![code/game/objects/items/rcd/RPD.dm 47](git.png)
Initial direction of the smart pipe we are going to spawn, set up in the UI
paint_color ![code/game/objects/items/rcd/RPD.dm 51](git.png)
Color of the device we are going to spawn
pipe_layers ![code/game/objects/items/rcd/RPD.dm 61](git.png)
All pipe layers we are going to spawn the atmos devices in
recipe ![code/game/objects/items/rcd/RPD.dm 65](git.png)
Stores the current device to spawn
spark_system ![code/game/objects/items/rcd/RPD.dm 43](git.png)
Sparks system used when changing device in the UI
transit_build_speed ![code/game/objects/items/rcd/RPD.dm 57](git.png)
Speed of building transit devices
upgrade_flags ![code/game/objects/items/rcd/RPD.dm 77](git.png)
Bitflags for upgrades
Proc Details
check_can_make_pipe
Can we make a pipe on the target Arguments
- atom/target_of_attack - the target we are trying to build a pipe on
do_pipe_build
Build pipe on the target Arguments
- atom/atom_to_target - the target we are trying to build the pipe on
- mob/user - mob performing the action
get_active_pipe_layers
Converts pipe_layers bitflag into its corresponding list of actual pipe layers
mouse_wheeled
Changes the piping layer when the mousewheel is scrolled up or down.