Vore mobs were supposed to spit you out when they die.

* A little typo prevented this! Also it had made an illusory path that was referenced two places; fixed that.
* While we're here, also make it so holocarp don't digest when in safe mode. Fixes #1361  And for them to not try to use vore icons that don't exist for them.
This commit is contained in:
Leshana
2017-04-08 13:10:05 -04:00
parent 87b3376c37
commit dbdf85b930
4 changed files with 15 additions and 4 deletions
@@ -108,7 +108,7 @@
set_stance(STANCE_ATTACK)
stop_automated_movement = 0
/mob/living/simple_animal/hostile/vore/death()
/mob/living/simple_animal/death()
for(var/I in vore_organs)
var/datum/belly/B = vore_organs[I]
B.release_all_contents() // When your stomach is empty
@@ -186,3 +186,14 @@
/mob/living/simple_animal/hostile/carp/pike
vore_active = 1
// NO VORE SPRITES
/mob/living/simple_animal/hostile/carp/holodeck
vore_icons = 0 // NO VORE SPRITES
// Override stuff for holodeck carp to make them not digest when set to safe!
/mob/living/simple_animal/hostile/carp/holodeck/set_safety(var/safe)
. = ..()
for(var/I in vore_organs)
var/datum/belly/B = vore_organs[I]
B.digest_mode = safe ? DM_HOLD : vore_default_mode
B.digestchance = safe ? 0 : vore_digest_chance
B.absorbchance = safe ? 0 : vore_absorb_chance