Merge pull request #13301 from Heroman3003/vmice-crawl

Adds vore ventcrawl restriction to mice
This commit is contained in:
Casey
2022-07-08 05:58:47 +00:00
committed by CHOMPStation2
parent ef3e059335
commit 8a9c17aff1
3 changed files with 12 additions and 2 deletions
+9
View File
@@ -38,6 +38,15 @@ var/list/ventcrawl_machinery = list(
if(buckled)
to_chat(src, "<span class='warning'>You cannot ventcrawl while buckled!</span>")
return FALSE
if(restrict_vore_ventcrawl)
var/foundstuff = FALSE
for(var/obj/belly/B in vore_organs)
if(B.contents.len)
foundstuff = TRUE
break
if(foundstuff)
to_chat(src, "<span class='warning'>You cannot ventcrawl while full!</span>")
return FALSE
return ventcrawl_carry()
/mob/living/Login()