Fixes digestion messages displaying to everyone nearby (#349)

* Update bellymodes_vr.dm

* Update bellymodes_vr.dm

* fuck

* actually no i won't
This commit is contained in:
lm40
2017-04-11 14:53:20 -04:00
committed by TalkingCactus
parent 194c5ca57f
commit d64cca1b7e

View File

@@ -42,8 +42,8 @@
digest_alert_prey = replacetext(digest_alert_prey,"%belly",lowertext(name))
//Send messages
owner << "<span class='warning'>" + digest_alert_owner + "</span>"
M << "<span class='userdanger'>" + digest_alert_prey + "</span>"
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>")
owner.nutrition += 400 // so eating dead mobs gives you *something*.
playsound(owner.loc, "death_gurgles", 50, 0, -5)
@@ -84,10 +84,8 @@
digest_alert_prey = replacetext(digest_alert_prey,"%belly",lowertext(name))
//Send messages
owner << "<span class='warning'>" + digest_alert_owner + "</span>"
M << "<span class='userdanger'>" + digest_alert_prey + "</span>"
M.visible_message("<span class='userdanger'>[digest_alert_owner]</span>", "<span class='warning'>[digest_alert_prey]</span>",
"<span class='notice'>You watch as [owner]'s form lose its additions.</span>")
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>")
owner.nutrition += 400 // so eating dead mobs gives you *something*.
playsound(owner.loc, "death_gurgles", 50, 0, -5)
digestion_death(M)
@@ -112,4 +110,4 @@
M.adjustBruteLoss(-1)
M.adjustFireLoss(-1)
owner.nutrition -= 10
return
return