From ec1becf9342ab4bc19fbdae64db52d27ba22af97 Mon Sep 17 00:00:00 2001 From: NullFag Date: Sun, 21 Jul 2024 00:53:57 +0200 Subject: [PATCH] cockumentation --- code/__DEFINES/~~~splurt_defines/intents.dm | 3 +++ modular_zzplurt/code/modules/client/click.dm | 1 + 2 files changed, 4 insertions(+) diff --git a/code/__DEFINES/~~~splurt_defines/intents.dm b/code/__DEFINES/~~~splurt_defines/intents.dm index 881d4dbfd04ce..19cf156b9a63d 100644 --- a/code/__DEFINES/~~~splurt_defines/intents.dm +++ b/code/__DEFINES/~~~splurt_defines/intents.dm @@ -1,5 +1,8 @@ //INTENT VOODOO SHIT, ABANDON ALL HOPE YE WHO ENTER. + +//all different flavors of "falsey" #define INTENT_HELP 0 #define INTENT_DISARM null #define INTENT_GRAB "" +//except harm which needs to be the only one that passes if(combat_mode) checks #define INTENT_HARM TRUE diff --git a/modular_zzplurt/code/modules/client/click.dm b/modular_zzplurt/code/modules/client/click.dm index c5fb2a965faea..be1a63b3d7235 100644 --- a/modular_zzplurt/code/modules/client/click.dm +++ b/modular_zzplurt/code/modules/client/click.dm @@ -14,6 +14,7 @@ modifiers -= LEFT_CLICK modifiers[RIGHT_CLICK] = TRUE if(INTENT_GRAB) + //CtrlClickOn checks for next_move.. which ClickOn has just set right before calling this. next_move = _last_next_move CtrlClickOn(attack_target) return