mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Gluttony (#9610)
Fixes an oversight which prevented Unathi from being able to devour big mobs such as space carp, cows, etc. This does not allow them to eat Humanoids. Looks like carp are back on the menu boys!
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
var/mob/living/L = food
|
||||
if((species.gluttonous & GLUT_TINY) && (L.mob_size <= MOB_TINY) && !ishuman(food)) // Anything MOB_TINY or smaller
|
||||
return DEVOUR_SLOW
|
||||
else if((species.gluttonous & (GLUT_SMALLER|GLUT_MESSY)) && owner.mob_size > L.mob_size) // Anything we're larger than
|
||||
else if((species.gluttonous & GLUT_MESSY) || ((species.gluttonous & GLUT_SMALLER) && owner.mob_size > L.mob_size)) //Whether you can eat things smaller, or bigger than you.
|
||||
return DEVOUR_SLOW
|
||||
else if(species.gluttonous & GLUT_ANYTHING) // Eat anything ever
|
||||
return DEVOUR_FAST
|
||||
@@ -98,9 +98,9 @@
|
||||
/obj/item/organ/internal/stomach/proc/metabolize()
|
||||
if(is_usable())
|
||||
ingested.metabolize()
|
||||
|
||||
|
||||
#define STOMACH_VOLUME 65
|
||||
|
||||
|
||||
/obj/item/organ/internal/stomach/process()
|
||||
..()
|
||||
if(owner)
|
||||
|
||||
Reference in New Issue
Block a user