mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] remove static chat colour tags (#7635)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com> Co-authored-by: Raeschen <rycoop29@gmail.com> Co-authored-by: Changelogs <action@github.com> Co-authored-by: Aroliacue <96730930+Aroliacue@users.noreply.github.com> Co-authored-by: Eli <fracshun@gmail.com> Co-authored-by: tacoguy7765093 <karokaromaro@gmail.com> Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com> Co-authored-by: TheGreatKitsune <88862343+TheGreatKitsune@users.noreply.github.com> Co-authored-by: Missile597 <150307788+Missile597@users.noreply.github.com>
This commit is contained in:
@@ -33,18 +33,18 @@
|
||||
/obj/item/ammo_casing/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(I.has_tool_quality(TOOL_SCREWDRIVER))
|
||||
if(!BB)
|
||||
to_chat(user, "<font color='blue'>There is no bullet in the casing to inscribe anything into.</font>")
|
||||
to_chat(user, span_blue("There is no bullet in the casing to inscribe anything into."))
|
||||
return
|
||||
|
||||
var/tmp_label = ""
|
||||
var/label_text = sanitizeSafe(tgui_input_text(user, "Inscribe some text into \the [initial(BB.name)]","Inscription",tmp_label,MAX_NAME_LEN), MAX_NAME_LEN)
|
||||
if(length(label_text) > 20)
|
||||
to_chat(user, "<font color='red'>The inscription can be at most 20 characters long.</font>")
|
||||
to_chat(user, span_red("The inscription can be at most 20 characters long."))
|
||||
else if(!label_text)
|
||||
to_chat(user, "<font color='blue'>You scratch the inscription off of [initial(BB)].</font>")
|
||||
to_chat(user, span_blue("You scratch the inscription off of [initial(BB)]."))
|
||||
BB.name = initial(BB.name)
|
||||
else
|
||||
to_chat(user, "<font color='blue'>You inscribe \"[label_text]\" into \the [initial(BB.name)].</font>")
|
||||
to_chat(user, span_blue("You inscribe \"[label_text]\" into \the [initial(BB.name)]."))
|
||||
BB.name = "[initial(BB.name)] (\"[label_text]\")"
|
||||
else if(istype(I, /obj/item/ammo_magazine) && isturf(loc)) // Mass magazine reloading.
|
||||
var/obj/item/ammo_magazine/box = I
|
||||
@@ -281,4 +281,4 @@
|
||||
/obj/item/ammo_magazine/ammo_box/examine(mob/user)
|
||||
. = ..()
|
||||
|
||||
. += to_chat(usr, "<span class='notice'>Alt-click to extract contents.</span>")
|
||||
. += to_chat(usr, "<span class='notice'>Alt-click to extract contents.</span>")
|
||||
|
||||
@@ -721,9 +721,9 @@
|
||||
var/mob/living/carbon/human/M = user
|
||||
|
||||
mouthshoot = 1
|
||||
M.visible_message("<font color='red'>[user] sticks their gun in their mouth, ready to pull the trigger...</font>")
|
||||
M.visible_message(span_red("[user] sticks their gun in their mouth, ready to pull the trigger..."))
|
||||
if(!do_after(user, 40))
|
||||
M.visible_message("<font color='blue'>[user] decided life was worth living</font>")
|
||||
M.visible_message(span_blue("[user] decided life was worth living"))
|
||||
mouthshoot = 0
|
||||
return
|
||||
var/obj/item/projectile/in_chamber = consume_next_projectile()
|
||||
|
||||
@@ -144,8 +144,8 @@
|
||||
if(prey != user && prey.can_be_drop_prey)
|
||||
prey.forceMove(belly_dest)
|
||||
vore_happened = TRUE
|
||||
to_chat(prey, "<span class='danger'>[living_user] materializes around you, as you end up in their [belly_dest]!</span>")
|
||||
to_chat(living_user, "<span class='notice'>You materialize around [prey] as they end up in your [belly_dest]!</span>")
|
||||
to_chat(prey, "<span class='vdanger'>[living_user] materializes around you, as you end up in their [belly_dest]!</span>")
|
||||
to_chat(living_user, "<span class='vnotice'>You materialize around [prey] as they end up in your [belly_dest]!</span>")
|
||||
if(can_dropnom && !vore_happened && living_user.can_be_drop_prey)
|
||||
var/mob/living/pred
|
||||
for(var/mob/living/potential_pred in ToTurf)
|
||||
@@ -159,8 +159,8 @@
|
||||
belly_dest = pick(pred.vore_organs)
|
||||
if(belly_dest)
|
||||
living_user.forceMove(belly_dest)
|
||||
to_chat(pred, "<span class='notice'>[living_user] materializes inside you as they end up in your [belly_dest]!</span>")
|
||||
to_chat(living_user, "<span class='danger'>You materialize inside [pred] as you end up in their [belly_dest]!</span>")
|
||||
to_chat(pred, "<span class='vnotice'>[living_user] materializes inside you as they end up in your [belly_dest]!</span>")
|
||||
to_chat(living_user, "<span class='vdanger'>You materialize inside [pred] as you end up in their [belly_dest]!</span>")
|
||||
|
||||
else
|
||||
for(var/obj/O in FromTurf)
|
||||
@@ -185,8 +185,8 @@
|
||||
belly_dest = pick(living_user.vore_organs)
|
||||
if(belly_dest)
|
||||
M.forceMove(belly_dest)
|
||||
to_chat(living_user, "<span class='notice'>[M] materializes inside you as they end up in your [belly_dest]!</span>")
|
||||
to_chat(M, "<span class='danger'>You materialize inside [living_user] as you end up in their [belly_dest]!</span>")
|
||||
to_chat(living_user, "<span class='vnotice'>[M] materializes inside you as they end up in your [belly_dest]!</span>")
|
||||
to_chat(M, "<span class='vdanger'>You materialize inside [living_user] as you end up in their [belly_dest]!</span>")
|
||||
else if(can_dropnom && living_user.can_be_drop_prey && M.can_be_drop_pred && !user_vored)
|
||||
var/obj/belly/belly_dest
|
||||
if(M.vore_selected)
|
||||
@@ -196,8 +196,8 @@
|
||||
if(belly_dest)
|
||||
living_user.forceMove(belly_dest)
|
||||
user_vored = TRUE
|
||||
to_chat(living_user, "<span class='danger'>[M] materializes around you, as you end up in their [belly_dest]!</span>")
|
||||
to_chat(M, "<span class='notice'>You materialize around [living_user] as they end up in your [belly_dest]!</span>")
|
||||
to_chat(living_user, "<span class='vdanger'>[M] materializes around you, as you end up in their [belly_dest]!</span>")
|
||||
to_chat(M, "<span class='vnotice'>You materialize around [living_user] as they end up in your [belly_dest]!</span>")
|
||||
|
||||
|
||||
/obj/item/weapon/bluespace_harpoon/attack_self(mob/living/user as mob)
|
||||
|
||||
@@ -326,7 +326,7 @@
|
||||
/obj/item/projectile/beam/medical_cell/shrink/on_hit(var/mob/living/carbon/human/target)
|
||||
if(istype(target, /mob/living/carbon/human))
|
||||
target.resize(0.5)
|
||||
target.show_message("<font color='blue'>The beam fires into your body, changing your size!</font>")
|
||||
target.show_message(span_blue("The beam fires into your body, changing your size!"))
|
||||
target.update_icon()
|
||||
else
|
||||
return 1
|
||||
@@ -340,7 +340,7 @@
|
||||
/obj/item/projectile/beam/medical_cell/grow/on_hit(var/mob/living/carbon/human/target)
|
||||
if(istype(target, /mob/living/carbon/human))
|
||||
target.resize(2.0)
|
||||
target.show_message("<font color='blue'>The beam fires into your body, changing your size!</font>")
|
||||
target.show_message(span_blue("The beam fires into your body, changing your size!"))
|
||||
target.update_icon()
|
||||
else
|
||||
return 1
|
||||
@@ -354,7 +354,7 @@
|
||||
/obj/item/projectile/beam/medical_cell/normalsize/on_hit(var/mob/living/carbon/human/target)
|
||||
if(istype(target, /mob/living/carbon/human))
|
||||
target.resize(1)
|
||||
target.show_message("<font color='blue'>The beam fires into your body, changing your size!</font>")
|
||||
target.show_message(span_blue("The beam fires into your body, changing your size!"))
|
||||
target.update_icon()
|
||||
else
|
||||
return 1
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
//Override this to avoid a runtime with suicide handling.
|
||||
/obj/item/weapon/gun/launcher/handle_suicide(mob/living/user)
|
||||
to_chat(user, "<font color='red'>Shooting yourself with \a [src] is pretty tricky. You can't seem to manage it.</font>")
|
||||
to_chat(user, span_red("Shooting yourself with \a [src] is pretty tricky. You can't seem to manage it."))
|
||||
return
|
||||
|
||||
/obj/item/weapon/gun/launcher/proc/update_release_force(obj/item/projectile)
|
||||
|
||||
@@ -17,17 +17,17 @@
|
||||
/obj/item/weapon/gun/launcher/confetti_cannon/examine(mob/user)
|
||||
. = ..()
|
||||
if(get_dist(user, src) <= 2)
|
||||
. += "<font color='blue'>It's loaded with [confetti_charge] ball\s of confetti.</font>"
|
||||
. += span_blue("It's loaded with [confetti_charge] ball\s of confetti.")
|
||||
|
||||
/obj/item/weapon/gun/launcher/confetti_cannon/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I, /obj/item/weapon/paper) || istype(I, /obj/item/weapon/shreddedp))
|
||||
if(confetti_charge < max_confetti)
|
||||
user.drop_item()
|
||||
++confetti_charge
|
||||
to_chat(usr, "<font color='blue'>You put the paper in the [src].</font>")
|
||||
to_chat(usr, span_blue("You put the paper in the [src]."))
|
||||
qdel(I)
|
||||
else
|
||||
to_chat(usr, "<font color='red'>[src] cannot hold more paper.</font>")
|
||||
to_chat(usr, span_red("[src] cannot hold more paper."))
|
||||
|
||||
/obj/item/weapon/gun/launcher/confetti_cannon/proc/pump(mob/M as mob)
|
||||
playsound(M, 'sound/weapons/shotgunpump.ogg', 60, 1)
|
||||
@@ -35,11 +35,11 @@
|
||||
if(confetti_charge)
|
||||
chambered = new /obj/item/weapon/grenade/confetti/party_ball
|
||||
--confetti_charge
|
||||
to_chat(usr, "<font color='blue'>You compress a new confetti ball.</font>")
|
||||
to_chat(usr, span_blue("You compress a new confetti ball."))
|
||||
else
|
||||
to_chat(usr, "<font color='red'>The [src] is out of confetti!</font>")
|
||||
to_chat(usr, span_red("The [src] is out of confetti!"))
|
||||
else
|
||||
to_chat(usr, "<font color='red'>The [src] is already loaded!</font>")
|
||||
to_chat(usr, span_red("The [src] is already loaded!"))
|
||||
|
||||
/obj/item/weapon/gun/launcher/confetti_cannon/attack_self(mob/user)
|
||||
pump(user)
|
||||
@@ -80,26 +80,26 @@
|
||||
switch(choice)
|
||||
if("Confetti")
|
||||
chambered = new /obj/item/weapon/grenade/confetti/party_ball
|
||||
to_chat(usr, "<font color='blue'>Confetti loaded.</font>")
|
||||
to_chat(usr, span_blue("Confetti loaded."))
|
||||
if(istype(usr,/mob/living/silicon/robot))
|
||||
var/mob/living/silicon/robot/R = usr
|
||||
R.cell.charge -= 200
|
||||
if("Banana Peel")
|
||||
chambered = new /obj/item/weapon/bananapeel
|
||||
to_chat(usr, "<font color='blue'>Banana peel loaded.</font>")
|
||||
to_chat(usr, span_blue("Banana peel loaded."))
|
||||
if(istype(usr,/mob/living/silicon/robot))
|
||||
var/mob/living/silicon/robot/R = usr
|
||||
R.cell.charge -= 200
|
||||
if("Cream Pie")
|
||||
chambered = new /obj/item/weapon/reagent_containers/food/snacks/pie
|
||||
to_chat(usr, "<font color='blue'>Banana cream pie loaded.</font>")
|
||||
to_chat(usr, span_blue("Banana cream pie loaded."))
|
||||
if(istype(usr,/mob/living/silicon/robot))
|
||||
var/mob/living/silicon/robot/R = usr
|
||||
R.cell.charge -= 200
|
||||
else
|
||||
to_chat(usr, "<font color='red'>The [src] is already loaded!</font>")
|
||||
to_chat(usr, span_red("The [src] is already loaded!"))
|
||||
|
||||
/obj/item/weapon/gun/launcher/confetti_cannon/robot/consume_next_projectile()
|
||||
if(istype(chambered,/obj/item/weapon/grenade/confetti/party_ball))
|
||||
chambered.activate(null)
|
||||
return chambered
|
||||
return chambered
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
/obj/item/weapon/gun/launcher/rocket/examine(mob/user)
|
||||
. = ..()
|
||||
if(get_dist(user, src) <= 2)
|
||||
. += "<font color='blue'>[rockets.len] / [max_rockets] rockets.</font>"
|
||||
. += span_blue("[rockets.len] / [max_rockets] rockets.")
|
||||
|
||||
/obj/item/weapon/gun/launcher/rocket/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I, /obj/item/ammo_casing/rocket))
|
||||
@@ -27,10 +27,10 @@
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
rockets += I
|
||||
to_chat(user, "<font color='blue'>You put the rocket in [src].</font>")
|
||||
to_chat(user, "<font color='blue'>[rockets.len] / [max_rockets] rockets.</font>")
|
||||
to_chat(user, span_blue("You put the rocket in [src]."))
|
||||
to_chat(user, span_blue("[rockets.len] / [max_rockets] rockets."))
|
||||
else
|
||||
to_chat(usr, "<font color='red'>[src] cannot hold more rockets.</font>")
|
||||
to_chat(usr, span_red(">[src] cannot hold more rockets."))
|
||||
|
||||
/obj/item/weapon/gun/launcher/rocket/consume_next_projectile()
|
||||
if(rockets.len)
|
||||
|
||||
@@ -134,12 +134,12 @@
|
||||
. += "<span class='notice'>The installed [capacitor.name] has a charge level of [round((capacitor.charge/capacitor.max_charge)*100)]%.</span>"
|
||||
|
||||
if(state & ICON_BAD)
|
||||
. += "<span class='notice'>The capacitor charge indicator is blinking <font color ='[COLOR_RED]'>red</font>. Maybe you should check the cell or capacitor.</span>"
|
||||
. += "<span class='notice'>The capacitor charge indicator is blinking [span_red("red")]. Maybe you should check the cell or capacitor.</span>"
|
||||
else
|
||||
if(state & ICON_CHARGE)
|
||||
. += "<span class='notice'>The capacitor charge indicator is <font color ='[COLOR_ORANGE]'>amber</font>.</span>"
|
||||
. += "<span class='notice'>The capacitor charge indicator is [span_orange("amber")].</span>"
|
||||
else
|
||||
. += "<span class='notice'>The capacitor charge indicator is <font color ='[COLOR_GREEN]'>green</font>.</span>"
|
||||
. += "<span class='notice'>The capacitor charge indicator is [span_green("green")].</span>"
|
||||
|
||||
/obj/item/weapon/gun/magnetic/attackby(var/obj/item/thing, var/mob/user)
|
||||
|
||||
|
||||
@@ -111,16 +111,16 @@
|
||||
/obj/item/weapon/gun/projectile/dartgun/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I, /obj/item/weapon/reagent_containers/glass))
|
||||
if(!istype(I, container_type))
|
||||
to_chat(user, "<font color='blue'>[I] doesn't seem to fit into [src].</font>")
|
||||
to_chat(user, span_blue("[I] doesn't seem to fit into [src]."))
|
||||
return
|
||||
if(beakers.len >= max_beakers)
|
||||
to_chat(user, "<font color='blue'>[src] already has [max_beakers] beakers in it - another one isn't going to fit!</font>")
|
||||
to_chat(user, span_blue("[src] already has [max_beakers] beakers in it - another one isn't going to fit!"))
|
||||
return
|
||||
var/obj/item/weapon/reagent_containers/glass/beaker/B = I
|
||||
user.drop_item()
|
||||
B.loc = src
|
||||
beakers += B
|
||||
to_chat(user, "<font color='blue'>You slot [B] into [src].</font>")
|
||||
to_chat(user, span_blue("You slot [B] into [src]."))
|
||||
src.updateUsrDialog()
|
||||
return 1
|
||||
..()
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
M.Weaken(5)
|
||||
var/datum/gender/TM = gender_datums[M.get_visible_gender()]
|
||||
for (var/mob/V in viewers(src))
|
||||
V.show_message("<font color='red'>[M] writhes in pain as [TM.his] vacuoles boil.</font>", 3, "<font color='red'>You hear the crunching of leaves.</font>", 2)
|
||||
V.show_message(span_red("[M] writhes in pain as [TM.his] vacuoles boil."), 3, span_red("You hear the crunching of leaves."), 2)
|
||||
if(prob(35))
|
||||
// for (var/mob/V in viewers(src)) //Public messages commented out to prevent possible metaish genetics experimentation and stuff. - Cheridan
|
||||
// V.show_message("<font color='red'>[M] is mutated by the radiation beam.</font>", 3, "<font color='red'> You hear the snapping of twigs.</font>", 2)
|
||||
@@ -175,13 +175,13 @@
|
||||
domutcheck(M,null)
|
||||
else
|
||||
M.adjustFireLoss(rand(5,15))
|
||||
M.show_message("<font color='red'>The radiation beam singes you!</font>")
|
||||
M.show_message(span_red("The radiation beam singes you!"))
|
||||
// for (var/mob/V in viewers(src))
|
||||
// V.show_message("<font color='red'>[M] is singed by the radiation beam.</font>", 3, "<font color='red'> You hear the crackle of burning leaves.</font>", 2)
|
||||
else if(istype(target, /mob/living/carbon/))
|
||||
// for (var/mob/V in viewers(src))
|
||||
// V.show_message("The radiation beam dissipates harmlessly through [M]", 3)
|
||||
M.show_message("<font color='blue'>The radiation beam dissipates harmlessly through your body.</font>")
|
||||
M.show_message(span_blue("The radiation beam dissipates harmlessly through your body."))
|
||||
else
|
||||
return 1
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
if((H.species.flags & IS_PLANT) && (M.nutrition < 500))
|
||||
M.adjust_nutrition(30)
|
||||
else if (istype(target, /mob/living/carbon/))
|
||||
M.show_message("<font color='blue'>The radiation beam dissipates harmlessly through your body.</font>")
|
||||
M.show_message(span_blue("The radiation beam dissipates harmlessly through your body."))
|
||||
else
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user