Skip to content

Commit

Permalink
[MIRROR] Guardian actions now work while sleeping/unconscious (#291)
Browse files Browse the repository at this point in the history
* Guardian actions now work while sleeping/unconscious (#80727)

## About The Pull Request

Guardian abilities (given to the host) now work while unconscious/crit,
just as it worked when it was verbs in the stat menu, which was lost
when it got turned into an action button.

## Why It's Good For The Game

Brings back the old behavior where creators in critical condition / put
to sleep can still communicate with their holoparasite, allowing
guardians to still receive orders while the host is incapacitated.
The chat box that comes up from pressing the button already works if you
open it before being incapacitated, so it's just the button itself that
needs to work,

## Changelog

:cl:
fix: Guardian host's ability buttons now works while the host is
sleeping/unconscious.
/:cl:

* Guardian actions now work while sleeping/unconscious

---------

Co-authored-by: John Willard <[email protected]>
Co-authored-by: NovaBot <[email protected]>
  • Loading branch information
3 people authored and FFMirrorBot committed Jan 4, 2024
1 parent a8c85ec commit 59dde52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/mob/living/basic/guardian/guardian_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
button_icon_state = "communicate"
background_icon = 'icons/hud/guardian.dmi'
background_icon_state = "base"
check_flags = NONE
click_to_activate = FALSE
cooldown_time = 0 SECONDS
melee_cooldown_time = 0
Expand Down Expand Up @@ -119,6 +120,7 @@
button_icon_state = "recall"
background_icon = 'icons/hud/guardian.dmi'
background_icon_state = "base"
check_flags = NONE
click_to_activate = FALSE
cooldown_time = 0 SECONDS
melee_cooldown_time = 0
Expand All @@ -140,6 +142,7 @@
button_icon_state = "ghost"
background_icon = 'icons/hud/guardian.dmi'
background_icon_state = "base"
check_flags = NONE
click_to_activate = FALSE
cooldown_time = 5 SECONDS
melee_cooldown_time = 0
Expand Down

0 comments on commit 59dde52

Please sign in to comment.