Space Station 13 - Modules - TypesVar Details - Proc Details

rcd_act

A generic action for an RCD.

Vars

costHow much compressed matter this action costs.
delayHow long this action takes.
end_effect_typeThe effect (if any) to create when the action completes.
modeThe mode the RCD must be in.
start_effect_typeThe effect (if any) to create when the action starts.
start_messageThe message (if any) to send the user when the action starts.

Procs

actPerform the act. You should usually override this.
can_actTest to see if the act is possible. You should usually override this.
try_actAttempt the action. This should not need to be overridden.

Var Details

cost

How much compressed matter this action costs.

delay

How long this action takes.

end_effect_type

The effect (if any) to create when the action completes.

mode

The mode the RCD must be in.

start_effect_type

The effect (if any) to create when the action starts.

start_message

The message (if any) to send the user when the action starts.

Proc Details

act

Perform the act. You should usually override this.

can_act

Test to see if the act is possible. You should usually override this.

try_act

Attempt the action. This should not need to be overridden.