mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
Deprecate the stream operator
This commit is contained in:
@@ -95,7 +95,7 @@ var/list/gurgled_overlays = list(
|
||||
//////////////
|
||||
/obj/item/weapon/storage/box/open(mob/user as mob)
|
||||
if(gurgled)
|
||||
usr << "The soggy box falls apart in your hands."
|
||||
to_chat(usr, "The soggy box falls apart in your hands.")
|
||||
var/turf/T = get_turf(src)
|
||||
for(var/obj/item/I in contents)
|
||||
remove_from_storage(I, T)
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
bellied = prey
|
||||
prey.forceMove(src)
|
||||
visible_message("[src] entirely engulfs [prey] in hardlight holograms!")
|
||||
usr << "<span class='notice'>You completely engulf [prey] in hardlight holograms!</span>" //Can't be part of the above, because the above is from the hologram.
|
||||
to_chat(usr, "<span class='notice'>You completely engulf [prey] in hardlight holograms!</span>") //Can't be part of the above, because the above is from the hologram.
|
||||
|
||||
desc = "[initial(desc)] It seems to have hardlight mode enabled and someone inside."
|
||||
pass_flags = 0
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
// Wrong state
|
||||
if (!eyeobj || !holo)
|
||||
usr << "<span class='warning'>You can only use this when holo-projecting!</span>"
|
||||
to_chat(usr, "<span class='warning'>You can only use this when holo-projecting!</span>")
|
||||
return
|
||||
|
||||
//Holopads have this 'masters' list where the keys are AI names and the values are the hologram effects
|
||||
@@ -74,7 +74,7 @@
|
||||
return //Probably cancelled
|
||||
|
||||
if(!istype(prey))
|
||||
usr << "<span class='warning'>Invalid mob choice!</span>"
|
||||
to_chat(usr, "<span class='warning'>Invalid mob choice!</span>")
|
||||
return
|
||||
|
||||
hologram.visible_message("[hologram] starts engulfing [prey] in hardlight holograms!")
|
||||
@@ -107,4 +107,4 @@
|
||||
if(ooc_notes)
|
||||
msg += "<span class = 'deptradio'>OOC Notes:</span> <a href='?src=\ref[master];ooc_notes=1'>\[View\]</a>\n"
|
||||
|
||||
user << msg
|
||||
to_chat(user,msg)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
if (istype(src,/mob/living/simple_mob/animal/passive/mouse) && T.ckey == null)
|
||||
return
|
||||
if (client && IsAdvancedToolUser())
|
||||
to_chat(src,"<span class='warning'>Put your hands to good use instead!</span>")
|
||||
to_chat(src, "<span class='warning'>Put your hands to good use instead!</span>")
|
||||
return
|
||||
feed_grabbed_to_self(src,T)
|
||||
update_icon()
|
||||
@@ -36,7 +36,7 @@
|
||||
if(!istype(user) || user.stat) return
|
||||
|
||||
if(ai_holder.retaliate || (ai_holder.hostile && faction != user.faction))
|
||||
user << "<span class='warning'>This predator isn't friendly, and doesn't give a shit about your opinions of it digesting you.</span>"
|
||||
to_chat(user, "<span class='warning'>This predator isn't friendly, and doesn't give a shit about your opinions of it digesting you.</span>")
|
||||
return
|
||||
if(vore_selected.digest_mode == DM_HOLD)
|
||||
var/confirm = alert(user, "Enabling digestion on [name] will cause it to digest all stomach contents. Using this to break OOC prefs is against the rules. Digestion will reset after 20 minutes.", "Enabling [name]'s Digestion", "Enable", "Cancel")
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -43,15 +43,15 @@
|
||||
|
||||
var/size_select = input("Put the desired size (25-200%)", "Set Size", size_set_to*100) as num
|
||||
if(size_select>200 || size_select<25)
|
||||
usr << "<span class='notice'>Invalid size.</span>"
|
||||
to_chat(usr, "<span class='notice'>Invalid size.</span>")
|
||||
return
|
||||
size_set_to = (size_select/100)
|
||||
usr << "<span class='notice'>You set the size to [size_select]%</span>"
|
||||
to_chat(usr, "<span class='notice'>You set the size to [size_select]%</span>")
|
||||
|
||||
/obj/item/weapon/gun/energy/sizegun/examine(mob/user)
|
||||
..()
|
||||
var/size_examine = (size_set_to*100)
|
||||
user << "<span class='info'>It is currently set at [size_examine]%</span>"
|
||||
to_chat(user, "<span class='info'>It is currently set at [size_examine]%</span>")
|
||||
|
||||
//
|
||||
// Beams for size gun
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
|
||||
/obj/machinery/fitness/attack_hand(var/mob/living/user)
|
||||
if(user.nutrition < 70)
|
||||
user << "<span class='notice'>You need more energy to workout with the [src]!</span>"
|
||||
to_chat(user, "<span class='notice'>You need more energy to workout with the [src]!</span>")
|
||||
|
||||
else if(user.weight < 70)
|
||||
user << "<span class='notice'>You're too skinny to risk losing any more weight!</span>"
|
||||
to_chat(user, "<span class='notice'>You're too skinny to risk losing any more weight!</span>")
|
||||
|
||||
else //If they have enough nutrition and body weight, they can exercise.
|
||||
user.setClickCooldown(cooldown)
|
||||
@@ -24,7 +24,7 @@
|
||||
user.weight -= 0.025 * weightloss_power * (0.01*user.weight_loss)
|
||||
flick("[icon_state]2",src)
|
||||
var/message = pick(messages)
|
||||
user << "<span class='notice'>[message].</span>"
|
||||
to_chat(user, "<span class='notice'>[message].</span>")
|
||||
for(var/s in workout_sounds)
|
||||
playsound(src.loc, s, 50, 1)
|
||||
|
||||
@@ -64,11 +64,11 @@
|
||||
|
||||
/obj/machinery/fitness/heavy/attack_hand(var/mob/living/user)
|
||||
if(!anchored)
|
||||
user << "<span class='notice'>For safety reasons, you are required to have this equipment wrenched down before using it!</span>"
|
||||
to_chat(user, "<span class='notice'>For safety reasons, you are required to have this equipment wrenched down before using it!</span>")
|
||||
return
|
||||
|
||||
else if(user.loc != src.loc)
|
||||
user << "<span class='notice'>For safety reasons, you need to be sitting in the [src] for it to work!</span>"
|
||||
to_chat(user, "<span class='notice'>For safety reasons, you need to be sitting in the [src] for it to work!</span>")
|
||||
return
|
||||
|
||||
else
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
/obj/machinery/scale/attack_hand(var/mob/living/user)
|
||||
if(user.loc != loc)
|
||||
user << "<span class='notice'>You need to be standing on top of the scale for it to work!</span>"
|
||||
to_chat(user, "<span class='notice'>You need to be standing on top of the scale for it to work!</span>")
|
||||
return
|
||||
if(user.weight) //Just in case.
|
||||
var/kilograms = round(text2num(user.weight),4) / 2.20463
|
||||
|
||||
Reference in New Issue
Block a user