This commit is contained in:
Cameron Lennox
2025-08-13 12:20:47 -04:00
committed by GitHub
parent c61f74f7e9
commit 0150dcc6ef
@@ -160,7 +160,9 @@
pacified = FALSE //We are not obedient enough to be considered pacified.
if(!client) //Only update if we don't have a client.
if(old_mood == "angry") //We were recently angry, so we're still upset and won't let you eat us no matter what! (Unless we had a docility potion put on us, making us harmless)
if(faction != initial(faction)) //We have had a loyalty potion used on us.
update_allowed_vore_types(TRUE)
else if(old_mood == "angry") //We were recently angry, so we're still upset and won't let you eat us no matter what! (Unless we had a docility potion put on us, making us harmless)
update_allowed_vore_types(FALSE, harmless)
else
update_allowed_vore_types(pacified, harmless)
@@ -171,13 +173,11 @@
/mob/living/simple_mob/slime/proc/update_allowed_vore_types(allowed, harmless)
if(harmless) // If we're harmless, we should always be able to be eaten.
allowed = TRUE
devourable = allowed
can_be_drop_prey = allowed
stumble_vore = allowed
slip_vore = allowed
drop_vore = allowed
throw_vore = allowed
devourable = allowed
/mob/living/simple_mob/slime/xenobio/proc/enrage()
if(harmless)