mob/living/Life() now handles stomach contents.

This commit is contained in:
PsiOmegaDelta
2015-06-17 15:19:41 +02:00
parent 1a7e8976af
commit c8b7a77399
2 changed files with 10 additions and 7 deletions

View File

@@ -74,9 +74,6 @@
handle_organs()
stabilize_body_temperature() //Body temperature adjusts itself (self-regulation)
//stuff in the stomach
handle_stomach()
handle_shock()
handle_pain()
@@ -1426,7 +1423,7 @@
if(L && L.lum_r + L.lum_g + L.lum_b == 0)
playsound_local(src,pick(scarySounds),50, 1, -1)
/mob/living/carbon/human/proc/handle_stomach()
/mob/living/carbon/human/handle_stomach()
spawn(0)
for(var/mob/living/M in stomach_contents)
if(M.loc != src)

View File

@@ -26,13 +26,16 @@
. = 1
//Check if we're on fire
handle_fire()
//Handle temperature/pressure differences between body and environment
if(environment)
handle_environment(environment)
//Check if we're on fire
handle_fire()
//stuff in the stomach
handle_stomach()
/mob/living/proc/handle_breathing()
return
@@ -50,3 +53,6 @@
/mob/living/proc/handle_environment(var/datum/gas_mixture/environment)
return
/mob/living/proc/handle_stomach()
return