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