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