Fix scrubbers

This commit is contained in:
Atermonera
2020-07-25 22:56:13 -07:00
committed by VirgoBot
parent c14a7ea7b1
commit c1638aa7b8
2 changed files with 13 additions and 6 deletions

View File

@@ -210,7 +210,11 @@
set_right(H)
else
interact(H)
<<<<<<< HEAD
=======
>>>>>>> 21f765b... Merge pull request #7375 from Mechoid/FixScrubbers
/mob/living/bot/medbot/proc/interact(mob/user)
var/dat
dat += "<TT><B>Automatic Medical Unit v1.0</B></TT><BR><BR>"

View File

@@ -27,6 +27,9 @@ var/list/ventcrawl_machinery = list(
if(!(/mob/living/proc/ventcrawl in verbs))
to_chat(src, "<span class='warning'>You don't possess the ability to ventcrawl!</span>")
return FALSE
if(pulling)
to_chat(src, "<span class='warning'>You cannot bring \the [pulling] into the vent with you!</span>")
return FALSE
if(incapacitated())
to_chat(src, "<span class='warning'>You cannot ventcrawl in your current state!</span>")
return FALSE