Space Station 13 - Modules - TypesVar Details - Proc Details

interaction

The base of all interactions

Vars

additional_detailsRefuses to accept more than one entry for some reason, fix sometime
p13target_durationInteraction duration for Plug13: PLUG13_DURATION_ type or deciseconds number. This one is for the target/victim.
p13target_emoteInteraction type for plug13: PLUG13_EMOTE_ type. This one is for the target/victim.
p13target_strengthInteraction strength for Plug13: PLUG13_STRENGTH_ type or number 1-100. This one is for the target/victim.
p13user_durationInteraction duration for Plug13: PLUG13_DURATION_ type or deciseconds number. This one is for the doer/fucker/attacker.
p13user_emoteInteraction type for Plug13: PLUG13_EMOTE_ type. This one is for the doer/fucker/attacker.
p13user_strengthInteraction strength for Plug13: PLUG13_STRENGTH_ type or number 1-100. This one is for the doer/fucker/attacker.

Procs

display_interactionDisplay the message
do_actionActually doing the action, has a few checks to see if it's valid, usually overwritten to be make things actually happen and what-not
evaluate_targetSame as evaluate_user, but for target
evaluate_userChecks if user can do an interaction, action_check is for whether you're actually doing it or not (useful for the menu and not removing the buttons)

Var Details

additional_details

Refuses to accept more than one entry for some reason, fix sometime

p13target_duration

Interaction duration for Plug13: PLUG13_DURATION_ type or deciseconds number. This one is for the target/victim.

p13target_emote

Interaction type for plug13: PLUG13_EMOTE_ type. This one is for the target/victim.

Set it to null to disable.

p13target_strength

Interaction strength for Plug13: PLUG13_STRENGTH_ type or number 1-100. This one is for the target/victim.

p13user_duration

Interaction duration for Plug13: PLUG13_DURATION_ type or deciseconds number. This one is for the doer/fucker/attacker.

p13user_emote

Interaction type for Plug13: PLUG13_EMOTE_ type. This one is for the doer/fucker/attacker.

Set it to null to disable.

p13user_strength

Interaction strength for Plug13: PLUG13_STRENGTH_ type or number 1-100. This one is for the doer/fucker/attacker.

Proc Details

display_interaction

Display the message

do_action

Actually doing the action, has a few checks to see if it's valid, usually overwritten to be make things actually happen and what-not

evaluate_target

Same as evaluate_user, but for target

evaluate_user

Checks if user can do an interaction, action_check is for whether you're actually doing it or not (useful for the menu and not removing the buttons)