mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Deprecate the stream operator
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user