rcd
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
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]
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