Allow mobs to ctrl click mobs while resting (#84587)

## About The Pull Request
- Fixes #84471

Of course, you still can't grab a mob while lying down. That and other
grab/pull related functions when resting are unchanged

## Changelog
🆑
fix: you can hold your wound while resting via ctrl click
/🆑
This commit is contained in:
SyncIt21
2024-07-03 22:43:21 +02:00
committed by GitHub
parent 925dc67f5f
commit d32d75273d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
SHOULD_NOT_OVERRIDE(TRUE)
. = ..()
if(. || world.time < next_move || !can_perform_action(target, NOT_INSIDE_TARGET | SILENT_ADJACENCY | FORBID_TELEKINESIS_REACH))
if(. || world.time < next_move || !can_perform_action(target, NOT_INSIDE_TARGET | SILENT_ADJACENCY | ALLOW_RESTING | FORBID_TELEKINESIS_REACH))
return
. = TRUE
@@ -3,6 +3,7 @@
hud_possible = list(HEALTH_HUD,STATUS_HUD,ANTAG_HUD)
pressure_resistance = 10
hud_type = /datum/hud/living
interaction_flags_click = ALLOW_RESTING
interaction_flags_mouse_drop = ALLOW_RESTING
///Tracks the current size of the mob in relation to its original size. Use update_transform(resize) to change it.