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:
@@ -54,17 +54,17 @@ var/global/list/rad_collectors = list()
|
||||
investigate_log("turned [active?"<font color='green'>on</font>":"<font color='red'>off</font>"] by [user.key]. [P?"Fuel: [round(P.air_contents.gas["phoron"]/0.29)]%":"<font color='red'>It is empty</font>"].","singulo")
|
||||
return
|
||||
else
|
||||
to_chat(user, "<font color='red'>The controls are locked!</font>")
|
||||
to_chat(user, span_red("The controls are locked!"))
|
||||
return
|
||||
|
||||
|
||||
/obj/machinery/power/rad_collector/attackby(obj/item/W, mob/user)
|
||||
if(istype(W, /obj/item/weapon/tank/phoron))
|
||||
if(!src.anchored)
|
||||
to_chat(user, "<font color='red'>The [src] needs to be secured to the floor first.</font>")
|
||||
to_chat(user, span_red("The [src] needs to be secured to the floor first."))
|
||||
return 1
|
||||
if(src.P)
|
||||
to_chat(user, "<font color='red'>There's already a phoron tank loaded.</font>")
|
||||
to_chat(user, span_red("There's already a phoron tank loaded."))
|
||||
return 1
|
||||
user.drop_item()
|
||||
src.P = W
|
||||
@@ -77,7 +77,7 @@ var/global/list/rad_collectors = list()
|
||||
return 1
|
||||
else if(W.has_tool_quality(TOOL_WRENCH))
|
||||
if(P)
|
||||
to_chat(user, "<font color='blue'>Remove the phoron tank first.</font>")
|
||||
to_chat(user, span_blue("Remove the phoron tank first."))
|
||||
return 1
|
||||
playsound(src, W.usesound, 75, 1)
|
||||
src.anchored = !src.anchored
|
||||
@@ -96,9 +96,9 @@ var/global/list/rad_collectors = list()
|
||||
to_chat(user, "The controls are now [src.locked ? "locked." : "unlocked."]")
|
||||
else
|
||||
src.locked = 0 //just in case it somehow gets locked
|
||||
to_chat(user, "<font color='red'>The controls can only be locked when the [src] is active.</font>")
|
||||
to_chat(user, span_red("The controls can only be locked when the [src] is active."))
|
||||
else
|
||||
to_chat(user, "<font color='red'>Access denied!</font>")
|
||||
to_chat(user, span_red("Access denied!"))
|
||||
return 1
|
||||
return ..()
|
||||
|
||||
@@ -157,4 +157,3 @@ var/global/list/rad_collectors = list()
|
||||
flick("ca_deactive", src)
|
||||
update_icons()
|
||||
return
|
||||
|
||||
|
||||
@@ -133,13 +133,13 @@ field_generator power level display
|
||||
"You hear ratchet")
|
||||
src.anchored = FALSE
|
||||
if(2)
|
||||
to_chat(user, "<font color='red'>The [src.name] needs to be unwelded from the floor.</font>")
|
||||
to_chat(user, span_red("The [src.name] needs to be unwelded from the floor."))
|
||||
return
|
||||
else if(W.has_tool_quality(TOOL_WELDER))
|
||||
var/obj/item/weapon/weldingtool/WT = W.get_welder()
|
||||
switch(state)
|
||||
if(0)
|
||||
to_chat(user, "<font color='red'>The [src.name] needs to be wrenched to the floor.</font>")
|
||||
to_chat(user, span_red("The [src.name] needs to be wrenched to the floor."))
|
||||
return
|
||||
if(1)
|
||||
if (WT.remove_fuel(0,user))
|
||||
@@ -227,7 +227,7 @@ field_generator power level display
|
||||
return 1
|
||||
else
|
||||
for(var/mob/M in viewers(src))
|
||||
M.show_message("<font color='red'>\The [src] shuts down!</font>")
|
||||
M.show_message(span_red("\The [src] shuts down!"))
|
||||
turn_off()
|
||||
log_game("FIELDGEN([x],[y],[z]) Lost power and was ON.")
|
||||
investigate_log("ran out of power and <font color='red'>deactivated</font>","singulo")
|
||||
|
||||
Reference in New Issue
Block a user