Fixes some M << to to_chat references.

This commit is contained in:
Repede
2020-09-01 23:16:25 -04:00
parent 129eeac9bc
commit 1aed482d7d
4 changed files with 5 additions and 6 deletions
@@ -45,6 +45,6 @@
icontype = options[choice]
var/active_sound = 'sound/effects/bubbles.ogg'
playsound(src.loc, "[active_sound]", 100, 0, 4)
M << "Your Tank now displays [choice]. Drink up and enjoy!"
to_chat(M, "Your Tank now displays [choice]. Drink up and enjoy!")
updateicon()
return 1
+1 -1
View File
@@ -312,7 +312,7 @@
//Phorochemistry DM: Allows chemicalresistant shocking -Radiantflash
for(var/datum/reagent/phororeagent/R in M.reagents.reagent_list)
if(R.id == "fulguracin")
M << "<span class='notice'>Your hairs stand up, but you resist the shock for the most part</span>"
to_chat(M, "<span class='notice'>Your hairs stand up, but you resist the shock for the most part</span>")
return 0 //no shock for you
//Checks again. If we are still here subject will be shocked, trigger standard 20 tick warning
+2 -3
View File
@@ -1,6 +1,5 @@
datum
reagent
// Shamelessly ripped from Y.W., with large changes. -Carl
benzilate
name = "Odd Goo"
id = "benzilate"
@@ -22,11 +21,11 @@ datum
switch(data["count"])
if(1 to 30)
if(prob(9)) M.emote("me",1,"blushes")
if(prob(9)) M << "<span class='warning'>You feel so needy..</span>"
if(prob(9)) to_chat(M, "<span class='warning'>You feel so needy..</span>")
if (30 to INFINITY)
if(prob(3)) M.emote("me",1,"blushes")
if(prob(5)) M.say("!moans out lewdly!")
if(prob(9)) M << "<span class='warning'>You can't help but want to touch yourself then and now!</span>"
if(prob(9)) to_chat(M, "<span class='warning'>You can't help but want to touch yourself then and now!</span>")
data["count"]++
holder.remove_reagent(src.id, 0.2)
//..()
+1 -1
View File
@@ -42,7 +42,7 @@
/obj/item/weapon/oldtwohanded/mob_can_equip(M as mob, slot)
//Cannot equip wielded items.
if(wielded)
M << "<span class='warning'>Unwield the [initial(name)] first!</span>"
to_chat(M, "<span class='warning'>Unwield the [initial(name)] first!</span>")
return 0
return ..()