interaction ![modular_bluemoon/plug13_integration/bluemoon_interaction.dm 1](git.png)
The base of all interactions
Vars | |
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. |
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. |
p13user_strength | Interaction strength for Plug13: PLUG13_STRENGTH_ type or number 1-100 .
This one is for the doer/fucker/attacker. |
Procs | |
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) |
Var Details
additional_details ![modular_sand/code/datums/interactions/_interaction.dm 48](git.png)
Refuses to accept more than one entry for some reason, fix sometime
p13target_duration ![modular_bluemoon/plug13_integration/bluemoon_interaction.dm 26](git.png)
Interaction duration for Plug13: PLUG13_DURATION_
type or deciseconds number.
This one is for the target/victim.
p13target_emote ![modular_bluemoon/plug13_integration/bluemoon_interaction.dm 20](git.png)
Interaction type for plug13: PLUG13_EMOTE_
type.
This one is for the target/victim.
Set it to null
to disable.
p13target_strength ![modular_bluemoon/plug13_integration/bluemoon_interaction.dm 23](git.png)
Interaction strength for Plug13: PLUG13_STRENGTH_
type or number 1-100
.
This one is for the target/victim.
p13user_duration ![modular_bluemoon/plug13_integration/bluemoon_interaction.dm 14](git.png)
Interaction duration for Plug13: PLUG13_DURATION_
type or deciseconds number.
This one is for the doer/fucker/attacker.
p13user_emote ![modular_bluemoon/plug13_integration/bluemoon_interaction.dm 6](git.png)
Interaction type for Plug13: PLUG13_EMOTE_
type.
This one is for the doer/fucker/attacker.
Set it to null
to disable.
p13user_strength ![modular_bluemoon/plug13_integration/bluemoon_interaction.dm 10](git.png)
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)