Makes loyalty potions work better on slimes (#18290)

* Makes loyalty potions work better on slimes

* Define
This commit is contained in:
Cameron Lennox
2025-08-21 06:58:22 -04:00
committed by GitHub
parent f1594d4dfd
commit 4d8021e613
2 changed files with 4 additions and 2 deletions
@@ -160,7 +160,7 @@
pacified = FALSE //We are not obedient enough to be considered pacified.
if(!client) //Only update if we don't have a client.
if(faction != initial(faction)) //We have had a loyalty potion used on us.
if(faction != FACTION_SLIME) //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)
+3 -1
View File
@@ -206,8 +206,10 @@
to_chat(user, span_notice("You feed \the [M] the agent. It will now try to murder things that want to murder you instead."))
to_chat(M, span_notice("\The [user] feeds you \the [src], and feel that the others will regard you as an outsider now."))
M.faction = user.faction
AI.remove_target() // So hostile things stop attacking people even if not hostile anymore.
if(istype(M, /mob/living/simple_mob/slime))
var/mob/living/simple_mob/slime/slime = M
slime.update_mood() //Makes them drop-nomable.
playsound(src, 'sound/effects/bubbles.ogg', 50, 1)
qdel(src)