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:
@@ -8,11 +8,11 @@
|
||||
if(!holder) return
|
||||
|
||||
if(!xenobio_controller || !xenobio_controller.gene_tag_masks)
|
||||
usr << "Gene masks not set."
|
||||
to_chat(usr, "Gene masks not set.")
|
||||
return
|
||||
|
||||
for(var/mask in xenobio_controller.gene_tag_masks)
|
||||
usr << "[mask]: [xenobio_controller.gene_tag_masks[mask]]"
|
||||
to_chat(usr, "[mask]: [xenobio_controller.gene_tag_masks[mask]]")
|
||||
|
||||
var/global/datum/controller/xenobio/xenobio_controller // Set in New().
|
||||
|
||||
|
||||
@@ -48,11 +48,11 @@
|
||||
|
||||
/obj/machinery/xenobio2/manualinjector/proc/move_into_injector(var/mob/user,var/mob/living/victim)
|
||||
if(src.occupant)
|
||||
user << "<span class='danger'>The injector is full, empty it first!</span>"
|
||||
to_chat(user, "<span class='danger'>The injector is full, empty it first!</span>")
|
||||
return
|
||||
|
||||
if(!(istype(victim, /mob/living/simple_mob/xeno)) && !emagged)
|
||||
user << "<span class='danger'>This is not a suitable subject for the injector!</span>"
|
||||
to_chat(user, "<span class='danger'>This is not a suitable subject for the injector!</span>")
|
||||
return
|
||||
|
||||
user.visible_message("<span class='danger'>[user] starts to put [victim] into the injector!</span>")
|
||||
@@ -116,14 +116,14 @@
|
||||
var/obj/machinery/computer/xenobio2/C = P.connectable
|
||||
computer = C
|
||||
C.injector = src
|
||||
user << "<span class='warning'> You link the [src] to the [P.connectable]!</span>"
|
||||
to_chat(user, "<span class='warning'> You link the [src] to the [P.connectable]!</span>")
|
||||
else
|
||||
user << "<span class='warning'> You store the [src] in the [P]'s buffer!</span>"
|
||||
to_chat(user, "<span class='warning'> You store the [src] in the [P]'s buffer!</span>")
|
||||
P.connectable = src
|
||||
return
|
||||
|
||||
if(panel_open)
|
||||
user << "<span class='warning'>Close the panel first!</span>"
|
||||
to_chat(user, "<span class='warning'>Close the panel first!</span>")
|
||||
|
||||
var/obj/item/weapon/grab/G = W
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
return ..()
|
||||
|
||||
if(G.state < 2)
|
||||
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
|
||||
|
||||
move_into_injector(user,G.affecting)
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
var/obj/machinery/xenobio2/manualinjector/I = P.connectable
|
||||
injector = I
|
||||
I.computer = src
|
||||
user << "<span class='warning'> You link the [src] to the [P.connectable]!</span>"
|
||||
to_chat(user, "<span class='warning'> You link the [src] to the [P.connectable]!</span>")
|
||||
else
|
||||
user << "<span class='warning'> You store the [src] in the [P]'s buffer!</span>"
|
||||
to_chat(user, "<span class='warning'> You store the [src] in the [P]'s buffer!</span>")
|
||||
P.connectable = src
|
||||
return
|
||||
|
||||
|
||||
@@ -44,10 +44,10 @@
|
||||
return ..()
|
||||
|
||||
if(core)
|
||||
user << "<span class='warning'>[src] is already filled!</span>"
|
||||
to_chat(user, "<span class='warning'>[src] is already filled!</span>")
|
||||
return
|
||||
if(panel_open)
|
||||
user << "<span class='warning'>Close the panel first!</span>"
|
||||
to_chat(user, "<span class='warning'>Close the panel first!</span>")
|
||||
core = G
|
||||
user.drop_from_inventory(G)
|
||||
G.forceMove(src)
|
||||
|
||||
@@ -10,7 +10,7 @@ Slime cube lives here.
|
||||
|
||||
/obj/item/slime_cube/attack_self(mob/user as mob)
|
||||
if(!searching)
|
||||
user << "<span class='warning'>You stare at the slimy cube, watching as some activity occurs.</span>"
|
||||
to_chat(user, "<span class='warning'>You stare at the slimy cube, watching as some activity occurs.</span>")
|
||||
request_player()
|
||||
|
||||
/obj/item/slime_cube/proc/request_player()
|
||||
@@ -38,7 +38,7 @@ Slime cube lives here.
|
||||
src.searching = 2
|
||||
var/mob/living/carbon/human/S = new(get_turf(src))
|
||||
S.client = candidate.client
|
||||
S. << "<b>You are a promethean, brought into existence on [station_name()].</b>"
|
||||
to_chat(S., "<b>You are a promethean, brought into existence on [station_name()].</b>")
|
||||
S.mind.assigned_role = "Promethean"
|
||||
S.set_species("Promethean")
|
||||
S.shapeshifter_set_colour("#05FF9B")
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
/obj/item/device/analyzer/xeno_analyzer/proc/print_report(var/mob/living/user)
|
||||
if(!last_data)
|
||||
user << "There is no scan data to print."
|
||||
to_chat(user, "There is no scan data to print.")
|
||||
return
|
||||
var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(get_turf(src))
|
||||
P.name = "paper - [form_title]"
|
||||
@@ -65,7 +65,7 @@
|
||||
prod_reagents = P.reagents
|
||||
|
||||
if(!trait_info)
|
||||
user << "<span class='danger'>[src] can tell you nothing about \the [target].</span>"
|
||||
to_chat(user, "<span class='danger'>[src] can tell you nothing about \the [target].</span>")
|
||||
return
|
||||
|
||||
form_title = "[targetName]"
|
||||
|
||||
Reference in New Issue
Block a user