mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 03:26:37 +01:00
Makes loyalty potions work better on slimes (#18290)
* Makes loyalty potions work better on slimes * Define
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user