mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 23:17:28 +01:00
does the absorb-release-thing more betterer
This commit is contained in:
@@ -36,9 +36,7 @@
|
||||
/mob/living/simple_animal/Destroy()
|
||||
for(var/I in vore_organs)
|
||||
var/datum/belly/B = vore_organs[I]
|
||||
for(var/mob/living/M in B.internal_contents) // because release_all_contents doesn't release absorbed things
|
||||
M.absorbed = 0
|
||||
B.release_all_contents() // When your stomach is empty
|
||||
B.release_all_contents(include_absorbed = TRUE) // When your stomach is empty
|
||||
prey_excludes.Cut()
|
||||
. = ..()
|
||||
|
||||
@@ -129,9 +127,7 @@
|
||||
/mob/living/simple_animal/death()
|
||||
for(var/I in vore_organs)
|
||||
var/datum/belly/B = vore_organs[I]
|
||||
for(var/mob/living/M in B.internal_contents) // because release_all_contents doesn't release absorbed things
|
||||
M.absorbed = 0
|
||||
B.release_all_contents() // When your stomach is empty
|
||||
B.release_all_contents(include_absorbed = TRUE) // When your stomach is empty
|
||||
..() // then you have my permission to die.
|
||||
|
||||
// Simple animals have only one belly. This creates it (if it isn't already set up)
|
||||
|
||||
Reference in New Issue
Block a user