Skip to content

Commit

Permalink
cockumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NullDagaf committed Jul 20, 2024
1 parent c85b540 commit ec1becf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/__DEFINES/~~~splurt_defines/intents.dm
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions modular_zzplurt/code/modules/client/click.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec1becf

Please sign in to comment.