Goonstation 13 - Modules - TypesVar Details - Proc Details

rapid construction device

Base RCD this is the variant actually used in most scenarios

Vars

contextsCustom contextActions list so we can handle opening them ourselves
material_nameMaterial the RCD will build structures out of
modeThe selected mode
modesThe modes that this RCD has available to it
really_actually_bypass_z_restrictiondo we really actually for real want this to work in adventure zones?? just do this with varedit dont make children with this on
restricted_materialsList of materials that the RCD can deconstruct, if empty no restriction.
safe_deconstructWhether deconstructing a wall will make the material of the floor be different than the material of the wall used to prevent venting with a material RCD by building a wall, deconstructing it, and then deconstructing the floor.
unsafeIf true will spark after completing an action

Procs

do_rcd_actionDo an action with the RCD user - who is doing it target - to what what - a string describing the action delay - time it takes to do callback - proc reference to action code, needs to be of signature proc/my_proc(atom/A, mob/user, other/args) callback_owner - what the callback proc needs to be called on ... - remaining arguments will be passed to callback

Var Details

contexts

Custom contextActions list so we can handle opening them ourselves

material_name

Material the RCD will build structures out of

mode

The selected mode

modes

The modes that this RCD has available to it

really_actually_bypass_z_restriction

do we really actually for real want this to work in adventure zones?? just do this with varedit dont make children with this on

restricted_materials

List of materials that the RCD can deconstruct, if empty no restriction.

safe_deconstruct

Whether deconstructing a wall will make the material of the floor be different than the material of the wall used to prevent venting with a material RCD by building a wall, deconstructing it, and then deconstructing the floor.

unsafe

If true will spark after completing an action

Proc Details

do_rcd_action

Do an action with the RCD user - who is doing it target - to what what - a string describing the action delay - time it takes to do callback - proc reference to action code, needs to be of signature proc/my_proc(atom/A, mob/user, other/args) callback_owner - what the callback proc needs to be called on ... - remaining arguments will be passed to callback