mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user