Fixes displaying digestion alert for preys

visible_message doesn't actually send anything to a dead mob, probably
because they can't hear.
Moved that it's own message piece instead. [0.5h testing memes]
This commit is contained in:
ktccd
2017-08-08 10:22:04 +02:00
parent 41f42aabca
commit dad39bb1a4
+2 -1
View File
@@ -45,7 +45,8 @@
//Send messages
to_chat(owner, "<span class='warning'>[digest_alert_owner]</span>")
M.visible_message("<span class='notice'>You watch as [owner]'s form loses its additions.</span>", "<span class='warning'>[digest_alert_prey]</span>")
to_chat(M, "<span class='warning'>[digest_alert_prey]</span>")
M.visible_message("<span class='notice'>You watch as [owner]'s form loses its additions.</span>")
owner.nutrition += 400 // so eating dead mobs gives you *something*.
M.stop_sound_channel(CHANNEL_PRED)