Skip to content

Commit

Permalink
A few spans and \the's.
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreML committed Dec 4, 2023
1 parent 28968d1 commit ce5392a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions code/game/objects/items/reagent_containers/glass.dm
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@
A.update_icon()
playsound(src.loc, 'sound/effects/refill.ogg', 25, 1, 3)
else
to_chat(user, SPAN_WARNING("A small LED on \the [src] blinks. The tank can't refill \the [A] - it's either incompatible or out of chemicals to fill it with!"))
to_chat(user, SPAN_WARNING("A small LED on [src] blinks. The tank can't refill [A] - it's either incompatible or out of chemicals to fill it with!"))
. = ..()
return
to_chat(user,SPAN_INFO("You successfully refill \the [W.name] with \the [src]!"))
to_chat(user, SPAN_INFO("You successfully refill [A] with [src]!"))

/obj/item/reagent_container/glass/minitank/verb/flush_tank(mob/user)
set category = "Object"
Expand All @@ -299,7 +299,7 @@
to_chat(user, SPAN_WARNING("It's already empty!"))
return
playsound(src.loc, 'sound/effects/slosh.ogg', 25, 1, 3)
to_chat(user, SPAN_WARNING("You work the flush valve and successfully flush \the [src]'s contents!"))
to_chat(user, SPAN_WARNING("You work the flush valve and successfully flush [src]'s contents!"))
reagents.clear_reagents()
update_icon() // just to be sure
return
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/storage/large_holster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,12 @@
return FALSE

if(user.back != src)
to_chat(user, "[src] must be equipped before you can switch types")
to_chat(user, SPAN_WARNING("[src] must be equipped before you can switch types."))
return

var/obj/item/weapon/gun/flamer/M240T/flamer = user.get_active_hand()
if(!istype(flamer))
to_chat(user, "You must be holding the M240-T incinerator unit to use [src]")
to_chat(user, SPAN_WARNING("You must be holding [flamer] to use [src]."))
return

if(!active_fuel)
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/tools/flame_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
item_state = icon_off
if(!silent)
if(istype(src, /obj/item/tool/lighter/zippo) )
bearer.visible_message("<span class='rose'>You hear a quiet click, as [bearer] shuts off [src] without even looking at what they're doing.")
bearer.visible_message(SPAN_ROSE("You hear a quiet click, as [bearer] shuts off [src] without even looking at what they're doing."))
playsound(src.loc,"zippo_close",10, 1, 3)
else
bearer.visible_message(SPAN_NOTICE("[bearer] quietly shuts off [src]."))
Expand Down
8 changes: 4 additions & 4 deletions code/game/objects/items/toys/toys.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
if(!proximity) return
if (istype(A, /obj/structure/reagent_dispensers/watertank) && get_dist(src,A) <= 1)
A.reagents.trans_to(src, 10)
to_chat(user, SPAN_NOTICE(" You fill the balloon with the contents of [A]."))
to_chat(user, SPAN_NOTICE("You fill the balloon with the contents of [A]."))
src.desc = "A translucent balloon with some form of liquid sloshing around in it."
src.update_icon()
return
Expand All @@ -53,15 +53,15 @@
if(istype(O, /obj/item/reagent_container/glass))
if(O.reagents)
if(O.reagents.total_volume < 1)
to_chat(user, "[O] is empty.")
to_chat(user, SPAN_WARNING("[O] is empty."))
else if(O.reagents.total_volume >= 1)
if(O.reagents.has_reagent("pacid", 1))
to_chat(user, "The acid chews through the balloon!")
to_chat(user, SPAN_WARNING("The acid chews through the balloon!"))
O.reagents.reaction(user)
qdel(src)
else
src.desc = "A translucent balloon with some form of liquid sloshing around in it."
to_chat(user, SPAN_NOTICE(" You fill the balloon with the contents of [O]."))
to_chat(user, SPAN_NOTICE("You fill the balloon with the contents of [O]."))
O.reagents.trans_to(src, 10)
src.update_icon()
return
Expand Down
4 changes: 2 additions & 2 deletions code/modules/clothing/head/misc_special.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
flags_inv_hide |= HIDEEARS|HIDEEYES|HIDEFACE
icon_state = initial(icon_state)
eye_protection = initial(eye_protection)
to_chat(usr, "You flip [src] down to protect your eyes.")
to_chat(usr, SPAN_NOTICE("You flip [src] down to protect your eyes."))
else
vision_impair = VISION_IMPAIR_NONE
flags_inventory &= ~(COVEREYES|COVERMOUTH|BLOCKSHARPOBJ)
flags_inv_hide &= ~(HIDEEARS|HIDEEYES|HIDEFACE)
icon_state = "[initial(icon_state)]up"
eye_protection = EYE_PROTECTION_NONE
to_chat(usr, "You push [src] up out of your face.")
to_chat(usr, SPAN_NOTICE("You push [src] up out of your face."))
up = !up

if(ishuman(loc))
Expand Down

0 comments on commit ce5392a

Please sign in to comment.