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:
@@ -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
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user