mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
interlock protean hideing and resting (#16704)
This commit is contained in:
@@ -337,6 +337,9 @@
|
||||
healing = null
|
||||
|
||||
/mob/living/simple_mob/protean_blob/lay_down()
|
||||
if(hiding)
|
||||
to_chat(src, span_warning("You can't rest while hiding."))
|
||||
return
|
||||
var/obj/item/rig/rig = src.get_rig()
|
||||
if(rig)
|
||||
rig.force_rest(src)
|
||||
@@ -348,6 +351,10 @@
|
||||
set desc = "Disperses your mass into a thin veil, making a trap to snatch prey with, or simply hide."
|
||||
set category = "Abilities.Protean"
|
||||
|
||||
if(resting)
|
||||
to_chat(src, span_warning("You can't hide while resting."))
|
||||
return
|
||||
|
||||
if(!hiding)
|
||||
cut_overlays()
|
||||
icon = 'icons/mob/species/protean/protean.dmi'
|
||||
|
||||
Reference in New Issue
Block a user