rcd ![code/game/objects/items/rcd/RCD.dm 6](git.png)
Vars | |
airlock_electronics | integrated airlock electronics for setting access to a newly built airlocks |
---|---|
canRturf | variable for R walls to deconstruct them |
construction_mode | temporary holder of mode, used to restore mode original value after rcd deconstruction act |
current_active_effects | number of active rcd effects in use e.g. when building multiple walls at once this value increases |
delay_mod | delay multiplier for all construction types |
design_category | category of currently selected design |
design_title | name of currently selected design |
mode | type of structure being built, used to decide what variables are used to build what structure |
owner | Owner of this rcd. It can either be a construction console, player, or mech. |
ranged | used by arcd, can this rcd work from a range |
rcd_design_path | The path of the structure the rcd is currently creating |
root_category | main category of currently selected design[Structures, Airlocks, Airlock Access] |
Procs | |
_rcd_create_effect | Internal proc which creates the rcd effects & creates the structure |
can_place | checks if we can build the structure Arguments |
rcd_create | actual proc to create the structure |
Var Details
airlock_electronics ![code/game/objects/items/rcd/RCD.dm 45](git.png)
integrated airlock electronics for setting access to a newly built airlocks
canRturf ![code/game/objects/items/rcd/RCD.dm 43](git.png)
variable for R walls to deconstruct them
construction_mode ![code/game/objects/items/rcd/RCD.dm 32](git.png)
temporary holder of mode, used to restore mode original value after rcd deconstruction act
current_active_effects ![code/game/objects/items/rcd/RCD.dm 50](git.png)
number of active rcd effects in use e.g. when building multiple walls at once this value increases
delay_mod ![code/game/objects/items/rcd/RCD.dm 41](git.png)
delay multiplier for all construction types
design_category ![code/game/objects/items/rcd/RCD.dm 26](git.png)
category of currently selected design
design_title ![code/game/objects/items/rcd/RCD.dm 28](git.png)
name of currently selected design
mode ![code/game/objects/items/rcd/RCD.dm 30](git.png)
type of structure being built, used to decide what variables are used to build what structure
owner ![code/game/objects/items/rcd/RCD.dm 37](git.png)
Owner of this rcd. It can either be a construction console, player, or mech.
ranged ![code/game/objects/items/rcd/RCD.dm 39](git.png)
used by arcd, can this rcd work from a range
rcd_design_path ![code/game/objects/items/rcd/RCD.dm 34](git.png)
The path of the structure the rcd is currently creating
root_category ![code/game/objects/items/rcd/RCD.dm 24](git.png)
main category of currently selected design[Structures, Airlocks, Airlock Access]
Proc Details
_rcd_create_effect
Internal proc which creates the rcd effects & creates the structure
Arguments
- [atom][target]- the target we are trying to build on/deconstruct e.g. turf, wall etc
- [mob][user]- the user trying to build the structure
- delay- the delay with the disk upgrades applied
- rcd_results- list of params which contains the cost & build mode to create the structure
can_place
checks if we can build the structure Arguments
- [atom][target]- the target we are trying to build on/deconstruct e.g. turf, wall etc
- rcd_results- list of params specifically the build type of our structure
- [mob][user]- the user
rcd_create
actual proc to create the structure
Arguments
- [atom][target]- the target we are trying to build on/deconstruct e.g. turf, wall etc
- [mob][user]- the user building this structure