mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
Merge pull request #13301 from Heroman3003/vmice-crawl
Adds vore ventcrawl restriction to mice
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user