Deprecate the stream operator

This commit is contained in:
Arokha Sieyes
2020-02-12 19:38:43 -05:00
committed by Leshana
parent c8a8987610
commit 47ccc655db
762 changed files with 4492 additions and 4464 deletions
@@ -1750,7 +1750,7 @@ Departamental Swimsuits, for general use
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(H.ckey != "silencedmp5a5")
H << "<span class='warning'>...The faceplate is clearly not made for your anatomy, thus, does not fit.</span>"
to_chat(H, "<span class='warning'>...The faceplate is clearly not made for your anatomy, thus, does not fit.</span>")
return 0
else
return 1
@@ -1769,7 +1769,7 @@ Departamental Swimsuits, for general use
if(..() && istype(H) && H.ckey == "silencedmp5a5")
return 1
else
to_chat(H,"<span class='warning'>This suit is not designed for you.</span>")
to_chat(H, "<span class='warning'>This suit is not designed for you.</span>")
return 0
//Zigfe:Zaoozaoo Xrimxuqmqixzix
@@ -139,7 +139,7 @@
consume_next_projectile()
if(chambered)
return chambered.BB
usr << "<span class='warning'>It's a single action revolver, pull the hammer back!</span>"
to_chat(usr, "<span class='warning'>It's a single action revolver, pull the hammer back!</span>")
return null
attack_self(mob/living/user as mob)
if(world.time >= recentpump + 10)
@@ -1088,10 +1088,10 @@
var/clr = C.colourName
if(!(clr in list("blue","green","mime","orange","purple","rainbow","red","yellow")))
to_chat(user,"<span class='warning'>The egg refuses to take on this color!</span>")
to_chat(user, "<span class='warning'>The egg refuses to take on this color!</span>")
return
to_chat(user,"<span class='notice'>You color \the [src] [clr]</span>")
to_chat(user, "<span class='notice'>You color \the [src] [clr]</span>")
icon_state = "egg_roiz_[clr]"
desc = "It's a large lizard egg. It has been colored [clr]!"
if (clr == "rainbow")
@@ -1303,7 +1303,7 @@
H.monkeyize()
qdel(src) //One time use.
else //If not, do nothing.
to_chat(user,"<span class='warning'>You are unable to inject other people.</span>")
to_chat(user, "<span class='warning'>You are unable to inject other people.</span>")
/obj/item/weapon/fluff/injector/numb_bite
name = "Numbing Venom Injector"
@@ -1317,7 +1317,7 @@
H.species.give_numbing_bite() //This was annoying, but this is the easiest way of performing it.
qdel(src) //One time use.
else //If not, do nothing.
to_chat(user,"<span class='warning'>You are unable to inject other people.</span>")
to_chat(user, "<span class='warning'>You are unable to inject other people.</span>")
//For 2 handed fluff weapons.
/obj/item/weapon/material/twohanded/fluff //Twohanded fluff items.
@@ -1489,14 +1489,14 @@
/obj/item/weapon/melee/baton/fluff/stunstaff/attack_self(mob/user)
if(bcell && bcell.charge > hitcost)
status = !status
user << "<span class='notice'>[src] is now [status ? "on" : "off"].</span>"
to_chat(user, "<span class='notice'>[src] is now [status ? "on" : "off"].</span>")
if(status == 0)
playsound(user, 'sound/weapons/saberoff.ogg', 50, 1)
else
playsound(user, 'sound/weapons/saberon.ogg', 50, 1)
else
status = 0
user << "<span class='warning'>[src] is out of charge.</span>"
to_chat(user, "<span class='warning'>[src] is out of charge.</span>")
update_held_icon()
add_fingerprint(user)