rcd_act
A generic action for an RCD.
Vars | |
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. |
Procs | |
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. |
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.