Deprecate the stream operator

This commit is contained in:
Arokha Sieyes
2020-02-12 17:26:44 -05:00
committed by Leshana
parent c8a8987610
commit 47ccc655db
762 changed files with 4492 additions and 4464 deletions

View File

@@ -22,7 +22,7 @@
return
if(flipped < 0 || !flip(get_cardinal_dir(usr,src)))
usr << "<span class='notice'>It won't budge.</span>"
to_chat(usr, "<span class='notice'>It won't budge.</span>")
return
usr.visible_message("<span class='warning'>[usr] flips \the [src]!</span>")
@@ -39,7 +39,7 @@
var/obj/occupied = turf_is_crowded()
if(occupied)
usr << "There's \a [occupied] in the way."
to_chat(usr, "There's \a [occupied] in the way.")
return 0
var/list/L = list()
@@ -65,7 +65,7 @@
return
if (!unflipping_check())
usr << "<span class='notice'>It won't budge.</span>"
to_chat(usr, "<span class='notice'>It won't budge.</span>")
return
unflip()

View File

@@ -81,7 +81,7 @@
var/mob/living/M = G.affecting
var/obj/occupied = turf_is_crowded()
if(occupied)
user << "<span class='danger'>There's \a [occupied] in the way.</span>"
to_chat(user, "<span class='danger'>There's \a [occupied] in the way.</span>")
return
if(!user.Adjacent(M))
return
@@ -104,7 +104,7 @@
if(prob(2))
M.embed(S, def_zone = BP_HEAD)
else
user << "<span class='danger'>You need a better grip to do that!</span>"
to_chat(user, "<span class='danger'>You need a better grip to do that!</span>")
return
else if(G.state > GRAB_AGGRESSIVE || world.time >= (G.last_action + UPGRADE_COOLDOWN))
M.forceMove(get_turf(src))
@@ -136,7 +136,7 @@
return
if(can_plate && !material)
user << "<span class='warning'>There's nothing to put \the [W] on! Try adding plating to \the [src] first.</span>"
to_chat(user, "<span class='warning'>There's nothing to put \the [W] on! Try adding plating to \the [src] first.</span>")
return
if(item_place)

View File

@@ -24,5 +24,5 @@
return
/obj/structure/table/rack/holorack/dismantle(obj/item/weapon/wrench/W, mob/user)
user << "<span class='warning'>You cannot dismantle \the [src].</span>"
to_chat(user, "<span class='warning'>You cannot dismantle \the [src].</span>")
return