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
@@ -1,9 +1,9 @@
/mob/living/simple_mob/animal/passive/mouse
nutrition = 20 //To prevent draining maint mice for infinite food. Low nutrition has no mechanical effect on simplemobs, so wont hurt mice themselves.
no_vore = TRUE //Mice can't eat others due to the amount of bugs caused by it.
vore_taste = "cheese"
restrict_vore_ventcrawl = TRUE
can_pull_size = ITEMSIZE_TINY // Rykka - Uncommented these. Not sure why they were commented out in the original Polaris files, maybe a mob rework mistake?
can_pull_mobs = MOB_PULL_NONE // Rykka - Uncommented these. Not sure why they were commented out in the original Polaris files, maybe a mob rework mistake?
+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()
+1
View File
@@ -25,6 +25,7 @@
var/vore_taste = null // What the character tastes like
var/vore_smell = null // What the character smells like
var/no_vore = FALSE // If the character/mob can vore.
var/restrict_vore_ventcrawl = FALSE // Self explanatory
var/noisy = FALSE // Toggle audible hunger.
var/absorbing_prey = 0 // Determines if the person is using the succubus drain or not. See station_special_abilities_vr.
var/drain_finalized = 0 // Determines if the succubus drain will be KO'd/absorbed. Can be toggled on at any time.