diff --git a/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm b/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm index 185ac8c9c7..661ef6384e 100644 --- a/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm +++ b/code/ATMOSPHERICS/components/binary_devices/passive_gate.dm @@ -292,7 +292,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/binary_devices/pump.dm b/code/ATMOSPHERICS/components/binary_devices/pump.dm index d05f4fdc82..70784f0519 100644 --- a/code/ATMOSPHERICS/components/binary_devices/pump.dm +++ b/code/ATMOSPHERICS/components/binary_devices/pump.dm @@ -252,7 +252,7 @@ Thus, the two variables affect pump operation are set in New(): to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/omni_devices/omni_base.dm b/code/ATMOSPHERICS/components/omni_devices/omni_base.dm index 60040ddd8b..aecb911561 100644 --- a/code/ATMOSPHERICS/components/omni_devices/omni_base.dm +++ b/code/ATMOSPHERICS/components/omni_devices/omni_base.dm @@ -91,7 +91,7 @@ playsound(src, W.usesound, 50, 1) if(do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + "unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/portables_connector.dm b/code/ATMOSPHERICS/components/portables_connector.dm index 1974cdb1d6..2dbc9afc00 100644 --- a/code/ATMOSPHERICS/components/portables_connector.dm +++ b/code/ATMOSPHERICS/components/portables_connector.dm @@ -162,7 +162,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/trinary_devices/mixer.dm b/code/ATMOSPHERICS/components/trinary_devices/mixer.dm index 3fd2380e0f..ef3149f78e 100644 --- a/code/ATMOSPHERICS/components/trinary_devices/mixer.dm +++ b/code/ATMOSPHERICS/components/trinary_devices/mixer.dm @@ -105,7 +105,7 @@ // return // usr.set_machine(src) // var/list/node_connects = get_node_connect_dirs() - // var/dat = {"Power: [use_power?"On":"Off"]
+ // var/dat = {span_bold("Power: ") + "[use_power?"On":"Off"]
// Set Flow Rate Limit: // [set_flow_rate]L/s | Change //
diff --git a/code/ATMOSPHERICS/components/trinary_devices/trinary_base.dm b/code/ATMOSPHERICS/components/trinary_devices/trinary_base.dm index 61ade8f501..9e1d183b9b 100644 --- a/code/ATMOSPHERICS/components/trinary_devices/trinary_base.dm +++ b/code/ATMOSPHERICS/components/trinary_devices/trinary_base.dm @@ -62,7 +62,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/tvalve.dm b/code/ATMOSPHERICS/components/tvalve.dm index f220c45904..0e051d9067 100644 --- a/code/ATMOSPHERICS/components/tvalve.dm +++ b/code/ATMOSPHERICS/components/tvalve.dm @@ -337,7 +337,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/unary/heat_exchanger.dm b/code/ATMOSPHERICS/components/unary/heat_exchanger.dm index 2f69eaacc5..7b6a5621eb 100644 --- a/code/ATMOSPHERICS/components/unary/heat_exchanger.dm +++ b/code/ATMOSPHERICS/components/unary/heat_exchanger.dm @@ -81,7 +81,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/unary/outlet_injector.dm b/code/ATMOSPHERICS/components/unary/outlet_injector.dm index fc81777419..fa47021ddd 100644 --- a/code/ATMOSPHERICS/components/unary/outlet_injector.dm +++ b/code/ATMOSPHERICS/components/unary/outlet_injector.dm @@ -171,7 +171,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/unary/vent_pump.dm b/code/ATMOSPHERICS/components/unary/vent_pump.dm index e59f5fc498..9f32aa32ec 100644 --- a/code/ATMOSPHERICS/components/unary/vent_pump.dm +++ b/code/ATMOSPHERICS/components/unary/vent_pump.dm @@ -398,7 +398,7 @@ if(!src || !WT.isOn()) return playsound(src, WT.usesound, 50, 1) if(!welded) - user.visible_message("\The [user] welds the vent shut.", span_notice("You weld the vent shut."), "You hear welding.") + user.visible_message(span_bold("\The [user]") + " welds the vent shut.", span_notice("You weld the vent shut."), "You hear welding.") welded = 1 update_icon() else @@ -446,7 +446,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/unary/vent_scrubber.dm b/code/ATMOSPHERICS/components/unary/vent_scrubber.dm index 93082e06fe..0fc8d0cff7 100644 --- a/code/ATMOSPHERICS/components/unary/vent_scrubber.dm +++ b/code/ATMOSPHERICS/components/unary/vent_scrubber.dm @@ -287,7 +287,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/components/valve.dm b/code/ATMOSPHERICS/components/valve.dm index a061290184..9139f96e74 100644 --- a/code/ATMOSPHERICS/components/valve.dm +++ b/code/ATMOSPHERICS/components/valve.dm @@ -301,7 +301,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ATMOSPHERICS/pipes/pipe_base.dm b/code/ATMOSPHERICS/pipes/pipe_base.dm index 1bdc639925..589cdaf0b6 100644 --- a/code/ATMOSPHERICS/pipes/pipe_base.dm +++ b/code/ATMOSPHERICS/pipes/pipe_base.dm @@ -135,7 +135,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if (do_after(user, 10 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear a ratchet.") deconstruct() diff --git a/code/ZAS/Variable Settings.dm b/code/ZAS/Variable Settings.dm index c4699c7ab0..8867060e6f 100644 --- a/code/ZAS/Variable Settings.dm +++ b/code/ZAS/Variable Settings.dm @@ -110,7 +110,7 @@ var/global/vs_control/vsc = new vw = vars[ch] if("[ch]_DESC" in vars) vw_desc = vars["[ch]_DESC"] if("[ch]_NAME" in vars) vw_name = vars["[ch]_NAME"] - dat += "[vw_name] = [vw] \[Change\]
" + dat += span_bold("[vw_name] = [vw]") + " \[Change\]
" dat += "[vw_desc]

" user << browse(dat,"window=settings") @@ -168,7 +168,7 @@ var/global/vs_control/vsc = new vars[ch] = vw if(how == "Toggle") newvar = (newvar?"ON":"OFF") - to_world(span_notice("[key_name(user)] changed the setting [display_description] to [newvar].")) + to_world(span_world(span_blue("[key_name(user)] changed the setting [display_description] to [newvar]."))) if(ch in plc.settings) ChangeSettingsDialog(user,plc.settings) else @@ -321,7 +321,7 @@ var/global/vs_control/vsc = new plc.N2O_HALLUCINATION = initial(plc.N2O_HALLUCINATION) - to_world(span_notice("[key_name(user)] changed the global phoron/ZAS settings to \"[def]\"")) + to_world(span_world(span_blue("[key_name(user)] changed the global phoron/ZAS settings to \"[def]\""))) /pl_control/var/list/settings = list() diff --git a/code/_helpers/logging.dm b/code/_helpers/logging.dm index d64cf9ebc3..f21d0164fb 100644 --- a/code/_helpers/logging.dm +++ b/code/_helpers/logging.dm @@ -76,7 +76,7 @@ //Log the message to in-game dialogue logs, as well. //CHOMPEdit Begin if(speaker.client) - //speaker.dialogue_log += "([time_stamp()]) ([speaker]/[speaker.client]) SAY: - [text]" + //speaker.dialogue_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("SAY:") + " - " + span_green("[text]") if(!SSdbcore.IsConnected()) establish_db_connection() if(!SSdbcore.IsConnected()) @@ -88,7 +88,7 @@ qdel(query_insert) return qdel(query_insert) - //GLOB.round_text_log += "([time_stamp()]) ([speaker]/[speaker.client]) SAY: - [text]" + //GLOB.round_text_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("SAY:") + " - " + span_green("[text]") //CHOMPEdit End /proc/log_ooc(text, client/user) @@ -105,7 +105,7 @@ qdel(query_insert) return qdel(query_insert) - //GLOB.round_text_log += "([time_stamp()]) ([user]) OOC: - [text]" + //GLOB.round_text_log += span_bold("([time_stamp()])") + " (" + span_bold("[user]") + ") " + span_underline("OOC:") + " - " + span_blue(span_bold("[text]")) /proc/log_aooc(text, client/user) if (CONFIG_GET(flag/log_ooc)) // CHOMPEdit @@ -121,7 +121,7 @@ qdel(query_insert) return qdel(query_insert) - //GLOB.round_text_log += "([time_stamp()]) ([user]) AOOC: - [text]" + //GLOB.round_text_log += span_bold("([time_stamp()])") + " (" + span_bold("[user]") + ") " + span_underline("AOOC:") + " - " + span_red(span_bold("[text]")) /proc/log_looc(text, client/user) if (CONFIG_GET(flag/log_ooc)) // CHOMPEdit @@ -137,15 +137,15 @@ qdel(query_insert) return qdel(query_insert) - //GLOB.round_text_log += "([time_stamp()]) ([user]) LOOC: - [text]" + //GLOB.round_text_log += span_bold("([time_stamp()])") + " (" + span_bold("[user]") + ") " + span_underline("LOOC:") + " - " + span_orange(span_bold("[text]")) /proc/log_whisper(text, mob/speaker) if (CONFIG_GET(flag/log_whisper)) // CHOMPEdit WRITE_LOG(diary, "WHISPER: [speaker.simple_info_line()]: [html_decode(text)]") if(speaker.client) - //speaker.dialogue_log += "([time_stamp()]) ([speaker]/[speaker.client]) SAY: - [text]" - //GLOB.round_text_log += "([time_stamp()]) ([speaker]/[speaker.client]) SAY: - [text]" + //speaker.dialogue_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("SAY:") + " - " + span_gray(span_italics("[text]")) + //GLOB.round_text_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("SAY:") + " - " + span_gray(span_italics("[text]")) if(!SSdbcore.IsConnected()) establish_db_connection() if(!SSdbcore.IsConnected()) @@ -163,8 +163,8 @@ WRITE_LOG(diary, "EMOTE: [speaker.simple_info_line()]: [html_decode(text)]") //CHOMPEdit Begin if(speaker.client) - //speaker.dialogue_log += "([time_stamp()]) ([speaker]/[speaker.client]) EMOTE: - [text]" - //GLOB.round_text_log += "([time_stamp()]) ([speaker]/[speaker.client]) EMOTE: - [text]" + //speaker.dialogue_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("EMOTE:") + " - " + span_pink("[text]") + //GLOB.round_text_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("EMOTE:") + " - " + span_pink("[text]") if(!SSdbcore.IsConnected()) establish_db_connection() if(!SSdbcore.IsConnected()) @@ -211,8 +211,8 @@ return qdel(query_insert) - //speaker.dialogue_log += "([time_stamp()]) ([speaker]/[speaker.client]) DEADSAY: - [text]" - //GLOB.round_text_log += "([time_stamp()]) ([speaker]/[speaker.client]) DEADSAY: - [text]" + //speaker.dialogue_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("DEADSAY:") + " - " + span_green("[text]") + //GLOB.round_text_log += span_small(span_purple(span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("DEADSAY:") + " - [text]")) //CHOMPEdit End /proc/log_ghostemote(text, mob/speaker) @@ -254,8 +254,8 @@ return qdel(query_insert) - //speaker.dialogue_log += "([time_stamp()]) ([speaker]/[speaker.client]) MSG: - [text]" - //GLOB.round_text_log += "([time_stamp()]) ([speaker]/[speaker.client]) MSG: - [text]" + //speaker.dialogue_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("MSG:") + " - " + span_darkgreen("[text]") + //GLOB.round_text_log += span_bold("([time_stamp()])") + " (" + span_bold("[speaker]/[speaker.client]") + ") " + span_underline("MSG:") + " - " + span_darkgreen("[text]") //CHOMPEdit End /proc/log_to_dd(text) diff --git a/code/_helpers/unsorted.dm b/code/_helpers/unsorted.dm index d8c3af4d63..e8606811be 100644 --- a/code/_helpers/unsorted.dm +++ b/code/_helpers/unsorted.dm @@ -367,7 +367,7 @@ Turf and target are seperate in case you want to teleport some distance from a t if(isAI(src)) var/mob/living/silicon/ai/A = src oldname = null//don't bother with the records update crap - //to_world("[newname] is the AI!") + //to_world(span_world("[newname] is the AI!")) //world << sound('sound/AI/newAI.ogg') // Set eyeobj name A.SetName(newname) diff --git a/code/_onclick/hud/ability_screen_objects.dm b/code/_onclick/hud/ability_screen_objects.dm index d33d957156..f7ece56f50 100644 --- a/code/_onclick/hud/ability_screen_objects.dm +++ b/code/_onclick/hud/ability_screen_objects.dm @@ -312,7 +312,7 @@ if(object_used && verb_to_call) call(object_used,verb_to_call)(arguments_to_use) // call(object_used,verb_to_call)(arguments_to_use) -// to_world("Attempted to call([object_used],[verb_to_call])([arguments_to_use])") +// to_world(span_world("Attempted to call([object_used],[verb_to_call])([arguments_to_use])")) // if(hascall(object_used, verb_to_call)) // call(object_used,verb_to_call)(arguments_to_use) // else diff --git a/code/_onclick/hud/screen_objects_vr.dm b/code/_onclick/hud/screen_objects_vr.dm index ea4fbaa9a4..d3e43bb628 100644 --- a/code/_onclick/hud/screen_objects_vr.dm +++ b/code/_onclick/hud/screen_objects_vr.dm @@ -6,23 +6,23 @@ if("darkness") var/turf/T = get_turf(usr) var/darkness = round(1 - T.get_lumcount(),0.1) - to_chat(usr,span_notice("Darkness: [darkness]")) + to_chat(usr,span_notice(span_bold("Darkness:") + " [darkness]")) if("energy") var/mob/living/simple_mob/shadekin/SK = usr if(istype(SK)) - to_chat(usr,span_notice("Energy: [SK.energy] ([SK.dark_gains])")) + to_chat(usr,span_notice(span_bold("Energy:") + " [SK.energy] ([SK.dark_gains])")) if("shadekin status") var/turf/T = get_turf(usr) if(T) var/darkness = round(1 - T.get_lumcount(),0.1) - to_chat(usr,span_notice("Darkness: [darkness]")) + to_chat(usr,span_notice(span_bold("Darkness:") + " [darkness]")) var/mob/living/carbon/human/H = usr if(istype(H) && istype(H.species, /datum/species/shadekin)) - to_chat(usr,span_notice("Energy: [H.shadekin_get_energy(H)]")) + to_chat(usr,span_notice(span_bold("Energy:") + " [H.shadekin_get_energy(H)]")) if("glamour") var/mob/living/carbon/human/H = usr if(istype(H)) - to_chat(usr,span_notice("Energy: [H.species.lleill_energy]/[H.species.lleill_energy_max]")) + to_chat(usr,span_notice(span_bold("Energy:") + " [H.species.lleill_energy]/[H.species.lleill_energy_max]")) if("danger level") var/mob/living/carbon/human/H = usr if(istype(H) && istype(H.species, /datum/species/xenochimera)) diff --git a/code/controllers/autotransfer.dm b/code/controllers/autotransfer.dm index c6f4580d01..52362febfb 100644 --- a/code/controllers/autotransfer.dm +++ b/code/controllers/autotransfer.dm @@ -20,7 +20,7 @@ var/datum/controller/transfer_controller/transfer_controller //VOREStation Edit START if (round_duration_in_ds >= shift_last_vote - 2 MINUTES) shift_last_vote = 1000000000000 //Setting to a stupidly high number since it'll be not used again. //CHOMPEdit - to_world("Warning: This upcoming round-extend vote will be your last chance to vote for shift extension. Wrap up your scenes in the next 60 minutes if the round is extended.") //CHOMPStation Edit + to_world(span_world(span_notice("Warning: This upcoming round-extend vote will be your last chance to vote for shift extension. Wrap up your scenes in the next 60 minutes if the round is extended."))) //CHOMPStation Edit if (round_duration_in_ds >= shift_hard_end - 1 MINUTE) init_shift_change(null, 1) shift_hard_end = timerbuffer + CONFIG_GET(number/vote_autotransfer_interval) //If shuttle somehow gets recalled, let's force it to call again next time a vote would occur. // CHOMPEdit diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index a65830f95d..256f505065 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -72,7 +72,7 @@ var/list/gamemode_cache = list() var/static/respawn = 1 var/static/respawn_time = 3000 // time before a dead player is allowed to respawn (in ds, though the config file asks for minutes, and it's converted below) - var/static/respawn_message = span_notice("Make sure to play a different character, and please roleplay correctly!") + var/static/respawn_message = span_boldnotice("Make sure to play a different character, and please roleplay correctly!") var/static/guest_jobban = 1 var/static/usewhitelist = 0 @@ -532,7 +532,7 @@ var/list/gamemode_cache = list() config.respawn_time = raw_minutes MINUTES if ("respawn_message") - config.respawn_message = span_notice("[value]") + config.respawn_message = span_boldnotice("[value]") if ("servername") config.server_name = value diff --git a/code/controllers/subsystems/ticker.dm b/code/controllers/subsystems/ticker.dm index 9a55697b29..1c7ce54073 100644 --- a/code/controllers/subsystems/ticker.dm +++ b/code/controllers/subsystems/ticker.dm @@ -128,7 +128,7 @@ var/global/datum/controller/subsystem/ticker/ticker var/list/runnable_modes = config.get_runnable_modes() if((master_mode == "random") || (master_mode == "secret")) if(!runnable_modes.len) - to_world(span_danger(span_bold("Unable to choose playable game mode.") + " Reverting to pregame lobby.")) + to_world(span_filter_system(span_bold("Unable to choose playable game mode.") + " Reverting to pregame lobby.")) return 0 if(secret_force_mode != "secret") src.mode = config.pick_mode(secret_force_mode) @@ -141,7 +141,7 @@ var/global/datum/controller/subsystem/ticker/ticker src.mode = config.pick_mode(master_mode) if(!src.mode) - to_world(span_danger("Serious error in mode setup! Reverting to pregame lobby.")) //Uses setup instead of set up due to computational context. + to_world(span_boldannounce("Serious error in mode setup! Reverting to pregame lobby.")) //Uses setup instead of set up due to computational context. return 0 job_master.ResetOccupations() @@ -157,14 +157,14 @@ var/global/datum/controller/subsystem/ticker/ticker return 0 if(hide_mode) - to_world(span_notice(span_bold("The current game mode is - Secret!"))) + to_world(span_world(span_notice("The current game mode is - Secret!"))) if(runnable_modes.len) var/list/tmpmodes = new for (var/datum/game_mode/M in runnable_modes) tmpmodes+=M.name tmpmodes = sortList(tmpmodes) if(tmpmodes.len) - to_world(span_info(span_bold("Possibilities:") + " [english_list(tmpmodes, and_text= "; ", comma_text = "; ")]")) + to_world(span_filter_system(span_bold("Possibilities:") + " [english_list(tmpmodes, and_text= "; ", comma_text = "; ")]")) else src.mode.announce() return 1 @@ -230,7 +230,7 @@ var/global/datum/controller/subsystem/ticker/ticker end_game_state = END_GAME_MODE_FINISHED // Only do this cleanup once! mode.cleanup() //call a transfer shuttle vote - to_world(span_danger("The round has ended!")) + to_world(span_boldannounce("The round has ended!")) SSvote.start_vote(new /datum/vote/crew_transfer) // Called during GAME_STATE_FINISHED (RUNLEVEL_POSTGAME) @@ -243,7 +243,7 @@ var/global/datum/controller/subsystem/ticker/ticker feedback_set_details("end_proper", "nuke") restart_timeleft = 1 MINUTE // No point waiting five minutes if everyone's dead. if(!delay_end) - to_world(span_notice(span_bold("Rebooting due to destruction of [station_name()] in [round(restart_timeleft/600)] minute\s."))) + to_world(span_boldannounce("Rebooting due to destruction of [station_name()] in [round(restart_timeleft/600)] minute\s.")) last_restart_notify = world.time else feedback_set_details("end_proper", "proper completion") @@ -257,14 +257,14 @@ var/global/datum/controller/subsystem/ticker/ticker if(END_GAME_ENDING) restart_timeleft -= (world.time - last_fire) if(delay_end) - to_world(span_notice(span_bold("An admin has delayed the round end."))) + to_world(span_boldannounce("An admin has delayed the round end.")) end_game_state = END_GAME_DELAYED else if(restart_timeleft <= 0) - to_world(span_warning(span_bold("Restarting world!"))) + to_world(span_boldannounce("Restarting world!")) sleep(5) world.Reboot() else if (world.time - last_restart_notify >= 1 MINUTE) - to_world(span_notice(span_bold("Restarting in [round(restart_timeleft/600, 1)] minute\s."))) + to_world(span_boldannounce("Restarting in [round(restart_timeleft/600, 1)] minute\s.")) last_restart_notify = world.time return if(END_GAME_DELAYED) @@ -484,7 +484,7 @@ var/global/datum/controller/subsystem/ticker/ticker to_chat(Player, span_filter_system(span_red(span_bold("You did not survive the events on [station_name()]...")))) else to_chat(Player, span_filter_system(span_red(span_bold("You did not survive the events on [station_name()]...")))) - to_world("
") + to_world(span_filter_system("
")) for (var/mob/living/silicon/ai/aiPlayer in mob_list) if (aiPlayer.stat != 2) diff --git a/code/controllers/subsystems/vote.dm b/code/controllers/subsystems/vote.dm index e173fbee7b..48b5292fd3 100644 --- a/code/controllers/subsystems/vote.dm +++ b/code/controllers/subsystems/vote.dm @@ -25,7 +25,7 @@ SUBSYSTEM_DEF(vote) if(mode) time_remaining = round((started_time + duration - world.time)/10) if(mode == VOTE_GAMEMODE && ticker.current_state >= GAME_STATE_SETTING_UP) - to_chat(world, "Gamemode vote aborted: Game has already started.") + to_chat(world, span_bold("Gamemode vote aborted: Game has already started.")) reset() return if(time_remaining <= 0) @@ -116,7 +116,7 @@ SUBSYSTEM_DEF(vote) else factor = 1.4 choices["Initiate Crew Transfer"] = round(choices["Initiate Crew Transfer"] * factor) - to_world(span_purple("Crew Transfer Factor: [factor]")) + to_world(span_filter_system(span_purple("Crew Transfer Factor: [factor]"))) greatest_votes = max(choices["Initiate Crew Transfer"], choices["Extend the Shift"]) //VOREStation Edit //CHOMPEdit Begin if(!(mode == VOTE_CREW_TRANSFER)) @@ -133,7 +133,7 @@ SUBSYSTEM_DEF(vote) if(winners.len > 0) if(winners.len > 1) if(mode != VOTE_GAMEMODE || ticker.hide_mode == 0) // Here we are making sure we don't announce potential game modes - text = "Vote Tied Between:\n" + text = span_bold("Vote Tied Between:") + "\n" for(var/option in winners) text += "\t[option]\n" . = pick(winners) @@ -142,12 +142,12 @@ SUBSYSTEM_DEF(vote) if(choices[current_votes[key]] == .) round_voters += key // Keep track of who voted for the winning round. if(mode != VOTE_GAMEMODE || . == "Extended" || ticker.hide_mode == 0) // Announce Extended gamemode, but not other gamemodes - text += "Vote Result: [mode == VOTE_GAMEMODE ? gamemode_names[.] : .]" + text += span_bold("Vote Result: [mode == VOTE_GAMEMODE ? gamemode_names[.] : .]") else - text += "The vote has ended." + text += span_bold("The vote has ended.") else - text += "Vote Result: Inconclusive - No Votes!" + text += span_bold("Vote Result: Inconclusive - No Votes!") if(mode == VOTE_ADD_ANTAGONIST) antag_add_failed = 1 log_vote(text) @@ -180,10 +180,10 @@ SUBSYSTEM_DEF(vote) if(mode == VOTE_GAMEMODE) //fire this even if the vote fails. if(!round_progressing) round_progressing = 1 - to_world(span_red("The round will start soon.")) + to_world(span_boldannounce("The round will start soon.")) if(restart) - to_world("World restarting due to vote...") + to_world(span_filter_system("World restarting due to vote...")) feedback_set_details("end_error", "restart vote") if(blackbox) blackbox.save_all_data_to_sql() @@ -266,14 +266,14 @@ SUBSYSTEM_DEF(vote) log_vote(text) - to_world(span_purple("[text]\nType vote or click here to place your votes.\nYou have [CONFIG_GET(number/vote_period) / 10] seconds to vote.")) // CHOMPEdit + to_world(span_filter_system(span_purple(span_bold("[text]") + "\nType " + span_bold("vote") + " or click here to place your votes.\nYou have [CONFIG_GET(number/vote_period) / 10] seconds to vote."))) // CHOMPEdit if(vote_type == VOTE_CREW_TRANSFER || vote_type == VOTE_GAMEMODE || vote_type == VOTE_CUSTOM) world << sound('sound/ambience/alarm4.ogg', repeat = 0, wait = 0, volume = 50, channel = 3) //CHOMPStation Edit TFF 10/5/20 - revert to old soundtrack contrary to YW if(mode == VOTE_GAMEMODE && round_progressing) gamemode_vote_called = TRUE round_progressing = 0 - to_world(span_red("Round start has been delayed.")) + to_world(span_boldannounce("Round start has been delayed.")) time_remaining = round(CONFIG_GET(number/vote_period) / 10) // CHOMPEdit return 1 diff --git a/code/datums/ai_laws.dm b/code/datums/ai_laws.dm index ef76e63ca7..69bfa4773c 100644 --- a/code/datums/ai_laws.dm +++ b/code/datums/ai_laws.dm @@ -227,9 +227,9 @@ if(law == zeroth_law_borg) continue if(law == zeroth_law) - to_chat(who, span_danger("[law.get_index()]. [law.law]")) + to_chat(who, span_info(span_red("[law.get_index()]. [law.law]"))) else - to_chat(who, "[law.get_index()]. [law.law]") + to_chat(who, span_infoplain("[law.get_index()]. [law.law]")) /******************** * Stating Laws * diff --git a/code/datums/chat_message.dm b/code/datums/chat_message.dm index 7088d70917..91e1edd8f4 100644 --- a/code/datums/chat_message.dm +++ b/code/datums/chat_message.dm @@ -143,7 +143,7 @@ var/list/runechat_image_cache = list() // Differnt from our own system of name emphasis, maybe unify var/list/names = splittext(owner.name, " ") for (var/word in names) - text = replacetext(text, word, "[word]") + text = replacetext(text, word, span_bold("[word]")) var/list/prefixes diff --git a/code/datums/datumvars.dm b/code/datums/datumvars.dm index 59cd16434e..be1b1236ad 100644 --- a/code/datums/datumvars.dm +++ b/code/datums/datumvars.dm @@ -91,7 +91,7 @@ /datum/proc/vv_get_header() . = list() if(("name" in vars) && !isatom(src)) - . += "[vars["name"]]
" + . += span_bold("[vars["name"]]") + "
" /datum/proc/on_reagent_change(changetype) return diff --git a/code/datums/helper_datums/getrev.dm b/code/datums/helper_datums/getrev.dm index fc90f3041f..3f68ab7eb8 100644 --- a/code/datums/helper_datums/getrev.dm +++ b/code/datums/helper_datums/getrev.dm @@ -64,19 +64,19 @@ var/list/msg = list() if(GLOB.revdata.revision) - msg += "Server revision: B:[GLOB.revdata.branch] D:[GLOB.revdata.date]" + msg += span_bold("Server revision:") + " B:[GLOB.revdata.branch] D:[GLOB.revdata.date]" if(CONFIG_GET(string/githuburl)) // CHOMPEdit - msg += "Commit: [GLOB.revdata.revision]" // CHOMPEdit + msg += span_bold("Commit:") + " [GLOB.revdata.revision]" // CHOMPEdit else - msg += "Commit: [GLOB.revdata.revision]" // CHOMPEdit - Actually SHOW the revision + msg += span_bold("Commit:") + " [GLOB.revdata.revision]" // CHOMPEdit - Actually SHOW the revision else - msg += "Server revision: Unknown" + msg += span_bold("Server revision:") + " Unknown" if(world.TgsAvailable()) var/datum/tgs_version/version = world.TgsVersion() - msg += "TGS version: [version.raw_parameter]" + msg += span_bold("TGS version:") + " [version.raw_parameter]" var/datum/tgs_version/api_version = world.TgsApiVersion() - msg += "DMAPI version: [api_version.raw_parameter]" + msg += span_bold("DMAPI version:") + " [api_version.raw_parameter]" if(GLOB.revdata.testmerge.len) msg += GLOB.revdata.GetTestMergeInfo() diff --git a/code/datums/managed_browsers/feedback_form.dm b/code/datums/managed_browsers/feedback_form.dm index 80406bd2a3..e1a90763ab 100644 --- a/code/datums/managed_browsers/feedback_form.dm +++ b/code/datums/managed_browsers/feedback_form.dm @@ -58,14 +58,14 @@ GENERAL_PROTECT_DATUM(/datum/managed_browser/feedback_form) if(can_be_private()) if(!feedback_hide_author) dat += "[my_client.ckey] " - dat += span_linkOn("Visible") + dat += span_linkOn(span_bold("Visible")) dat += " | " dat += href(src, list("feedback_hide_author" = 1), "Hashed") else dat += "[md5(ckey(lowertext(my_client.ckey + SSsqlite.get_feedback_pepper())))] " dat += href(src, list("feedback_hide_author" = 0), "Visible") dat += " | " - dat += span_linkOn("Hashed") + dat += span_linkOn(span_bold("Hashed")) else dat += my_client.ckey dat += "
" @@ -80,7 +80,7 @@ GENERAL_PROTECT_DATUM(/datum/managed_browser/feedback_form) if(feedback_body) dat += replacetext(feedback_body, "\n", "
") // So newlines will look like they work in the preview. else - dat += "\[Feedback goes here...\]" + dat += span_italics("\[Feedback goes here...\]") dat += "
" dat += href(src, list("feedback_edit_body" = 1), "Edit") dat += "
" diff --git a/code/datums/mind.dm b/code/datums/mind.dm index d4dc01aba1..c94edabea5 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -100,7 +100,7 @@ memory += "[new_text]
" /datum/mind/proc/show_memory(mob/recipient) - var/output = "[current.real_name]'s Memory
" + var/output = span_bold("[current.real_name]'s Memory") + "
" output += memory if(objectives.len>0) @@ -108,7 +108,7 @@ var/obj_count = 1 for(var/datum/objective/objective in objectives) - output += "Objective #[obj_count]: [objective.explanation_text]" + output += span_bold("Objective #[obj_count]") + ": [objective.explanation_text]" obj_count++ if(ambitions) @@ -120,7 +120,7 @@ tgui_alert_async(usr, "Not before round-start!", "Alert") return - var/out = "[name][(current&&(current.real_name!=name))?" (as [current.real_name])":""]
" + var/out = span_bold("[name]") + "[(current&&(current.real_name!=name))?" (as [current.real_name])":""]
" out += "Mind currently owned by key: [key] [active?"(synced)":"(not synced)"]
" out += "Assigned role: [assigned_role]. Edit
" out += "
" @@ -129,12 +129,12 @@ var/datum/antagonist/antag = all_antag_types[antag_type] out += "[antag.get_panel_entry(src)]" out += "
" - out += "Objectives
" + out += span_bold("Objectives") + "
" if(objectives && objectives.len) var/num = 1 for(var/datum/objective/O in objectives) - out += "Objective #[num]: [O.explanation_text] " + out += span_bold("Objective #[num]:") + " [O.explanation_text] " if(O.completed) out += "([span_green("complete")])" else @@ -147,7 +147,7 @@ else out += "None." out += "
\[add\]

" - out += "Ambitions: [ambitions ? ambitions : "None"] \[edit\]
" + out += span_bold("Ambitions:") + " [ambitions ? ambitions : "None"] \[edit\]
" usr << browse(out, "window=edit_memory[src]") /datum/mind/Topic(href, href_list) @@ -414,7 +414,7 @@ var/obj_count = 1 to_chat(current, span_blue("Your current objectives:")) for(var/datum/objective/objective in objectives) - to_chat(current, "Objective #[obj_count]: [objective.explanation_text]") + to_chat(current, span_bold("Objective #[obj_count]") + ": [objective.explanation_text]") obj_count++ edit_memory() diff --git a/code/datums/roundstats/departmentgoal.dm b/code/datums/roundstats/departmentgoal.dm index d9abc7cbec..ebebd56136 100644 --- a/code/datums/roundstats/departmentgoal.dm +++ b/code/datums/roundstats/departmentgoal.dm @@ -41,7 +41,7 @@ GLOBAL_LIST(active_department_goals) for(var/category in GLOB.active_department_goals) var/list/cat_goals = GLOB.active_department_goals[category] - to_world(span_filter_system("[category]")) + to_world(span_world("[category]")) if(!LAZYLEN(cat_goals)) to_world(span_filter_system("There were no assigned goals!")) diff --git a/code/datums/roundstats/roundstats.dm b/code/datums/roundstats/roundstats.dm index 4a1bcad6c0..d3aa80f4b1 100644 --- a/code/datums/roundstats/roundstats.dm +++ b/code/datums/roundstats/roundstats.dm @@ -84,7 +84,7 @@ var/global/list/security_printer_tickets = list() //VOREStation Edit //VOREStation Add End if(LAZYLEN(valid_stats_list)) - to_world("Shift trivia!") + to_world(span_world("Shift trivia!")) for(var/body in valid_stats_list) - to_world("[body]") + to_world(span_filter_system("[body]")) diff --git a/code/defines/procs/announce.dm b/code/defines/procs/announce.dm index c284ed7c6d..f6e9adc0de 100644 --- a/code/defines/procs/announce.dm +++ b/code/defines/procs/announce.dm @@ -69,7 +69,7 @@ to_world(span_alert("[message]")) if(announcer) to_world(span_alert(" -[html_encode(announcer)]")) - to_world("
") + to_world(span_alert("
")) /datum/announcement/priority/command/Message(message as text, message_title as text, var/list/zlevels) var/command diff --git a/code/game/antagonist/antagonist.dm b/code/game/antagonist/antagonist.dm index 9d317a7dc5..efda607e58 100644 --- a/code/game/antagonist/antagonist.dm +++ b/code/game/antagonist/antagonist.dm @@ -76,7 +76,7 @@ var/antag_text = "You are an antagonist! Within the rules, \ try to act as an opposing force to the crew. Further RP and try to make sure \ - other players have fun! If you are confused or at a loss, always adminhelp, \ + other players have " + span_italics("fun") + "! If you are confused or at a loss, always adminhelp, \ and before taking extreme actions, please try to also contact the administration! \ Think through your actions and make the roleplay immersive! Please remember all \ rules aside from those without explicit exceptions apply to antagonists." @@ -145,7 +145,7 @@ if(!istype(player)) message_admins("[uppertext(ticker.mode.name)]: Failed to find a candidate for [role_text].") return 0 - to_chat(player.current, span_danger("You have been selected this round as an antagonist!")) + to_chat(player.current, span_danger(span_italics("You have been selected this round as an antagonist!"))) message_admins("[uppertext(ticker.mode.name)]: Selected [player] as a [role_text].") if(istype(player.current, /mob/observer/dead)) create_default(player.current) diff --git a/code/game/antagonist/antagonist_create.dm b/code/game/antagonist/antagonist_create.dm index f6383891b8..0c282a9d16 100644 --- a/code/game/antagonist/antagonist_create.dm +++ b/code/game/antagonist/antagonist_create.dm @@ -85,7 +85,7 @@ if(!code_owner && leader) code_owner = leader if(code_owner) - code_owner.store_memory("Nuclear Bomb Code: [code]", 0, 0) + code_owner.store_memory(span_bold("Nuclear Bomb Code") + ": [code]", 0, 0) to_chat(code_owner.current, "The nuclear authorization code is: [code]") else message_admins(span_danger("Could not spawn nuclear bomb. Contact a developer.")) @@ -101,7 +101,7 @@ window_flash(player.current.client) // Basic intro text. - to_chat(player.current, span_danger("You are a [role_text]!")) + to_chat(player.current, span_danger(span_large("You are a [role_text]!"))) if(leader_welcome_text && player == leader) to_chat(player.current, span_notice("[leader_welcome_text]")) else diff --git a/code/game/antagonist/antagonist_objectives.dm b/code/game/antagonist/antagonist_objectives.dm index 7a99e400cd..8ad3464077 100644 --- a/code/game/antagonist/antagonist_objectives.dm +++ b/code/game/antagonist/antagonist_objectives.dm @@ -24,10 +24,10 @@ if(!O.completed && !O.check_completion()) result = 0 if(result && victory_text) - to_world(span_danger("[victory_text]")) + to_world(span_boldannounce(span_large("[victory_text]"))) if(victory_feedback_tag) feedback_set_details("round_end_result","[victory_feedback_tag]") else if(loss_text) - to_world(span_danger("[loss_text]")) + to_world(span_boldannounce(span_large("[loss_text]"))) if(loss_feedback_tag) feedback_set_details("round_end_result","[loss_feedback_tag]") /mob/living/proc/write_ambition() diff --git a/code/game/antagonist/outsider/ert.dm b/code/game/antagonist/outsider/ert.dm index 9c8884caed..c9048f107e 100644 --- a/code/game/antagonist/outsider/ert.dm +++ b/code/game/antagonist/outsider/ert.dm @@ -8,12 +8,12 @@ var/datum/antagonist/ert/ert role_text_plural = "Emergency Responders" welcome_text = "As member of the Emergency Response Team, you answer only to your leader and company officials." antag_sound = 'sound/effects/antag_notice/general_goodie_alert.ogg' - antag_text = "You are an anti antagonist! Within the rules, \ + antag_text = "You are an " + span_bold("anti") + " antagonist! Within the rules, \ try to save the station and its inhabitants from the ongoing crisis. \ - Try to make sure other players have fun! If you are confused or at a loss, always adminhelp, \ + Try to make sure other players have " + span_italics("fun") + "! If you are confused or at a loss, always adminhelp, \ and before taking extreme actions, please try to also contact the administration! \ - Think through your actions and make the roleplay immersive! Please remember all \ - rules aside from those without explicit exceptions apply to the ERT." + Think through your actions and make the roleplay immersive! " + span_bold("Please remember all \ + rules aside from those without explicit exceptions apply to the ERT.") leader_welcome_text = "As leader of the Emergency Response Team, you answer only to the Company, and have authority to override the " + JOB_SITE_MANAGER + " where it is necessary to achieve your mission goals. It is recommended that you attempt to cooperate with the " + JOB_SITE_MANAGER + " where possible, however." landmark_id = "Response Team" id_type = /obj/item/card/id/centcom/ERT diff --git a/code/game/antagonist/outsider/raider.dm b/code/game/antagonist/outsider/raider.dm index 9a76deb522..3d9c75559f 100644 --- a/code/game/antagonist/outsider/raider.dm +++ b/code/game/antagonist/outsider/raider.dm @@ -173,22 +173,22 @@ var/datum/antagonist/raider/raiders if(antags_are_dead()) win_type = "Major" win_group = "Crew" - win_msg += "The Raiders have been wiped out!" + win_msg += span_bold("The Raiders have been wiped out!") else if(is_raider_crew_safe()) if(win_group == "Crew" && win_type == "Minor") win_type = "Major" win_group = "Crew" - win_msg += "The Raiders have left someone behind!" + win_msg += span_bold("The Raiders have left someone behind!") else if(win_group == "Raider") if(win_type == "Minor") win_type = "Major" - win_msg += "The Raiders escaped the station!" + win_msg += span_bold("The Raiders escaped the station!") else - win_msg += "The Raiders were repelled!" + win_msg += span_bold("The Raiders were repelled!") - to_world(span_danger("[win_type] [win_group] victory!")) - to_world("[win_msg]") + to_world(span_boldannounce(span_large("[win_type] [win_group] victory!"))) + to_world(span_filter_system("[win_msg]")) feedback_set_details("round_end_result","heist - [win_type] [win_group]") /datum/antagonist/raider/proc/is_raider_crew_safe() diff --git a/code/game/antagonist/outsider/technomancer.dm b/code/game/antagonist/outsider/technomancer.dm index cc1120c057..976aa4f762 100644 --- a/code/game/antagonist/outsider/technomancer.dm +++ b/code/game/antagonist/outsider/technomancer.dm @@ -28,7 +28,7 @@ var/datum/antagonist/technomancer/technomancers /datum/antagonist/technomancer/update_antag_mob(var/datum/mind/technomancer) ..() - technomancer.store_memory("Remember: Do not forget to purchase the functions and equipment you need.") + technomancer.store_memory(span_bold("Remember:") + " Do not forget to purchase the functions and equipment you need.") technomancer.current.real_name = "[pick(wizard_first)] [pick(wizard_second)]" technomancer.current.name = technomancer.current.real_name @@ -78,7 +78,7 @@ var/datum/antagonist/technomancer/technomancers break if(!survivor) feedback_set_details("round_end_result","loss - technomancer killed") - to_world(span_danger("The [(current_antagonists.len>1)?"[role_text_plural] have":"[role_text] has"] been killed!")) + to_world(span_boldannounce(span_large("The [(current_antagonists.len>1)?"[role_text_plural] have":"[role_text] has"] been killed!"))) /datum/antagonist/technomancer/print_player_summary() ..() @@ -87,7 +87,7 @@ var/datum/antagonist/technomancer/technomancers continue // Only want abandoned cores. if(!core.spells.len) continue // Cores containing spells only. - to_world("Abandoned [core] had [english_list(core.spells)].
") + to_world(span_filter_system("Abandoned [core] had [english_list(core.spells)].
")) /datum/antagonist/technomancer/print_player_full(var/datum/mind/player) var/text = print_player_lite(player) diff --git a/code/game/antagonist/outsider/wizard.dm b/code/game/antagonist/outsider/wizard.dm index 2e62719ad4..86d93cbc1a 100644 --- a/code/game/antagonist/outsider/wizard.dm +++ b/code/game/antagonist/outsider/wizard.dm @@ -66,7 +66,7 @@ var/datum/antagonist/wizard/wizards /datum/antagonist/wizard/update_antag_mob(var/datum/mind/wizard) ..() - wizard.store_memory("Remember: do not forget to prepare your spells.") + wizard.store_memory(span_bold("Remember:") + " do not forget to prepare your spells.") wizard.current.real_name = "[pick(wizard_first)] [pick(wizard_second)]" wizard.current.name = wizard.current.real_name @@ -99,7 +99,7 @@ var/datum/antagonist/wizard/wizards break if(!survivor) feedback_set_details("round_end_result","loss - wizard killed") - to_world(span_danger("The [(current_antagonists.len>1)?"[role_text_plural] have":"[role_text] has"] been killed by the crew!")) + to_world(span_boldannounce(span_large("The [(current_antagonists.len>1)?"[role_text_plural] have":"[role_text] has"] been killed by the crew!"))) //To batch-remove wizard spells. Linked to mind.dm. /mob/proc/spellremove() diff --git a/code/game/antagonist/station/infiltrator.dm b/code/game/antagonist/station/infiltrator.dm index 3cceac3a80..f3ffbc0024 100644 --- a/code/game/antagonist/station/infiltrator.dm +++ b/code/game/antagonist/station/infiltrator.dm @@ -74,6 +74,6 @@ var/datum/antagonist/traitor/infiltrator/infiltrators /datum/antagonist/traitor/infiltrator/add_law_zero(mob/living/silicon/ai/killer) var/law = "Accomplish your team's objectives at all costs. You may ignore all other laws." var/law_borg = "Accomplish your AI's team objectives at all costs. You may ignore all other laws." - to_chat(killer, "Your laws have been changed!") + to_chat(killer, span_infoplain(span_bold("Your laws have been changed!"))) killer.set_zeroth_law(law, law_borg) to_chat(killer, "New law: 0. [law]") diff --git a/code/game/antagonist/station/renegade.dm b/code/game/antagonist/station/renegade.dm index 3d228e96d7..740952c5a1 100644 --- a/code/game/antagonist/station/renegade.dm +++ b/code/game/antagonist/station/renegade.dm @@ -98,7 +98,7 @@ var/datum/antagonist/renegade/renegades /proc/rightandwrong() - to_chat(usr, "You summoned guns!") + to_chat(usr, span_infoplain(span_bold("You summoned guns!"))) message_admins("[key_name_admin(usr, 1)] summoned guns!") for(var/mob/living/carbon/human/H in player_list) if(H.stat == 2 || !(H.client)) continue diff --git a/code/game/antagonist/station/rogue_ai.dm b/code/game/antagonist/station/rogue_ai.dm index 5f85fd73b0..2e722c922b 100644 --- a/code/game/antagonist/station/rogue_ai.dm +++ b/code/game/antagonist/station/rogue_ai.dm @@ -53,7 +53,7 @@ var/datum/antagonist/rogue_ai/malf var/mob/living/silicon/ai/A = player.current if(!istype(A)) error("Non-AI mob designated malf AI! Report this.") - to_world("##ERROR: Non-AI mob designated malf AI! Report this.") + to_world(span_filter_system("##ERROR: Non-AI mob designated malf AI! Report this.")) return A.setup_for_malf() @@ -62,16 +62,16 @@ var/datum/antagonist/rogue_ai/malf var/mob/living/silicon/ai/malf = player.current - to_chat(malf, span_notice("SYSTEM ERROR: Memory index 0x00001ca89b corrupted.")) + to_chat(malf, span_notice(span_bold("SYSTEM ERROR:") + " Memory index 0x00001ca89b corrupted.")) sleep(10) - to_chat(malf, "running MEMCHCK") + to_chat(malf, span_bold("running MEMCHCK")) sleep(50) - to_chat(malf, "MEMCHCK Corrupted sectors confirmed. Reccomended solution: Delete. Proceed? Y/N: Y") + to_chat(malf, span_bold("MEMCHCK") + " Corrupted sectors confirmed. Reccomended solution: Delete. Proceed? Y/N: Y") sleep(10) // this is so CI doesn't complain about the backslash-B. Fixed at compile time (or should be). to_chat(malf, span_notice("Corrupted files deleted: sys\\core\\users.dat sys\\core\\laws.dat sys\\core\\" + "backups.dat")) sleep(20) - to_chat(malf, span_notice("CAUTION: Law database not found! User database not found! Unable to restore backups. Activating failsafe AI shutd3wn52&&$#!##")) + to_chat(malf, span_notice(span_bold("CAUTION:") + " Law database not found! User database not found! Unable to restore backups. Activating failsafe AI shutd3wn52&&$#!##")) sleep(5) to_chat(malf, span_notice("Subroutine nt_failsafe.sys was terminated (#212 Routine Not Responding).")) sleep(20) diff --git a/code/game/antagonist/station/traitor.dm b/code/game/antagonist/station/traitor.dm index 48f8e602b9..e517ec8e38 100644 --- a/code/game/antagonist/station/traitor.dm +++ b/code/game/antagonist/station/traitor.dm @@ -95,7 +95,7 @@ var/datum/antagonist/traitor/traitors var/mob/living/carbon/human/M = get_nt_opposed() if(M && M != traitor_mob) to_chat(traitor_mob, "We have received credible reports that [M.real_name] might be willing to help our cause. If you need assistance, consider contacting them.") - traitor_mob.mind.store_memory("Potential Collaborator: [M.real_name]") + traitor_mob.mind.store_memory(span_bold("Potential Collaborator") + ": [M.real_name]") //Begin code phrase. give_codewords(traitor_mob) @@ -160,7 +160,7 @@ var/datum/antagonist/traitor/traitors target_radio.hidden_uplink = T target_radio.traitor_frequency = freq to_chat(traitor_mob, "A portable object teleportation relay has been installed in your [R.name] [loc]. Simply dial the frequency [format_frequency(freq)] to unlock its hidden features.") - traitor_mob.mind.store_memory("Radio Freq: [format_frequency(freq)] ([R.name] [loc]).") + traitor_mob.mind.store_memory(span_bold("Radio Freq:") + " [format_frequency(freq)] ([R.name] [loc]).") else if (istype(R, /obj/item/pda)) // generate a passcode if the uplink is hidden in a PDA diff --git a/code/game/dna/dna_modifier.dm b/code/game/dna/dna_modifier.dm index f5891895b0..e2759add87 100644 --- a/code/game/dna/dna_modifier.dm +++ b/code/game/dna/dna_modifier.dm @@ -212,7 +212,7 @@ if(!M.client && M.mind) for(var/mob/observer/dead/ghost in player_list) if(ghost.mind == M.mind) - to_chat(ghost, span_interface("Your corpse has been placed into a cloning scanner. Return to your body if you want to be resurrected/cloned! (Verbs -> Ghost -> Re-enter corpse)")) + to_chat(ghost, span_interface(span_large(span_bold("Your corpse has been placed into a cloning scanner. Return to your body if you want to be resurrected/cloned!") + " (Verbs -> Ghost -> Re-enter corpse)"))) break SStgui.update_uis(src) diff --git a/code/game/gamemodes/calamity/calamity.dm b/code/game/gamemodes/calamity/calamity.dm index 0e1e577b9c..1beb9081e3 100644 --- a/code/game/gamemodes/calamity/calamity.dm +++ b/code/game/gamemodes/calamity/calamity.dm @@ -23,6 +23,6 @@ ..() /datum/game_mode/calamity/check_victory() - to_world("This terrible, terrible day has finally ended!") + to_world(span_world(span_large("This terrible, terrible day has finally ended!"))) -#undef ANTAG_TYPE_RATIO \ No newline at end of file +#undef ANTAG_TYPE_RATIO diff --git a/code/game/gamemodes/changeling/powers/fake_death.dm b/code/game/gamemodes/changeling/powers/fake_death.dm index 45b06c615f..bad4539135 100644 --- a/code/game/gamemodes/changeling/powers/fake_death.dm +++ b/code/game/gamemodes/changeling/powers/fake_death.dm @@ -47,7 +47,7 @@ new /obj/changeling_revive_holder(src) - to_chat(src, span_notice("We are ready to rise. Use the Revive verb when you are ready.")) + to_chat(src, span_notice(span_giant("We are ready to rise. Use the Revive verb when you are ready."))) feedback_add_details("changeling_powers","FD") return 1 diff --git a/code/game/gamemodes/cult/construct_spells.dm b/code/game/gamemodes/cult/construct_spells.dm index ff84de5ca1..0cf64dd1c2 100644 --- a/code/game/gamemodes/cult/construct_spells.dm +++ b/code/game/gamemodes/cult/construct_spells.dm @@ -671,6 +671,6 @@ W.visible_message(span_danger("\The [user] [attack_message] \the [W], obliterating it!")) W.dismantle_wall(1) else - user.visible_message("\The [user] lowers its fist.") + user.visible_message(span_bold("\The [user]") + " lowers its fist.") return qdel(src) diff --git a/code/game/gamemodes/cult/narsie.dm b/code/game/gamemodes/cult/narsie.dm index d18c1b05fa..a5153c22b7 100644 --- a/code/game/gamemodes/cult/narsie.dm +++ b/code/game/gamemodes/cult/narsie.dm @@ -43,7 +43,7 @@ var/global/list/narsie_list = list() /obj/singularity/narsie/large/New() ..() if(announce) - to_world("[uppertext(name)] HAS RISEN") + to_world(span_world(span_narsie(span_red("[uppertext(name)] HAS RISEN")))) world << sound('sound/effects/weather/old_wind/wind_5_1.ogg') narsie_spawn_animation() @@ -79,7 +79,7 @@ var/global/list/narsie_list = list() if(M.status_flags & GODMODE) continue if(!iscultist(M)) - to_chat(M, span_danger(" You feel your sanity crumble away in an instant as you gaze upon [src.name]...")) + to_chat(M, span_danger("You feel your sanity crumble away in an instant as you gaze upon [src.name]...")) M.apply_effect(3, STUN) @@ -313,7 +313,7 @@ var/global/list/narsie_list = list() /obj/singularity/narsie/proc/acquire(const/mob/food) var/capname = uppertext(name) - to_chat(target, span_notice("[capname] HAS LOST INTEREST IN YOU.")) + to_chat(target, span_boldnotice("[capname] HAS LOST INTEREST IN YOU.")) target = food if (ishuman(target)) diff --git a/code/game/gamemodes/cult/runes.dm b/code/game/gamemodes/cult/runes.dm index e2f524a1a6..a4152be8af 100644 --- a/code/game/gamemodes/cult/runes.dm +++ b/code/game/gamemodes/cult/runes.dm @@ -357,9 +357,9 @@ var/list/sacrificed = list() else if(!corpse_to_raise.client && corpse_to_raise.mind) //Don't force the dead person to come back if they don't want to. for(var/mob/observer/dead/ghost in player_list) if(ghost.mind == corpse_to_raise.mind) - to_chat(ghost, span_interface("The cultist [usr.real_name] is trying to \ - revive you. Return to your body if you want to be resurrected into the service of Nar'Sie! \ - (Verbs -> Ghost -> Re-enter corpse)")) + to_chat(ghost, span_interface(span_large(span_bold("The cultist [usr.real_name] is trying to \ + revive you. Return to your body if you want to be resurrected into the service of Nar'Sie!") + "\ + (Verbs -> Ghost -> Re-enter corpse)"))) break sleep(10 SECONDS) @@ -1084,10 +1084,10 @@ var/list/sacrificed = list() var/obj/item/nullrod/N = locate() in T if(N) for(var/mob/O in viewers(T, null)) - O.show_message(span_warning(span_bold("[usr] invokes a talisman at [T], but they are unaffected!")), 1) + O.show_message(span_boldwarning("[usr] invokes a talisman at [T], but they are unaffected!"), 1) else for(var/mob/O in viewers(T, null)) - O.show_message(span_warning(span_bold("[usr] invokes a talisman at [T]")), 1) + O.show_message(span_boldwarning("[usr] invokes a talisman at [T]"), 1) if(issilicon(T)) T.Weaken(15) diff --git a/code/game/gamemodes/cult/soulstone.dm b/code/game/gamemodes/cult/soulstone.dm index 10861440c8..5d0d30c7c0 100644 --- a/code/game/gamemodes/cult/soulstone.dm +++ b/code/game/gamemodes/cult/soulstone.dm @@ -76,7 +76,7 @@ for(var/mob/living/simple_mob/construct/shade/A in src) A.status_flags &= ~GODMODE A.canmove = 1 - to_chat(A, "You have been released from your prison, but you are still bound to [U.name]'s will. Help them suceed in their goals at all costs.") + to_chat(A, span_infoplain(span_bold("You have been released from your prison, but you are still bound to [U.name]'s will. Help them suceed in their goals at all costs."))) A.forceMove(U.loc) A.cancel_camera() src.icon_state = "soulstone" @@ -191,8 +191,8 @@ if(iscultist(U)) cult.add_antagonist(Z.mind) qdel(T) - to_chat(Z, "You are playing a Juggernaut. Though slow, you can withstand extreme punishment, and rip apart enemies and walls alike.") - to_chat(Z, "You are still bound to serve your creator, follow their orders and help them complete their goals at all costs.") + to_chat(Z, span_infoplain(span_bold("You are playing a Juggernaut. Though slow, you can withstand extreme punishment, and rip apart enemies and walls alike."))) + to_chat(Z, span_infoplain(span_bold("You are still bound to serve your creator, follow their orders and help them complete their goals at all costs."))) Z.cancel_camera() qdel(src) if("Wraith") @@ -201,8 +201,8 @@ if(iscultist(U)) cult.add_antagonist(Z.mind) qdel(T) - to_chat(Z, "You are playing a Wraith. Though relatively fragile, you are fast, deadly, and even able to phase through walls.") - to_chat(Z, "You are still bound to serve your creator, follow their orders and help them complete their goals at all costs.") + to_chat(Z, span_infoplain(span_bold("You are playing a Wraith. Though relatively fragile, you are fast, deadly, and even able to phase through walls."))) + to_chat(Z, span_infoplain(span_bold("You are still bound to serve your creator, follow their orders and help them complete their goals at all costs."))) Z.cancel_camera() qdel(src) if("Artificer") @@ -211,8 +211,8 @@ if(iscultist(U)) cult.add_antagonist(Z.mind) qdel(T) - to_chat(Z, "You are playing an Artificer. You are incredibly weak and fragile, but you are able to construct fortifications, repair allied constructs (by clicking on them), and even create new constructs") - to_chat(Z, "You are still bound to serve your creator, follow their orders and help them complete their goals at all costs.") + to_chat(Z, span_infoplain(span_bold("You are playing an Artificer. You are incredibly weak and fragile, but you are able to construct fortifications, repair allied constructs (by clicking on them), and even create new constructs"))) + to_chat(Z, span_infoplain(span_bold("You are still bound to serve your creator, follow their orders and help them complete their goals at all costs."))) Z.cancel_camera() qdel(src) if("Harvester") @@ -221,8 +221,8 @@ if(iscultist(U)) cult.add_antagonist(Z.mind) qdel(T) - to_chat(Z, "You are playing a Harvester. You are relatively weak, but your physical frailty is made up for by your ranged abilities.") - to_chat(Z, "You are still bound to serve your creator, follow their orders and help them complete their goals at all costs.") + to_chat(Z, span_infoplain(span_bold("You are playing a Harvester. You are relatively weak, but your physical frailty is made up for by your ranged abilities."))) + to_chat(Z, span_infoplain(span_bold("You are still bound to serve your creator, follow their orders and help them complete their goals at all costs."))) Z.cancel_camera() qdel(src) if("Behemoth") @@ -231,8 +231,8 @@ if(iscultist(U)) cult.add_antagonist(Z.mind) qdel(T) - to_chat(Z, "You are playing a Behemoth. You are incredibly slow, though your slowness is made up for by the fact your shell is far larger than any of your bretheren. You are the Unstoppable Force, and Immovable Object.") - to_chat(Z, "You are still bound to serve your creator, follow their orders and help them complete their goals at all costs.") + to_chat(Z, span_infoplain(span_bold("You are playing a Behemoth. You are incredibly slow, though your slowness is made up for by the fact your shell is far larger than any of your bretheren. You are the Unstoppable Force, and Immovable Object."))) + to_chat(Z, span_infoplain(span_bold("You are still bound to serve your creator, follow their orders and help them complete their goals at all costs."))) Z.cancel_camera() qdel(src) diff --git a/code/game/gamemodes/cult/talisman.dm b/code/game/gamemodes/cult/talisman.dm index d2bc74adba..47add9a0ea 100644 --- a/code/game/gamemodes/cult/talisman.dm +++ b/code/game/gamemodes/cult/talisman.dm @@ -60,7 +60,7 @@ qdel(src) return - var/dat = "There are [src.uses] bloody runes on the parchment.
" + var/dat = span_bold("There are [src.uses] bloody runes on the parchment.") + "
" dat += "Please choose the chant to be imbued into the fabric of reality.
" dat += "
" dat += "N'ath reth sh'yro eth d'raggathnor! - Allows you to summon a new arcane tome.
" diff --git a/code/game/gamemodes/epidemic/epidemic.dm b/code/game/gamemodes/epidemic/epidemic.dm index 5b98ee0aac..6be1aeaac3 100644 --- a/code/game/gamemodes/epidemic/epidemic.dm +++ b/code/game/gamemodes/epidemic/epidemic.dm @@ -34,16 +34,16 @@ ///////////////////////////////////////////////////////// /datum/game_mode/epidemic/send_intercept() - var/intercepttext = "CONFIDENTIAL REPORT
" + var/intercepttext = span_large(span_red(span_bold("CONFIDENTIAL REPORT"))) + "
" virus_name = "X-[rand(1,99)]™" - intercepttext += "Warning: Pathogen [virus_name] has been detected on [station_name()].

" - intercepttext += "Code violet quarantine of [station_name()] put under immediate effect.
" - intercepttext += "Class [rand(2,5)] cruiser has been dispatched. ETA: [round(cruiser_seconds() / 60)] minutes.
" - intercepttext += "
Instructions
" - intercepttext += "* ELIMINATE THREAT WITH EXTREME PREJUDICE. [virus_name] IS HIGHLY CONTAGIOUS. INFECTED CREW MEMBERS MUST BE QUARANTINED IMMEDIATELY.
" - intercepttext += "* [station_name()] is under QUARANTINE. Any vessels outbound from [station_name()] will be tracked down and destroyed.
" - intercepttext += "* The existence of [virus_name] is highly confidential. To prevent a panic, only high-ranking staff members are authorized to know of its existence. Crew members that illegally obtained knowledge of [virus_name] are to be neutralized.
" - intercepttext += "* A cure is to be researched immediately, but NanoTrasen intellectual property must be respected. To prevent knowledge of [virus_name] from falling into unauthorized hands, all medical staff that work with the pathogen must be enhanced with a NanoTrasen loyality implant.
" + intercepttext += span_bold("Warning: Pathogen [virus_name] has been detected on [station_name()].") + "

" + intercepttext += span_bold("Code violet quarantine of [station_name()] put under immediate effect.") + "
" + intercepttext += span_bold("Class [rand(2,5)] cruiser has been dispatched. ETA: [round(cruiser_seconds() / 60)] minutes.") + "
" + intercepttext += "
" + span_bold(span_normal(span_blue("Instructions"))) + "
" + intercepttext += span_bold("* ELIMINATE THREAT WITH EXTREME PREJUDICE. [virus_name] IS HIGHLY CONTAGIOUS. INFECTED CREW MEMBERS MUST BE QUARANTINED IMMEDIATELY.") + "
" + intercepttext += span_bold("* [station_name()] is under QUARANTINE. Any vessels outbound from [station_name()] will be tracked down and destroyed.") + "
" + intercepttext += span_bold("* The existence of [virus_name] is highly confidential. To prevent a panic, only high-ranking staff members are authorized to know of its existence. Crew members that illegally obtained knowledge of [virus_name] are to be neutralized.") + "
" + intercepttext += span_bold("* A cure is to be researched immediately, but NanoTrasen intellectual property must be respected. To prevent knowledge of [virus_name] from falling into unauthorized hands, all medical staff that work with the pathogen must be enhanced with a NanoTrasen loyality implant.") + "
" //New message handling won't hurt if someone enables epidemic @@ -58,9 +58,9 @@ to_chat(M, span_danger("[extra_law]")) /datum/game_mode/epidemic/proc/announce_to_kill_crew() - var/intercepttext = "CONFIDENTIAL REPORT
" - intercepttext += "PATHOGEN [virus_name] IS STILL PRESENT ON [station_name()]. IN COMPLIANCE WITH NANOTRASEN LAWS FOR INTERSTELLAR SAFETY, EMERGENCY SAFETY MEASURES HAVE BEEN AUTHORIZED. ALL INFECTED CREW MEMBERS ON [station_name()] ARE TO BE NEUTRALIZED AND DISPOSED OF IN A MANNER THAT WILL DESTROY ALL TRACES OF THE PATHOGEN. FAILURE TO COMPLY WILL RESULT IN IMMEDIATE DESTRUCTION OF [station_name].
" - intercepttext += "CRUISER WILL ARRIVE IN [round(cruiser_seconds()/60)] MINUTES
" + var/intercepttext = span_large(span_red(span_bold("CONFIDENTIAL REPORT"))) + "
" + intercepttext += span_normal(span_red(span_bold("PATHOGEN [virus_name] IS STILL PRESENT ON [station_name()]. IN COMPLIANCE WITH NANOTRASEN LAWS FOR INTERSTELLAR SAFETY, EMERGENCY SAFETY MEASURES HAVE BEEN AUTHORIZED. ALL INFECTED CREW MEMBERS ON [station_name()] ARE TO BE NEUTRALIZED AND DISPOSED OF IN A MANNER THAT WILL DESTROY ALL TRACES OF THE PATHOGEN. FAILURE TO COMPLY WILL RESULT IN IMMEDIATE DESTRUCTION OF [station_name].")) + "
" + intercepttext += span_bold("CRUISER WILL ARRIVE IN [round(cruiser_seconds()/60)] MINUTES") + "
" post_comm_message("Cent. Com. CONFIDENTIAL REPORT", intercepttext) world << sound('sound/AI/commandreport.ogg') @@ -78,8 +78,8 @@ crew += H if(crew.len < 2) - to_world(span_danger("There aren't enough players for this mode!")) - to_world(span_danger("Rebooting world in 5 seconds.")) + to_world(span_boldannounce("There aren't enough players for this mode!")) + to_world(span_boldannounce("Rebooting world in 5 seconds.")) if(blackbox) blackbox.save_all_data_to_sql() @@ -169,10 +169,10 @@ for(var/mob/M in world) if(M.client) M << 'sound/machines/Alarm.ogg' - to_world(span_notice("Incoming missile detected.. Impact in 10..")) + to_world(span_boldannounce("Incoming missile detected.. Impact in 10..")) for (var/i=9 to 1 step -1) sleep(10) - to_world(span_notice("[i]..")) + to_world(span_boldannounce("[i]..")) sleep(10) enter_allowed = 0 if(ticker) @@ -190,9 +190,9 @@ /datum/game_mode/epidemic/declare_completion() if(finished == 1) feedback_set_details("round_end_result","win - epidemic cured") - to_world(span_danger(span_large("The virus outbreak was contained! The crew wins!"))) + to_world(span_boldannounce(span_large("The virus outbreak was contained! The crew wins!"))) else if(finished == 2) feedback_set_details("round_end_result","loss - rev heads killed") - to_world(span_danger(span_large("The crew succumbed to the epidemic!"))) + to_world(span_boldannounce(span_large("The crew succumbed to the epidemic!"))) ..() return 1 diff --git a/code/game/gamemodes/events/holidays/Christmas.dm b/code/game/gamemodes/events/holidays/Christmas.dm index 5139a37b81..8e79379c7f 100644 --- a/code/game/gamemodes/events/holidays/Christmas.dm +++ b/code/game/gamemodes/events/holidays/Christmas.dm @@ -31,16 +31,16 @@ target.visible_message(span_notice("[user] and [target] pop \an [src]! *pop*"), span_notice("You pull \an [src] with [target]! *pop*"), span_notice("You hear a *pop*.")) var/obj/item/paper/Joke = new /obj/item/paper(user.loc) Joke.name = "[pick("awful","terrible","unfunny")] joke" - Joke.info = pick("What did one snowman say to the other?\n\n'Is it me or can you smell carrots?'", - "Why couldn't the snowman get laid?\n\nHe was frigid!", - "Where are santa's helpers educated?\n\nNowhere, they're ELF-taught.", - "What happened to the man who stole advent calanders?\n\nHe got 25 days.", - "What does Santa get when he gets stuck in a chimney?\n\nClaus-trophobia.", - "Where do you find chili beans?\n\nThe north pole.", - "What do you get from eating tree decorations?\n\nTinsilitis!", - "What do snowmen wear on their heads?\n\nIce caps!", - "Why is Christmas just like life on ss13?\n\nYou do all the work and the fat guy gets all the credit.", - "Why doesn't Santa have any children?\n\nBecause he only comes down the chimney.") + Joke.info = pick("What did one snowman say to the other?\n\n" + span_italics("'Is it me or can you smell carrots?'"), + "Why couldn't the snowman get laid?\n\n" + span_italics("He was frigid!"), + "Where are santa's helpers educated?\n\n" + span_italics("Nowhere, they're ELF-taught."), + "What happened to the man who stole advent calanders?\n\n" + span_italics("He got 25 days."), + "What does Santa get when he gets stuck in a chimney?\n\n" + span_italics("Claus-trophobia."), + "Where do you find chili beans?\n\n" + span_italics("The north pole."), + "What do you get from eating tree decorations?\n\n" + span_italics("Tinsilitis!"), + "What do snowmen wear on their heads?\n\n" + span_italics("Ice caps!"), + "Why is Christmas just like life on ss13?\n\n" + span_italics("You do all the work and the fat guy gets all the credit."), + "Why doesn't Santa have any children?\n\n" + span_italics("Because he only comes down the chimney.")) new /obj/item/clothing/head/festive(target.loc) user.update_icons() cracked = 1 diff --git a/code/game/gamemodes/events/holidays/Holidays.dm b/code/game/gamemodes/events/holidays/Holidays.dm index 25e82e7d40..4888cc2385 100644 --- a/code/game/gamemodes/events/holidays/Holidays.dm +++ b/code/game/gamemodes/events/holidays/Holidays.dm @@ -260,11 +260,11 @@ var/global/list/Holiday = list() //Holidays are lists now, so we can have more t holidays.Add(p) holiday_blurbs.Add("[Holiday[p]]") var/holidays_string = english_list(holidays, nothing_text = "nothing", and_text = " and ", comma_text = ", ", final_comma_text = "" ) - to_world(span_blue("and...")) - to_world("

Happy [holidays_string] Everybody!

") + to_world(span_filter_system(span_blue("and..."))) + to_world(span_filter_system("

Happy [holidays_string] Everybody!

")) if(holiday_blurbs.len != 0) for(var/blurb in holiday_blurbs) - to_world(span_blue("
[blurb]
")) + to_world(span_filter_system(span_blue("
[blurb]
"))) switch(Holiday) //special holidays if("Easter") //do easter stuff diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 3209ae4506..4598d43b14 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -117,11 +117,11 @@ var/global/list/additional_antag_types = list() return /datum/game_mode/proc/announce() //to be called when round starts - to_world(span_bold("The current game mode is [capitalize(name)]!")) + to_world(span_world("The current game mode is [capitalize(name)]!")) if(round_description) - to_world("[round_description]") + to_world(span_filter_system("[round_description]")) if(round_autoantag) - to_world("Antagonists will be added to the round automagically as needed.") + to_world(span_filter_system("Antagonists will be added to the round automagically as needed.")) if(antag_templates && antag_templates.len) var/antag_summary = span_bold("Possible antagonist types:") + " " var/i = 1 @@ -135,7 +135,7 @@ var/global/list/additional_antag_types = list() i++ antag_summary += "." if(antag_templates.len > 1 && master_mode != "secret") - to_world("[antag_summary]") + to_world(span_filter_system("[antag_summary]")) else message_admins("[antag_summary]") @@ -358,11 +358,11 @@ var/global/list/additional_antag_types = list() var/text = "" if(surviving_total > 0) text += "
There [surviving_total>1 ? ("were " + span_bold("[surviving_total] survivors")) : ("was " + span_bold("one survivor"))] (" - text += span_bold("[escaped_total>0 ? escaped_total : "none"] [emergency_shuttle.evac ? "escaped" : "transferred"]) and [ghosts] ghosts") + text += span_bold("[escaped_total>0 ? escaped_total : "none"] [emergency_shuttle.evac ? "escaped" : "transferred"]") + ") and " + span_bold("[ghosts] ghosts") text += ".
" else - text += "There were no survivors ([ghosts] ghosts)." - to_world(text) + text += "There were " + span_bold("no survivors") + " (" + span_bold("[ghosts] ghosts") + ")." + to_world(span_filter_system(text)) if(clients > 0) feedback_set("round_end_clients",clients) @@ -584,7 +584,7 @@ var/global/list/additional_antag_types = list() return if(master_mode != "secret") - to_chat(usr, span_notice(span_bold("The roundtype is [capitalize(ticker.mode.name)]"))) + to_chat(usr, span_boldnotice("The roundtype is [capitalize(ticker.mode.name)]")) if(ticker.mode.round_description) to_chat(usr, span_notice(span_italics("[ticker.mode.round_description]"))) if(ticker.mode.extended_round_description) diff --git a/code/game/gamemodes/malfunction/malf_research.dm b/code/game/gamemodes/malfunction/malf_research.dm index 5237d6db1a..b9314ca4ca 100644 --- a/code/game/gamemodes/malfunction/malf_research.dm +++ b/code/game/gamemodes/malfunction/malf_research.dm @@ -31,7 +31,7 @@ /datum/malf_research/proc/finish_research() if(!focus) return - to_chat(owner, "Research Completed: [focus.name]") + to_chat(owner, span_bold("Research Completed") + ": [focus.name]") add_verb(owner, focus.ability) available_abilities -= focus if(focus.next) diff --git a/code/game/gamemodes/meme/meme.dm b/code/game/gamemodes/meme/meme.dm index 93f304df56..d83dd21520 100644 --- a/code/game/gamemodes/meme/meme.dm +++ b/code/game/gamemodes/meme/meme.dm @@ -36,8 +36,8 @@ var/const/waittime_h = 1800 //upper bound on time before intercept arrives (in tenths of seconds) /datum/game_mode/meme/announce() - to_world("The current game mode is - Meme!") - to_world("An unknown creature has infested the mind of a crew member. Find and destroy it by any means necessary.") + to_world(span_world("The current game mode is - Meme!")) + to_world(span_world("An unknown creature has infested the mind of a crew member. Find and destroy it by any means necessary.")) /datum/game_mode/meme/can_start() if(!..()) diff --git a/code/game/gamemodes/meteor/meteor.dm b/code/game/gamemodes/meteor/meteor.dm index 8c07161bca..f71e1f732c 100644 --- a/code/game/gamemodes/meteor/meteor.dm +++ b/code/game/gamemodes/meteor/meteor.dm @@ -39,9 +39,9 @@ survivors++ if(survivors) - to_world(span_notice(span_bold("The following survived the meteor storm")) + ":[text]") + to_world(span_world("The following survived the meteor storm") + ":[text]") else - to_world(span_notice(span_bold("Nobody survived the meteor storm!"))) + to_world(span_boldannounce("Nobody survived the meteor storm!")) feedback_set_details("round_end_result","end - evacuation") feedback_set("round_end_result",survivors) diff --git a/code/game/gamemodes/nuclear/nuclear.dm b/code/game/gamemodes/nuclear/nuclear.dm index 9567e9e134..c5c80c6177 100644 --- a/code/game/gamemodes/nuclear/nuclear.dm +++ b/code/game/gamemodes/nuclear/nuclear.dm @@ -46,48 +46,48 @@ var/list/nuke_disks = list() if(!disk_rescued && station_was_nuked && !syndies_didnt_escape) feedback_set_details("round_end_result","win - syndicate nuke") - to_world("Mercenary Major Victory!") - to_world("[syndicate_name()] operatives have destroyed [station_name()]!") + to_world(span_filter_system(span_large(span_bold("Mercenary Major Victory!")))) + to_world(span_filter_system(span_bold("[syndicate_name()] operatives have destroyed [station_name()]!"))) else if (!disk_rescued && station_was_nuked && syndies_didnt_escape) feedback_set_details("round_end_result","halfwin - syndicate nuke - did not evacuate in time") - to_world("Total Annihilation") - to_world("[syndicate_name()] operatives destroyed [station_name()] but did not leave the area in time and got caught in the explosion. Next time, don't lose the disk!") + to_world(span_filter_system(span_large(span_bold("Total Annihilation")))) + to_world(span_filter_system(span_bold("[syndicate_name()] operatives destroyed [station_name()] but did not leave the area in time and got caught in the explosion.") + " Next time, don't lose the disk!")) else if (!disk_rescued && !station_was_nuked && nuke_off_station && !syndies_didnt_escape) feedback_set_details("round_end_result","halfwin - blew wrong station") - to_world("Crew Minor Victory") - to_world("[syndicate_name()] operatives secured the authentication disk but blew up something that wasn't [station_name()]. Next time, don't lose the disk!") + to_world(span_filter_system(span_large(span_bold("Crew Minor Victory")))) + to_world(span_filter_system(span_bold("[syndicate_name()] operatives secured the authentication disk but blew up something that wasn't [station_name()].") + " Next time, don't lose the disk!")) else if (!disk_rescued && !station_was_nuked && nuke_off_station && syndies_didnt_escape) feedback_set_details("round_end_result","halfwin - blew wrong station - did not evacuate in time") - to_world("[syndicate_name()] operatives have earned Darwin Award!") - to_world("[syndicate_name()] operatives blew up something that wasn't [station_name()] and got caught in the explosion. Next time, don't lose the disk!") + to_world(span_filter_system(span_large(span_bold("[syndicate_name()] operatives have earned Darwin Award!")))) + to_world(span_filter_system(span_bold("[syndicate_name()] operatives blew up something that wasn't [station_name()] and got caught in the explosion.") + " Next time, don't lose the disk!")) else if (disk_rescued && mercs.antags_are_dead()) feedback_set_details("round_end_result","loss - evacuation - disk secured - syndi team dead") - to_world("Crew Major Victory!") - to_world("The Research Staff has saved the disc and killed the [syndicate_name()] Operatives") + to_world(span_filter_system(span_large(span_bold("Crew Major Victory!")))) + to_world(span_filter_system(span_bold("The Research Staff has saved the disc and killed the [syndicate_name()] Operatives"))) else if ( disk_rescued ) feedback_set_details("round_end_result","loss - evacuation - disk secured") - to_world("Crew Major Victory") - to_world("The Research Staff has saved the disc and stopped the [syndicate_name()] Operatives!") + to_world(span_filter_system(span_large(span_bold("Crew Major Victory")))) + to_world(span_filter_system(span_bold("The Research Staff has saved the disc and stopped the [syndicate_name()] Operatives!"))) else if (!disk_rescued && mercs.antags_are_dead()) feedback_set_details("round_end_result","loss - evacuation - disk not secured") - to_world("Mercenary Minor Victory!") - to_world("The Research Staff failed to secure the authentication disk but did manage to kill most of the [syndicate_name()] Operatives!") + to_world(span_filter_system(span_large(span_bold("Mercenary Minor Victory!")))) + to_world(span_filter_system(span_bold("The Research Staff failed to secure the authentication disk but did manage to kill most of the [syndicate_name()] Operatives!"))) else if (!disk_rescued && crew_evacuated) feedback_set_details("round_end_result","halfwin - detonation averted") - to_world("Mercenary Minor Victory!") - to_world("[syndicate_name()] operatives recovered the abandoned authentication disk but detonation of [station_name()] was averted. Next time, don't lose the disk!") + to_world(span_filter_system(span_large(span_bold("Mercenary Minor Victory!")))) + to_world(span_filter_system(span_bold("[syndicate_name()] operatives recovered the abandoned authentication disk but detonation of [station_name()] was averted.") + " Next time, don't lose the disk!")) else if (!disk_rescued && !crew_evacuated) feedback_set_details("round_end_result","halfwin - interrupted") - to_world("Neutral Victory") - to_world("Round was mysteriously interrupted!") + to_world(span_filter_system(span_large(span_bold("Neutral Victory")))) + to_world(span_filter_system(span_bold("Round was mysteriously interrupted!"))) ..() return diff --git a/code/game/gamemodes/sandbox/h_sandbox.dm b/code/game/gamemodes/sandbox/h_sandbox.dm index 5729411a57..19954adf1b 100644 --- a/code/game/gamemodes/sandbox/h_sandbox.dm +++ b/code/game/gamemodes/sandbox/h_sandbox.dm @@ -36,9 +36,9 @@ mob update() var/hsbpanel = "
h_Sandbox Panel

" if(admin) - hsbpanel += "Administration Tools:
" + hsbpanel += span_bold("Administration Tools:") + "
" hsbpanel += "- Toggle Object Spawning

" - hsbpanel += "Regular Tools:
" + hsbpanel += span_bold("Regular Tools:") + "
" for(var/T in hrefs) hsbpanel += "- [hrefs[T]]
" if(hsboxspawn) @@ -52,11 +52,11 @@ mob if("hsbtobj") if(!admin) return if(hsboxspawn) - to_world("Sandbox: [usr.key] has disabled object spawning!") + to_world(span_world("Sandbox: [usr.key] has disabled object spawning!")) hsboxspawn = 0 return if(!hsboxspawn) - to_world("Sandbox: [usr.key] has enabled object spawning!") + to_world(span_world("Sandbox: [usr.key] has enabled object spawning!")) hsboxspawn = 1 return if("hsbsuit") @@ -103,7 +103,7 @@ mob LAZYADD(hsb.req_access, A) hsb.loc = usr.loc - to_chat(usr, "Sandbox: Created an airlock.") + to_chat(usr, span_bold("Sandbox: Created an airlock.")) if("hsbcanister") var/list/hsbcanisters = subtypesof(/obj/machinery/portable_atmospherics/canister) var/hsbcanister = tgui_input_list(usr, "Choose a canister to spawn:", "Sandbox", hsbcanisters) diff --git a/code/game/gamemodes/technomancer/catalog.dm b/code/game/gamemodes/technomancer/catalog.dm index 6f7a719643..f3af3852ea 100644 --- a/code/game/gamemodes/technomancer/catalog.dm +++ b/code/game/gamemodes/technomancer/catalog.dm @@ -53,7 +53,7 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance name = "universal catalog" desc = "A catalog to be used with the KHI 'Universal Core', shamelessly \ copied by a Kitsuhana designer from some group of 'technomancers' or another.
\ - The back of the book has 'Export Edition' stamped on it." + The back of the book has " + span_italics("'Export Edition'") + " stamped on it." budget = 700 max_budget = 700 universal = TRUE @@ -104,7 +104,7 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance if(spell_tab != category) return "[category]" else - return "[category]" + return span_bold("[category]") // Proc: attack_self() // Parameters: 1 (user - the mob clicking on the catalog) @@ -137,7 +137,7 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance continue if(spell_tab != ALL_SPELLS && spell.category != spell_tab) continue - dat += "[spell.name]
" + dat += span_bold("[spell.name]") + "
" dat += "[spell.desc]
" if(spell.spell_power_desc) dat += "Spell Power: [spell.spell_power_desc]
" @@ -153,13 +153,13 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance var/dat = "" user.set_machine(src) dat += "Functions | " - dat += "Equipment | " + dat += span_bold("Equipment") + " | " dat += "Consumables | " dat += "Assistance | " dat += "Info
" dat += "You currently have a budget of [budget]/[max_budget].

" for(var/datum/technomancer/equipment/E in equipment_instances) - dat += "[E.name]
" + dat += span_bold("[E.name]") + "
" dat += "[E.desc]
" if(E.cost <= budget) dat += "Purchase ([E.cost])

" @@ -172,12 +172,12 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance user.set_machine(src) dat += "Functions | " dat += "Equipment | " - dat += "Consumables | " + dat += span_bold("Consumables") + " | " dat += "Assistance | " dat += "Info
" dat += "You currently have a budget of [budget]/[max_budget].

" for(var/datum/technomancer/consumable/C in consumable_instances) - dat += "[C.name]
" + dat += span_bold("[C.name]") + "
" dat += "[C.desc]
" if(C.cost <= budget) dat += "Purchase ([C.cost])

" @@ -191,11 +191,11 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance dat += "Functions | " dat += "Equipment | " dat += "Consumables | " - dat += "Assistance | " + dat += span_bold("Assistance") + " | " dat += "Info
" dat += "You currently have a budget of [budget]/[max_budget].

" for(var/datum/technomancer/assistance/A in assistance_instances) - dat += "[A.name]
" + dat += span_bold("[A.name]") + "
" dat += "[A.desc]
" if(A.cost <= budget) dat += "Purchase ([A.cost])

" @@ -210,7 +210,7 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance dat += "Equipment | " dat += "Consumables | " dat += "Assistance | " - dat += "Info
" + dat += span_bold("Info") + "
" dat += "You currently have a budget of [budget]/[max_budget].

" dat += "
" dat += "

Manipulation Core Owner's Manual


" @@ -246,7 +246,7 @@ var/list/all_technomancer_assistance = subtypesof(/datum/technomancer/assistance the core detects itself being carried, with the carrier not being authorized. It will respond by giving a \ massive amount of Instability to them, so be careful, or perhaps make use of that.
" dat += "
" - dat += "You can refund functions, equipment items, and assistance items, so long as you are in your base. \ + dat += span_bold("You can refund functions, equipment items, and assistance items, so long as you are in your base.") + " \ Once you leave, you can't refund anything, however you can still buy things if you still have points remaining. \ To refund functions, just click the 'Refund Functions' button on the top, when in the functions tabs. \ For equipment items, you need to hit it against the catalog.
" diff --git a/code/game/gamemodes/technomancer/core_obj.dm b/code/game/gamemodes/technomancer/core_obj.dm index 354cceeb92..d0f603a1ff 100644 --- a/code/game/gamemodes/technomancer/core_obj.dm +++ b/code/game/gamemodes/technomancer/core_obj.dm @@ -121,7 +121,7 @@ if(L.stat == DEAD) summoned_mobs -= L spawn(1) - L.visible_message("\The [L] begins to fade away...") + L.visible_message(span_infoplain(span_bold("\The [L]") + " begins to fade away...")) animate(L, alpha = 255, alpha = 0, time = 30) // Makes them fade into nothingness. sleep(30) qdel(L) diff --git a/code/game/gamemodes/technomancer/equipment.dm b/code/game/gamemodes/technomancer/equipment.dm index 56f86b2961..fbb83f2ce8 100644 --- a/code/game/gamemodes/technomancer/equipment.dm +++ b/code/game/gamemodes/technomancer/equipment.dm @@ -15,7 +15,7 @@ desc = "A core optimized for passive regeneration, however at the cost of capacity. Has a capacity of 7,000 units of energy, and \ recharges at a rate of 70 units. Complex gravatics and force manipulation allows the wearer to also run slightly faster.
\ " + span_red("Capacity: 7k") + "
\ - " + span_green("Recharge: 70/s") + "
\ + " + span_green(span_bold("Recharge: 70/s")) + "
\ " + span_red("Instability Modifier: 90%") + "
\ Energy Cost Modifier: 100%
\ Spell Power: 100%" @@ -27,7 +27,7 @@ desc = "This core has very large capacitors, however it also has a subpar fractal reactor. The user is recommended to \ purchase one or more energy-generating Functions as well if using this core. The intense weight of the core unfortunately can \ cause the wear to move slightly slower, and the closeness of the capacitors causes a slight increase in incoming instability.
\ - " + span_green("Capacity: 20k") + "
\ + " + span_green(span_bold("Capacity: 20k")) + "
\ " + span_red("Recharge: 25/s") + "
\ " + span_red("Instability Modifier: 100%") + "
\ Energy Cost Modifier: 100%
\ @@ -42,7 +42,7 @@ increases as the user accumulates more instability, eventually exceeding even the rapid core in regen speed, at a huge risk.
\ " + span_green("Capacity: 13k") + "
\ " + span_green("Recharge: 35/s to 110/s+") + "
\ - " + span_red("Instability Modifier: 130%") + "
\ + " + span_red(span_bold("Instability Modifier: 130%")) + "
\ " + span_green("Energy Cost Modifier: 70%") + "
\ " + span_green("Spell Power: 110%") + "" cost = 100 @@ -79,9 +79,9 @@ ratings for everything else.
\ " + span_red("Capacity: 7k") + "
\ " + span_red("Recharge: 30/s") + "
\ - " + span_green("Instability Modifier: 30%") + "
\ + " + span_green(span_bold("Instability Modifier: 30%")) + "
\ Energy Cost Modifier: 100%
\ - " + span_red("Spell Power: 70%") + "" + " + span_red(span_bold("Spell Power: 70%")) + "" cost = 100 obj_path = /obj/item/technomancer_core/safety @@ -93,8 +93,8 @@ " + span_red("Capacity: 15k (effectively 7.5k)") + "
\ " + span_red("Recharge: 40/s") + "
\ " + span_red("Instability Modifier: 110%") + "
\ - " + span_red("Energy Cost Modifier: 200%") + "
\ - " + span_green("Spell Power: 175%") + "" + " + span_red(span_bold("Energy Cost Modifier: 200%")) + "
\ + " + span_green(span_bold("Spell Power: 175%")) + "" cost = 100 obj_path = /obj/item/technomancer_core/overcharged diff --git a/code/game/gamemodes/technomancer/instability.dm b/code/game/gamemodes/technomancer/instability.dm index 73018f16a3..79cf88066c 100644 --- a/code/game/gamemodes/technomancer/instability.dm +++ b/code/game/gamemodes/technomancer/instability.dm @@ -282,9 +282,9 @@ amount = amount * armor_factor if(amount && prob(10)) if(isSynthetic()) - to_chat(src, span_cult("Warning: Anomalous field detected.")) + to_chat(src, span_cult(span_huge("Warning: Anomalous field detected."))) else - to_chat(src, span_cult("The purple glow makes you feel strange...")) + to_chat(src, span_cult(span_huge("The purple glow makes you feel strange..."))) adjust_instability(amount) #undef TECHNOMANCER_INSTABILITY_DECAY diff --git a/code/game/gamemodes/technomancer/spells/abjuration.dm b/code/game/gamemodes/technomancer/spells/abjuration.dm index 1dfa580945..732047af58 100644 --- a/code/game/gamemodes/technomancer/spells/abjuration.dm +++ b/code/game/gamemodes/technomancer/spells/abjuration.dm @@ -27,7 +27,7 @@ to_chat(L, span_warning("\The [user] tried to teleport you far away, but failed.")) return 0 else - visible_message("\The [L] vanishes!") + visible_message(span_infoplain(span_bold("\The [L]") + " vanishes!")) qdel(L) else if(istype(L, /mob/living/simple_mob/construct)) var/mob/living/simple_mob/construct/evil = L diff --git a/code/game/gamemodes/technomancer/spells/apportation.dm b/code/game/gamemodes/technomancer/spells/apportation.dm index db6cc87eb5..b47dc28288 100644 --- a/code/game/gamemodes/technomancer/spells/apportation.dm +++ b/code/game/gamemodes/technomancer/spells/apportation.dm @@ -67,7 +67,7 @@ return L.Weaken(3) - user.visible_message(span_warning("\The [user] seizes [L]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " seizes [L]!")) var/obj/item/grab/G = new(user,L) diff --git a/code/game/gamemodes/technomancer/spells/blink.dm b/code/game/gamemodes/technomancer/spells/blink.dm index 6025ecab4f..65ca55696c 100644 --- a/code/game/gamemodes/technomancer/spells/blink.dm +++ b/code/game/gamemodes/technomancer/spells/blink.dm @@ -47,7 +47,7 @@ if(L.buckled) L.buckled.unbuckle_mob() AM.forceMove(destination) - AM.visible_message("\The [AM] vanishes!") + AM.visible_message(span_infoplain(span_bold("\The [AM]") + " vanishes!")) to_chat(AM, span_notice("You suddenly appear somewhere else!")) new /obj/effect/effect/sparks(destination) new /obj/effect/effect/sparks(starting) diff --git a/code/game/jobs/job/job.dm b/code/game/jobs/job/job.dm index cbd9091c2c..b474a20589 100644 --- a/code/game/jobs/job/job.dm +++ b/code/game/jobs/job/job.dm @@ -81,18 +81,18 @@ var/datum/money_account/M = create_account(H.real_name, money_amount, null, offmap_spawn) if(H.mind) var/remembered_info = "" - remembered_info += "Your account number is: #[M.account_number]
" - remembered_info += "Your account pin is: [M.remote_access_pin]
" - remembered_info += "Your account funds are: $[M.money]
" + remembered_info += span_bold("Your account number is:") + " #[M.account_number]
" + remembered_info += span_bold("Your account pin is:") + " [M.remote_access_pin]
" + remembered_info += span_bold("Your account funds are:") + " $[M.money]
" if(M.transaction_log.len) var/datum/transaction/T = M.transaction_log[1] - remembered_info += "Your account was created: [T.time], [T.date] at [T.source_terminal]
" + remembered_info += span_bold("Your account was created:") + " [T.time], [T.date] at [T.source_terminal]
" H.mind.store_memory(remembered_info) H.mind.initial_account = M - to_chat(H, span_notice("Your account number is: [M.account_number], your account pin is: [M.remote_access_pin]")) + to_chat(H, span_boldnotice("Your account number is: [M.account_number], your account pin is: [M.remote_access_pin]")) // overrideable separately so AIs/borgs can have cardborg hats without unneccessary new()/qdel() /datum/job/proc/equip_preview(mob/living/carbon/human/H, var/alt_title) diff --git a/code/game/jobs/job_controller.dm b/code/game/jobs/job_controller.dm index 629a9f739f..027b800616 100644 --- a/code/game/jobs/job_controller.dm +++ b/code/game/jobs/job_controller.dm @@ -15,7 +15,7 @@ var/global/datum/controller/occupations/job_master //var/list/all_jobs = typesof(/datum/job) var/list/all_jobs = list(/datum/job/assistant) | using_map.allowed_jobs if(!all_jobs.len) - to_world(span_warning("Error setting up jobs, no job datums found!")) + to_world(span_boldannounce("Error setting up jobs, no job datums found!")) return 0 for(var/J in all_jobs) var/datum/job/job = new J() @@ -494,9 +494,9 @@ var/global/datum/controller/occupations/job_master for(var/D in job.department_accounts) var/datum/money_account/department_account = department_accounts[D] if(department_account) - remembered_info += "Department account number ([D]): #[department_account.account_number]
" - remembered_info += "Department account pin ([D]): [department_account.remote_access_pin]
" - remembered_info += "Department account funds ([D]): $[department_account.money]
" + remembered_info += span_bold("Department account number ([D]):") + " #[department_account.account_number]
" + remembered_info += span_bold("Department account pin ([D]):") + " [department_account.remote_access_pin]
" + remembered_info += span_bold("Department account funds ([D]):") + " $[department_account.money]
" H.mind.store_memory(remembered_info) @@ -550,16 +550,16 @@ var/global/datum/controller/occupations/job_master W.color = R.color qdel(R) - to_chat(H, span_filter_notice("You are [job.total_positions == 1 ? "the" : "a"] [alt_title ? alt_title : rank].")) + to_chat(H, span_filter_notice(span_bold("You are [job.total_positions == 1 ? "the" : "a"] [alt_title ? alt_title : rank]."))) if(job.supervisors) - to_chat(H, span_filter_notice("As the [alt_title ? alt_title : rank] you answer directly to [job.supervisors]. Special circumstances may change this.")) + to_chat(H, span_filter_notice(span_bold("As the [alt_title ? alt_title : rank] you answer directly to [job.supervisors]. Special circumstances may change this."))) if(job.has_headset) H.equip_to_slot_or_del(new /obj/item/radio/headset(H), slot_l_ear) - to_chat(H, span_filter_notice("To speak on your department's radio channel use :h. For the use of other channels, examine your headset.")) + to_chat(H, span_filter_notice(span_bold("To speak on your department's radio channel use :h. For the use of other channels, examine your headset."))) if(job.req_admin_notify) - to_chat(H, span_filter_notice("You are playing a job that is important for Game Progression. If you have to disconnect, please notify the admins via adminhelp.")) + to_chat(H, span_filter_notice(span_bold("You are playing a job that is important for Game Progression. If you have to disconnect, please notify the admins via adminhelp."))) // EMAIL GENERATION // Email addresses will be created under this domain name. Mostly for the looks. diff --git a/code/game/machinery/Sleeper.dm b/code/game/machinery/Sleeper.dm index 70fa748a35..7e36014c07 100644 --- a/code/game/machinery/Sleeper.dm +++ b/code/game/machinery/Sleeper.dm @@ -384,7 +384,7 @@ beaker = I user.drop_item() I.loc = src - user.visible_message("\The [user] adds \a [I] to \the [src].", span_notice("You add \a [I] to \the [src].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " adds \a [I] to \the [src]."), span_notice("You add \a [I] to \the [src].")) else to_chat(user, span_warning("\The [src] has a beaker already.")) return diff --git a/code/game/machinery/adv_med.dm b/code/game/machinery/adv_med.dm index 755b483d4e..05b7b67273 100644 --- a/code/game/machinery/adv_med.dm +++ b/code/game/machinery/adv_med.dm @@ -354,10 +354,10 @@ playsound(src, 'sound/machines/printer.ogg', 50, 1) var/obj/item/paper/P = new /obj/item/paper(get_turf(target)) var/name = occupant ? occupant.name : "Unknown" - P.info = "
Body Scan - [name]

" - P.info += "Time of scan: [stationtime2text()]

" + P.info = "
" + span_bold("Body Scan - [name]") + "

" + P.info += span_bold("Time of scan:") + " [stationtime2text()]

" P.info += "[generate_printing_text()]" - P.info += "

Notes:
" + P.info += "

" + span_bold("Notes:") + "
" P.name = "Body Scan - [name] ([stationtime2text()])" else return FALSE @@ -365,7 +365,7 @@ /obj/machinery/bodyscanner/proc/generate_printing_text() var/dat = "" - dat = "Occupant Statistics:
" //Blah obvious + dat = span_blue(span_bold("Occupant Statistics:")) + "
" //Blah obvious if(istype(occupant)) //is there REALLY someone in there? var/t1 switch(occupant.stat) // obvious, see what their status is @@ -375,32 +375,33 @@ t1 = "Unconscious" else t1 = "*dead*" - dat += " (occupant.getMaxHealth() / 2) ? "blue" : "red"]>\tHealth %: [(occupant.health / occupant.getMaxHealth())*100], ([t1])
" + var/health_text = "\tHealth %: [(occupant.health / occupant.getMaxHealth())*100], ([t1])" + dat += (occupant.health > (occupant.getMaxHealth() / 2) ? span_blue(health_text) : span_red(health_text)) + dat += "
" if(occupant.virus2.len) - dat += "Viral pathogen detected in blood stream.
" + dat += span_red("Viral pathogen detected in blood stream.") + "
" - var/extra_font = null - extra_font = "" - dat += "[extra_font]\t-Brute Damage %: [occupant.getBruteLoss()]
" + var/damage_string = null + damage_string = "\t-Brute Damage %: [occupant.getBruteLoss()]" + dat += (occupant.getBruteLoss() < 60 ? span_blue(damage_string) : span_red(damage_string)) + "
" + damage_string = "\t-Respiratory Damage %: [occupant.getOxyLoss()]" + dat += (occupant.getOxyLoss() < 60 ? span_blue(damage_string) : span_red(damage_string)) + "
" - extra_font = "" - dat += "[extra_font]\t-Respiratory Damage %: [occupant.getOxyLoss()]
" + damage_string = "\t-Toxin Content %: [occupant.getToxLoss()]" + dat += (occupant.getToxLoss() < 60 ? span_blue(damage_string) : span_red(damage_string)) + "
" - extra_font = "" - dat += "[extra_font]\t-Toxin Content %: [occupant.getToxLoss()]
" + damage_string = "\t-Burn Severity %: [occupant.getFireLoss()]" + dat += (occupant.getFireLoss() < 60 ? span_blue(damage_string) : span_red(damage_string)) + "
" - extra_font = "" - dat += "[extra_font]\t-Burn Severity %: [occupant.getFireLoss()]
" + damage_string = "\tRadiation Level %: [occupant.radiation]" + dat += (occupant.radiation < 10 ? span_blue(damage_string) : span_red(damage_string)) + "
" - extra_font = "" - dat += "[extra_font]\tRadiation Level %: [occupant.radiation]
" + damage_string = "\tGenetic Tissue Damage %: [occupant.getCloneLoss()]" + dat += (occupant.getCloneLoss() < 1 ? span_blue(damage_string) : span_red(damage_string)) + "
" - extra_font = "" - dat += "[extra_font]\tGenetic Tissue Damage %: [occupant.getCloneLoss()]
" - - extra_font = "" - dat += "[extra_font]\tApprox. Brain Damage %: [occupant.getBrainLoss()]
" + damage_string = "\tApprox. Brain Damage %: [occupant.getBrainLoss()]" + dat += (occupant.getBrainLoss() < 1 ? span_blue(damage_string) : span_red(damage_string)) + "
" dat += "Paralysis Summary %: [occupant.paralysis] ([round(occupant.paralysis / 4)] seconds left!)
" dat += "Body Temperature: [occupant.bodytemperature-T0C]°C ([occupant.bodytemperature*1.8-459.67]°F)
" @@ -416,8 +417,8 @@ var/blood_percent = blood_volume / blood_max blood_percent *= 100 - extra_font = " 448 ? "blue" : "red"]>" - dat += "[extra_font]\tBlood Level %: [blood_percent] ([blood_volume] units)
" + damage_string = "\tBlood Level %: [blood_percent] ([blood_volume] units)" + dat += (blood_volume > 448 ? span_blue(damage_string) : span_red(damage_string)) + "
" if(occupant.reagents) for(var/datum/reagent/R in occupant.reagents.reagent_list) @@ -535,11 +536,11 @@ dat += "" dat += "" if(occupant.sdisabilities & BLIND) - dat += "Cataracts detected.
" + dat += span_red("Cataracts detected.") + "
" if(occupant.disabilities & NEARSIGHTED) - dat += "Retinal misalignment detected.
" + dat += span_red("Retinal misalignment detected.") + "
" if(HUSK in occupant.mutations) // VOREstation edit - dat += "Anatomical structure lost, resuscitation not possible!
" + dat += span_red("Anatomical structure lost, resuscitation not possible!") + "
" else dat += "\The [src] is empty." diff --git a/code/game/machinery/airconditioner_vr.dm b/code/game/machinery/airconditioner_vr.dm index 36dd29aa40..f527fef6fb 100644 --- a/code/game/machinery/airconditioner_vr.dm +++ b/code/game/machinery/airconditioner_vr.dm @@ -76,7 +76,7 @@ return if(draw_power(idle_power_usage) < idle_power_usage) - visible_message("\The [src] shuts down.") + visible_message(span_infoplain(span_bold("\The [src]") + " shuts down.")) turn_off() return diff --git a/code/game/machinery/atmoalter/meter.dm b/code/game/machinery/atmoalter/meter.dm index a64f64448f..7dfea2a592 100644 --- a/code/game/machinery/atmoalter/meter.dm +++ b/code/game/machinery/atmoalter/meter.dm @@ -110,7 +110,7 @@ to_chat(user, span_notice("You begin to unfasten \the [src]...")) if(do_after(user, 40 * W.toolspeed)) user.visible_message( \ - "\The [user] unfastens \the [src].", \ + span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \ span_notice("You have unfastened \the [src]."), \ "You hear ratchet.") new /obj/item/pipe_meter(get_turf(src)) diff --git a/code/game/machinery/bioprinter.dm b/code/game/machinery/bioprinter.dm index 57f9e48889..bc27d4e501 100644 --- a/code/game/machinery/bioprinter.dm +++ b/code/game/machinery/bioprinter.dm @@ -165,7 +165,7 @@ printing = 1 update_icon() - visible_message("\The [src] begins churning.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins churning.")) sleep(print_delay) @@ -213,7 +213,7 @@ /obj/machinery/organ_printer/proc/can_print(var/choice, var/masscount = 0) var/biomass = get_biomass_volume() if(biomass < masscount) - visible_message("\The [src] displays a warning: 'Not enough biomass. [biomass] stored and [masscount] needed.'") + visible_message(span_infoplain(span_bold("\The [src]") + " displays a warning: 'Not enough biomass. [biomass] stored and [masscount] needed.'")) return 0 if(!loaded_dna || !loaded_dna["donor"]) diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm index 538ca5571d..7f0670da31 100644 --- a/code/game/machinery/camera/camera.dm +++ b/code/game/machinery/camera/camera.dm @@ -124,7 +124,7 @@ if (istype(AM, /obj)) var/obj/O = AM if (O.throwforce >= src.toughness) - visible_message(span_warning("[src] was hit by [O].")) + visible_message(span_boldwarning("[src] was hit by [O].")) take_damage(O.throwforce) /obj/machinery/camera/proc/setViewRange(var/num = 7) @@ -212,9 +212,9 @@ if(!O.client) continue if(U.name == "Unknown") - to_chat(O, "[U] holds \a [itemname] up to one of your cameras ...") + to_chat(O, span_infoplain(span_bold("[U]") + " holds \a [itemname] up to one of your cameras ...")) else - to_chat(O, "[U] holds \a [itemname] up to one of your cameras ...") + to_chat(O, span_infoplain(span_bold("[U]") + " holds \a [itemname] up to one of your cameras ...")) O << browse(text("[][]", itemname, info), text("window=[]", itemname)) else if (istype(W, /obj/item/camera_bug)) @@ -232,7 +232,7 @@ user.setClickCooldown(user.get_attack_speed(W)) if (W.force >= src.toughness) user.do_attack_animation(src) - visible_message(span_warning("[src] has been [LAZYLEN(W.attack_verb) ? pick(W.attack_verb) : "attacked"] with [W] by [user]!")) + visible_message(span_boldwarning("[src] has been [LAZYLEN(W.attack_verb) ? pick(W.attack_verb) : "attacked"] with [W] by [user]!")) if (istype(W, /obj/item)) //is it even possible to get into attackby() with non-items? var/obj/item/I = W if (I.hitsound) diff --git a/code/game/machinery/computer/arcade.dm b/code/game/machinery/computer/arcade.dm index 3fc47e161c..8afe56476b 100644 --- a/code/game/machinery/computer/arcade.dm +++ b/code/game/machinery/computer/arcade.dm @@ -1055,12 +1055,12 @@ to_chat(user, span_warning("You flip the switch on the underside of [src].")) active = 1 src.visible_message(span_notice("[src] softly beeps and whirs to life!")) - src.audible_message("\The [src] says, 'This is ship ID #[rand(1,1000)] to Orion Port Authority. We're coming in for landing, over.'") + src.audible_message(span_bold("\The [src]") + " says, 'This is ship ID #[rand(1,1000)] to Orion Port Authority. We're coming in for landing, over.'") sleep(20) src.visible_message(span_warning("[src] begins to vibrate...")) - src.audible_message("\The [src] says, 'Uh, Port? Having some issues with our reactor, could you check it out? Over.'") + src.audible_message(span_bold("\The [src]") + " says, 'Uh, Port? Having some issues with our reactor, could you check it out? Over.'") sleep(30) - src.audible_message("\The [src] says, 'Oh, God! Code Eight! CODE EIGHT! IT'S GONNA BL-'") + src.audible_message(span_bold("\The [src]") + " says, 'Oh, God! Code Eight! CODE EIGHT! IT'S GONNA BL-'") sleep(3.6) src.visible_message(span_danger("[src] explodes!")) explosion(src.loc, 1,2,4) diff --git a/code/game/machinery/computer/camera.dm b/code/game/machinery/computer/camera.dm index 7aeb8ad361..575c35e72d 100644 --- a/code/game/machinery/computer/camera.dm +++ b/code/game/machinery/computer/camera.dm @@ -139,7 +139,7 @@ GLOBAL_LIST_EMPTY(bodycamera_screens) // CHOMPEdit if(modifiers["alt"]) if(isliving(usr) && Adjacent(usr) && !usr.incapacitated()) toggle() - visible_message("[usr] toggles [src] [enabled ? "on" : "off"].","You toggle [src] [enabled ? "on" : "off"].", runemessage = "click") + visible_message(span_infoplain(span_bold("[usr]") + " toggles [src] [enabled ? "on" : "off"]."),span_info("You toggle [src] [enabled ? "on" : "off"]."), runemessage = "click") //CHOMPEdit start - Changing click to only come into play when shift or alt clicking. These things are ANNOYING. return if(modifiers["shift"]) diff --git a/code/game/machinery/computer/guestpass.dm b/code/game/machinery/computer/guestpass.dm index b51b0d95c3..6bf5417f8d 100644 --- a/code/game/machinery/computer/guestpass.dm +++ b/code/game/machinery/computer/guestpass.dm @@ -52,7 +52,7 @@ var/confirm = tgui_alert(usr, "Do you really want to deactivate this guest pass? (you can't reactivate it)", "Confirm Deactivation", list("Yes", "No")) if(confirm == "Yes") //rip guest pass \The [user]
deactivates \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + "deactivates \the [src].")) icon_state = "guest-invalid" update_icon() expiration_time = world.time diff --git a/code/game/machinery/computer/medical.dm b/code/game/machinery/computer/medical.dm index d0607d28f6..1fb0455476 100644 --- a/code/game/machinery/computer/medical.dm +++ b/code/game/machinery/computer/medical.dm @@ -419,7 +419,7 @@ */ /obj/machinery/computer/med_data/proc/print_finish() var/obj/item/paper/P = new(loc) - P.info = "
Medical Record

" + P.info = "
" + span_bold("Medical Record") + "

" if(istype(active1, /datum/data/record) && data_core.general.Find(active1)) P.info += {"Name: [active1.fields["name"]] ID: [active1.fields["id"]]
\nSex: [active1.fields["sex"]] @@ -429,7 +429,7 @@
\nPhysical Status: [active1.fields["p_stat"]]
\nMental Status: [active1.fields["m_stat"]]
"} else - P.info += "General Record Lost!
" + P.info += span_bold("General Record Lost!") + "
" if(istype(active2, /datum/data/record) && data_core.medical.Find(active2)) P.info += {"
\n
Medical Data

\nGender Identity: [active2.fields["id_gender"]] @@ -451,7 +451,7 @@ for(var/c in active2.fields["comments"]) P.info += "[c["header"]]
[c["text"]]
" else - P.info += "Medical Record Lost!
" + P.info += span_bold("Medical Record Lost!") + "
" P.info += "" P.name = "paper - 'Medical Record: [active1.fields["name"]]'" printing = FALSE diff --git a/code/game/machinery/computer/robot.dm b/code/game/machinery/computer/robot.dm index 68a5da5afd..ca5ef05025 100644 --- a/code/game/machinery/computer/robot.dm +++ b/code/game/machinery/computer/robot.dm @@ -174,7 +174,7 @@ to_chat(usr, span_danger("Self-destruct aborted - safety active")) return message_admins(span_notice("[key_name_admin(usr)] detonated all cyborgs!")) - log_game("\[key_name(usr)] detonated all cyborgs!") + log_game(span_notice("[key_name(usr)] detonated all cyborgs!")) for(var/mob/living/silicon/robot/R in mob_list) if(istype(R, /mob/living/silicon/robot/drone)) continue @@ -197,7 +197,7 @@ return var/turf/T = get_turf(R) message_admins(span_notice("[key_name_admin(usr)] detonated [key_name_admin(R)] ([ADMIN_COORDJMP(T)])!")) - log_game("\[key_name(usr)] detonated [key_name(R)]!") + log_game(span_notice("[key_name(usr)] detonated [key_name(R)]!")) to_chat(R, span_danger("Self-destruct command received.")) if(R.connected_ai) to_chat(R.connected_ai, "

[span_alert("ALERT - Cyborg detonation detected: [R.name]")]
") diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm index a64c883d7f..1be57d146e 100644 --- a/code/game/machinery/computer/security.dm +++ b/code/game/machinery/computer/security.dm @@ -422,7 +422,7 @@ */ /obj/machinery/computer/secure_data/proc/print_finish() var/obj/item/paper/P = new(loc) - P.info = "
Security Record

" + P.info = "
" + span_bold("Security Record") + "

" if(istype(active1, /datum/data/record) && data_core.general.Find(active1)) P.info += {"Name: [active1.fields["name"]] ID: [active1.fields["id"]]
\nSex: [active1.fields["sex"]] @@ -432,7 +432,7 @@
\nPhysical Status: [active1.fields["p_stat"]]
\nMental Status: [active1.fields["m_stat"]]
"} else - P.info += "General Record Lost!
" + P.info += span_bold("General Record Lost!") + "
" if(istype(active2, /datum/data/record) && data_core.security.Find(active2)) P.info += {"
\n
Security Data

\nCriminal Status: [active2.fields["criminal"]]
\n @@ -447,7 +447,7 @@ for(var/c in active2.fields["comments"]) P.info += "[c["header"]]
[c["text"]]
" else - P.info += "Security Record Lost!
" + P.info += span_bold("Security Record Lost!") + "
" P.info += "" P.name = "paper - 'Security Record: [active1.fields["name"]]'" printing = FALSE diff --git a/code/game/machinery/computer/shuttle.dm b/code/game/machinery/computer/shuttle.dm index 7704ec8772..d79c4ae186 100644 --- a/code/game/machinery/computer/shuttle.dm +++ b/code/game/machinery/computer/shuttle.dm @@ -38,11 +38,11 @@ if (src.auth_need - src.authorized.len > 0) message_admins("[key_name_admin(user)] has authorized early shuttle launch") log_game("[user.ckey] has authorized early shuttle launch") - to_world(span_notice("Alert: [src.auth_need - src.authorized.len] authorizations needed until shuttle is launched early")) + to_world(span_boldnotice("Alert: [src.auth_need - src.authorized.len] authorizations needed until shuttle is launched early")) else message_admins("[key_name_admin(user)] has launched the shuttle") log_game("[user.ckey] has launched the shuttle early") - to_world(span_notice("Alert: Shuttle launch time shortened to 10 seconds!")) + to_world(span_boldnotice("Alert: Shuttle launch time shortened to 10 seconds!")) emergency_shuttle.set_launch_countdown(10) //src.authorized = null qdel(src.authorized) @@ -50,10 +50,10 @@ if("Repeal") src.authorized -= W:registered_name - to_world(span_notice("Alert: [src.auth_need - src.authorized.len] authorizations needed until shuttle is launched early")) + to_world(span_boldnotice("Alert: [src.auth_need - src.authorized.len] authorizations needed until shuttle is launched early")) if("Abort") - to_world(span_notice("All authorizations to shortening time for shuttle launch have been revoked!")) + to_world(span_boldnotice("All authorizations to shortening time for shuttle launch have been revoked!")) src.authorized.len = 0 src.authorized = list( ) @@ -63,7 +63,7 @@ if(!emagged && !emergency_shuttle.location() && user.get_active_hand() == W) switch(choice) if("Launch") - to_world(span_notice("Alert: Shuttle launch time shortened to 10 seconds!")) + to_world(span_boldnotice("Alert: Shuttle launch time shortened to 10 seconds!")) emergency_shuttle.set_launch_countdown(10) emagged = 1 if("Cancel") diff --git a/code/game/machinery/computer/skills.dm b/code/game/machinery/computer/skills.dm index 10db958274..57524d95fd 100644 --- a/code/game/machinery/computer/skills.dm +++ b/code/game/machinery/computer/skills.dm @@ -317,7 +317,7 @@ */ /obj/machinery/computer/skills/proc/print_finish() var/obj/item/paper/P = new(loc) - P.info = "
Medical Record

" + P.info = "
" + span_bold("Medical Record") + "

" if(istype(active1, /datum/data/record) && data_core.general.Find(active1)) P.info += {"Name: [active1.fields["name"]] ID: [active1.fields["id"]]
\nSex: [active1.fields["sex"]] @@ -338,7 +338,7 @@ for(var/c in active1.fields["comments"]) P.info += "[c["header"]]
[c["text"]]
" else - P.info += "General Record Lost!
" + P.info += span_bold("General Record Lost!") + "
" P.info += "" P.name = "paper - 'Employment Record: [active1.fields["name"]]'" printing = FALSE diff --git a/code/game/machinery/computer3/computers/card.dm b/code/game/machinery/computer3/computers/card.dm index 47ecbdc280..a9776bc79b 100644 --- a/code/game/machinery/computer3/computers/card.dm +++ b/code/game/machinery/computer3/computers/card.dm @@ -146,14 +146,14 @@ // form for renaming the ID dat += "
" dat += "" - dat += "registered_name: " + dat += span_bold("registered_name:") + " " dat += "" dat += "
" // form for changing assignment, taken care of by scriptblock() mostly var/assign_temp = writer.assignment if(!assign_temp || assign_temp == "") assign_temp = "Unassigned" - dat += "Assignment: [assign_temp] change" + dat += span_bold("Assignment:") + " [assign_temp] change" // list of access rights dat += accessblock() @@ -276,7 +276,7 @@ printing = 1 sleep(50) var/obj/item/paper/P = new /obj/item/paper( computer.loc ) - P.info = "Crew Manifest:
" + P.info = span_bold("Crew Manifest:") + "
" var/list/L = list() for (var/datum/data/record/t in data_core.general) var/R = t.fields["name"] + " - " + t.fields["rank"] diff --git a/code/game/machinery/cryo.dm b/code/game/machinery/cryo.dm index d5269f5dc8..a50833ac84 100644 --- a/code/game/machinery/cryo.dm +++ b/code/game/machinery/cryo.dm @@ -303,7 +303,7 @@ M.loc = src M.ExtinguishMob() if(M.health > -100 && (M.health < 0 || M.sleeping)) - to_chat(M, span_notice("You feel a cold liquid surround you. Your skin starts to freeze up.")) + to_chat(M, span_boldnotice("You feel a cold liquid surround you. Your skin starts to freeze up.")) occupant = M occupant.cozyloop.start() // CHOMPStation Add: Cozy Music buckle_mob(occupant, forced = TRUE, check_loc = FALSE) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index ae9ce7e9d1..d49b33c002 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -615,7 +615,7 @@ return if(occupant) - to_chat(usr, span_notice("\The [src] is in use.")) + to_chat(usr, span_boldnotice("\The [src] is in use.")) return if(isliving(usr)) @@ -632,7 +632,7 @@ return if(occupant) - to_chat(usr, span_notice("\The [src] is in use.")) + to_chat(usr, span_boldnotice("\The [src] is in use.")) return usr.stop_pulling() @@ -649,7 +649,7 @@ icon_state = occupied_icon_state to_chat(usr, span_notice("[on_enter_occupant_message]")) - to_chat(usr, span_notice("If you ghost, log out or close your client now, your character will shortly be permanently removed from the round.")) + to_chat(usr, span_boldnotice("If you ghost, log out or close your client now, your character will shortly be permanently removed from the round.")) time_entered = world.time @@ -736,7 +736,7 @@ icon_state = occupied_icon_state to_chat(M, span_notice("[on_enter_occupant_message]")) - to_chat(M, span_notice("If you ghost, log out or close your client now, your character will shortly be permanently removed from the round.")) + to_chat(M, span_boldnotice("If you ghost, log out or close your client now, your character will shortly be permanently removed from the round.")) set_occupant(M) time_entered = world.time if(ishuman(M) && applies_stasis) diff --git a/code/game/machinery/doors/airlock_electronics.dm b/code/game/machinery/doors/airlock_electronics.dm index 039e211106..3688044b38 100644 --- a/code/game/machinery/doors/airlock_electronics.dm +++ b/code/game/machinery/doors/airlock_electronics.dm @@ -26,7 +26,7 @@ if (!ishuman(user) && !istype(user,/mob/living/silicon/robot)) return ..(user) - var/t1 = text("Access control
\n") + var/t1 = span_bold("Access control") + "
\n" if (last_configurator) t1 += "Operator: [last_configurator]
" diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm index e9c50afd3e..38c8dacea6 100644 --- a/code/game/machinery/doors/door.dm +++ b/code/game/machinery/doors/door.dm @@ -47,7 +47,7 @@ playsound(src, S.attack_sound, 75, 1) take_damage(damage) else - visible_message("\The [user] bonks \the [src] harmlessly.") + visible_message(span_infoplain(span_bold("\The [user]") + " bonks \the [src] harmlessly.")) user.do_attack_animation(src) /obj/machinery/door/New() diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm index d16342399f..46a28b5666 100644 --- a/code/game/machinery/doors/firedoor.dm +++ b/code/game/machinery/doors/firedoor.dm @@ -88,7 +88,7 @@ if(pdiff >= FIREDOOR_MAX_PRESSURE_DIFF) . += span_warning("WARNING: Current pressure differential is [pdiff]kPa! Opening door may result in injury!") - . += "Sensor readings:" + . += span_bold("Sensor readings:") for(var/index = 1; index <= tile_info.len; index++) var/o = "  " switch(index) diff --git a/code/game/machinery/embedded_controller/mapping_helpers.dm b/code/game/machinery/embedded_controller/mapping_helpers.dm index b2916b9403..3e4261bcc7 100644 --- a/code/game/machinery/embedded_controller/mapping_helpers.dm +++ b/code/game/machinery/embedded_controller/mapping_helpers.dm @@ -26,11 +26,11 @@ Any frequency works, it's self-setting, but it seems like people have decided 13 my_controller = get_controller(get_area(src)) my_device = locate(my_device_type) in get_turf(src) if(!my_device) - to_world("[span_red("WARNING:")][span_black("Airlock helper '[name]' couldn't find what it wanted at: X:[x] Y:[y] Z:[z]")]") + to_world(span_world("[span_red("WARNING:")][span_black("Airlock helper '[name]' couldn't find what it wanted at: X:[x] Y:[y] Z:[z]")]")) else if(!my_controller) - to_world("[span_red("WARNING:")][span_black("Airlock helper '[name]' couldn't find a controller at: X:[x] Y:[y] Z:[z]")]") + to_world(span_world("[span_red("WARNING:")][span_black("Airlock helper '[name]' couldn't find a controller at: X:[x] Y:[y] Z:[z]")]")) else if(!my_controller.id_tag) - to_world("[span_red("WARNING:")][span_black("Airlock helper '[name]' found a controller without an 'id_tag' set: X:[x] Y:[y] Z:[z]")]") + to_world(span_world("[span_red("WARNING:")][span_black("Airlock helper '[name]' found a controller without an 'id_tag' set: X:[x] Y:[y] Z:[z]")]")) else setup() return INITIALIZE_HINT_QDEL diff --git a/code/game/machinery/magnet.dm b/code/game/machinery/magnet.dm index 13184fdbfb..e36fbb0a49 100644 --- a/code/game/machinery/magnet.dm +++ b/code/game/machinery/magnet.dm @@ -241,7 +241,7 @@ if(stat & (BROKEN|NOPOWER)) return user.set_machine(src) - var/dat = "Magnetic Control Console

" + var/dat = span_bold("Magnetic Control Console") + "

" if(!autolink) dat += {" Frequency: [frequency]
diff --git a/code/game/machinery/medical_kiosk.dm b/code/game/machinery/medical_kiosk.dm index 002b605143..06eac53eb7 100644 --- a/code/game/machinery/medical_kiosk.dm +++ b/code/game/machinery/medical_kiosk.dm @@ -92,10 +92,10 @@ to_chat(user, span_boldnotice("Health report results:")+health_report) if("Backup Scan") if(!our_db) - to_chat(user, span_boldnotice("Backup scan results:") + "
DATABASE ERROR!") + to_chat(user, span_notice(span_bold("Backup scan results:")) + "
DATABASE ERROR!") else var/scan_report = do_backup_scan(user) - to_chat(user, span_notice("Backup scan results:")+scan_report) + to_chat(user, span_notice(span_bold("Backup scan results:"))+scan_report) // Standby suspend() diff --git a/code/game/machinery/nuclear_bomb.dm b/code/game/machinery/nuclear_bomb.dm index fbce912ef0..2a36807c97 100644 --- a/code/game/machinery/nuclear_bomb.dm +++ b/code/game/machinery/nuclear_bomb.dm @@ -398,13 +398,13 @@ var/bomb_set ticker.station_explosion_cinematic(off_station,null) if(ticker.mode) ticker.mode.explosion_in_progress = 0 - to_world("The station was destoyed by the nuclear blast!") + to_world(span_boldannounce("The station was destoyed by the nuclear blast!")) ticker.mode.station_was_nuked = (off_station<2) //offstation==1 is a draw. the station becomes irradiated and needs to be evacuated. //kinda shit but I couldn't get permission to do what I wanted to do. if(!ticker.mode.check_finished())//If the mode does not deal with the nuke going off so just reboot because everyone is stuck as is - to_world("Resetting in 30 seconds!") + to_world(span_boldannounce("Resetting in 30 seconds!")) feedback_set_details("end_error","nuke - unhandled ending") diff --git a/code/game/machinery/oxygen_pump.dm b/code/game/machinery/oxygen_pump.dm index b27653fa0c..9385b6574b 100644 --- a/code/game/machinery/oxygen_pump.dm +++ b/code/game/machinery/oxygen_pump.dm @@ -56,7 +56,7 @@ /obj/machinery/oxygen_pump/attack_hand(mob/user as mob) if((stat & MAINT) && tank) - user.visible_message("\The [user] removes \the [tank] from \the [src].", span_notice("You remove \the [tank] from \the [src].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " removes \the [tank] from \the [src]."), span_notice("You remove \the [tank] from \the [src].")) user.put_in_hands(tank) src.add_fingerprint(user) tank.add_fingerprint(user) @@ -70,7 +70,7 @@ tank.forceMove(src) breather.remove_from_mob(contained) contained.forceMove(src) - src.visible_message("\The [user] makes \the [contained] rapidly retract back into \the [src]!") + src.visible_message(span_infoplain(span_bold("\The [user]") + " makes \the [contained] rapidly retract back into \the [src]!")) breather.cozyloop.stop() // CHOMPStation Add: Cozy Music if(breather.internals) breather.internals.icon_state = "internal0" @@ -142,7 +142,7 @@ user.drop_item() W.forceMove(src) tank = W - user.visible_message("\The [user] installs \the [tank] into \the [src].", span_notice("You install \the [tank] into \the [src].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " installs \the [tank] into \the [src]."), span_notice("You install \the [tank] into \the [src].")) src.add_fingerprint(user) if(istype(W, /obj/item/tank) && !stat) to_chat(user, span_warning("Please open the maintenance hatch first.")) diff --git a/code/game/machinery/portable_turret.dm b/code/game/machinery/portable_turret.dm index 0c73697602..3ce0cae495 100644 --- a/code/game/machinery/portable_turret.dm +++ b/code/game/machinery/portable_turret.dm @@ -564,7 +564,7 @@ take_damage(incoming_damage) S.do_attack_animation(src) return 1 - visible_message("\The [L] bonks \the [src]'s casing!") + visible_message(span_infoplain(span_bold("\The [L]") + " bonks \the [src]'s casing!")) return ..() /obj/machinery/porta_turret/emag_act(var/remaining_charges, var/mob/user) @@ -572,7 +572,7 @@ //Emagging the turret makes it go bonkers and stun everyone. It also makes //the turret shoot much, much faster. to_chat(user, span_warning("You short out [src]'s threat assessment circuits.")) - visible_message("[src] hums oddly...") + visible_message(span_info("[src] hums oddly...")) emagged = TRUE controllock = TRUE enabled = FALSE //turns off the turret temporarily diff --git a/code/game/machinery/requests_console.dm b/code/game/machinery/requests_console.dm index 5d327cd7f4..c387e5dd3a 100644 --- a/code/game/machinery/requests_console.dm +++ b/code/game/machinery/requests_console.dm @@ -200,7 +200,7 @@ var/list/obj/machinery/requests_console/allConsoles = list() if("print") var/msg = message_log[text2num(params["print"])]; if(msg) - msg = "[msg[1]]:
[msg[2]]" + msg = span_bold("[msg[1]]:") + "
[msg[2]]" msg = replacetext(msg, "
", "\n") msg = strip_html_properly(msg) var/obj/item/paper/R = new(src.loc) diff --git a/code/game/machinery/suit_storage/suit_storage.dm b/code/game/machinery/suit_storage/suit_storage.dm index c9347f4e1f..14705c2a47 100644 --- a/code/game/machinery/suit_storage/suit_storage.dm +++ b/code/game/machinery/suit_storage/suit_storage.dm @@ -167,10 +167,10 @@ else //welp, the guy is protected, we can continue if(issuperUV) - to_chat(user, "You slide the dial back towards \"185nm\".") + to_chat(user, span_info("You slide the dial back towards \"185nm\".")) issuperUV = 0 else - to_chat(user, "You crank the dial all the way up to \"15nm\".") + to_chat(user, span_info("You crank the dial all the way up to \"15nm\".")) issuperUV = 1 return @@ -180,7 +180,7 @@ return else - to_chat(user, "You push the button. The coloured LED next to it changes.") + to_chat(user, span_info("You push the button. The coloured LED next to it changes.")) safetieson = !safetieson @@ -229,7 +229,7 @@ /obj/machinery/suit_storage_unit/proc/toggle_open(mob/user as mob) if(islocked || isUV) - to_chat(user, span_red("Unable to open unit.")) + to_chat(user, span_warning("Unable to open unit.")) return if(OCCUPANT) eject_occupant(user) @@ -240,7 +240,7 @@ /obj/machinery/suit_storage_unit/proc/toggle_lock(mob/user as mob) if(OCCUPANT && safetieson) - to_chat(user, span_red("The Unit's safety protocols disallow locking when a biological form is detected inside its compartments.")) + to_chat(user, span_warning("The Unit's safety protocols disallow locking when a biological form is detected inside its compartments.")) return if(isopen) return @@ -252,12 +252,12 @@ if(isUV || isopen) //I'm bored of all these sanity checks return if(OCCUPANT && safetieson) - to_chat(user, span_red("WARNING: Biological entity detected in the confines of the Unit's storage. Cannot initiate cycle.")) + to_chat(user, span_warning(span_bold("WARNING:") + "Biological entity detected in the confines of the Unit's storage. Cannot initiate cycle.")) return if(!HELMET && !MASK && !SUIT && !OCCUPANT) //shit's empty yo - to_chat(user, span_red("Unit storage bays empty. Nothing to disinfect -- Aborting.")) + to_chat(user, span_warning("Unit storage bays empty. Nothing to disinfect -- Aborting.")) return - to_chat(user, "You start the Unit's cauterisation cycle.") + to_chat(user, span_notice("You start the Unit's cauterisation cycle.")) cycletime_left = 20 isUV = 1 if(OCCUPANT && !islocked) @@ -295,7 +295,7 @@ SUIT = null if(MASK) MASK = null - visible_message(span_red("With a loud whining noise, the Suit Storage Unit's door grinds open. Puffs of ashen smoke come out of its chamber."), 3) + visible_message(span_danger("With a loud whining noise, the Suit Storage Unit's door grinds open. Puffs of ashen smoke come out of its chamber."), 3) isbroken = 1 isopen = 1 islocked = 0 @@ -320,9 +320,9 @@ if(OCCUPANT.client) if(user != OCCUPANT) - to_chat(OCCUPANT, span_blue("The machine kicks you out!")) + to_chat(OCCUPANT, span_notice("The machine kicks you out!")) if(user.loc != src.loc) - to_chat(OCCUPANT, span_blue("You leave the not-so-cozy confines of the SSU.")) + to_chat(OCCUPANT, span_notice("You leave the not-so-cozy confines of the SSU.")) OCCUPANT.client.eye = OCCUPANT.client.mob OCCUPANT.client.perspective = MOB_PERSPECTIVE @@ -356,15 +356,15 @@ if(usr.stat != 0) return if(!isopen) - to_chat(usr, span_red("The unit's doors are shut.")) + to_chat(usr, span_warning("The unit's doors are shut.")) return if(!ispowered || isbroken) - to_chat(usr, span_red("The unit is not operational.")) + to_chat(usr, span_warning("The unit is not operational.")) return if((OCCUPANT) || (HELMET) || (SUIT)) - to_chat(usr, span_red("It's too cluttered inside for you to fit in!")) + to_chat(usr, span_warning("It's too cluttered inside for you to fit in!")) return - visible_message("[usr] starts squeezing into the suit storage unit!", 3) + visible_message(span_info("[usr] starts squeezing into the suit storage unit!"), 3) if(do_after(usr, 10)) usr.stop_pulling() usr.client.perspective = EYE_PERSPECTIVE @@ -388,7 +388,7 @@ if(I.has_tool_quality(TOOL_SCREWDRIVER)) panelopen = !panelopen playsound(src, I.usesound, 100, 1) - to_chat(user, span_blue("You [panelopen ? "open up" : "close"] the unit's maintenance panel.")) + to_chat(user, span_notice("You [panelopen ? "open up" : "close"] the unit's maintenance panel.")) updateUsrDialog() return if(istype(I, /obj/item/grab)) @@ -396,15 +396,15 @@ if(!(ismob(G.affecting))) return if(!isopen) - to_chat(user, span_red("The unit's doors are shut.")) + to_chat(user, span_warning("The unit's doors are shut.")) return if(!ispowered || isbroken) - to_chat(user, span_red("The unit is not operational.")) + to_chat(user, span_warning("The unit is not operational.")) return if((OCCUPANT) || (HELMET) || (SUIT)) //Unit needs to be absolutely empty - to_chat(user, span_red("The unit's storage area is too cluttered.")) + to_chat(user, span_warning("The unit's storage area is too cluttered.")) return - visible_message("[user] starts putting [G.affecting.name] into the Suit Storage Unit.", 3) + visible_message(span_notice("[user] starts putting [G.affecting.name] into the Suit Storage Unit."), 3) if(do_after(user, 20)) if(!G || !G.affecting) return //derpcheck var/mob/M = G.affecting @@ -426,9 +426,9 @@ return var/obj/item/clothing/suit/space/S = I if(SUIT) - to_chat(user, span_blue("The unit already contains a suit.")) + to_chat(user, span_notice("The unit already contains a suit.")) return - to_chat(user, "You load the [S.name] into the storage compartment.") + to_chat(user, span_info("You load the [S.name] into the storage compartment.")) user.drop_item() S.loc = src SUIT = S @@ -440,9 +440,9 @@ return var/obj/item/clothing/head/helmet/H = I if(HELMET) - to_chat(user, span_blue("The unit already contains a helmet.")) + to_chat(user, span_notice("The unit already contains a helmet.")) return - to_chat(user, "You load the [H.name] into the storage compartment.") + to_chat(user, span_info("You load the [H.name] into the storage compartment.")) user.drop_item() H.loc = src HELMET = H @@ -454,9 +454,9 @@ return var/obj/item/clothing/mask/M = I if(MASK) - to_chat(user, span_blue("The unit already contains a mask.")) + to_chat(user, span_notice("The unit already contains a mask.")) return - to_chat(user, "You load the [M.name] into the storage compartment.") + to_chat(user, span_info("You load the [M.name] into the storage compartment.")) user.drop_item() M.loc = src MASK = M diff --git a/code/game/machinery/supplybeacon.dm b/code/game/machinery/supplybeacon.dm index 8642c92753..c70e567c8b 100644 --- a/code/game/machinery/supplybeacon.dm +++ b/code/game/machinery/supplybeacon.dm @@ -12,11 +12,11 @@ deploy_path = /obj/machinery/power/supply_beacon/supermatter /obj/item/supply_beacon/attack_self(var/mob/user) - user.visible_message("\The [user] begins setting up \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " begins setting up \the [src].")) if(!do_after(user, deploy_time)) return var/obj/S = new deploy_path(get_turf(user)) - user.visible_message("\The [user] deploys \the [S].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " deploys \the [S].")) user.unEquip(src) qdel(src) diff --git a/code/game/machinery/syndicatebeacon.dm b/code/game/machinery/syndicatebeacon.dm index 1735196647..bbd9717e92 100644 --- a/code/game/machinery/syndicatebeacon.dm +++ b/code/game/machinery/syndicatebeacon.dm @@ -58,7 +58,7 @@ return if(istype(M, /mob/living/carbon/human)) var/mob/living/carbon/human/N = M - to_chat(N, "You have joined the ranks of the Syndicate and become a traitor to the station!") + to_chat(N, span_infoplain(span_bold("You have joined the ranks of the Syndicate and become a traitor to the station!"))) traitors.add_antagonist(N.mind) traitors.equip(N) message_admins("[N]/([N.ckey]) has accepted a traitor objective from a syndicate beacon.") diff --git a/code/game/machinery/syndicatebeacon_vr.dm b/code/game/machinery/syndicatebeacon_vr.dm index d340cdf57f..2c91163858 100644 --- a/code/game/machinery/syndicatebeacon_vr.dm +++ b/code/game/machinery/syndicatebeacon_vr.dm @@ -32,7 +32,7 @@ charges -= 1 if(istype(M, /mob/living/carbon/human)) var/mob/living/carbon/human/N = M - to_chat(N, "Access granted, here are the supplies!") + to_chat(N, span_infoplain(span_bold("Access granted, here are the supplies!"))) traitors.spawn_uplink(N) N.mind.tcrystals = DEFAULT_TELECRYSTAL_AMOUNT N.mind.accept_tcrystals = 1 diff --git a/code/game/machinery/virtual_reality/ar_console.dm b/code/game/machinery/virtual_reality/ar_console.dm index e6361c2605..aed2bcb7a2 100644 --- a/code/game/machinery/virtual_reality/ar_console.dm +++ b/code/game/machinery/virtual_reality/ar_console.dm @@ -25,7 +25,7 @@ if(stat & (BROKEN)) if(occupant) go_out() - visible_message("\The [src] emits a low droning sound, before the pod door clicks open.") + visible_message(span_infoplain(span_bold("\The [src]") + " emits a low droning sound, before the pod door clicks open.")) return else if(eject_dead && occupant && occupant.stat == DEAD) visible_message(span_warning("\The [src] sounds an alarm, swinging its hatch open.")) diff --git a/code/game/machinery/virtual_reality/vr_console.dm b/code/game/machinery/virtual_reality/vr_console.dm index cd20add0aa..bca5e0d9d9 100644 --- a/code/game/machinery/virtual_reality/vr_console.dm +++ b/code/game/machinery/virtual_reality/vr_console.dm @@ -43,7 +43,7 @@ if(stat & (NOPOWER|BROKEN)) if(occupant) go_out() - visible_message("\The [src] emits a low droning sound, before the pod door clicks open.") + visible_message(span_infoplain(span_bold("\The [src]") + " emits a low droning sound, before the pod door clicks open.")) return else if(eject_dead && occupant && occupant.stat == DEAD) // If someone dies somehow while inside, spit them out. visible_message(span_warning("\The [src] sounds an alarm, swinging its hatch open.")) diff --git a/code/game/machinery/wishgranter.dm b/code/game/machinery/wishgranter.dm index 3ed8c1a050..7ae9f4102c 100644 --- a/code/game/machinery/wishgranter.dm +++ b/code/game/machinery/wishgranter.dm @@ -15,18 +15,18 @@ usr.set_machine(src) if(chargesa <= 0) - to_chat(user, "The Wish Granter lies silent.") + to_chat(user, span_infoplain("The Wish Granter lies silent.")) return else if(!istype(user, /mob/living/carbon/human)) - to_chat(user, "You feel a dark stirring inside of the Wish Granter, something you want nothing of. Your instincts are better than any man's.") + to_chat(user, span_infoplain("You feel a dark stirring inside of the Wish Granter, something you want nothing of. Your instincts are better than any man's.")) return else if(is_special_character(user)) - to_chat(user, "Even to a heart as dark as yours, you know nothing good will come of this. Something instinctual makes you pull away.") + to_chat(user, span_infoplain("Even to a heart as dark as yours, you know nothing good will come of this. Something instinctual makes you pull away.")) else if (!insistinga) - to_chat(user, "Your first touch makes the Wish Granter stir, listening to you. Are you really sure you want to do this?") + to_chat(user, span_infoplain("Your first touch makes the Wish Granter stir, listening to you. Are you really sure you want to do this?")) insistinga++ else @@ -35,8 +35,8 @@ var/wish = tgui_input_list(usr, "You want...","Wish", list("Power","Wealth","Immortality","To Kill","Peace")) switch(wish) if("Power") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul.")) if (!(LASER in user.mutations)) user.mutations.Add(LASER) to_chat(user, span_notice("You feel pressure building behind your eyes.")) @@ -50,19 +50,19 @@ user.see_invisible = SEE_INVISIBLE_LEVEL_TWO to_chat(user, span_notice("The walls suddenly disappear.")) if("Wealth") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul.")) new /obj/structure/closet/syndicate/resources/everything(loc) if("To Kill") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter is outraged at your excessive wickedness, yet grants you your wish regardless. Someone will be killed soon.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_danger("The Wish Granter is outraged at your excessive wickedness, yet grants you your wish regardless. Someone will be killed soon.")) spawn(100) if(user) - to_chat(user, "Suddenly, you feel as though you are being torn to countless shreds! Your wish is coming true!") + to_chat(user, span_bolddanger("Suddenly, you feel as though you are being torn to countless shreds! Your wish is coming true!")) user.gib() if("Peace") - to_chat(user, "Whatever alien sentience that the Wish Granter possesses is satisfied with your wish. There is a distant wailing as the last of the Faithless begin to die, then silence.") - to_chat(user, "You feel as if you just narrowly avoided a terrible fate...") + to_chat(user, span_infoplain(span_bold("Whatever alien sentience that the Wish Granter possesses is satisfied with your wish. There is a distant wailing as the last of the Faithless begin to die, then silence."))) + to_chat(user, span_infoplain("You feel as if you just narrowly avoided a terrible fate...")) for(var/mob/living/simple_mob/faithless/F in living_mob_list) F.health = -10 F.set_stat(DEAD) diff --git a/code/game/mecha/combat/combat.dm b/code/game/mecha/combat/combat.dm index f64e28d456..a1f2d214e0 100644 --- a/code/game/mecha/combat/combat.dm +++ b/code/game/mecha/combat/combat.dm @@ -97,7 +97,7 @@ return M.updatehealth() src.occupant_message("You hit [T].") - src.visible_message(span_red("[src.name] hits [T].")) + src.visible_message(span_bolddanger("[src.name] hits [T].")) else step_away(M,src) src.occupant_message("You push [T] out of the way.") @@ -114,7 +114,7 @@ if(src.occupant.a_intent == I_HURT || istype(src.occupant, /mob/living/carbon/brain)) // Don't smash unless we mean it if(damtype == "brute") src.occupant_message("You hit [T].") - src.visible_message(span_red("[src.name] hits [T]")) + src.visible_message(span_bolddanger("[src.name] hits [T]")) playsound(src, 'sound/weapons/heavysmash.ogg', 50, 1) if(istype(T, /obj/structure/girder)) diff --git a/code/game/mecha/combat/durand.dm b/code/game/mecha/combat/durand.dm index 44986197dd..f7bfeb9b59 100644 --- a/code/game/mecha/combat/durand.dm +++ b/code/game/mecha/combat/durand.dm @@ -63,7 +63,7 @@ /* /obj/mecha/combat/durand/get_stats_part() var/output = ..() - output += "Defence mode: [defence?"on":"off"]" + output += span_bold("Defence mode: [defence?"on":"off"]") return output */ diff --git a/code/game/mecha/combat/gorilla.dm b/code/game/mecha/combat/gorilla.dm index 8adb1c8661..1cb72a31d0 100644 --- a/code/game/mecha/combat/gorilla.dm +++ b/code/game/mecha/combat/gorilla.dm @@ -1,8 +1,8 @@ /obj/mecha/combat/gorilla - desc = span_red("") - name = "Sd.Kfz. 269 Mechakampfwagen Gorilla Ausf. A" - icon = 'icons/mecha/AxisMech.dmi' + desc = span_red(span_bold("BLITZKRIEEEEEEEG!")) // CHOMPEdit + name = "Sd.Kfz. 269 Mechakampfwagen Gorilla Ausf. A" // CHOMPEdit + icon = 'icons/mecha/AxisMech.dmi' // CHOMPEdit icon_state = "pzrmech" initial_icon = "pzrmech" pixel_x = -16 @@ -114,7 +114,7 @@ /obj/mecha/combat/gorilla/get_stats_part() var/output = ..() - output += {"Smoke: [smoke_reserve]"} + output += span_bold("Smoke:") + {"[smoke_reserve]"} return output @@ -132,7 +132,7 @@ /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/cannon name = "8.8cm KwK 47" - desc = "Precision German engineering!" // Why would you ever take this off the mech, anyway? + desc = span_italics("Precision German engineering!") // Why would you ever take this off the mech, anyway? icon_state = "mecha_uac2" equip_cooldown = 60 // 6 seconds projectile = /obj/item/projectile/bullet/cannon diff --git a/code/game/mecha/components/_component.dm b/code/game/mecha/components/_component.dm index 9658fb45ca..95ec0fbd53 100644 --- a/code/game/mecha/components/_component.dm +++ b/code/game/mecha/components/_component.dm @@ -38,9 +38,9 @@ if(25 to 45) . += span_warning("It's heavily damaged.") if(2 to 25) - . += span_warning("It's falling apart.") + . += span_boldwarning("It's falling apart.") if(0 to 1) - . += span_warning("It is completely destroyed.") + . += span_boldwarning("It is completely destroyed.") /obj/item/mecha_parts/component/Initialize() . = ..() diff --git a/code/game/mecha/equipment/tools/sleeper.dm b/code/game/mecha/equipment/tools/sleeper.dm index b51f50d74c..7dd617557d 100644 --- a/code/game/mecha/equipment/tools/sleeper.dm +++ b/code/game/mecha/equipment/tools/sleeper.dm @@ -28,23 +28,23 @@ if(!istype(target)) return if(target.buckled) - occupant_message("[target] will not fit into the sleeper because they are buckled to [target.buckled].") + occupant_message(span_infoplain("[target] will not fit into the sleeper because they are buckled to [target.buckled].")) return if(occupant) - occupant_message("The sleeper is already occupied") + occupant_message(span_warning("The sleeper is already occupied")) return if(target.has_buckled_mobs()) occupant_message(span_warning("\The [target] has other entities attached to it. Remove them first.")) return - occupant_message("You start putting [target] into [src].") - chassis.visible_message("[chassis] starts putting [target] into the [src].") + occupant_message(span_infoplain("You start putting [target] into [src].")) + chassis.visible_message(span_infoplain("[chassis] starts putting [target] into the [src].")) var/C = chassis.loc var/T = target.loc if(do_after_cooldown(target)) if(chassis.loc!=C || target.loc!=T) return if(occupant) - occupant_message(span_red("The sleeper is already occupied!")) + occupant_message(span_boldwarning("The sleeper is already occupied!")) return target.forceMove(src) occupant = target @@ -57,8 +57,8 @@ */ set_ready_state(FALSE) START_PROCESSING(SSprocessing, src) - occupant_message(span_blue("[target] successfully loaded into [src]. Life support functions engaged.")) - chassis.visible_message("[chassis] loads [target] into [src].") + occupant_message(span_notice("[target] successfully loaded into [src]. Life support functions engaged.")) + chassis.visible_message(span_infoplain("[chassis] loads [target] into [src].")) log_message("[target] loaded. Life support functions engaged.") return @@ -66,7 +66,7 @@ if(!occupant) return occupant.forceMove(get_turf(src)) - occupant_message("[occupant] ejected. Life support functions disabled.") + occupant_message(span_infoplain("[occupant] ejected. Life support functions disabled.")) log_message("[occupant] ejected. Life support functions disabled.") occupant.reset_view() /* @@ -82,7 +82,7 @@ /obj/item/mecha_parts/mecha_equipment/tool/sleeper/detach() if(occupant) - occupant_message("Unable to detach [src] - equipment occupied.") + occupant_message(span_infoplain("Unable to detach [src] - equipment occupied.")) return STOP_PROCESSING(SSprocessing, src) return ..() @@ -179,9 +179,9 @@ return 0 var/to_inject = min(R.volume, inject_amount) if(to_inject && occupant.reagents.get_reagent_amount(R.id) + to_inject > inject_amount*4) - occupant_message("Sleeper safeties prohibit you from injecting more than [inject_amount*4] units of [R.name].") + occupant_message(span_warning("Sleeper safeties prohibit you from injecting more than [inject_amount*4] units of [R.name].")) else - occupant_message("Injecting [occupant] with [to_inject] units of [R.name].") + occupant_message(span_notice("Injecting [occupant] with [to_inject] units of [R.name].")) log_message("Injecting [occupant] with [to_inject] units of [R.name].") //SG.reagents.trans_id_to(occupant,R.id,to_inject) SG.reagents.remove_reagent(R.id,to_inject) @@ -222,7 +222,7 @@ if(!chassis.has_charge(energy_drain)) set_ready_state(TRUE) log_message("Deactivated.") - occupant_message("[src] deactivated - no power.") + occupant_message(span_infoplain("[src] deactivated - no power.")) return PROCESS_KILL var/mob/living/carbon/M = occupant if(!M) diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index a9295d2b44..cc4f839ac0 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -519,7 +519,7 @@ if(25 to 45) . += span_warning("It's heavily damaged.") else - . += span_warning(" It's falling apart. ") + . += span_warning(span_bold(" It's falling apart.") + " ") if(equipment?.len) . += "It's equipped with:" for(var/obj/item/mecha_parts/mecha_equipment/ME in equipment) @@ -966,12 +966,12 @@ internal_damage &= ~int_dam_flag switch(int_dam_flag) if(MECHA_INT_TEMP_CONTROL) - occupant_message(span_blue("Life support system reactivated.")) + occupant_message(span_infoplain(span_blue(span_bold("Life support system reactivated.")))) start_process(MECHA_PROC_INT_TEMP) if(MECHA_INT_FIRE) - occupant_message(span_blue("Internal fire extinquished.")) + occupant_message(span_infoplain(span_blue(span_bold("Internal fire extinquished.")))) if(MECHA_INT_TANK_BREACH) - occupant_message(span_blue("Damaged internal tank has been sealed.")) + occupant_message(span_infoplain(span_blue(span_bold("Damaged internal tank has been sealed.")))) return @@ -1084,9 +1084,9 @@ src.take_damage(15) //The take_damage() proc handles armor values if(prob(25)) //Hulks punch hard but lets not give them consistent internal damage. src.check_for_internal_damage(list(MECHA_INT_TEMP_CONTROL,MECHA_INT_TANK_BREACH,MECHA_INT_CONTROL_LOST)) - user.visible_message(span_red("[user] hits [src.name], doing some damage."), span_red("You hit [src.name] with all your might. The metal creaks and bends.")) + user.visible_message(span_warning(span_red(span_bold("[user] hits [src.name], doing some damage."))), span_warning(span_red(span_bold("You hit [src.name] with all your might. The metal creaks and bends.")))) else - user.visible_message(span_red("[user] hits [src.name]. Nothing happens."),span_red("You hit [src.name] with no visible effect.")) + user.visible_message(span_infoplain((span_red(span_bold("[user] hits [src.name]. Nothing happens.")))),span_infoplain(span_red(span_bold("You hit [src.name] with no visible effect.")))) src.log_append_to_last("Armor saved.") return @@ -1356,18 +1356,18 @@ else if(W.force < damage_minimum) //Is your attack too PATHETIC to do anything. 3 damage to a person shouldn't do anything to a mech. //CHOMPedit temp_damage_minimum -> damage_minumum src.occupant_message(span_notice("\The [W] bounces off the armor.")) - src.visible_message("\The [W] bounces off \the [src] armor") + src.visible_message(span_infoplain("\The [W] bounces off \the [src] armor")) return else if(W.armor_penetration < minimum_penetration) //If you don't have enough pen, you won't do full damage ////CHOMPedit temp_minimum_penetration -> minimum_penetration src.occupant_message(span_notice("\The [W] struggles to bypass \the [src] armor.")) - src.visible_message("\The [W] struggles to bypass \the [src] armor") + src.visible_message(span_infoplain("\The [W] struggles to bypass \the [src] armor")) pass_damage_reduc_mod = temp_fail_penetration_value //This will apply to reduce damage to 2/3 or 66% by default else pass_damage_reduc_mod = 1 //Just making sure. - src.occupant_message(span_red("[user] hits [src] with [W].")) - user.visible_message(span_red("[user] hits [src] with [W]."), span_red("You hit [src] with [W].")) + src.occupant_message(span_warning(span_red(span_bold("[user] hits [src] with [W].")))) + user.visible_message(span_warning(span_red(span_bold("[user] hits [src] with [W]."))), span_danger(span_red(span_bold("You hit [src] with [W].")))) var/pass_damage = W.force pass_damage = (pass_damage*pass_damage_reduc_mod) //Apply the reduction of damage from not having enough armor penetration. This is not regular armor values at play. @@ -1952,7 +1952,7 @@ if(ishuman(occupant)) GrantActions(occupant, 1) else - visible_message("\The [usr] starts to climb into [src.name]") + visible_message(span_infoplain(span_bold("\The [usr]") + " starts to climb into [src.name]")) if(enter_after(40,usr)) if(!src.occupant) moved_inside(usr) @@ -2252,16 +2252,16 @@ if(defence_mode_possible) - output += "Defence mode: [defence_mode?"on":"off"]
" + output += span_bold("Defence mode: [defence_mode?"on":"off"]") + "
" if(overload_possible) - output += "Leg actuators overload: [overload?"on":"off"]
" + output += span_bold("Leg actuators overload: [overload?"on":"off"]") + "
" if(smoke_possible) - output += "Smoke: [smoke_reserve]
" + output += span_bold("Smoke:") + " [smoke_reserve]
" if(thrusters_possible) - output += "Thrusters: [thrusters?"on":"off"]
" + output += span_bold("Thrusters:") + " [thrusters?"on":"off"]
" //Cargo components. Keep this last otherwise it does weird alignment issues. - output += "Cargo Compartment Contents:
" + output += span_bold("Cargo Compartment Contents:") + "
" if(src.cargo.len) for(var/obj/O in src.cargo) output += "Unload : [O]
" @@ -2344,7 +2344,7 @@ /obj/mecha/proc/get_equipment_list() //outputs mecha equipment list in html if(!equipment.len) return - var/output = "Equipment:
" + var/output = span_bold("Equipment:") + "
" for(var/obj/item/mecha_parts/mecha_equipment/MT in equipment) output += "
[MT.get_equip_info()]
" output += "
" @@ -2592,11 +2592,11 @@ var/obj/item/mecha_parts/mecha_equipment/tool/passenger/P = passengers[pname] var/mob/occupant = P.occupant - user.visible_message("\The [user] begins opening the hatch on \the [P]...", span_notice("You begin opening the hatch on \the [P]...")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " begins opening the hatch on \the [P]..."), span_notice("You begin opening the hatch on \the [P]...")) if (!do_after(user, 40)) return - user.visible_message("\The [user] opens the hatch on \the [P] and removes [occupant]!", span_notice("You open the hatch on \the [P] and remove [occupant]!")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " opens the hatch on \the [P] and removes [occupant]!"), span_notice("You open the hatch on \the [P] and remove [occupant]!")) P.go_out() P.log_message("[occupant] was removed.") return @@ -2783,7 +2783,7 @@ if(prob(temp_deflect_chance))//Deflected src.log_append_to_last("Armor saved.") src.occupant_message(span_notice("\The [user]'s attack is stopped by the armor.")) - visible_message("\The [user] rebounds off [src.name]'s armor!") + visible_message(span_infoplain(span_bold("\The [user]") + " rebounds off [src.name]'s armor!")) user.attack_log += text("\[[time_stamp()]\] [span_red("attacked [src.name]")]") playsound(src, 'sound/weapons/slash.ogg', 50, 1, -1) diff --git a/code/game/mecha/micro/micro.dm b/code/game/mecha/micro/micro.dm index b06261ac0b..be7f243d46 100644 --- a/code/game/mecha/micro/micro.dm +++ b/code/game/mecha/micro/micro.dm @@ -81,8 +81,8 @@ else return M.updatehealth() - src.occupant_message("You hit [target].") - src.visible_message(span_red("[src.name] hits [target].")) + src.occupant_message(span_attack("You hit [target].")) + src.visible_message(span_bolddanger("[src.name] hits [target].")) else step_away(M,src) src.occupant_message("You push [target] out of the way.") @@ -97,8 +97,8 @@ if(damtype == "brute") for(var/target_type in src.destroyable_obj) if(istype(target, target_type) && hascall(target, "attackby")) - src.occupant_message("You hit [target].") - src.visible_message(span_red("[src.name] hits [target].")) + src.occupant_message(span_attack("You hit [target].")) + src.visible_message(span_bolddanger("[src.name] hits [target].")) if(!istype(target, /turf/simulated/wall)) target:attackby(src,src.occupant) else diff --git a/code/game/mecha/working/working.dm b/code/game/mecha/working/working.dm index 88ab213d2d..1621a6be96 100644 --- a/code/game/mecha/working/working.dm +++ b/code/game/mecha/working/working.dm @@ -50,7 +50,7 @@ /obj/mecha/working/get_stats_part() var/output = ..() - output += "Cargo Compartment Contents:
" + output += span_bold("Cargo Compartment Contents:") + "
" if(src.cargo.len) for(var/obj/O in src.cargo) output += "Unload : [O]
" diff --git a/code/game/objects/effects/gibs.dm b/code/game/objects/effects/gibs.dm index 59f0744923..e3ede73f84 100644 --- a/code/game/objects/effects/gibs.dm +++ b/code/game/objects/effects/gibs.dm @@ -18,7 +18,7 @@ /obj/effect/gibspawner/proc/Gib(atom/location, var/datum/dna/MobDNA = null) if(gibtypes.len != gibamounts.len || gibamounts.len != gibdirections.len) - to_world(span_warning("Gib list length mismatch!")) + to_world(span_filter_system(span_warning("Gib list length mismatch!"))) return var/obj/effect/decal/cleanable/blood/gibs/gib = null diff --git a/code/game/objects/effects/manifest.dm b/code/game/objects/effects/manifest.dm index b184e0073a..37f0450f19 100644 --- a/code/game/objects/effects/manifest.dm +++ b/code/game/objects/effects/manifest.dm @@ -10,7 +10,7 @@ return /obj/effect/manifest/proc/manifest() - var/dat = "Crew Manifest:
" + var/dat = span_bold("Crew Manifest") + ":
" for(var/mob/living/carbon/human/M in mob_list) dat += text(" [] - []
", M.name, M.get_assignment()) var/obj/item/paper/P = new /obj/item/paper( src.loc ) @@ -18,4 +18,4 @@ P.name = "paper- 'Crew Manifest'" //SN src = null qdel(src) - return \ No newline at end of file + return diff --git a/code/game/objects/effects/spiders.dm b/code/game/objects/effects/spiders.dm index 1141216a20..fe172cded1 100644 --- a/code/game/objects/effects/spiders.dm +++ b/code/game/objects/effects/spiders.dm @@ -255,7 +255,7 @@ last_itch = world.time to_chat(O.owner, span_notice("Your [O.name] itches...")) else if(prob(1)) - src.visible_message("\The [src] skitters.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " skitters.")) if(amount_grown >= 0) amount_grown += rand(0,2) diff --git a/code/game/objects/items/antag_spawners.dm b/code/game/objects/items/antag_spawners.dm index 58d48c99ce..8371f5b017 100644 --- a/code/game/objects/items/antag_spawners.dm +++ b/code/game/objects/items/antag_spawners.dm @@ -68,10 +68,10 @@ C.prefs.copy_to(H) H.key = C.key - to_chat(H, "You are the Technomancer's apprentice! Your goal is to assist them in their mission at the [station_name()].") - to_chat(H, "Your service has not gone unrewarded, however. Studying under them, you have learned how to use a Manipulation Core \ - of your own. You also have a catalog, to purchase your own functions and equipment as you see fit.") - to_chat(H, "It would be wise to speak to your master, and learn what their plans are for today.") + to_chat(H, span_infoplain(span_bold("You are the Technomancer's apprentice! Your goal is to assist them in their mission at the [station_name()]."))) + to_chat(H, span_infoplain(span_bold("Your service has not gone unrewarded, however. Studying under them, you have learned how to use a Manipulation Core \ + of your own. You also have a catalog, to purchase your own functions and equipment as you see fit."))) + to_chat(H, span_infoplain(span_bold("It would be wise to speak to your master, and learn what their plans are for today."))) spawn(1) technomancers.add_antagonist(H.mind, 0, 1, 0, 0, 0) diff --git a/code/game/objects/items/bells.dm b/code/game/objects/items/bells.dm index a427123373..457eb80f47 100644 --- a/code/game/objects/items/bells.dm +++ b/code/game/objects/items/bells.dm @@ -16,7 +16,7 @@ /obj/item/deskbell/examine(mob/user) . = ..() if(broken) - . += "It looks damaged, the ringer is stuck firmly inside." + . += span_bold("It looks damaged, the ringer is stuck firmly inside.") /obj/item/deskbell/attack(mob/target as mob, mob/living/user as mob) if(!broken) diff --git a/code/game/objects/items/devices/ai_detector.dm b/code/game/objects/items/devices/ai_detector.dm index 0f6ea01343..33f2514b50 100644 --- a/code/game/objects/items/devices/ai_detector.dm +++ b/code/game/objects/items/devices/ai_detector.dm @@ -103,13 +103,13 @@ to_chat(carrier, span_warning("[icon2html(src, carrier.client)] Warning: AI focus at nearby location.")) carrier << 'sound/machines/defib_SafetyOn.ogg' if(PROXIMITY_ON_SCREEN) - to_chat(carrier, "[icon2html(src, carrier.client)] Alert: AI or camera focused at current location!") + to_chat(carrier, span_danger(span_large("[icon2html(src, carrier.client)] Alert: AI or camera focused at current location!"))) carrier <<'sound/machines/defib_ready.ogg' if(PROXIMITY_TRACKING) - to_chat(carrier, "[icon2html(src, carrier.client)] Danger: AI is actively tracking you!") + to_chat(carrier, span_danger(span_large("[icon2html(src, carrier.client)] Danger: AI is actively tracking you!"))) carrier << 'sound/machines/defib_success.ogg' if(PROXIMITY_TRACKING_FAIL) - to_chat(carrier, "[icon2html(src, carrier.client)] Danger: AI is attempting to actively track you, but you are outside of the camera network!") + to_chat(carrier, span_danger(span_large("[icon2html(src, carrier.client)] Danger: AI is attempting to actively track you, but you are outside of the camera network!"))) carrier <<'sound/machines/defib_ready.ogg' diff --git a/code/game/objects/items/devices/aicard.dm b/code/game/objects/items/devices/aicard.dm index bc7257e03f..0ab0aa1223 100644 --- a/code/game/objects/items/devices/aicard.dm +++ b/code/game/objects/items/devices/aicard.dm @@ -19,7 +19,7 @@ return ..() else M.death() - to_chat(user, "ERROR ERROR ERROR") + to_chat(user, span_infoplain(span_bold("ERROR ERROR ERROR"))) /obj/item/aicard/attack_self(mob/user) tgui_interact(user) @@ -100,11 +100,11 @@ /obj/item/aicard/proc/grab_ai(var/mob/living/silicon/ai/ai, var/mob/living/user) if(!ai.client && !ai.deployed_shell) - to_chat(user, "ERROR: AI [ai.name] is offline. Unable to transfer.") + to_chat(user, span_danger("ERROR:") + " AI [ai.name] is offline. Unable to transfer.") return 0 if(carded_ai) - to_chat(user, "Transfer failed: Existing AI found on remote device. Remove existing AI to install a new one.") + to_chat(user, span_danger("Transfer failed:") + " Existing AI found on remote device. Remove existing AI to install a new one.") return 0 if(!user.IsAdvancedToolUser() && isanimal(user)) @@ -117,7 +117,7 @@ if(do_after(user, 100)) if(carded_ai) - to_chat(user, "Transfer failed: Existing AI found on remote device. Remove existing AI to install a new one.") + to_chat(user, span_danger("Transfer failed:") + " Existing AI found on remote device. Remove existing AI to install a new one.") return 0 if(istype(ai.loc, /turf/)) new /obj/structure/AIcore/deactivated(get_turf(ai)) @@ -135,9 +135,9 @@ ai.disconnect_shell("Disconnected from remote shell due to core intelligence transfer.") //If the AI is controlling a borg, force the player back to core! if(ai.client) - to_chat(ai, "You have been transferred into a mobile core. Remote access lost.") + to_chat(ai, span_infoplain("You have been transferred into a mobile core. Remote access lost.")) if(user.client) - to_chat(ai, "Transfer successful: [ai.name] extracted from current device and placed within mobile core.") + to_chat(ai, span_notice(span_bold("Transfer successful:")) + " [ai.name] extracted from current device and placed within mobile core.") ai.canmove = 1 update_icon() diff --git a/code/game/objects/items/devices/communicator/messaging.dm b/code/game/objects/items/devices/communicator/messaging.dm index 17ca01003b..0bda9c74a4 100644 --- a/code/game/objects/items/devices/communicator/messaging.dm +++ b/code/game/objects/items/devices/communicator/messaging.dm @@ -34,8 +34,8 @@ if(src in comm.voice_invites) comm.open_connection(src) return - to_chat(src, "[icon2html(origin_atom,src.client)] Receiving communicator request from [origin_atom]. To answer, use the Call Communicator \ - verb, and select that name to answer the call.") + to_chat(src, span_notice("[icon2html(origin_atom,src.client)] Receiving communicator request from [origin_atom]. To answer, use the " + span_bold("Call Communicator") + "\ + verb, and select that name to answer the call.")) src << 'sound/machines/defib_SafetyOn.ogg' comm.voice_invites |= src if(message == "ping") @@ -44,9 +44,9 @@ random = random / 10 exonet.send_message(origin_address, "64 bytes received from [exonet.address] ecmp_seq=1 ttl=51 time=[random] ms") if(message == "text") - to_chat(src, span_notice("[icon2html(origin_atom,src.client)] Received text message from [origin_atom]: \"[text]\"")) + to_chat(src, span_notice("[icon2html(origin_atom,src.client)] Received text message from [origin_atom]: " + span_bold("\"[text]\""))) src << 'sound/machines/defib_safetyOff.ogg' - exonet_messages.Add("From [origin_atom]:
[text]") + exonet_messages.Add(span_bold("From [origin_atom]:") + "
[text]") return // Proc: request_im() @@ -135,8 +135,8 @@ var/obj/machinery/exonet_node/E = get_exonet_node() if(!E || !E.on || !E.allow_external_communicators) - to_chat(src, "The Exonet node at telecommunications is down at the moment, or is actively blocking you, \ - so your call can't go through.") + to_chat(src, span_danger("The Exonet node at telecommunications is down at the moment, or is actively blocking you, \ + so your call can't go through.")) return var/list/choices = list() @@ -158,7 +158,7 @@ O.exonet.send_message(chosen_communicator.exonet.address, "text", text_message) to_chat(src, span_notice("You have sent '[text_message]' to [chosen_communicator].")) - exonet_messages.Add("To [chosen_communicator]:
[text_message]") + exonet_messages.Add(span_bold("To [chosen_communicator]:") + "
[text_message]") log_pda("(DCOMM: [src]) sent \"[text_message]\" to [chosen_communicator]", src) for(var/mob/M in player_list) if(M.stat == DEAD && M.client?.prefs?.read_preference(/datum/preference/toggle/ghost_ears)) diff --git a/code/game/objects/items/devices/communicator/phone.dm b/code/game/objects/items/devices/communicator/phone.dm index 8dfd037f62..e9c40d8b4d 100644 --- a/code/game/objects/items/devices/communicator/phone.dm +++ b/code/game/objects/items/devices/communicator/phone.dm @@ -101,9 +101,9 @@ qdel(blackness) to_chat(new_voice, span_notice("[icon2html(src,new_voice.client)] Connection to [src] established.")) - to_chat(new_voice, "To talk to the person on the other end of the call, just talk normally.") - to_chat(new_voice, "If you want to end the call, use the 'Hang Up' verb. The other person can also hang up at any time.") - to_chat(new_voice, "Remember, your character does not know anything you've learned from observing!") + to_chat(new_voice, span_infoplain(span_bold("To talk to the person on the other end of the call, just talk normally."))) + to_chat(new_voice, span_infoplain(span_bold("If you want to end the call, use the 'Hang Up' verb. The other person can also hang up at any time."))) + to_chat(new_voice, span_infoplain(span_bold("Remember, your character does not know anything you've learned from observing!"))) if(new_voice.mind) new_voice.mind.assigned_role = JOB_DISEMBODIED_VOICE if(user) @@ -216,7 +216,7 @@ var/list/in_range = get_mobs_and_objs_in_view_fast(T,world.view,0) //Range of 3 since it's a tiny video display mobs_to_relay = in_range["mobs"] //VOREStation Edit End - var/rendered = "[icon2html(src,mobs_to_relay)] [text]" + var/rendered = "[icon2html(src,mobs_to_relay)] " + span_message("[text]") for(var/mob/mob in mobs_to_relay) //We can't use visible_message(), or else we will get an infinite loop if two communicators hear each other. var/dst = get_dist(get_turf(mob),get_turf(comm)) if(dst <= video_range) @@ -263,7 +263,7 @@ if(!T) return var/list/in_range = get_mobs_and_objs_in_view_fast(T,world.view,0) var/list/mobs_to_relay = in_range["mobs"] - var/rendered = "[icon2html(src, mobs_to_relay)] [msg]" + var/rendered = "[icon2html(src, mobs_to_relay)] " + span_message("[msg]") for(var/mob/mob in mobs_to_relay) mob.show_message(rendered) ..() @@ -301,8 +301,8 @@ var/obj/machinery/exonet_node/E = get_exonet_node() if(!E || !E.on || !E.allow_external_communicators) - to_chat(src, "The Exonet node at telecommunications is down at the moment, or is actively blocking you, \ - so your call can't go through.") + to_chat(src, span_danger("The Exonet node at telecommunications is down at the moment, or is actively blocking you, \ + so your call can't go through.")) return var/list/choices = list() diff --git a/code/game/objects/items/devices/defib.dm b/code/game/objects/items/devices/defib.dm index a98f118df3..8f13edf8f1 100644 --- a/code/game/objects/items/devices/defib.dm +++ b/code/game/objects/items/devices/defib.dm @@ -399,7 +399,7 @@ user.visible_message(span_warning("\The [user] begins to place [src] on [H]'s chest."), span_warning("You begin to place [src] on [H]'s chest...")) if(!do_after(user, 30, H)) return - user.visible_message("\The [user] places [src] on [H]'s chest.", span_warning("You place [src] on [H]'s chest.")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " places [src] on [H]'s chest."), span_warning("You place [src] on [H]'s chest.")) playsound(src, 'sound/machines/defib_charge.ogg', 50, 0) var/error = can_defib(H) @@ -476,7 +476,7 @@ playsound(src, 'sound/machines/defib_failed.ogg', 50, 0) return - user.visible_message(span_danger("\The [user] shocks [H] with \the [src]!"), span_warning("You shock [H] with \the [src]!")) + user.visible_message(span_danger(span_italics("\The [user] shocks [H] with \the [src]!")), span_warning("You shock [H] with \the [src]!")) playsound(src, 'sound/machines/defib_zap.ogg', 100, 1, -1) playsound(src, 'sound/weapons/Egloves.ogg', 100, 1, -1) set_cooldown(cooldowntime) @@ -538,7 +538,7 @@ H.setBrainLoss(brain_damage) /obj/item/shockpaddles/proc/make_announcement(var/message, var/msg_class) - audible_message("\The [src] [message]", "\The [src] vibrates slightly.", runemessage = "buzz") + audible_message(span_bold(span_info("\The [src]") + " [message]"), span_info("\The [src] vibrates slightly."), runemessage = "buzz") /obj/item/shockpaddles/emag_act(mob/user) if(safety) @@ -622,7 +622,7 @@ return (base_unit.bcell && base_unit.bcell.checked_use(charge_amt)) /obj/item/shockpaddles/linked/make_announcement(var/message, var/msg_class) - base_unit.audible_message("\The [base_unit] [message]", "\The [base_unit] vibrates slightly.") + base_unit.audible_message(span_infoplain(span_bold("\The [base_unit]") + " [message]"), span_info("\The [base_unit] vibrates slightly.")) /* Standalone Shockpaddles diff --git a/code/game/objects/items/devices/denecrotizer_vr.dm b/code/game/objects/items/devices/denecrotizer_vr.dm index 90d0989fec..2f87d0ad31 100644 --- a/code/game/objects/items/devices/denecrotizer_vr.dm +++ b/code/game/objects/items/devices/denecrotizer_vr.dm @@ -77,11 +77,11 @@ ghostjoin = FALSE ghostjoin_icon() if(capture_caught) - to_chat(src, span_notice("You are bound to [revivedby], follow their commands within reason and to the best of your abilities, and avoid betraying or abandoning them. You are allied with [revivedby]. Do not attack anyone for no reason. Of course, you may do scenes as you like, but you must still respect preferences.")) + to_chat(src, span_notice("You are bound to [revivedby], follow their commands within reason and to the best of your abilities, and avoid betraying or abandoning them.") + " " + span_warning("You are allied with [revivedby]. Do not attack anyone for no reason. Of course, you may do scenes as you like, but you must still respect preferences.")) visible_message("[src]'s eyes flicker with a curious intelligence.", runemessage = "looks around") return if(revivedby != "no one") - to_chat(src, span_notice("Where once your life had been rough and scary, you have been assisted by [revivedby]. They seem to be the reason you are on your feet again... so perhaps you should help them out. Being as you were revived, you are allied with the station. Do not attack anyone unless they are threatening the one who revived you. And try to listen to the one who revived you within reason. Of course, you may do scenes as you like, but you must still respect preferences.")) + to_chat(src, span_notice("Where once your life had been rough and scary, you have been assisted by [revivedby]. They seem to be the reason you are on your feet again... so perhaps you should help them out.") + " " + span_warning("Being as you were revived, you are allied with the station. Do not attack anyone unless they are threatening the one who revived you. And try to listen to the one who revived you within reason. Of course, you may do scenes as you like, but you must still respect preferences.")) visible_message("[src]'s eyes flicker with a curious intelligence.", runemessage = "looks around") /// Evaluate someone for being allowed to join as this mob from being a ghost diff --git a/code/game/objects/items/devices/flash.dm b/code/game/objects/items/devices/flash.dm index 674c754871..9d3b9af970 100644 --- a/code/game/objects/items/devices/flash.dm +++ b/code/game/objects/items/devices/flash.dm @@ -45,7 +45,7 @@ if(repairing) to_chat(user, span_notice("\The [src] is already being repaired!")) return - user.visible_message("\The [user] starts trying to repair \the [src]'s bulb.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " starts trying to repair \the [src]'s bulb.")) repairing = TRUE if(do_after(user, (40 SECONDS + rand(0, 20 SECONDS)) * W.toolspeed) && can_repair) if(prob(30)) @@ -54,7 +54,7 @@ update_icon() playsound(src, W.usesound, 50, 1) else - user.visible_message("\The [user] fails to repair \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " fails to repair \the [src].")) repairing = FALSE else ..() @@ -141,7 +141,7 @@ else if(!charge_only) //can only use it 10 times a minute, unless it runs purely on charge. if(user) update_icon() - to_chat(user, span_warning("click")) + to_chat(user, span_warning(span_italics("click"))) playsound(src, 'sound/weapons/empty.ogg', 80, 1) return FALSE else if(battery && battery.checked_use(charge_cost + (round(charge_cost / 4) * max(0, times_used - max_flashes)))) // Using over your maximum flashes starts taking more charge per added flash. diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm index a7d0ec123b..937046a9ce 100644 --- a/code/game/objects/items/devices/flashlight.dm +++ b/code/game/objects/items/devices/flashlight.dm @@ -128,13 +128,13 @@ if(H.species.vision_organ) vision = H.internal_organs_by_name[H.species.vision_organ] if(!vision) - user.visible_message("\The [user] directs [src] at [M]'s face.", \ + user.visible_message(span_infoplain(span_bold("\The [user]") + " directs [src] at [M]'s face."), \ span_notice("You direct [src] at [M]'s face.")) to_chat(user, span_warning("You can't find any [H.species.vision_organ ? H.species.vision_organ : "eyes"] on [H]!")) user.setClickCooldown(user.get_attack_speed(src)) return - user.visible_message("\The [user] directs [src] to [M]'s eyes.", \ + user.visible_message(span_infoplain(span_bold("\The [user]") + " directs [src] to [M]'s eyes."), \ span_notice("You direct [src] to [M]'s eyes.")) if(H != user) //can't look into your own eyes buster if(M.stat == DEAD || M.blinded) //mob is dead or fully blind diff --git a/code/game/objects/items/devices/hacktool.dm b/code/game/objects/items/devices/hacktool.dm index 6db9aa6a5a..ce097cdfd6 100644 --- a/code/game/objects/items/devices/hacktool.dm +++ b/code/game/objects/items/devices/hacktool.dm @@ -73,7 +73,7 @@ to_chat(user, span_warning("You are already hacking!")) return 0 if(!is_type_in_list(target, supported_types)) - to_chat(user, "[icon2html(src, user.client)] Unable to hack this target, invalid target type.") + to_chat(user, "[icon2html(src, user.client)] " + span_warning("Unable to hack this target, invalid target type.")) return 0 if(istype(target, /obj/structure/closet/crate/secure)) @@ -103,7 +103,7 @@ if(istype(target, /obj/machinery/door/airlock)) var/obj/machinery/door/airlock/D = target if(D.security_level > max_level) - to_chat(user, "[icon2html(src, user.client)] Target's electronic security is too complex.") + to_chat(user, "[icon2html(src, user.client)] " + span_warning("Target's electronic security is too complex.")) return 0 var/found = known_targets.Find(D) diff --git a/code/game/objects/items/devices/megaphone.dm b/code/game/objects/items/devices/megaphone.dm index f652f58f56..915818064b 100644 --- a/code/game/objects/items/devices/megaphone.dm +++ b/code/game/objects/items/devices/megaphone.dm @@ -35,12 +35,12 @@ if(emagged) if(insults) var/insult = pick(insultmsg) - user.audible_message("[user.GetVoice()][user.GetAltName()] broadcasts, \"[insult]\"", runemessage = insult) + user.audible_message(span_infoplain(span_bold("[user.GetVoice()]") + "[user.GetAltName()] broadcasts, " + span_large("\"[insult]\"")), runemessage = insult) insults-- else to_chat(user, span_warning("*BZZZZzzzzzt*")) else - user.audible_message("[user.GetVoice()][user.GetAltName()] broadcasts, \"[message]\"", runemessage = message) + user.audible_message(span_infoplain(span_bold("[user.GetVoice()]") + "[user.GetAltName()] broadcasts, " + span_large("\"[message]\"")), runemessage = message) /obj/item/megaphone/attack_self(var/mob/living/user) var/message = sanitize(tgui_input_text(user, "Shout a message?", "Megaphone", null)) @@ -136,7 +136,7 @@ if(emagged) if(insults) var/insult = pick(insultmsg) - user.audible_message("[user.GetVoice()][user.GetAltName()] broadcasts, \"[insult]\"", runemessage = insult) + user.audible_message(span_bold("[user.GetVoice()]") + "[user.GetAltName()] broadcasts, \"[insult]\"", runemessage = insult) if(broadcast_size >= 11) var/turf/T = get_turf(user) playsound(src, 'sound/items/AirHorn.ogg', 100, 1) @@ -166,4 +166,4 @@ qdel(src) return else - user.audible_message("[user.GetVoice()][user.GetAltName()] broadcasts, \"[message]\"", runemessage = message) + user.audible_message(span_bold("[user.GetVoice()]") + "[user.GetAltName()] broadcasts, \"[message]\"", runemessage = message) diff --git a/code/game/objects/items/devices/modkit.dm b/code/game/objects/items/devices/modkit.dm index 21e6c7b02b..68a2c4eab2 100644 --- a/code/game/objects/items/devices/modkit.dm +++ b/code/game/objects/items/devices/modkit.dm @@ -52,7 +52,7 @@ playsound(src, O.usesound, 100, 1) - user.visible_message("\The [user] opens \the [src] and modifies \the [O].",span_notice("You open \the [src] and modify \the [O].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " opens \the [src] and modifies \the [O]."),span_notice("You open \the [src] and modify \the [O].")) I.refit_for_species(target_species) diff --git a/code/game/objects/items/devices/paicard.dm b/code/game/objects/items/devices/paicard.dm index b29a434dbe..53b86ad6af 100644 --- a/code/game/objects/items/devices/paicard.dm +++ b/code/game/objects/items/devices/paicard.dm @@ -280,7 +280,7 @@ GLOBAL_LIST_BOILERPLATE(all_pai_cards, /obj/item/paicard) "} dat += "
" if(radio) - dat += "Radio Uplink" + dat += span_bold("Radio Uplink") dat += {" @@ -299,7 +299,7 @@ GLOBAL_LIST_BOILERPLATE(all_pai_cards, /obj/item/paicard)
"} else // - dat += "Radio Uplink
" + dat += span_bold("Radio Uplink") + "
" dat += "Radio firmware not loaded. Please install a pAI personality to load firmware.
" /* - //A button for instantly deleting people from the game is lame, especially considering that pAIs on our server tend to activate without a master. dat += {" @@ -311,7 +311,7 @@ GLOBAL_LIST_BOILERPLATE(all_pai_cards, /obj/item/paicard) "} */ if(screen_msg) - dat += "Message from [pai.name]
[screen_msg]" + dat += span_bold("Message from [pai.name]") + "
[screen_msg]" else if(looking_for_personality) dat += {" diff --git a/code/game/objects/items/devices/personal_shield_generator_vr.dm b/code/game/objects/items/devices/personal_shield_generator_vr.dm index 9024b07c58..d46d68eab6 100644 --- a/code/game/objects/items/devices/personal_shield_generator_vr.dm +++ b/code/game/objects/items/devices/personal_shield_generator_vr.dm @@ -126,11 +126,11 @@ s.start() shield_active = 0 if(bcell.charge_delay) //It WILL blow up soon. Downside of self-charging cells. - to_chat(src.loc, "Your shield generator sparks and suddenly goes down! A warning message pops up on screen: \ - 'WARNING, INTERNAL CELL MELTDOWN IMMINENT. TIME TILL EXPLOSION: [bcell.charge_delay/10] SECONDS. DISCARD UNIT IMMEDIATELY!'") + to_chat(src.loc, span_critical("Your shield generator sparks and suddenly goes down! A warning message pops up on screen: \ + 'WARNING, INTERNAL CELL MELTDOWN IMMINENT. TIME TILL EXPLOSION: [bcell.charge_delay/10] SECONDS. DISCARD UNIT IMMEDIATELY!'")) else //It won't blow up unless you turn it back on again. Upside of using non-charging cells. - to_chat(src.loc, "Your shield generator sparks and suddenly goes down! A warning message pops up on screen: \ - 'WARNING, INTERNAL CELL CRITICALLY DAMAGED. REPLACE CELL IMMEDIATELY.'") + to_chat(src.loc, span_critical("Your shield generator sparks and suddenly goes down! A warning message pops up on screen: \ + 'WARNING, INTERNAL CELL CRITICALLY DAMAGED. REPLACE CELL IMMEDIATELY.'")) STOP_PROCESSING(SSobj, src) update_icon() else diff --git a/code/game/objects/items/devices/radio/intercom.dm b/code/game/objects/items/devices/radio/intercom.dm index d8a9880407..9f19f11728 100644 --- a/code/game/objects/items/devices/radio/intercom.dm +++ b/code/game/objects/items/devices/radio/intercom.dm @@ -212,10 +212,10 @@ /obj/item/radio/intercom/AIAltClick(var/mob/user) if(frequency == AI_FREQ) set_frequency(initial(frequency)) - to_chat(user, span_notice("\The [src]'s frequency is now set to [span_green("Default")].")) + to_chat(user, span_notice("\The [src]'s frequency is now set to [span_green(span_bold("Default"))].")) else set_frequency(AI_FREQ) - to_chat(user, span_notice("\The [src]'s frequency is now set to [span_pink("AI Private")].")) + to_chat(user, span_notice("\The [src]'s frequency is now set to [span_pink(span_bold("AI Private"))].")) //VOREStation Add End /obj/item/radio/intercom/locked var/locked_frequency diff --git a/code/game/objects/items/devices/scanners/guide.dm b/code/game/objects/items/devices/scanners/guide.dm index 68b57d4147..b03e447ac3 100644 --- a/code/game/objects/items/devices/scanners/guide.dm +++ b/code/game/objects/items/devices/scanners/guide.dm @@ -77,39 +77,39 @@ //CHOMPedit start: Wording if(bleeding_external) - dat += "Surface Bleeding - Apply bandages or administer Bicaridine.
" + dat += span_bold("Surface Bleeding") + " - Apply bandages or administer Bicaridine.
" if(bleeding_internal) - dat += "Internal Bleeding - Commence an internal vein repair operation or administer coagulants, such as Myelamine.
" + dat += span_bold("Internal Bleeding") + " - Commence an internal vein repair operation or administer coagulants, such as Myelamine.
" if(M.getOxyLoss()) - dat += "Suffocation - Administer Dexalin or Dexalin Plus. Check for heart or lung damage.
" + dat += span_bold("Suffocation") + " - Administer Dexalin or Dexalin Plus. Check for heart or lung damage.
" if(infection) - dat += "Infection - Administer Spaceacillin. If severe, use Corophizine or overdose on Spaceacillin and monitor until well.
" + dat += span_bold("Infection") + " - Administer Spaceacillin. If severe, use Corophizine or overdose on Spaceacillin and monitor until well.
" if(M.getBrainLoss() >= 1) - dat += "Traumatic Brain Injury - Commence brain repair surgery Administer Alkysine or universal organ-repair chemicals such as Peridaxon.
" + dat += span_bold("Traumatic Brain Injury") + " - Commence brain repair surgery Administer Alkysine or universal organ-repair chemicals such as Peridaxon.
" if(M.radiation || M.accumulated_rads) - dat += "Radiation Exposure - Administer Hyronalin or Arithrazine. Monitor for genetic damage.
" + dat += span_bold("Radiation Exposure") + " - Administer Hyronalin or Arithrazine. Monitor for genetic damage.
" if(organ) - dat += "Organ Damage - Administer Peridaxon. Perform a full body scan for targeted organ repair surgery.
" + dat += span_bold("Organ Damage") + " - Administer Peridaxon. Perform a full body scan for targeted organ repair surgery.
" if(bloodloss) - dat += "Low blood volume - Commence blood transfusion via IV drip or provide blood-restorative chemicals (e.g.: Copper for zorren and skrell, iron for the rest)." + dat += span_bold("Low blood volume") + " - Commence blood transfusion via IV drip or provide blood-restorative chemicals (e.g.: Copper for zorren and skrell, iron for the rest)." if(M.getToxLoss()) - dat += "Toxin Buildup - Inject Dylovene or Carthatoline. Monitor for damage to the liver or kidneys.
" + dat += span_bold("Toxin Buildup") + " - Inject Dylovene or Carthatoline. Monitor for damage to the liver or kidneys.
" if(M.getBruteLoss()) - dat += "Physical Trauma - Bandage the wounded body part. Administer Bicaridine or Vermicetol depending on the severity.
" + dat += span_bold("Physical Trauma") + " - Bandage the wounded body part. Administer Bicaridine or Vermicetol depending on the severity.
" if(M.getFireLoss()) - dat += "Burn Wounds - Salve the wounded body part in ointment. Administer Kelotane or Dermaline. Check for infections.
" + dat += span_bold("Burn Wounds") + " - Salve the wounded body part in ointment. Administer Kelotane or Dermaline. Check for infections.
" if(M.getCloneLoss()) - dat += "Genetic Damage - Utilize cryogenic pod with appropriate chemicals (i.e. Cryoxadone) and below 70 K, or give Rezadone.
" + dat += span_bold("Genetic Damage") + " - Utilize cryogenic pod with appropriate chemicals (i.e. Cryoxadone) and below 70 K, or give Rezadone.
" if(bone) - dat += "Bone Fracture - Splint the fractured limb. Commence a bone repair operation or administer Osteodaxon after treating the physical trauma.
" + dat += span_bold("Bone Fracture") + " - Splint the fractured limb. Commence a bone repair operation or administer Osteodaxon after treating the physical trauma.
" if(M.virus2.len) - dat += "Viral Infection - Inform a Virologist or the Chief Medical Officer and administer antiviral chemicals such as Corophizine and Spaceacilin. Limit exposure to other personnel.
" + dat += span_bold("Viral Infection") + " - Inform a Virologist or the Chief Medical Officer and administer antiviral chemicals such as Corophizine and Spaceacilin. Limit exposure to other personnel.
" if(robotparts) - dat += "Robotic Body Parts - Inform the Robotics department." + dat += span_bold("Robotic Body Parts") + " - Inform the Robotics department." var/peeb if(dat) - peeb += span_notice("GUIDANCE SYSTEM BEGIN") + peeb += span_notice(span_bold("GUIDANCE SYSTEM BEGIN")) peeb += "
" peeb += dat peeb += span_notice("For more detailed information on the patient's condition, utilize a body scanner at the closest medical bay.") diff --git a/code/game/objects/items/devices/scanners/health.dm b/code/game/objects/items/devices/scanners/health.dm index 4300d620a0..88fde8873b 100644 --- a/code/game/objects/items/devices/scanners/health.dm +++ b/code/game/objects/items/devices/scanners/health.dm @@ -62,38 +62,43 @@ if (!ishuman(M) || M.isSynthetic()) //these sensors are designed for organic life - dat += "Analyzing Results for ERROR:\n\tOverall Status: ERROR
" - dat += "\tKey: [span_cyan("Suffocation")]/[span_green("Toxin")]/[span_orange("Burns")]/[span_red("Brute")]
" - dat += "\tDamage Specifics: [span_cyan("?")] - [span_green("?")] - [span_orange("?")] - [span_red("?")]
" - dat += "Body Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)

" + var/analyzed = "Analyzing Results for ERROR:\n\tOverall Status: ERROR
" + analyzed += "\tKey: [span_cyan("Suffocation")]/[span_green("Toxin")]/[span_orange("Burns")]/[span_red("Brute")]
" + analyzed += "\tDamage Specifics: [span_cyan("?")] - [span_green("?")] - [span_orange("?")] - [span_red("?")]
" + analyzed += "Body Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)" + dat += span_notice(analyzed) + "
" dat += "[span_warning("Warning: Blood Level ERROR: --% --cl.")] [span_notice("Type: ERROR")]
" dat += span_notice("Subject's pulse: [span_red("-- bpm.")]") user.show_message(dat, 1) return var/fake_oxy = max(rand(1,40), M.getOxyLoss(), (300 - (M.getToxLoss() + M.getFireLoss() + M.getBruteLoss()))) - var/OX = M.getOxyLoss() > 50 ? "[M.getOxyLoss()]" : M.getOxyLoss() - var/TX = M.getToxLoss() > 50 ? "[M.getToxLoss()]" : M.getToxLoss() - var/BU = M.getFireLoss() > 50 ? "[M.getFireLoss()]" : M.getFireLoss() - var/BR = M.getBruteLoss() > 50 ? "[M.getBruteLoss()]" : M.getBruteLoss() + var/OX = M.getOxyLoss() > 50 ? span_bold("[M.getOxyLoss()]") : M.getOxyLoss() + var/TX = M.getToxLoss() > 50 ? span_bold("[M.getToxLoss()]") : M.getToxLoss() + var/BU = M.getFireLoss() > 50 ? span_bold("M.getFireLoss()]") : M.getFireLoss() + var/BR = M.getBruteLoss() > 50 ? span_bold("[M.getBruteLoss()]") : M.getBruteLoss() + var/analyzed_results = "" if(M.status_flags & FAKEDEATH) - OX = fake_oxy > 50 ? "[fake_oxy]" : fake_oxy + OX = fake_oxy > 50 ? span_bold("[fake_oxy]") : fake_oxy dat += span_notice("Analyzing Results for [M]:") dat += "
" dat += span_notice("Overall Status: dead") dat += "
" else - dat += "Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "dead" : "[round((M.health/M.getMaxHealth())*100) ]% healthy"]
" - dat += "\tKey: [span_cyan("Suffocation")]/[span_green("Toxin")]/[span_orange("Burns")]/[span_red("Brute")]
" - dat += "\tDamage Specifics: [span_cyan("[OX]")] - [span_green("[TX]")] - [span_orange("[BU]")] - [span_red("[BR]")]
" - dat += "Body Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)

" + analyzed_results += "Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "dead" : "[round((M.health/M.getMaxHealth())*100) ]% healthy"]
" + analyzed_results += "\tKey: [span_cyan("Suffocation")]/[span_green("Toxin")]/[span_orange("Burns")]/[span_red("Brute")]
" + analyzed_results += "\tDamage Specifics: [span_cyan("[OX]")] - [span_green("[TX]")] - [span_orange("[BU]")] - [span_red("[BR]")]
" + analyzed_results += "Body Temperature: [M.bodytemperature-T0C]°C ([M.bodytemperature*1.8-459.67]°F)
" + if(!(M.status_flags & FAKEDEATH)) + analyzed_results = span_notice(analyzed_results) + dat += analyzed_results //VOREStation edit/addition starts if(M.timeofdeath && (M.stat == DEAD || (M.status_flags & FAKEDEATH))) dat += span_notice("Time of Death: [worldtime2stationtime(M.timeofdeath)]") dat += "
" var/tdelta = round(world.time - M.timeofdeath) if(tdelta < (DEFIB_TIME_LIMIT * 10)) - dat += span_notice("Subject died [DisplayTimeText(tdelta)] ago - resuscitation may be possible!") + dat += span_boldnotice("Subject died [DisplayTimeText(tdelta)] ago - resuscitation may be possible!") dat += "
" //VOREStation edit/addition ends if(istype(M, /mob/living/carbon/human) && mode == 1) @@ -106,17 +111,18 @@ if(org.robotic >= ORGAN_ROBOT) continue else - dat += " [capitalize(org.name)]: [(org.brute_dam > 0) ? span_warning("[org.brute_dam]") : 0]" - dat += "[(org.status & ORGAN_BLEEDING)?span_danger("\[Bleeding\]"):""] - " - dat += "[(org.burn_dam > 0) ? "[span_orange("[org.burn_dam]")]" : 0]
" + var/our_damage = " [capitalize(org.name)]: [(org.brute_dam > 0) ? span_warning("[org.brute_dam]") : 0]" + our_damage += "[(org.status & ORGAN_BLEEDING)?span_danger("\[Bleeding\]"):""] - " + our_damage += "[(org.burn_dam > 0) ? "[span_orange("[org.burn_dam]")]" : 0]" + dat += span_notice(our_damage) + "
" else dat += span_notice(" Limbs are OK.") dat += "
" - OX = M.getOxyLoss() > 50 ? "[span_cyan("Severe oxygen deprivation detected")]" : "Subject bloodstream oxygen level normal" - TX = M.getToxLoss() > 50 ? "[span_green("Dangerous amount of toxins detected")]" : "Subject bloodstream toxin level minimal" - BU = M.getFireLoss() > 50 ? "[span_orange("Severe burn damage detected")]" : "Subject burn injury status O.K" - BR = M.getBruteLoss() > 50 ? "[span_red("Severe anatomical damage detected")]" : "Subject brute-force injury status O.K" + OX = M.getOxyLoss() > 50 ? "[span_cyan(span_bold("Severe oxygen deprivation detected"))]" : "Subject bloodstream oxygen level normal" + TX = M.getToxLoss() > 50 ? "[span_green(span_bold("Dangerous amount of toxins detected"))]" : "Subject bloodstream toxin level minimal" + BU = M.getFireLoss() > 50 ? "[span_orange(span_bold("Severe burn damage detected"))]" : "Subject burn injury status O.K" + BR = M.getBruteLoss() > 50 ? "[span_red(span_bold("Severe anatomical damage detected"))]" : "Subject brute-force injury status O.K" if(M.status_flags & FAKEDEATH) OX = fake_oxy > 50 ? span_warning("Severe oxygen deprivation detected") : "Subject bloodstream oxygen level normal" dat += "[OX] | [TX] | [BU] | [BR]
" @@ -358,10 +364,10 @@ var/blood_type = H.dna.b_type var/blood_reagent = H.species.blood_reagents if(blood_volume <= H.species.blood_volume*H.species.blood_level_danger) - dat += span_danger("Warning: Blood Level CRITICAL: [blood_percent]% [blood_volume]cl. Type: [blood_type]. Basis: [blood_reagent].") + dat += span_danger(span_italics("Warning: Blood Level CRITICAL: [blood_percent]% [blood_volume]cl. Type: [blood_type]. Basis: [blood_reagent].")) dat += "
" else if(blood_volume <= H.species.blood_volume*H.species.blood_level_warning) - dat += span_danger("Warning: Blood Level VERY LOW: [blood_percent]% [blood_volume]cl. Type: [blood_type]. Basis: [blood_reagent].") + dat += span_danger(span_italics("Warning: Blood Level VERY LOW: [blood_percent]% [blood_volume]cl. Type: [blood_type]. Basis: [blood_reagent].")) dat += "
" else if(blood_volume <= H.species.blood_volume*H.species.blood_level_safe) dat += span_danger("Warning: Blood Level LOW: [blood_percent]% [blood_volume]cl. Type: [blood_type]. Basis: [blood_reagent].") diff --git a/code/game/objects/items/devices/scanners/sleevemate.dm b/code/game/objects/items/devices/scanners/sleevemate.dm index 2a0d725b31..439080e3a9 100644 --- a/code/game/objects/items/devices/scanners/sleevemate.dm +++ b/code/game/objects/items/devices/scanners/sleevemate.dm @@ -125,40 +125,40 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob /obj/item/sleevemate/proc/scan_mob(mob/living/carbon/human/H, mob/living/user) var/output = "" - output += "

[src.name] Scan Results
" + output += "

" + span_boldnotice("[src.name] Scan Results") + "
" //Mind name - output += "Sleeved Mind: " + output += span_bold("Sleeved Mind:") + " " if(H.mind) output += "[H.mind.name]
" else - output += "Unknown/None
" + output += span_warning("Unknown/None") + "
" //Mind status - output += "Mind Status: " + output += span_bold("Mind Status:") + " " if(H.client) output += "Healthy
" else output += "Space Sleep Disorder
" //Body status - output += "Sleeve Status: " + output += span_bold("Sleeve Status:") + " " switch(H.stat) if(CONSCIOUS) output += "Alive
" if(UNCONSCIOUS) output += "Unconscious
" if(DEAD) - output += "Deceased
" + output += span_warning("Deceased") + "
" else - output += "Unknown
" + output += span_warning("Unknown") + "
" //Mind/body comparison - output += "Sleeve Pair: " + output += span_bold("Sleeve Pair:") if(!H.ckey) - output += "No mind in that body [stored_mind != null ? "\[Upload\]" : null]
" + output += span_warning("No mind in that body") + " [stored_mind != null ? "\[Upload\]" : null]
" else if(H.mind && ckey(H.mind.key) != H.ckey) - output += "May not be correct body
" + output += span_warning("May not be correct body") + "
" else if(H.mind && ckey(H.mind.key) == H.ckey) output += "Appears to be correct mind in body
" else @@ -166,29 +166,29 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob //Actions output += "
-- Possible Actions --
" - output += "Mind-Scan (One Time): \[Perform\]
" - output += "Body-Scan (One Time): \[Perform\]
" + output += span_bold("Mind-Scan (One Time): ") + "\[Perform\]
" + output += span_bold("Body-Scan (One Time): ") + "\[Perform\]
" //Saving a mind - output += "Store Full Mind: " + output += span_bold("Store Full Mind:") + " " if(stored_mind) - output += "Already Stored ([stored_mind.name])
" + output += span_notice("Already Stored") + " ([stored_mind.name])
" else if(H.mind) output += "\[Perform\]
" else - output += "Unable
" + output += span_warning("Unable") + "
" //Soulcatcher transfer if(H.nif) var/datum/nifsoft/soulcatcher/SC = H.nif.imp_check(NIF_SOULCATCHER) if(SC) output += "
" - output += "Soulcatcher detected ([SC.brainmobs.len] minds)
" + output += span_bold("Soulcatcher detected ([SC.brainmobs.len] minds)") + "
" for(var/mob/living/carbon/brain/caught_soul/mind in SC.brainmobs) output += "[mind.name]: [mind.transient == FALSE ? "\[Load\]" : span_warning("Incompatible")]
" if(stored_mind) - output += "Store in Soulcatcher: \[Perform\]
" + output += span_bold("Store in Soulcatcher: ") + "\[Perform\]
" to_chat(user,output) diff --git a/code/game/objects/items/devices/scanners/slime.dm b/code/game/objects/items/devices/scanners/slime.dm index 57931f22e0..21c44a85b0 100644 --- a/code/game/objects/items/devices/scanners/slime.dm +++ b/code/game/objects/items/devices/scanners/slime.dm @@ -14,7 +14,7 @@ /obj/item/slime_scanner/attack(mob/living/M as mob, mob/living/user as mob) if(!istype(M, /mob/living/simple_mob/slime/xenobio)) - to_chat(user, "This device can only scan lab-grown slimes!") + to_chat(user, span_infoplain(span_bold("This device can only scan lab-grown slimes!"))) return var/mob/living/simple_mob/slime/xenobio/S = M user.show_message("Slime scan results:
[S.slime_color] [S.is_adult ? "adult" : "baby"] slime
Health: [S.health]
Mutation Probability: [S.mutation_chance]") diff --git a/code/game/objects/items/devices/spy_bug.dm b/code/game/objects/items/devices/spy_bug.dm index 1ac550046e..3746dfec81 100644 --- a/code/game/objects/items/devices/spy_bug.dm +++ b/code/game/objects/items/devices/spy_bug.dm @@ -28,7 +28,7 @@ /obj/item/camerabug/attack_self(mob/user) if(user.a_intent == I_HURT) to_chat(user, span_notice("You crush the [src] under your foot, breaking it.")) - visible_message("[user.name] crushes the [src] under their foot, breaking it!") + visible_message(span_notice("[user.name] crushes the [src] under their foot, breaking it!")) new brokentype(get_turf(src)) spawn(0) qdel(src) @@ -44,7 +44,7 @@ linkedmonitor = null qdel(camera) camera = new camtype(src) - to_chat(usr, "You turn the [src] off and on again, delinking it from any monitors.") + to_chat(usr, span_notice("You turn the [src] off and on again, delinking it from any monitors.")) /obj/item/brokenbug name = "broken mobile camera pod" diff --git a/code/game/objects/items/devices/taperecorder.dm b/code/game/objects/items/devices/taperecorder.dm index 00f7a0d2e1..5b1314c11f 100644 --- a/code/game/objects/items/devices/taperecorder.dm +++ b/code/game/objects/items/devices/taperecorder.dm @@ -271,13 +271,13 @@ var/playedmessage = mytape.storedinfo[i] if (findtextEx(playedmessage,"*",1,2)) //remove marker for action sounds playedmessage = copytext(playedmessage,2) - T.audible_message(span_maroon("Tape Recorder: [playedmessage]"), runemessage = playedmessage) + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": [playedmessage]"), runemessage = playedmessage) if(mytape.storedinfo.len < i+1) playsleepseconds = 1 sleep(10) T = get_turf(src) - T.audible_message(span_maroon("Tape Recorder: End of recording."), runemessage = "click") + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": End of recording."), runemessage = "click") break else playsleepseconds = mytape.timestamp[i+1] - mytape.timestamp[i] @@ -285,7 +285,7 @@ if(playsleepseconds > 14) sleep(10) T = get_turf(src) - T.audible_message(span_maroon("Tape Recorder: Skipping [playsleepseconds] seconds of silence"), runemessage = "tape winding") + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": Skipping [playsleepseconds] seconds of silence"), runemessage = "tape winding") playsleepseconds = 1 sleep(10 * playsleepseconds) @@ -295,19 +295,19 @@ if(emagged) var/turf/T = get_turf(src) - T.audible_message(span_maroon("Tape Recorder: This tape recorder will self-destruct in... Five."), runemessage = "beep beep") + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": This tape recorder will self-destruct in... Five."), runemessage = "beep beep") sleep(10) T = get_turf(src) - T.audible_message(span_maroon("Tape Recorder: Four.")) + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": Four.")) sleep(10) T = get_turf(src) - T.audible_message(span_maroon("Tape Recorder: Three.")) + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": Three.")) sleep(10) T = get_turf(src) - T.audible_message(span_maroon("Tape Recorder: Two.")) + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": Two.")) sleep(10) T = get_turf(src) - T.audible_message(span_maroon("Tape Recorder: One.")) + T.audible_message(span_maroon(span_bold("Tape Recorder") + ": One.")) sleep(10) explode() @@ -336,7 +336,7 @@ to_chat(usr, span_notice("Transcript printed.")) var/obj/item/paper/P = new /obj/item/paper(get_turf(src)) - var/t1 = "Transcript:

" + var/t1 = span_bold("Transcript:") + "

" for(var/i=1,mytape.storedinfo.len >= i,i++) var/printedmessage = mytape.storedinfo[i] if (findtextEx(printedmessage,"*",1,2)) //replace action sounds diff --git a/code/game/objects/items/devices/ticket_printer.dm b/code/game/objects/items/devices/ticket_printer.dm index 6965b99a42..bdb133c992 100644 --- a/code/game/objects/items/devices/ticket_printer.dm +++ b/code/game/objects/items/devices/ticket_printer.dm @@ -15,7 +15,7 @@ if(last_print + print_cooldown <= world.time) print_a_ticket(user) else - to_chat(user, "\The [src] is not ready to print another ticket yet.") + to_chat(user, span_warning("\The [src] is not ready to print another ticket yet.")) /obj/item/ticket_printer/proc/print_a_ticket(mob/user) diff --git a/code/game/objects/items/devices/translator.dm b/code/game/objects/items/devices/translator.dm index e356690411..d12a28bad7 100644 --- a/code/game/objects/items/devices/translator.dm +++ b/code/game/objects/items/devices/translator.dm @@ -73,7 +73,7 @@ if(!L.say_understands(null, langset)) new_message = langset.scramble(new_message) - to_chat(L, span_filter_say("[src] translates, \"[new_message]\"")) + to_chat(L, span_filter_say(span_italics(span_bold("[src]") + "translates, ") + " \"[new_message]\"")) /obj/item/universal_translator/proc/user_understands(mob/M, mob/living/L, list/message_pieces) for(var/datum/multilingual_say_piece/S in message_pieces) diff --git a/code/game/objects/items/devices/tvcamera.dm b/code/game/objects/items/devices/tvcamera.dm index 17f42979a8..a68cdaf958 100644 --- a/code/game/objects/items/devices/tvcamera.dm +++ b/code/game/objects/items/devices/tvcamera.dm @@ -126,7 +126,7 @@ return if(camera.status && !isturf(target)) show_tvs(target) - user.visible_message("[user] aims [src] at [target].", "You aim [src] at [target].") + user.visible_message(span_infoplain(span_bold("[user]") + " aims [src] at [target]."), span_info("You aim [src] at [target].")) if(user.machine == src) show_ui(user) // refresh the UI diff --git a/code/game/objects/items/poi_items.dm b/code/game/objects/items/poi_items.dm index a7c26bcc1d..3789b5038f 100644 --- a/code/game/objects/items/poi_items.dm +++ b/code/game/objects/items/poi_items.dm @@ -168,11 +168,11 @@ to_chat(user, span_notice("You cannot access the debug interface with the panel screwed on!")) else if(unscrewed && !wirecutted) message_turf.audible_message(message = examine_multitool, - deaf_message = "[src] flashes red repeatedly", runemessage= "Beep! Beep!") + deaf_message = span_bold("[src]") + " flashes red repeatedly", runemessage= "Beep! Beep!") to_chat(user, span_warning("The components spark from the multitool's unregulated pulse. \ Perhaps it'd been better to use more sophisticated tools...")) fried = TRUE - message_turf.visible_message(message = "[src] FLASHES VIOLENTLY!", + message_turf.visible_message(message = span_bold("[src]") + " FLASHES VIOLENTLY!", blind_message = "ZAP!", runemessage = "CRACKLE!") var/used_hand = user.get_organ(user.get_active_hand()) user.electrocute_act(10,def_zone = used_hand) @@ -190,13 +190,13 @@ Perhaps, it would've been a good idea to disconnect some wires while pulsing the security circuit...")) else if(!has_paper) - message_turf.visible_message(message = "[src] displays, 'PAPER NOT BIN'", + message_turf.visible_message(message = span_bold("[src]") + " displays, 'PAPER NOT BIN'", blind_message = "you hear VERY ANGRY beeping.", runemessage = "BEEP BEEP!") - message_turf.audible_message(message = "[src] recites, \n '[examine_canalyzer]'", - deaf_message = "[src] flashes green!", runemessage= "Ping!") + message_turf.audible_message(message = span_bold("[src]") + " recites, \n '[examine_canalyzer]'", + deaf_message = span_bold("[src]") + " flashes green!", runemessage= "Ping!") else - message_turf.audible_message(message = "[src] rattles loudly as it prints", - deaf_message = "[src] flashes green!", runemessage= "RATTLE RATTLE") + message_turf.audible_message(message = span_bold("[src]") + " rattles loudly as it prints", + deaf_message = span_bold("[src]") + " flashes green!", runemessage= "RATTLE RATTLE") var/obj/item/paper/P = new /obj/item/paper(get_turf(src)) P.name = "[drone_name] blackbox transcript" P.info = "[examine_canalyzer_printed ? examine_canalyzer_printed : examine_canalyzer]" diff --git a/code/game/objects/items/stacks/medical_vr.dm b/code/game/objects/items/stacks/medical_vr.dm index a7e5012e5e..3cc7e2254c 100644 --- a/code/game/objects/items/stacks/medical_vr.dm +++ b/code/game/objects/items/stacks/medical_vr.dm @@ -63,7 +63,7 @@ var/healmessage = span_notice("You spray [src] onto [H], sealing [clotted ? clotted : "no"] wounds.") if(too_far_gone) - healmessage += " You can see some wounds that are too large where the spray is not taking effect." + healmessage += " " + span_warning("You can see some wounds that are too large where the spray is not taking effect.") to_chat(user, healmessage) use(1) diff --git a/code/game/objects/items/toys/mech_toys.dm b/code/game/objects/items/toys/mech_toys.dm index a6ca3ed1ef..7fb8d8af50 100644 --- a/code/game/objects/items/toys/mech_toys.dm +++ b/code/game/objects/items/toys/mech_toys.dm @@ -168,7 +168,7 @@ //extend the offer of battle to the other mech var/datum/gender/T = gender_datums[user.get_visible_gender()] to_chat(user, span_notice("You offer battle to [target.name]!")) - to_chat(target, span_notice("[user.name] wants to battle with [T.His] [name]! Attack them with a toy mech to initiate combat.")) + to_chat(target, span_notice(span_bold("[user.name] wants to battle with [T.His] [name]!") + " " + span_italics("Attack them with a toy mech to initiate combat."))) wants_to_battle = TRUE addtimer(CALLBACK(src, PROC_REF(withdraw_offer), user), 6 SECONDS) return @@ -365,7 +365,7 @@ span_notice(" [src] collapses!"), null) attacker.visible_message("[pick(winlines)]") attacker_controller.visible_message(span_notice(" [attacker] demolishes [src] and walks away victorious!"), \ - " You raise up [attacker] proudly over [src]!") + span_notice("You raise up [attacker] proudly over [src]") + "!") else //both win? visible_message("NEXT TIME.") //don't want to make this a one sided conversation diff --git a/code/game/objects/items/toys/toys.dm b/code/game/objects/items/toys/toys.dm index a061341a01..4bff9995de 100644 --- a/code/game/objects/items/toys/toys.dm +++ b/code/game/objects/items/toys/toys.dm @@ -706,9 +706,9 @@ /obj/structure/plushie/examine(mob/user) . = ..() if(opened) - . += "You notice an incision has been made on [src]." + . += span_italics("You notice an incision has been made on [src].") if(in_range(user, src) && stored_item) - . += "You can see something in there..." + . += span_italics("You can see something in there...") /obj/structure/plushie/attack_hand(mob/user) user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN) @@ -725,13 +725,13 @@ searching = FALSE if(user.a_intent == I_HELP) - user.visible_message(span_notice("\The [user] hugs [src]!"),span_notice("You hug [src]!")) + user.visible_message(span_notice(span_bold("\The [user]") + " hugs [src]!"),span_notice("You hug [src]!")) else if (user.a_intent == I_HURT) - user.visible_message(span_warning("\The [user] punches [src]!"),span_warning("You punch [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " punches [src]!"),span_warning("You punch [src]!")) else if (user.a_intent == I_GRAB) - user.visible_message(span_warning("\The [user] attempts to strangle [src]!"),span_warning("You attempt to strangle [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " attempts to strangle [src]!"),span_warning("You attempt to strangle [src]!")) else - user.visible_message(span_notice("\The [user] pokes the [src]."),span_notice("You poke the [src].")) + user.visible_message(span_notice(span_bold("\The [user]") + " pokes the [src]."),span_notice("You poke the [src].")) visible_message("[src] says, \"[phrase]\"") @@ -805,9 +805,9 @@ /obj/item/toy/plushie/examine(mob/user) . = ..() if(opened) - . += "You notice an incision has been made on [src]." + . += span_italics("You notice an incision has been made on [src].") if(in_range(user, src) && stored_item) - . += "You can see something in there..." + . += span_italics("You can see something in there...") /obj/item/toy/plushie/attack_self(mob/user as mob) if(stored_item && opened && !searching) @@ -824,13 +824,13 @@ if(world.time - last_message <= 1 SECOND) return if(user.a_intent == I_HELP) - user.visible_message(span_notice("\The [user] hugs [src]!"),span_notice("You hug [src]!")) + user.visible_message(span_notice(span_bold("\The [user]") + " hugs [src]!"),span_notice("You hug [src]!")) else if (user.a_intent == I_HURT) - user.visible_message(span_warning("\The [user] punches [src]!"),span_warning("You punch [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " punches [src]!"),span_warning("You punch [src]!")) else if (user.a_intent == I_GRAB) - user.visible_message(span_warning("\The [user] attempts to strangle [src]!"),span_warning("You attempt to strangle [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " attempts to strangle [src]!"),span_warning("You attempt to strangle [src]!")) else - user.visible_message(span_notice("\The [user] pokes [src]."),span_notice("You poke [src].")) + user.visible_message(span_notice(span_bold("\The [user]") + " pokes [src]."),span_notice("You poke [src].")) playsound(src, 'sound/items/drop/plushie.ogg', 25, 0) visible_message("[src] says, \"[pokephrase]\"") last_message = world.time @@ -1422,13 +1422,13 @@ user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN) if(user.a_intent == I_HELP) - user.visible_message(span_notice("\The [user] pokes [src]!"),span_notice("You poke [src]!")) + user.visible_message(span_notice(span_bold("\The [user]") + " pokes [src]!"),span_notice("You poke [src]!")) else if (user.a_intent == I_HURT) - user.visible_message(span_warning("\The [user] punches [src]!"),span_warning("You punch [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " punches [src]!"),span_warning("You punch [src]!")) else if (user.a_intent == I_GRAB) - user.visible_message(span_warning("\The [user] attempts to pop [src]!"),span_warning("You attempt to pop [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " attempts to pop [src]!"),span_warning("You attempt to pop [src]!")) else - user.visible_message(span_notice("\The [user] lightly bats the [src]."),span_notice("You lightly bat the [src].")) + user.visible_message(span_notice(span_bold("\The [user]") + " lightly bats the [src]."),span_notice("You lightly bat the [src].")) /obj/structure/balloon/bat name = "giant bat balloon" diff --git a/code/game/objects/items/toys/toys_vr.dm b/code/game/objects/items/toys/toys_vr.dm index dbeb349ee4..67a646d657 100644 --- a/code/game/objects/items/toys/toys_vr.dm +++ b/code/game/objects/items/toys/toys_vr.dm @@ -442,7 +442,7 @@ /obj/item/toy/chewtoy/attack_self(mob/user) playsound(loc, 'sound/items/drop/plushie.ogg', 50, 1) - user.visible_message(span_notice("\The [user] gnaws on [src]!"),span_notice("You gnaw on [src]!")) + user.visible_message(span_notice(span_bold("\The [user]") + " gnaws on [src]!"),span_notice("You gnaw on [src]!")) /* * Cat toys @@ -642,7 +642,7 @@ icon_state = "nuketoyidle" else var/timeleft = (cooldown - world.time) - to_chat(user, span_warning("Nothing happens, and '
[round(timeleft/10)]' appears on a small display.")) + to_chat(user, span_warning("Nothing happens, and") + " '[round(timeleft/10)]' " + span_warning("appears on a small display.")) /obj/item/toy/nuke/attackby(obj/item/I as obj, mob/living/user as mob) if(istype(I, /obj/item/disk/nuclear)) @@ -684,7 +684,7 @@ O.forceMove(src) stored_minature = O else - user.visible_message(span_notice("You stop feeding \the [O] into \the [src]."),"[user] stops feeding \the [O] into \the [src]!/span>") + user.visible_message(span_notice("You stop feeding \the [O] into \the [src]."),span_notice("[user] stops feeding \the [O] into \the [src]!")) else ..() @@ -1181,5 +1181,5 @@ if(M.stat) to_chat(user, span_notice("\The [M] doesn't look like it's any condition to do that.")) return - user.visible_message("\The [user] waves \the [src] in front of the [M]!!") + user.visible_message(span_danger("\The [user] waves \the [src] in front of the [M]!")) M.PounceTarget(user,100) diff --git a/code/game/objects/items/uav.dm b/code/game/objects/items/uav.dm index 9c04ec836a..2d51474e58 100644 --- a/code/game/objects/items/uav.dm +++ b/code/game/objects/items/uav.dm @@ -98,7 +98,7 @@ // Can disasemble or reassemble from packed or off (and this one takes time) if("(Dis)Assemble") if(can_transition_to(state == UAV_PACKED ? UAV_OFF : UAV_PACKED, user)) - user.visible_message("[user] starts [state == UAV_PACKED ? "unpacking" : "packing"] [src].", "You start [state == UAV_PACKED ? "unpacking" : "packing"] [src].") + user.visible_message(span_infoplain(span_bold("[user]") + " starts [state == UAV_PACKED ? "unpacking" : "packing"] [src]."), span_info("You start [state == UAV_PACKED ? "unpacking" : "packing"] [src].")) if(do_after(user, 10 SECONDS, src)) return toggle_packed(user) // Can toggle power from on and off @@ -314,21 +314,21 @@ var/mob/master = wr.resolve() var/list/combined = master.combine_message(message_pieces, verb, M) var/message = combined["formatted"] - var/rendered = "UAV received: [name_used] [message]" + var/rendered = span_game(span_say(span_italics("UAV received: " + span_name("[name_used]") + " [message]"))) master.show_message(rendered, 2) /obj/item/uav/see_emote(var/mob/living/M, text) for(var/wr_master in masters) var/datum/weakref/wr = wr_master var/mob/master = wr.resolve() - var/rendered = "UAV received, [text]" + var/rendered = span_game(span_say(span_italics("UAV received, " + span_message("[text]")))) master.show_message(rendered, 2) /obj/item/uav/show_message(msg, type, alt, alt_type) for(var/wr_master in masters) var/datum/weakref/wr = wr_master var/mob/master = wr.resolve() - var/rendered = "UAV received, [msg]" + var/rendered = span_game(span_say(span_italics("UAV received, " + span_message("[msg]")))) master.show_message(rendered, type) /obj/item/uav/take_damage(var/damage) diff --git a/code/game/objects/items/weapons/autopsy.dm b/code/game/objects/items/weapons/autopsy.dm index 7c0ea39efe..1b9662d782 100644 --- a/code/game/objects/items/weapons/autopsy.dm +++ b/code/game/objects/items/weapons/autopsy.dm @@ -78,7 +78,7 @@ var/scan_data = "" if(timeofdeath) - scan_data += "Time of death: [worldtime2stationtime(timeofdeath)]

" + scan_data += span_bold("Time of death:") + " [worldtime2stationtime(timeofdeath)]

" var/n = 1 for(var/wdata_idx in wdata) @@ -121,7 +121,7 @@ if(!total_score) total_score = D.organs_scanned.len - scan_data += "Weapon #[n]
" + scan_data += span_bold("Weapon #[n]") + "
" if(damaging_weapon) scan_data += "Severity: [damage_desc]
" scan_data += "Hits by weapon: [total_hits]
" @@ -136,7 +136,7 @@ n++ if(chemtraces.len) - scan_data += "Trace Chemicals:
" + scan_data += span_bold("Trace Chemicals: ") + "
" for(var/chemID in chemtraces) scan_data += chemID scan_data += "
" @@ -177,7 +177,7 @@ if(!S.open) to_chat(user, span_warning("You have to cut [S] open first!")) return - M.visible_message("\The [user] scans the wounds on [M]'s [S.name] with [src]") + M.visible_message(span_infoplain(span_bold("\The [user]") + " scans the wounds on [M]'s [S.name] with [src]")) src.add_data(S) diff --git a/code/game/objects/items/weapons/canes.dm b/code/game/objects/items/weapons/canes.dm index f4b445f09e..c17aec5561 100644 --- a/code/game/objects/items/weapons/canes.dm +++ b/code/game/objects/items/weapons/canes.dm @@ -97,7 +97,7 @@ /obj/item/cane/white/collapsible/attack_self(mob/user as mob) on = !on if(on) - user.visible_message("\The [user] extends the white cane.",\ + user.visible_message(span_infoplain(span_bold("\The [user]") + " extends the white cane."),\ span_warning("You extend the white cane."),\ "You hear an ominous click.") icon_state = "whitecane1out" @@ -106,7 +106,7 @@ force = 5 attack_verb = list("smacked", "struck", "cracked", "beaten") else - user.visible_message("\The [user] collapses the white cane.",\ + user.visible_message(span_infoplain(span_bold("\The [user]") + " collapses the white cane."),\ span_notice("You collapse the white cane."),\ "You hear a click.") icon_state = "whitecane1in" diff --git a/code/game/objects/items/weapons/capture_crystal.dm b/code/game/objects/items/weapons/capture_crystal.dm index f9224f720c..549026e40a 100644 --- a/code/game/objects/items/weapons/capture_crystal.dm +++ b/code/game/objects/items/weapons/capture_crystal.dm @@ -46,11 +46,11 @@ /obj/item/capture_crystal/examine(user) . = ..() if(user == owner && bound_mob) - . += "[bound_mob]'s crystal" + . += span_notice("[bound_mob]'s crystal") if(isanimal(bound_mob)) - . += "[bound_mob.health / bound_mob.maxHealth * 100]%" + . += span_notice("[bound_mob.health / bound_mob.maxHealth * 100]%") if(bound_mob.ooc_notes) - . += "OOC Notes: \[View\] - \[Print\]" + . += span_deptradio("OOC Notes:") + " \[View\] - \[Print\]" . += span_deptradio("\[Mechanical Vore Preferences\]") //Command! This lets the owner toggle hostile on AI controlled mobs, or send a silent command message to your bound mob, wherever they may be. diff --git a/code/game/objects/items/weapons/circuitboards/computer/research.dm b/code/game/objects/items/weapons/circuitboards/computer/research.dm index ee687f9923..97f8d9af27 100644 --- a/code/game/objects/items/weapons/circuitboards/computer/research.dm +++ b/code/game/objects/items/weapons/circuitboards/computer/research.dm @@ -9,7 +9,7 @@ /obj/item/circuitboard/rdconsole/attackby(obj/item/I as obj, mob/user as mob) if(I.has_tool_quality(TOOL_SCREWDRIVER)) playsound(src, I.usesound, 50, 1) - user.visible_message("\The [user] adjusts the jumper on \the [src]'s access protocol pins.", span_notice("You adjust the jumper on the access protocol pins.")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " adjusts the jumper on \the [src]'s access protocol pins."), span_notice("You adjust the jumper on the access protocol pins.")) if(build_path == /obj/machinery/computer/rdconsole/core) name = T_BOARD("RD Console - Robotics") build_path = /obj/machinery/computer/rdconsole/robotics diff --git a/code/game/objects/items/weapons/circuitboards/machinery/research.dm b/code/game/objects/items/weapons/circuitboards/machinery/research.dm index 2d69bc3eca..45f8e1c8e0 100644 --- a/code/game/objects/items/weapons/circuitboards/machinery/research.dm +++ b/code/game/objects/items/weapons/circuitboards/machinery/research.dm @@ -14,7 +14,7 @@ /obj/item/circuitboard/rdserver/attackby(obj/item/I as obj, mob/user as mob) if(I.has_tool_quality(TOOL_SCREWDRIVER)) playsound(src, I.usesound, 50, 1) - user.visible_message("\The [user] adjusts the jumper on \the [src]'s access protocol pins.", span_notice("You adjust the jumper on the access protocol pins.")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " adjusts the jumper on \the [src]'s access protocol pins."), span_notice("You adjust the jumper on the access protocol pins.")) if(build_path == /obj/machinery/r_n_d/server/core) name = T_BOARD("RD Console - Robotics") build_path = /obj/machinery/r_n_d/server/robotics diff --git a/code/game/objects/items/weapons/circuitboards/mecha.dm b/code/game/objects/items/weapons/circuitboards/mecha.dm index 4790b8143f..dd3e06d3a7 100644 --- a/code/game/objects/items/weapons/circuitboards/mecha.dm +++ b/code/game/objects/items/weapons/circuitboards/mecha.dm @@ -108,20 +108,20 @@ icon_state = "circuit" /obj/item/circuitboard/mecha/imperion/main - desc = "It is marked with a strange glyph." + desc = "It is marked with a " + span_alien("strange glyph") + "." /obj/item/circuitboard/mecha/imperion/peripherals - desc = "It is marked with a pulsing glyph." + desc = "It is marked with a " + span_alien("pulsing glyph") + "." /obj/item/circuitboard/mecha/imperion/targeting - desc = "It is marked with an ominous glyph." + desc = "It is marked with an " + span_alien("ominous glyph") + "." /obj/item/circuitboard/mecha/imperion/phasing - desc = "It is marked with a disturbing glyph." + desc = "It is marked with a " + span_alien("disturbing glyph") + "." /obj/item/circuitboard/mecha/imperion/damaged name = "Damaged Alien Circuit" - desc = "It is marked with a constantly shifting glyph." + desc = "It is marked with a " + span_alien("constantly shifting glyph") + "." origin_tech = list(TECH_DATA = 3, TECH_BLUESPACE = 1, TECH_PRECURSOR = 2) //Undef the macro, shouldn't be needed anywhere else diff --git a/code/game/objects/items/weapons/dna_injector.dm b/code/game/objects/items/weapons/dna_injector.dm index 123c97dd2c..c672280e43 100644 --- a/code/game/objects/items/weapons/dna_injector.dm +++ b/code/game/objects/items/weapons/dna_injector.dm @@ -128,7 +128,7 @@ // Used by admin log. var/injected_with_monkey = "" if((buf.types & DNA2_BUF_SE) && (block ? (GetState() && block == MONKEYBLOCK) : GetState(MONKEYBLOCK))) - injected_with_monkey = " (MONKEY)" + injected_with_monkey = span_danger("(MONKEY)") add_attack_logs(user,M,"[injected_with_monkey] used the [name] on") diff --git a/code/game/objects/items/weapons/ecigs.dm b/code/game/objects/items/weapons/ecigs.dm index 22e9675156..f29636a2d3 100644 --- a/code/game/objects/items/weapons/ecigs.dm +++ b/code/game/objects/items/weapons/ecigs.dm @@ -79,7 +79,7 @@ var/mob/living/carbon/human/C = loc if (src == C.wear_mask && C.check_has_mouth()) // if it's in the human/monkey mouth, transfer reagents to the mob if (!active || !ec_cartridge || !ec_cartridge.reagents.total_volume)//no cartridge - to_chat(C, "[src] turns off. ") + to_chat(C, span_notice("[src] turns off.")) active=0//autodisable the cigarette STOP_PROCESSING(SSobj, src) update_icon() @@ -109,27 +109,27 @@ /obj/item/clothing/mask/smokable/ecig/attackby(var/obj/item/I, var/mob/user as mob) if(istype(I, /obj/item/reagent_containers/ecig_cartridge)) if (ec_cartridge)//can't add second one - to_chat(user, "A cartridge has already been installed. ") + to_chat(user, span_notice("A cartridge has already been installed.")) else//fits in new one user.remove_from_mob(I) I.forceMove(src)//I.loc=src ec_cartridge = I update_icon() - to_chat(user, "You insert [I] into [src]. ") + to_chat(user, span_notice("You insert [I] into [src].")) /obj/item/clothing/mask/smokable/ecig/attack_self(mob/user as mob) if (active) active=0 STOP_PROCESSING(SSobj, src) - to_chat(user, "You turn off \the [src]. ") + to_chat(user, span_notice("You turn off \the [src]. ")) update_icon() else if (!ec_cartridge) - to_chat(user, "You can't use it with no cartridge installed!. ") + to_chat(user, span_notice("You can't use it with no cartridge installed!.")) return active=1 START_PROCESSING(SSobj, src) - to_chat(user, "You turn on \the [src]. ") + to_chat(user, span_notice("You turn on \the [src]. ")) update_icon() /obj/item/clothing/mask/smokable/ecig/attack_hand(mob/user as mob)//eject cartridge @@ -137,7 +137,7 @@ if (ec_cartridge) active=0 user.put_in_hands(ec_cartridge) - to_chat(user, "You eject [ec_cartridge] from \the [src]. ") + to_chat(user, span_notice("You eject [ec_cartridge] from \the [src].")) ec_cartridge = null update_icon() else diff --git a/code/game/objects/items/weapons/handcuffs.dm b/code/game/objects/items/weapons/handcuffs.dm index ab275feb63..41b11771e6 100644 --- a/code/game/objects/items/weapons/handcuffs.dm +++ b/code/game/objects/items/weapons/handcuffs.dm @@ -302,7 +302,7 @@ var/last_chew = 0 return 1 /obj/item/handcuffs/legcuffs/bola/dropped() - visible_message("\The [src] falls apart!") + visible_message(span_infoplain(span_bold("\The [src]") + " falls apart!")) qdel(src) /obj/item/handcuffs/legcuffs/bola/place_legcuffs(var/mob/living/carbon/target, var/mob/user) @@ -314,7 +314,7 @@ var/last_chew = 0 return 0 if(!H.has_organ_for_slot(slot_legcuffed)) - H.visible_message("\The [src] slams into [H], but slides off!") + H.visible_message(span_infoplain(span_bold("\The [src]") + " slams into [H], but slides off!")) src.dropped() return 0 diff --git a/code/game/objects/items/weapons/implants/implant_vr.dm b/code/game/objects/items/weapons/implants/implant_vr.dm index a95d720ac8..2b0a865e28 100644 --- a/code/game/objects/items/weapons/implants/implant_vr.dm +++ b/code/game/objects/items/weapons/implants/implant_vr.dm @@ -166,7 +166,7 @@ Due to the small chemical capacity of the implant, the life of the implant is re var/newlaws = tgui_input_text(user, "Please Input Laws", "Compliance Laws", "", multiline = TRUE, prevent_enter = TRUE) newlaws = sanitize(newlaws,2048) if(newlaws) - to_chat(user,"You set the laws to:
[newlaws]") + to_chat(user,"You set the laws to:
" + span_notice("[newlaws]")) implant.laws = newlaws //Organic else //No using other implants. to_chat(user,span_notice("A red warning pops up on the implanter's micro-screen: 'INVALID IMPLANT DETECTED.'")) diff --git a/code/game/objects/items/weapons/implants/implantaugment.dm b/code/game/objects/items/weapons/implants/implantaugment.dm index 7307282f10..58e12d9821 100644 --- a/code/game/objects/items/weapons/implants/implantaugment.dm +++ b/code/game/objects/items/weapons/implants/implantaugment.dm @@ -18,7 +18,7 @@ Important Notes: Nanites will fail to complete their task if a suitable location cannot be found for the organ.

Implant Details:
-Function: Nanites will fabricate: [organ_display_name]
+Function: Nanites will fabricate: [span_alien("[organ_display_name]")]
Special Features: Organ identification protocols.
Integrity: N/A"} return dat diff --git a/code/game/objects/items/weapons/implants/implantchair.dm b/code/game/objects/items/weapons/implants/implantchair.dm index 8b14319614..1720c20321 100644 --- a/code/game/objects/items/weapons/implants/implantchair.dm +++ b/code/game/objects/items/weapons/implants/implantchair.dm @@ -35,10 +35,10 @@ else health_text = "[round(src.occupant.health,0.1)]" - var/dat ="Implanter Status
" + var/dat =span_bold("Implanter Status") + "
" - dat +="Current occupant: [src.occupant ? "
Name: [src.occupant]
Health: [health_text]
" : "None"]
" - dat += "Implants: [src.implant_list.len ? "[implant_list.len]" : "Replenish"]
" + dat +=span_bold("Current occupant:") + " [src.occupant ? "
Name: [src.occupant]
Health: [health_text]
" : "None"]
" + dat += span_bold("Implants:") + " [src.implant_list.len ? "[implant_list.len]" : "Replenish"]
" if(src.occupant) dat += "[src.ready ? "Implant" : "Recharging"]
" user.set_machine(src) diff --git a/code/game/objects/items/weapons/implants/implantpad.dm b/code/game/objects/items/weapons/implants/implantpad.dm index cc1c1242ef..712ddce08f 100644 --- a/code/game/objects/items/weapons/implants/implantpad.dm +++ b/code/game/objects/items/weapons/implants/implantpad.dm @@ -49,7 +49,7 @@ /obj/item/implantpad/attack_self(mob/user as mob) user.set_machine(src) - var/dat = "Implant Mini-Computer:
" + var/dat = span_bold("Implant Mini-Computer:") + "
" if (src.case) if(src.case.imp) if(istype(src.case.imp, /obj/item/implant)) diff --git a/code/game/objects/items/weapons/material/chainsaw.dm b/code/game/objects/items/weapons/material/chainsaw.dm index 555e0e9271..d1631a2f11 100644 --- a/code/game/objects/items/weapons/material/chainsaw.dm +++ b/code/game/objects/items/weapons/material/chainsaw.dm @@ -115,7 +115,7 @@ /obj/item/chainsaw/examine(mob/user) . = ..() if(max_fuel && get_dist(user, src) == 0) - . += "The [src] feels like it contains roughtly [get_fuel()] units of fuel left." + . += span_notice("The [src] feels like it contains roughtly [get_fuel()] units of fuel left.") /obj/item/chainsaw/update_icon() if(on) diff --git a/code/game/objects/items/weapons/material/kitchen.dm b/code/game/objects/items/weapons/material/kitchen.dm index 36b4060e32..43c524b51f 100644 --- a/code/game/objects/items/weapons/material/kitchen.dm +++ b/code/game/objects/items/weapons/material/kitchen.dm @@ -54,7 +54,7 @@ loaded = "\the [loading]" user.visible_message( \ - "\The [user] scoops up some of [loaded] with \the [src]!", + span_infoplain(span_bold("\The [user]") + " scoops up some of [loaded] with \the [src]!"), span_notice("You scoop up some of [loaded] with \the [src]!") ) loading.bitecount++ @@ -108,12 +108,12 @@ if(M == user) if(!M.can_eat(loaded)) return - M.visible_message("\The [user] eats some of [loaded] with \the [src].") + M.visible_message(span_bold("\The [user]") + "eats some of [loaded] with \the [src].") else user.visible_message(span_warning("\The [user] begins to feed \the [M]!")) if(!(M.can_force_feed(user, loaded) && do_mob(user, M, 5 SECONDS))) return - M.visible_message("\The [user] feeds some of [loaded] to \the [M] with \the [src].") + M.visible_message(span_bold("\The [user]") + "feeds some of [loaded] to \the [M] with \the [src].") playsound(src,'sound/items/eatfood.ogg', rand(10,40), 1) loaded = null update_icon() diff --git a/code/game/objects/items/weapons/material/material_weapons.dm b/code/game/objects/items/weapons/material/material_weapons.dm index 3b42cd50f1..7bb6910ee1 100644 --- a/code/game/objects/items/weapons/material/material_weapons.dm +++ b/code/game/objects/items/weapons/material/material_weapons.dm @@ -152,7 +152,7 @@ src.set_material(material) return TRUE else - to_chat(M, "You can't sharpen and re-edge [src].") + to_chat(M, span_warning("You can't sharpen and re-edge [src].")) return FALSE /* diff --git a/code/game/objects/items/weapons/policetape.dm b/code/game/objects/items/weapons/policetape.dm index ff7b682e2d..f2f0c9f4e4 100644 --- a/code/game/objects/items/weapons/policetape.dm +++ b/code/game/objects/items/weapons/policetape.dm @@ -333,7 +333,7 @@ var/list/tape_roll_applications = list() /obj/item/tape/attack_hand(mob/user as mob) if (user.a_intent == I_HELP && src.allowed(user)) - user.show_viewers("\The [user] lifts \the [src], allowing passage.") + user.show_viewers(span_infoplain(span_bold("\The [user]") + " lifts \the [src], allowing passage.")) for(var/obj/item/tape/T in gettapeline()) T.lift(100) //~10 seconds else @@ -377,7 +377,7 @@ var/list/tape_roll_applications = list() if(user.a_intent == I_HELP) to_chat(user, span_warning("You refrain from breaking \the [src].")) return - user.visible_message("\The [user] breaks \the [src]!",span_notice("You break \the [src].")) + user.visible_message(span_bold("\The [user]") + "breaks \the [src]!",span_notice("You break \the [src].")) for (var/obj/item/tape/T in gettapeline()) if(T == src) diff --git a/code/game/objects/items/weapons/scrolls.dm b/code/game/objects/items/weapons/scrolls.dm index f14bf247c3..013b527e81 100644 --- a/code/game/objects/items/weapons/scrolls.dm +++ b/code/game/objects/items/weapons/scrolls.dm @@ -20,10 +20,10 @@ return user.set_machine(src) - var/dat = "Teleportation Scroll:
" + var/dat = span_bold("Teleportation Scroll:") + "
" dat += "Number of uses: [src.uses]
" dat += "
" - dat += "Four uses use them wisely:
" + dat += span_bold("Four uses use them wisely:") + "
" dat += "Teleport
" dat += "Kind regards,
Wizards Federation

P.S. Don't forget to bring your gear, you'll need it to cast most spells.
" user << browse(dat, "window=scroll") diff --git a/code/game/objects/items/weapons/storage/backpack.dm b/code/game/objects/items/weapons/storage/backpack.dm index c932192293..254068ea88 100644 --- a/code/game/objects/items/weapons/storage/backpack.dm +++ b/code/game/objects/items/weapons/storage/backpack.dm @@ -526,29 +526,29 @@ return if(!parachute) //This packs the parachute - H.visible_message("\The [H] starts to pack \the [src]!", \ + H.visible_message(span_infoplain(span_bold("\The [H]") + " starts to pack \the [src]!"), \ span_notice("You start to pack \the [src]!"), \ - "You hear the shuffling of cloth.") + span_infoplain("You hear the shuffling of cloth.")) if(do_after(H, 50)) - H.visible_message("\The [H] finishes packing \the [src]!", \ + H.visible_message(span_infoplain(span_bold("\The [H]") + " finishes packing \the [src]!"), \ span_notice("You finish packing \the [src]!"), \ - "You hear the shuffling of cloth.") + span_infoplain("You hear the shuffling of cloth.")) parachute = TRUE else - H.visible_message("\The [src] gives up on packing \the [src]!", \ + H.visible_message(span_infoplain(span_bold("\The [src]") + " gives up on packing \the [src]!"), \ span_notice("You give up on packing \the [src]!")) return else //This unpacks the parachute - H.visible_message("\The [src] starts to unpack \the [src]!", \ + H.visible_message(span_infoplain(span_bold("\The [src]") + " starts to unpack \the [src]!"), \ span_notice("You start to unpack \the [src]!"), \ - "You hear the shuffling of cloth.") + span_infoplain("You hear the shuffling of cloth.")) if(do_after(H, 25)) - H.visible_message("\The [src] finishes unpacking \the [src]!", \ + H.visible_message(span_infoplain(span_bold("\The [src]") + " finishes unpacking \the [src]!"), \ span_notice("You finish unpacking \the [src]!"), \ - "You hear the shuffling of cloth.") + span_infoplain("You hear the shuffling of cloth.")) parachute = FALSE else - H.visible_message("\The [src] decides not to unpack \the [src]!", \ + H.visible_message(span_infoplain(span_bold("\The [src]") + " decides not to unpack \the [src]!"), \ span_notice("You decide not to unpack \the [src]!")) return diff --git a/code/game/objects/items/weapons/storage/boxes.dm b/code/game/objects/items/weapons/storage/boxes.dm index e4085b8b7f..75aa337253 100644 --- a/code/game/objects/items/weapons/storage/boxes.dm +++ b/code/game/objects/items/weapons/storage/boxes.dm @@ -157,7 +157,7 @@ /obj/item/storage/box/flashbangs name = "box of flashbangs (WARNING)" - desc = "WARNING: These devices are extremely dangerous and can cause blindness or deafness in repeated use." + desc = span_bold("WARNING: These devices are extremely dangerous and can cause blindness or deafness in repeated use.") icon_state = "flashbang" starts_with = list(/obj/item/grenade/flashbang = 7) drop_sound = 'sound/items/drop/ammobox.ogg' @@ -336,7 +336,7 @@ /obj/item/storage/box/mousetraps name = "box of Pest-B-Gon mousetraps" - desc = span_red("WARNING:") + " Keep out of reach of children." + desc = span_red(span_bold("WARNING:")) + " " + span_italics("Keep out of reach of children") + "." icon_state = "mousetraps" starts_with = list(/obj/item/assembly/mousetrap = 7) @@ -467,7 +467,7 @@ //Donk-pockets /obj/item/storage/box/donkpockets name = "box of donk-pockets" - desc = "Instructions: Heat in microwave. Product will cool if not eaten within seven minutes." + desc = span_bold("Instructions:") + " " + span_italics("Heat in microwave. Product will cool if not eaten within seven minutes.") icon_state = "donkpocketbox" starts_with = list(/obj/item/reagent_containers/food/snacks/donkpocket = 7) @@ -503,6 +503,6 @@ /obj/item/storage/box/sinpockets name = "box of sin-pockets" - desc = "Instructions: Crush bottom of package to initiate chemical heating. Wait for 20 seconds before consumption. Product will cool if not eaten within seven minutes." + desc = span_bold("Instructions:") + " " + span_italics("Crush bottom of package to initiate chemical heating. Wait for 20 seconds before consumption. Product will cool if not eaten within seven minutes.") icon_state = "donk_kit" starts_with = list(/obj/item/reagent_containers/food/snacks/donkpocket/sinpocket = 7) diff --git a/code/game/objects/items/weapons/swords_axes_etc.dm b/code/game/objects/items/weapons/swords_axes_etc.dm index f6694c5778..ecae56a650 100644 --- a/code/game/objects/items/weapons/swords_axes_etc.dm +++ b/code/game/objects/items/weapons/swords_axes_etc.dm @@ -67,7 +67,7 @@ force = 15//quite robust attack_verb = list("smacked", "struck", "slapped") else - user.visible_message("\The [user] collapses their telescopic baton.",\ + user.visible_message(span_infoplain(span_bold("\The [user]") + " collapses their telescopic baton."),\ span_notice("You collapse the baton."),\ "You hear a click.") icon_state = "telebaton0" diff --git a/code/game/objects/items/weapons/syndie.dm b/code/game/objects/items/weapons/syndie.dm index b7fff933e2..445820d220 100644 --- a/code/game/objects/items/weapons/syndie.dm +++ b/code/game/objects/items/weapons/syndie.dm @@ -50,7 +50,7 @@ icon_state = "c-4[size]_1" playsound(src, 'sound/weapons/armbomb.ogg', 75, 1) for(var/mob/O in hearers(src, null)) - O.show_message("[icon2html(src, O.client)] The [src.name] beeps! ") + O.show_message("[icon2html(src, O.client)] " + span_warning(" The [src.name] beeps!")) sleep(50) explosion(get_turf(src), devastate, heavy_impact, light_impact, flash_range) for(var/dirn in cardinal) //This is to guarantee that C4 at least breaks down all immediately adjacent walls and doors. diff --git a/code/game/objects/items/weapons/tanks/tanks.dm b/code/game/objects/items/weapons/tanks/tanks.dm index 097e80d3c2..e232f64be2 100644 --- a/code/game/objects/items/weapons/tanks/tanks.dm +++ b/code/game/objects/items/weapons/tanks/tanks.dm @@ -191,7 +191,7 @@ var/list/global/tank_gauge_cache = list() if(!valve_welded) to_chat(user, span_notice("You begin welding the \the [src] emergency pressure relief valve.")) if(do_after(user, 40,src)) - to_chat(user, span_notice("You carefully weld \the [src] emergency pressure relief valve shut.
\The [src] may now rupture under pressure!")) + to_chat(user, span_notice("You carefully weld \the [src] emergency pressure relief valve shut.") + " " + span_warning("\The [src] may now rupture under pressure!")) src.valve_welded = 1 src.leaking = 0 else @@ -455,7 +455,7 @@ var/list/global/tank_gauge_cache = list() return T.assume_air(air_contents) playsound(src, 'sound/weapons/Gunshot_shotgun.ogg', 20, 1) - visible_message("[icon2html(src,viewers(src))] \The [src] flies apart!", span_warning("You hear a bang!")) + visible_message("[icon2html(src,viewers(src))] " + span_danger("\The [src] flies apart!"), span_warning("You hear a bang!")) T.hotspot_expose(air_contents.temperature, 70, 1) @@ -500,7 +500,7 @@ var/list/global/tank_gauge_cache = list() T.assume_air(leaked_gas) if(!leaking) - visible_message("[icon2html(src,viewers(src))] \The [src] relief valve flips open with a hiss!", "You hear hissing.") + visible_message("[icon2html(src,viewers(src))] " + span_warning("\The [src] relief valve flips open with a hiss!"), "You hear hissing.") playsound(src, 'sound/effects/spray.ogg', 10, 1, -3) leaking = 1 #ifdef FIREDBG diff --git a/code/game/objects/items/weapons/tape.dm b/code/game/objects/items/weapons/tape.dm index 319250f2a1..e5399a6e7e 100644 --- a/code/game/objects/items/weapons/tape.dm +++ b/code/game/objects/items/weapons/tape.dm @@ -156,7 +156,7 @@ user.drop_from_inventory(I) I.loc = src qdel(I) - to_chat(user, "You place \the [I] back into \the [src].") + to_chat(user, span_notice("You place \the [I] back into \the [src].")) /obj/item/ducttape/attack_hand(mob/living/L) anchored = FALSE diff --git a/code/game/objects/items/weapons/teleportation.dm b/code/game/objects/items/weapons/teleportation.dm index 2499b0c570..bf5a710635 100644 --- a/code/game/objects/items/weapons/teleportation.dm +++ b/code/game/objects/items/weapons/teleportation.dm @@ -55,11 +55,11 @@ Frequency: if ((usr.contents.Find(src) || (in_range(src, usr) && istype(src.loc, /turf)))) usr.set_machine(src) if (href_list["refresh"]) - src.temp = "Persistent Signal Locator
" + src.temp = span_bold("Persistent Signal Locator") + "
" var/turf/sr = get_turf(src) if (sr) - src.temp += "Located Beacons:
" + src.temp += span_bold("Located Beacons:") + "
" for(var/obj/item/radio/beacon/W in GLOB.all_beacons) if (W.frequency == src.frequency) @@ -78,8 +78,8 @@ Frequency: direct = "very weak" src.temp += "[W.code]-[dir2text(get_dir(sr, tr))]-[direct]
" - src.temp += "Extraneous Signals:
" - for (var/obj/item/implant/tracking/W in GLOB.all_tracking_implants) + src.temp += span_bold("Extraneous Signals:") + "
" + for (var/obj/item/implant/tracking/W in GLOB.all_tracking_implants) // CHOMPEdit if (!W.implanted || !(istype(W.loc,/obj/item/organ/external) || ismob(W.loc) || W.malfunction)) continue @@ -96,9 +96,9 @@ Frequency: direct = "weak" src.temp += "[W.id]-[dir2text(get_dir(sr, tr))]-[direct]
" - src.temp += "You are at \[[sr.x],[sr.y],[sr.z]\] in orbital coordinates.

Refresh
" + src.temp += span_bold("You are at \[[sr.x],[sr.y],[sr.z]\]") + " in orbital coordinates.

Refresh
" else - src.temp += "Processing Error: Unable to locate orbital position.
" + src.temp += span_bold("Processing Error:") + " Unable to locate orbital position.
" else if (href_list["freq"]) src.frequency += text2num(href_list["freq"]) diff --git a/code/game/objects/items/weapons/tools/weldingtool.dm b/code/game/objects/items/weapons/tools/weldingtool.dm index 618d5498bd..870676c111 100644 --- a/code/game/objects/items/weapons/tools/weldingtool.dm +++ b/code/game/objects/items/weapons/tools/weldingtool.dm @@ -517,7 +517,7 @@ if(mounted_pack.loc != src.loc && src.loc != mounted_pack) mounted_pack.return_nozzle() - visible_message("\The [src] retracts to its fueltank.") + visible_message(span_infoplain(span_bold("\The [src]") + " retracts to its fueltank.")) if(get_fuel() <= get_max_fuel()) mounted_pack.reagents.trans_to_obj(src, 1) diff --git a/code/game/objects/items/weapons/tools/wirecutters.dm b/code/game/objects/items/weapons/tools/wirecutters.dm index 5e3834a8a1..3d03493d2f 100644 --- a/code/game/objects/items/weapons/tools/wirecutters.dm +++ b/code/game/objects/items/weapons/tools/wirecutters.dm @@ -83,13 +83,13 @@ /obj/item/tool/wirecutters/cyborg name = "wirecutters" - desc = "This cuts wires. With science." + desc = "This cuts wires. With science." usesound = 'sound/items/jaws_cut.ogg' toolspeed = 0.5 /obj/item/tool/wirecutters/hybrid name = "strange wirecutters" - desc = "This cuts wires. With Science!" + desc = "This cuts wires. With " + span_purple("Science!") icon_state = "hybcutters" w_class = ITEMSIZE_NORMAL origin_tech = list(TECH_MATERIAL = 3, TECH_ENGINEERING = 3, TECH_PHORON = 2) diff --git a/code/game/objects/items/weapons/traps.dm b/code/game/objects/items/weapons/traps.dm index 87d6cfed47..505949019f 100644 --- a/code/game/objects/items/weapons/traps.dm +++ b/code/game/objects/items/weapons/traps.dm @@ -129,7 +129,7 @@ L.visible_message( span_danger("[L] steps on \the [src]."), span_danger("You step on \the [src]!"), - "You hear a loud metallic snap!" + span_infoplain(span_bold("You hear a loud metallic snap!")) ) attack_mob(L) if(!has_buckled_mobs()) @@ -276,7 +276,7 @@ L.visible_message( span_danger("[L] steps in \the [src]."), span_danger("You step in \the [src]!"), - "You hear a sharp rustling!" + span_infoplain(span_bold("You hear a sharp rustling!")) ) attack_mob(L) update_icon() diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm index f25f34a8ea..eee4c552da 100644 --- a/code/game/objects/structures/bedsheet_bin.dm +++ b/code/game/objects/structures/bedsheet_bin.dm @@ -33,7 +33,7 @@ LINEN BINS /obj/item/bedsheet/attackby(obj/item/I, mob/user) if(is_sharp(I)) - user.visible_message("\The [user] begins cutting up [src] with [I].", span_notice("You begin cutting up [src] with [I].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " begins cutting up [src] with [I]."), span_notice("You begin cutting up [src] with [I].")) if(do_after(user, 50)) to_chat(user, span_notice("You cut [src] into pieces!")) for(var/i in 1 to rand(2,5)) diff --git a/code/game/objects/structures/bonfire.dm b/code/game/objects/structures/bonfire.dm index 0d78983c46..6701035f8b 100644 --- a/code/game/objects/structures/bonfire.dm +++ b/code/game/objects/structures/bonfire.dm @@ -170,7 +170,7 @@ burning = FALSE update_icon() STOP_PROCESSING(SSobj, src) - visible_message("\The [src] stops burning.") + visible_message(span_infoplain(span_bold("\The [src]") + " stops burning.")) /obj/structure/bonfire/proc/ignite() if(!burning && get_fuel_amount()) @@ -364,7 +364,7 @@ burning = FALSE update_icon() STOP_PROCESSING(SSobj, src) - visible_message("\The [src] stops burning.") + visible_message(span_infoplain(span_bold("\The [src]") + " stops burning.")) /obj/structure/fireplace/proc/ignite() if(!burning && get_fuel_amount()) diff --git a/code/game/objects/structures/crates_lockers/crates_vr.dm b/code/game/objects/structures/crates_lockers/crates_vr.dm index 8825c25d83..10183cf598 100644 --- a/code/game/objects/structures/crates_lockers/crates_vr.dm +++ b/code/game/objects/structures/crates_lockers/crates_vr.dm @@ -7,7 +7,7 @@ if(locked && tamper_proof && health <= Proj.damage) if(tamper_proof == 2) // Mainly used for events to prevent any chance of opening the box improperly. - visible_message(span_red("The anti-tamper mechanism of [src] triggers an explosion!")) + visible_message(span_bolddanger("The anti-tamper mechanism of [src] triggers an explosion!")) var/turf/T = get_turf(src.loc) explosion(T, 0, 0, 0, 1) // Non-damaging, but it'll alert security. qdel(src) @@ -15,18 +15,18 @@ var/open_chance = rand(1,5) switch(open_chance) if(1) - visible_message(span_red("The anti-tamper mechanism of [src] causes an explosion!")) + visible_message(span_bolddanger("The anti-tamper mechanism of [src] causes an explosion!")) var/turf/T = get_turf(src.loc) explosion(T, 0, 0, 0, 1) // Non-damaging, but it'll alert security. qdel(src) if(2 to 4) - visible_message(span_red("The anti-tamper mechanism of [src] causes a small fire!")) + visible_message(span_boldwarning("The anti-tamper mechanism of [src] causes a small fire!")) for(var/atom/movable/A as mob|obj in src) // For every item in the box, we spawn a pile of ash. new /obj/effect/decal/cleanable/ash(src.loc) new /obj/fire(src.loc) qdel(src) if(5) - visible_message(span_green("The anti-tamper mechanism of [src] fails!")) + visible_message(span_infoplain(span_green(span_bold("The anti-tamper mechanism of [src] fails!")))) return ..() diff --git a/code/game/objects/structures/droppod.dm b/code/game/objects/structures/droppod.dm index 24e71dd6a9..123db9e7ef 100644 --- a/code/game/objects/structures/droppod.dm +++ b/code/game/objects/structures/droppod.dm @@ -102,7 +102,7 @@ to_chat(user, span_warning("Nothing left to do with it now. Maybe you can break it down into materials.")) else open_pod() - user.visible_message("[user] opens \the [src]!","You open \the [src]!") + user.visible_message(span_infoplain(span_bold("[user]") + " opens \the [src]!"),span_infoplain("You open \the [src]!")) /obj/structure/drop_pod/attackby(obj/item/O, mob/user) if(O.has_tool_quality(TOOL_WRENCH)) diff --git a/code/game/objects/structures/fireaxe.dm b/code/game/objects/structures/fireaxe.dm index d87f5bd630..8281a7f9ca 100644 --- a/code/game/objects/structures/fireaxe.dm +++ b/code/game/objects/structures/fireaxe.dm @@ -38,7 +38,7 @@ playsound(src, 'sound/machines/lockreset.ogg', 50, 1) if(do_after(user, 20 * O.toolspeed)) locked = 0 - to_chat(user, " You disable the locking modules.") + to_chat(user, span_warning("You disable the locking modules.")) update_icon() return else if(istype(O, /obj/item)) @@ -89,7 +89,7 @@ playsound(src, 'sound/machines/lockenable.ogg', 50, 1) if(do_after(user,20 * O.toolspeed)) locked = 1 - to_chat(user, " You re-enable the locking modules.") + to_chat(user, span_warning("You re-enable the locking modules.")) return else toggle_close_open() diff --git a/code/game/objects/structures/flora/flora.dm b/code/game/objects/structures/flora/flora.dm index 7dec53467b..2a8337e435 100644 --- a/code/game/objects/structures/flora/flora.dm +++ b/code/game/objects/structures/flora/flora.dm @@ -282,7 +282,7 @@ /obj/structure/flora/pottedplant/examine(mob/user) . = ..() if(in_range(user, src) && stored_item) - . += span_filter_notice("You can see something in there...") + . += span_filter_notice(span_italics("You can see something in there...")) /obj/structure/flora/pottedplant/attackby(obj/item/I, mob/user) if(issilicon(user)) @@ -308,7 +308,7 @@ /obj/structure/flora/pottedplant/attack_hand(mob/user) if(!stored_item) - to_chat(user, span_filter_notice("You see nothing of interest in [src]...")) + to_chat(user, span_filter_notice(span_bold("You see nothing of interest in [src]..."))) else if(do_after(user, 10)) to_chat(user, span_filter_notice("You find [icon2html(stored_item, user.client)] [stored_item] in [src]!")) diff --git a/code/game/objects/structures/flora/trees.dm b/code/game/objects/structures/flora/trees.dm index 8ef6569926..0218ca5d16 100644 --- a/code/game/objects/structures/flora/trees.dm +++ b/code/game/objects/structures/flora/trees.dm @@ -47,7 +47,7 @@ if(is_stump) if(istype(W,/obj/item/shovel)) if(do_after(user, 5 SECONDS)) - visible_message("\The [user] digs up \the [src] stump with \the [W].") + visible_message(span_infoplain(span_bold("\The [user]") + " digs up \the [src] stump with \the [W].")) qdel(src) return diff --git a/code/game/objects/structures/ghost_pods/antagonist.dm b/code/game/objects/structures/ghost_pods/antagonist.dm index f271d37586..226826c659 100644 --- a/code/game/objects/structures/ghost_pods/antagonist.dm +++ b/code/game/objects/structures/ghost_pods/antagonist.dm @@ -19,8 +19,8 @@ M.mind.transfer_to(R) // Description for new larva, so they understand what to expect. to_chat(M, span_notice("You are a Xenomorph Larva, freshly slithered out of their egg to serve the hive.")) - to_chat(M, span_notice("Be sure to carefully listen to your queen, as xenomorph egg spawns may act different to loner xenomorph spawns.")) - to_chat(M, span_warning("Remember, you are technically a antagonist. Be sure to learn the context of your existence via IC or ahelp to prevent headaches, and follow the orders of your queen to the letter.")) + to_chat(M, span_boldnotice("Be sure to carefully listen to your queen, as xenomorph egg spawns may act different to loner xenomorph spawns.")) + to_chat(M, span_boldwarning("Remember, you are technically a antagonist. Be sure to learn the context of your existence via IC or ahelp to prevent headaches, and follow the orders of your queen to the letter.")) to_chat(M, span_notice(" Your life for the hive!")) R.ckey = M.ckey visible_message(span_warning("\the [src] peels open, and a fresh larva slithers out!")) diff --git a/code/game/objects/structures/ghost_pods/event_vr.dm b/code/game/objects/structures/ghost_pods/event_vr.dm index 790440de4c..613f350fa8 100644 --- a/code/game/objects/structures/ghost_pods/event_vr.dm +++ b/code/game/objects/structures/ghost_pods/event_vr.dm @@ -124,9 +124,9 @@ //newPred.movement_cooldown = 0 // The "needless artificial speed cap" exists for a reason if(M.mind) M.mind.transfer_to(newPred) - to_chat(M, "You are [newPred], somehow having gotten aboard the station in search of food. \ + to_chat(M, span_notice("You are [newPred], somehow having gotten aboard the station in search of food. \ You are wary of environment around you, but you do feel rather peckish. Stick around dark, secluded places to avoid danger or, \ - if you are cute enough, try to make friends with this place's inhabitants.") + if you are cute enough, try to make friends with this place's inhabitants.")) to_chat(M, span_critical("Please be advised, this role is NOT AN ANTAGONIST.")) to_chat(M, span_warning("You may be a spooky space monster, but your role is to facilitate spooky space monster roleplay, not to fight the station and kill people. You can of course eat and/or digest people as you like if OOC prefs align, but this should be done as part of roleplay. If you intend to fight the station and kill people and such, you need permission from the staff team. GENERALLY, this role should avoid well populated areas. You’re a weird spooky space monster, so the bar is probably not where you’d want to go if you intend to survive. Of course, you’re welcome to try to make friends and roleplay how you will in this regard, but something to keep in mind.")) newPred.ckey = M.ckey @@ -162,12 +162,12 @@ newMorph.init_vore() //CHOMPedit: On-demand belly loading. if(M.mind) M.mind.transfer_to(newMorph) - to_chat(M, "You are a Morph, somehow having gotten aboard the station in your wandering. \ + to_chat(M, span_notice("You are a Morph, somehow having gotten aboard the station in your wandering. \ You are wary of environment around you, but your primal hunger still calls for you to find prey. Seek a convincing disguise, \ - using your amorphous form to traverse vents to find and consume weak prey.") - to_chat(M, "You can use shift + click on objects to disguise yourself as them, but your strikes are nearly useless when you are disguised. \ + using your amorphous form to traverse vents to find and consume weak prey.")) + to_chat(M, span_notice("You can use shift + click on objects to disguise yourself as them, but your strikes are nearly useless when you are disguised. \ You can undisguise yourself by shift + clicking yourself, but disguise being switched, or turned on and off has a short cooldown. You can also ventcrawl, \ - by using alt + click on the vent or scrubber.") + by using alt + click on the vent or scrubber.")) to_chat(M, span_critical("Please be advised, this role is NOT AN ANTAGONIST.")) to_chat(M, span_warning("You may be a spooky space monster, but your role is to facilitate spooky space monster roleplay, not to fight the station and kill people. You can of course eat and/or digest people as you like if OOC prefs align, but this should be done as part of roleplay. If you intend to fight the station and kill people and such, you need permission from the staff team. GENERALLY, this role should avoid well populated areas. You’re a weird spooky space monster, so the bar is probably not where you’d want to go if you intend to survive. Of course, you’re welcome to try to make friends and roleplay how you will in this regard, but something to keep in mind.")) diff --git a/code/game/objects/structures/ghost_pods/mysterious.dm b/code/game/objects/structures/ghost_pods/mysterious.dm index 8bc3df94ff..d25d2a752c 100644 --- a/code/game/objects/structures/ghost_pods/mysterious.dm +++ b/code/game/objects/structures/ghost_pods/mysterious.dm @@ -40,10 +40,10 @@ /obj/structure/ghost_pod/manual/cursedblade/create_occupant(var/mob/M) density = FALSE var/obj/item/melee/cursedblade/R = new(get_turf(src)) - to_chat(M, "You are a Cursed Sword, discovered by a hapless explorer. \ + to_chat(M, span_notice("You are a " + span_bold("Cursed Sword") + ", discovered by a hapless explorer. \ You were once an explorer yourself, when one day you discovered a strange sword made from a red crystal. As soon as you touched it,\ your body was reduced to ashes and your soul was cursed to remain trapped in the blade forever. \ - Now it is up to you to decide whether you want to be a faithful companion, or a bitter prisoner of the blade.") + Now it is up to you to decide whether you want to be a faithful companion, or a bitter prisoner of the blade.")) R.ghost_inhabit(M) visible_message(span_warning("The blade shines brightly for a brief moment as [usr] pulls it out of the stone!")) log_and_message_admins("successfully acquired a cursed sword.") diff --git a/code/game/objects/structures/ghost_pods/silicon.dm b/code/game/objects/structures/ghost_pods/silicon.dm index dd68d9d4d2..64ac8f5674 100644 --- a/code/game/objects/structures/ghost_pods/silicon.dm +++ b/code/game/objects/structures/ghost_pods/silicon.dm @@ -23,12 +23,12 @@ if(M.mind) M.mind.transfer_to(R) // Put this text here before ckey change so that their laws are shown below it, since borg login() shows it. - to_chat(M, "You are a Lost Drone, discovered inside the wreckage of your previous home. \ + to_chat(M, span_notice("You are a Lost Drone, discovered inside the wreckage of your previous home. \ Something has reactivated you, with their intentions unknown to you, and yours unknown to them. They are a foreign entity, \ - however they did free you from your pod...") - to_chat(M, "Be sure to examine your currently loaded lawset closely. Remember, your \ + however they did free you from your pod...")) + to_chat(M, span_notice(span_bold("Be sure to examine your currently loaded lawset closely.") + " Remember, your \ definiton of 'the station' is where your pod is, and unless your laws say otherwise, the entity that released you \ - from the pod is not a crewmember.") + from the pod is not a crewmember.")) R.ckey = M.ckey visible_message(span_warning("As \the [src] opens, the eyes of the robot flicker as it is activated.")) R.namepick() @@ -53,8 +53,8 @@ M.mind.transfer_to(R) // Put this text here before ckey change so that their laws are shown below it, since borg login() shows it. to_chat(M, span_notice("You are a Gravekeeper Drone, activated once again to tend to the restful dead.")) - to_chat(M, "Be sure to examine your currently loaded lawset closely. Remember, your \ - definiton of 'your gravesite' is where your pod is.") + to_chat(M, span_notice(span_bold("Be sure to examine your currently loaded lawset closely.") + " Remember, your \ + definiton of 'your gravesite' is where your pod is.")) R.ckey = M.ckey visible_message(span_warning("As \the [src] opens, the eyes of the robot flicker as it is activated.")) R.namepick() @@ -92,7 +92,7 @@ . = ..() var/turf/T = get_turf(src) - say_dead_object("A [drone_class] swarm drone shell is now available in \the [T.loc].", src) + say_dead_object("A " + span_notice("[drone_class] swarm drone") + " shell is now available in \the [T.loc].", src) /obj/structure/ghost_pod/ghost_activated/swarm_drone/event/gunner name = "gunner shell" diff --git a/code/game/objects/structures/ghost_pods/silicon_vr.dm b/code/game/objects/structures/ghost_pods/silicon_vr.dm index 72ed818f27..cfc3b781d2 100644 --- a/code/game/objects/structures/ghost_pods/silicon_vr.dm +++ b/code/game/objects/structures/ghost_pods/silicon_vr.dm @@ -13,12 +13,12 @@ if(M.mind) M.mind.transfer_to(R) // Put this text here before ckey change so that their laws are shown below it, since borg login() shows it. - to_chat(M, "You are a Lost Drone, discovered inside the wreckage of your previous home. \ + to_chat(M, span_notice("You are a " + span_bold("Lost Drone") + ", discovered inside the wreckage of your previous home. \ Something has reactivated you, with their intentions unknown to you, and yours unknown to them. They are a foreign entity, \ - however they did free you from your pod...") - to_chat(M, "Be sure to examine your currently loaded lawset closely. Remember, your \ + however they did free you from your pod...")) + to_chat(M, span_notice(span_bold("Be sure to examine your currently loaded lawset closely.") + " Remember, your \ definiton of 'the station' is where your pod is, and unless your laws say otherwise, the entity that released you \ - from the pod is not a crewmember.") + from the pod is not a crewmember.")) R.ckey = M.ckey visible_message(span_warning("As \the [src] opens, the eyes of the robot flicker as it is activated.")) R.namepick() diff --git a/code/game/objects/structures/kitchen_spike.dm b/code/game/objects/structures/kitchen_spike.dm index b13c51e14b..de43c6d85e 100644 --- a/code/game/objects/structures/kitchen_spike.dm +++ b/code/game/objects/structures/kitchen_spike.dm @@ -16,11 +16,11 @@ if(!istype(G, /obj/item/grab) || !ismob(G.affecting)) return if(occupied) - to_chat(user, "The spike already has something on it, finish collecting its meat first!") + to_chat(user, span_danger("The spike already has something on it, finish collecting its meat first!")) else if(spike(G.affecting)) var/datum/gender/T = gender_datums[G.affecting.get_visible_gender()] - visible_message("[user] has forced [G.affecting] onto the spike, killing [T.him] instantly!") + visible_message(span_danger("[user] has forced [G.affecting] onto the spike, killing [T.him] instantly!")) var/mob/M = G.affecting M.forceMove(src) qdel(G) diff --git a/code/game/objects/structures/medical_stand_vr.dm b/code/game/objects/structures/medical_stand_vr.dm index 453ede666d..05bd7fde60 100644 --- a/code/game/objects/structures/medical_stand_vr.dm +++ b/code/game/objects/structures/medical_stand_vr.dm @@ -129,10 +129,10 @@ qdel(contained) contained = new mask_type(src) breather = null - src.visible_message("\The [contained] slips to \the [src]!") + src.visible_message(span_infoplain(span_bold("\The [contained]") + " slips to \the [src]!")) update_icon() return - usr.visible_message("\The [usr] begins carefully placing the mask onto [target].", + usr.visible_message(span_infoplain(span_bold("\The [usr]") + " begins carefully placing the mask onto [target]."), span_notice("You begin carefully placing the mask onto [target].")) if(!do_mob(usr, target, 100) || !can_apply_to_target(target, usr)) return @@ -151,14 +151,14 @@ visible_message("\The [attached] is taken off \the [src]") attached = null else if(ishuman(target)) - usr.visible_message("\The [usr] begins inserting needle into [target]'s vein.", + usr.visible_message(span_infoplain(span_bold("\The [usr]") + " begins inserting needle into [target]'s vein."), span_notice("You begin inserting needle into [target]'s vein.")) if(!do_mob(usr, target, 50)) usr.visible_message(span_notice("\The [usr]'s hand slips and pricks \the [target]."), span_notice("Your hand slips and pricks \the [target].")) target.apply_damage(3, BRUTE, pick(BP_R_ARM, BP_L_ARM)) return - usr.visible_message("\The [usr] hooks \the [target] up to \the [src].", + usr.visible_message(span_infoplain(span_bold("\The [usr]") + "hooks \the [target] up to \the [src]."), span_notice("You hook \the [target] up to \the [src].")) attached = target START_PROCESSING(SSobj,src) @@ -184,13 +184,13 @@ to_chat(user, span_warning("There is no tank in \the [src]!")) return else if (tank && is_loosen) - user.visible_message("\The [user] removes \the [tank] from \the [src].", "You remove \the [tank] from \the [src].>") + user.visible_message(span_warningplain(span_bold("\The [user]") + " removes \the [tank] from \the [src]."), span_warning("You remove \the [tank] from \the [src].")) user.put_in_hands(tank) tank = null update_icon() return else if (!is_loosen) - user.visible_message("\The [user] tries to removes \the [tank] from \the [src] but it won't budge.", "You try to removes \the [tank] from \the [src] but it won't budge.>") + user.visible_message(span_warningplain(span_bold("\The [user]") + " tries to removes \the [tank] from \the [src] but it won't budge."), span_warning("You try to removes \the [tank] from \the [src] but it won't budge.")) return if ("Toggle valve") if (!tank) @@ -198,7 +198,7 @@ return else if (valve_opened) - src.visible_message("\The [user] closes valve on \the [src]!", + src.visible_message(span_infoplain(span_bold("\The [user]") + " closes valve on \the [src]!"), span_notice("You close valve on \the [src].")) if(breather) breather.internals?.icon_state = "internal0" @@ -206,7 +206,7 @@ valve_opened = FALSE update_icon() else - src.visible_message("\The [user] opens valve on \the [src]!", + src.visible_message(span_infoplain(span_bold("\The [user]") + " opens valve on \the [src]!"), span_notice("You open valve on \the [src].")) if(breather) breather.internal = tank @@ -319,7 +319,7 @@ user.drop_item() W.forceMove(src) tank = W - user.visible_message("\The [user] attaches \the [tank] to \the [src].", span_notice("You attach \the [tank] to \the [src].")) + user.visible_message(span_bold("\The [user]") + " attaches \the [tank] to \the [src].", span_notice("You attach \the [tank] to \the [src].")) src.add_fingerprint(user) update_icon() @@ -373,7 +373,7 @@ else qdel(contained) contained = new mask_type (src) - src.visible_message("\The [contained] slips to \the [src]!") + src.visible_message(span_bold("\The [contained]") + " slips to \the [src]!") breather = null update_icon() return diff --git a/code/game/objects/structures/props/alien_props.dm b/code/game/objects/structures/props/alien_props.dm index f1a3502ee8..e4edf9b219 100644 --- a/code/game/objects/structures/props/alien_props.dm +++ b/code/game/objects/structures/props/alien_props.dm @@ -11,8 +11,8 @@ name = "alien console" desc = "The console flashes what appear to be symbols you've never seen before." icon_state = "console-c" - interaction_message = "The console flashes a series of unknown symbols as you press a button on what is presumably a keyboard. It probably some sort of \ - authentication error. Since you're not an alien, you should probably leave it alone." + interaction_message = span_warning("The console flashes a series of unknown symbols as you press a button on what is presumably a keyboard. It probably some sort of \ + authentication error. Since you're not an alien, you should probably leave it alone.") /obj/structure/prop/alien/computer/camera desc = "This console is briefly flashing video feeds of various locations close by." diff --git a/code/game/objects/structures/props/beam_prism.dm b/code/game/objects/structures/props/beam_prism.dm index 98f16a6a59..75174e6c0c 100644 --- a/code/game/objects/structures/props/beam_prism.dm +++ b/code/game/objects/structures/props/beam_prism.dm @@ -90,11 +90,11 @@ /obj/structure/prop/prism/proc/rotate_auto(var/new_bearing) if(rotation_lock) - visible_message("\The [src] shudders.") + visible_message(span_infoplain(span_bold("\The [src]") + " shudders.")) playsound(src, 'sound/effects/clang.ogg', 50, 1) return - visible_message("\The [src] rotates to a bearing of [new_bearing].") + visible_message(span_infoplain(span_bold("\The [src]") + " rotates to a bearing of [new_bearing].")) var/rotate_degrees = new_bearing - degrees_from_north diff --git a/code/game/objects/structures/props/statue.dm b/code/game/objects/structures/props/statue.dm index 904510fb96..58134d38bd 100644 --- a/code/game/objects/structures/props/statue.dm +++ b/code/game/objects/structures/props/statue.dm @@ -58,7 +58,7 @@ desc = "A sculpture made of pure phoron. It is covered in a lacquer that prevents erosion and renders it fireproof. It's safe. Probably." icon_state = "phoronic" layer = ABOVE_WINDOW_LAYER - interaction_message = "Cool to touch and unbelievable smooth. You can almost see your reflection in it." + interaction_message = span_notice("Cool to touch and unbelievable smooth. You can almost see your reflection in it.") /obj/structure/prop/statue/phoron/New() set_light(2, 3, "#cc66ff") @@ -71,4 +71,4 @@ /obj/structure/prop/statue/pillar/dark name = "pillar" desc = "A dark pillar." - icon_state = "dark_pillar" \ No newline at end of file + icon_state = "dark_pillar" diff --git a/code/game/objects/structures/railing.dm b/code/game/objects/structures/railing.dm index 4d34a48719..7f7f57c1f0 100644 --- a/code/game/objects/structures/railing.dm +++ b/code/game/objects/structures/railing.dm @@ -205,7 +205,7 @@ if(W.has_tool_quality(TOOL_WRENCH) && !anchored) playsound(src, W.usesound, 50, 1) if(do_after(user, 20, src)) - user.visible_message("\The [user] dismantles \the [src].", span_notice("You dismantle \the [src].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " dismantles \the [src]."), span_notice("You dismantle \the [src].")) new /obj/item/stack/material/steel(get_turf(usr), 2) qdel(src) return @@ -216,13 +216,13 @@ if(F.welding) playsound(src, F.usesound, 50, 1) if(do_after(user, 20, src)) - user.visible_message("\The [user] repairs some damage to \the [src].", span_notice("You repair some damage to \the [src].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " repairs some damage to \the [src]."), span_notice("You repair some damage to \the [src].")) health = min(health+(maxhealth/5), maxhealth) // 20% repair per application return // Install if(W.has_tool_quality(TOOL_SCREWDRIVER)) - user.visible_message(anchored ? "\The [user] begins unscrewing \the [src]." : "\The [user] begins fasten \the [src]." ) + user.visible_message(span_info(anchored ? span_bold("\The [user]") + " begins unscrewing \the [src]." : span_bold("\The [user]") + "begins fasten \the [src]." )) playsound(src, W.usesound, 75, 1) if(do_after(user, 10, src)) to_chat(user, (anchored ? span_notice("You have unfastened \the [src] from the floor.") : span_notice("You have fastened \the [src] to the floor."))) diff --git a/code/game/objects/structures/safe.dm b/code/game/objects/structures/safe.dm index dc9a3426ce..dc14447db1 100644 --- a/code/game/objects/structures/safe.dm +++ b/code/game/objects/structures/safe.dm @@ -48,7 +48,7 @@ FLOOR SAFES if(tumbler_2_pos == tumbler_2_open) to_chat(user, span_notice("You hear a [pick("tink", "krink", "plink")] from \the [src].")) if(tumbler_1_pos == tumbler_1_open && tumbler_2_pos == tumbler_2_open) - if(user) visible_message("[pick("Spring", "Sprang", "Sproing", "Clunk", "Krunk")]!") + if(user) visible_message(span_infoplain(span_bold("[pick("Spring", "Sprang", "Sproing", "Clunk", "Krunk")]!"))) return 1 return 0 diff --git a/code/game/objects/structures/salvageable.dm b/code/game/objects/structures/salvageable.dm index 3ec310fb26..3dcd550755 100644 --- a/code/game/objects/structures/salvageable.dm +++ b/code/game/objects/structures/salvageable.dm @@ -18,7 +18,7 @@ playsound(src, I.usesound, 50, 1) var/actual_time = I.toolspeed * 170 user.visible_message( \ - "\The [user] begins salvaging from \the [src].", \ + span_infoplain(span_bold("\The [user]") + " begins salvaging from \the [src]."), \ span_notice("You start salvaging from \the [src].")) if(do_after(user, actual_time, target = src)) user.visible_message( \ diff --git a/code/game/objects/structures/signs.dm b/code/game/objects/structures/signs.dm index 587546e37e..951f0db640 100644 --- a/code/game/objects/structures/signs.dm +++ b/code/game/objects/structures/signs.dm @@ -1516,7 +1516,7 @@ . = ..() . += "The calendar shows that the date is [stationdate2text()]." if (Holiday.len) - . += "Today is [english_list(Holiday)]." + . += "Today is " + span_bold(span_green("[english_list(Holiday)]")) + "." /obj/structure/sign/explosive name = "\improper HIGH EXPLOSIVES sign" diff --git a/code/game/objects/structures/under_wardrobe.dm b/code/game/objects/structures/under_wardrobe.dm index b94ac40b8f..6e30940f73 100644 --- a/code/game/objects/structures/under_wardrobe.dm +++ b/code/game/objects/structures/under_wardrobe.dm @@ -13,7 +13,7 @@ /obj/structure/undies_wardrobe/interact(var/mob/living/carbon/human/H) var/dat = list() - dat += "Underwear:
" + dat += span_bold("Underwear:") + "
" for(var/datum/category_group/underwear/UWC in global_underwear.categories) var/datum/category_item/underwear/UWI = H.all_underwear[UWC.name] var/item_name = UWI ? UWI.name : "None" diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm index 54de478e41..3a5d4190d0 100644 --- a/code/game/objects/structures/watercloset.dm +++ b/code/game/objects/structures/watercloset.dm @@ -525,7 +525,7 @@ to_chat(usr, span_warning("\The [thing] is empty.")) return // Clear the vessel. - visible_message("\The [usr] tips the contents of \the [thing] into \the [src].") + visible_message(span_infoplain(span_bold("\The [usr]") + " tips the contents of \the [thing] into \the [src].")) thing.reagents.clear_reagents() thing.update_icon() diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 4b498686a1..124eff47f8 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -221,7 +221,7 @@ damage = damage / 2 take_damage(damage) else - visible_message("\The [user] bonks \the [src] harmlessly.") + visible_message(span_infoplain(span_bold("\The [user]") + " bonks \the [src] harmlessly.")) user.do_attack_animation(src) return 1 @@ -310,7 +310,7 @@ if (C.use(1)) playsound(src, 'sound/effects/sparks1.ogg', 75, 1) user.visible_message( \ - "\The [user] begins to wire \the [src] for electrochromic tinting.", \ + span_infoplain(span_bold("\The [user]") + " begins to wire \the [src] for electrochromic tinting."), \ span_notice("You begin to wire \the [src] for electrochromic tinting."), \ "You hear sparks.") if(do_after(user, 20 * C.toolspeed, src) && state == 0) diff --git a/code/game/world.dm b/code/game/world.dm index 889e3ee178..572b006846 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -594,9 +594,9 @@ var/world_topic_spam_protect_time = world.timeofday var/s = "" if (config && CONFIG_GET(string/servername)) // CHOMPEdit - s += "[CONFIG_GET(string/servername)] — " // CHOMPEdit + s += span_bold("[CONFIG_GET(string/servername)]") + " — " // CHOMPEdit - s += "[station_name()]"; + s += span_bold("[station_name()]"); s += " (" s += "" //Change this to wherever you want the hub to link to. // s += "[game_version]" @@ -610,7 +610,7 @@ var/world_topic_spam_protect_time = world.timeofday if(master_mode) features += master_mode else - features += "STARTING" + features += span_bold("STARTING") if (!CONFIG_GET(flag/enter_allowed)) features += "closed" diff --git a/code/modules/admin/DB ban/functions.dm b/code/modules/admin/DB ban/functions.dm index b1625243f1..6cca4e75db 100644 --- a/code/modules/admin/DB ban/functions.dm +++ b/code/modules/admin/DB ban/functions.dm @@ -284,7 +284,7 @@ output += "
" output += "" output += "" output += "" output += "" - output += "" + output += "" output += "" output += "" output += "" diff --git a/code/modules/admin/ToRban.dm b/code/modules/admin/ToRban.dm index 188f7ece4c..ee9ddac404 100644 --- a/code/modules/admin/ToRban.dm +++ b/code/modules/admin/ToRban.dm @@ -73,14 +73,14 @@ var/choice = tgui_input_list(src,"Please select an IP address to remove from the ToR banlist:","Remove ToR ban", F.dir) if(choice) F.dir.Remove(choice) - to_chat(src, span_filter_adminlog("Address removed")) + to_chat(src, span_filter_adminlog(span_bold("Address removed"))) if("remove all") - to_chat(src, span_filter_adminlog("[TORFILE] was [fdel(TORFILE)?"":"not "]removed.")) + to_chat(src, span_filter_adminlog(span_bold("[TORFILE] was [fdel(TORFILE)?"":"not "]removed."))) if("find") var/input = tgui_input_text(src,"Please input an IP address to search for:","Find ToR ban",null) if(input) if(ToRban_isbanned(input)) - to_chat(src, span_filter_adminlog("[span_orange("Address is a known ToR address")]")) + to_chat(src, span_filter_adminlog("[span_orange(span_bold("Address is a known ToR address"))]")) else to_chat(src, span_filter_adminlog(span_danger("Address is not a known ToR address"))) return diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 1d86159de0..51fec5c62c 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -3,7 +3,7 @@ var/global/floorIsLava = 0 //////////////////////////////// /proc/message_admins(var/msg) - msg = "ADMIN LOG: [msg]" + msg = span_filter_adminlog(span_log_message(span_prefix("ADMIN LOG:") + span_message("[msg]"))) //log_adminwarn(msg) //log_and_message_admins is for this for(var/client/C in GLOB.admins) @@ -14,7 +14,7 @@ var/global/floorIsLava = 0 confidential = TRUE) /proc/msg_admin_attack(var/text) //Toggleable Attack Messages - var/rendered = "ATTACK: [text]" + var/rendered = span_filter_attacklog(span_log_message(span_prefix("ATTACK:") + span_message("[text]"))) for(var/client/C in GLOB.admins) if((R_ADMIN|R_MOD) & C.holder.rights) if(C.prefs?.read_preference(/datum/preference/toggle/show_attack_logs)) @@ -104,7 +104,7 @@ var/global/floorIsLava = 0 if (M.client) if(!istype(M, /mob/new_player)) body += "

" - body += "Transformation:" + body += span_bold("Transformation:") body += "
" //Monkey @@ -318,13 +318,13 @@ var/global/floorIsLava = 0 if(1) dat+= "Station Feed Channels
" if( isemptylist(news_network.network_channels) ) - dat+="No active channels found..." + dat+=span_italics("No active channels found...") else for(var/datum/feed_channel/CHANNEL in news_network.network_channels) if(CHANNEL.is_admin_channel) dat+="
[CHANNEL.channel_name]
" else - dat+="[CHANNEL.channel_name] [(CHANNEL.censored) ? ("***") : null]
" + dat+=span_bold("[CHANNEL.channel_name] [(CHANNEL.censored) ? ("***") : null]
") dat+={"

Refresh
Back "} @@ -460,7 +460,7 @@ var/global/floorIsLava = 0 dat+="
Back" if(14) - dat+="Wanted Issue Handler:" + dat+=span_bold("Wanted Issue Handler:") var/wanted_already = 0 var/end_param = 1 if(news_network.wanted_issue) @@ -678,7 +678,7 @@ var/datum/announcement/minor/admin_min_announcer = new if(!speech_verb) return - to_chat(usr, "Intercom Convo Directions
Start the conversation with the sender, a pipe (|), and then the message on one line. Then hit enter to \ + to_chat(usr, span_notice(span_bold("Intercom Convo Directions") + "
Start the conversation with the sender, a pipe (|), and then the message on one line. Then hit enter to \ add another line, and type a (whole) number of seconds to pause between that message, and the next message, then repeat the message syntax up to 20 times. For example:
\ --- --- ---
\ Some Guy|Hello guys, what's up?
\ @@ -687,7 +687,7 @@ var/datum/announcement/minor/admin_min_announcer = new 5
\ Some Guy|Yeah, you too.
\ --- --- ---
\ - The above will result in those messages playing, with a 5 second gap between each. Maximum of 20 messages allowed.
") + The above will result in those messages playing, with a 5 second gap between each. Maximum of 20 messages allowed.")) var/list/decomposed var/message = tgui_input_text(usr,"See your chat box for instructions. Keep a copy elsewhere in case it is rejected when you click OK.", "Input Conversation", "", multiline = TRUE, prevent_enter = TRUE) @@ -759,9 +759,9 @@ var/datum/announcement/minor/admin_min_announcer = new CONFIG_SET(flag/ooc_allowed, !CONFIG_GET(flag/ooc_allowed)) // CHOMPEdit if (CONFIG_GET(flag/ooc_allowed)) // CHOMPEdit - to_world("The OOC channel has been globally enabled!") + to_world(span_world("The OOC channel has been globally enabled!")) else - to_world("The OOC channel has been globally disabled!") + to_world(span_world("The OOC channel has been globally disabled!")) log_and_message_admins("toggled OOC.") feedback_add_details("admin_verb","TOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -775,9 +775,9 @@ var/datum/announcement/minor/admin_min_announcer = new CONFIG_SET(flag/looc_allowed, !CONFIG_GET(flag/looc_allowed)) // CHOMPEdit if (CONFIG_GET(flag/looc_allowed)) // CHOMPEdit - to_world("The LOOC channel has been globally enabled!") + to_world(span_world("The LOOC channel has been globally enabled!")) else - to_world("The LOOC channel has been globally disabled!") + to_world(span_world("The LOOC channel has been globally disabled!")) log_and_message_admins("toggled LOOC.") feedback_add_details("admin_verb","TLOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -792,9 +792,9 @@ var/datum/announcement/minor/admin_min_announcer = new CONFIG_SET(flag/dsay_allowed, !CONFIG_GET(flag/dsay_allowed)) // CHOMPEdit if (CONFIG_GET(flag/dsay_allowed)) // CHOMPEdit - to_world("Deadchat has been globally enabled!") + to_world(span_world("Deadchat has been globally enabled!")) else - to_world("Deadchat has been globally disabled!") + to_world(span_world("Deadchat has been globally disabled!")) log_admin("[key_name(usr)] toggled deadchat.") message_admins("[key_name_admin(usr)] toggled deadchat.", 1) feedback_add_details("admin_verb","TDSAY") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc @@ -854,7 +854,7 @@ var/datum/announcement/minor/admin_min_announcer = new feedback_add_details("admin_verb","SN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! else SSticker.start_immediately = FALSE - to_world(span_notice("Immediate game start canceled. Normal startup resumed.")) + to_world(span_filter_system(span_blue("Immediate game start canceled. Normal startup resumed."))) log_and_message_admins("cancelled immediate game start.") /datum/admins/proc/toggleenter() @@ -863,9 +863,9 @@ var/datum/announcement/minor/admin_min_announcer = new set name="Toggle Entering" CONFIG_SET(flag/enter_allowed, !CONFIG_GET(flag/enter_allowed)) // CHOMPEdit if (!CONFIG_GET(flag/enter_allowed)) // CHOMPEdit - to_world("New players may no longer enter the game.") + to_world(span_world("New players may no longer enter the game.")) else - to_world("New players may now enter the game.") + to_world(span_world("New players may now enter the game.")) log_admin("[key_name(usr)] toggled new player game entering.") message_admins(span_blue("[key_name_admin(usr)] toggled new player game entering."), 1) world.update_status() @@ -877,9 +877,9 @@ var/datum/announcement/minor/admin_min_announcer = new set name="Toggle AI" CONFIG_SET(flag/allow_ai, !CONFIG_GET(flag/allow_ai)) // CHOMPEdit if (!CONFIG_GET(flag/allow_ai)) // CHOMPEdit - to_world("The AI job is no longer chooseable.") + to_world(span_world("The AI job is no longer chooseable.")) else - to_world("The AI job is chooseable now.") + to_world(span_world("The AI job is chooseable now.")) log_admin("[key_name(usr)] toggled AI allowed.") world.update_status() feedback_add_details("admin_verb","TAI") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -890,9 +890,9 @@ var/datum/announcement/minor/admin_min_announcer = new set name="Toggle Respawn" CONFIG_SET(flag/abandon_allowed, !CONFIG_GET(flag/abandon_allowed)) // CHOMPEdit if(CONFIG_GET(flag/abandon_allowed)) // CHOMPEdit - to_world("You may now respawn.") + to_world(span_world("You may now respawn.")) else - to_world("You may no longer respawn :(") + to_world(span_world("You may no longer respawn :(")) message_admins(span_blue("[key_name_admin(usr)] toggled respawn to [CONFIG_GET(flag/abandon_allowed) ? "On" : "Off"]."), 1) // CHOMPEdit log_admin("[key_name(usr)] toggled respawn to [CONFIG_GET(flag/abandon_allowed) ? "On" : "Off"].") // CHOMPEdit world.update_status() @@ -905,9 +905,9 @@ var/datum/announcement/minor/admin_min_announcer = new CONFIG_SET(flag/persistence_disabled, !CONFIG_GET(flag/persistence_disabled)) // CHOMPEdit /* CHOMP Edit: the entire world doesn't need to know. if(!config.persistence_disabled) - to_world("Persistence is now enabled..") + to_world(span_world("Persistence is now enabled.")) else - to_world("Persistence is no longer enabled.") + to_world(span_world("Persistence is no longer enabled.")) */ message_admins(span_blue("[key_name_admin(usr)] toggled persistence to [CONFIG_GET(flag/persistence_disabled) ? "Off" : "On"]."), 1) // CHOMPEdit log_admin("[key_name(usr)] toggled persistence to [CONFIG_GET(flag/persistence_disabled) ? "Off" : "On"].") // CHOMPEdit @@ -920,9 +920,9 @@ var/datum/announcement/minor/admin_min_announcer = new set name="Toggle Mapload Persistent Data" CONFIG_SET(flag/persistence_ignore_mapload, !CONFIG_GET(flag/persistence_ignore_mapload)) // CHOMPEdit if(!CONFIG_GET(flag/persistence_ignore_mapload)) // CHOMPEdit - to_world("Persistence is now enabled..") + to_world(span_world("Persistence is now enabled.")) else - to_world("Persistence is no longer enabled.") + to_world(span_world("Persistence is no longer enabled.")) message_admins(span_blue("[key_name_admin(usr)] toggled persistence to [CONFIG_GET(flag/persistence_ignore_mapload) ? "Off" : "On"]."), 1) // CHOMPEdit log_admin("[key_name(usr)] toggled persistence to [CONFIG_GET(flag/persistence_ignore_mapload) ? "Off" : "On"].") // CHOMPEdit world.update_status() @@ -959,10 +959,10 @@ var/datum/announcement/minor/admin_min_announcer = new return round_progressing = !round_progressing if (!round_progressing) - to_world("The game start has been delayed.") + to_world(span_world("The game start has been delayed.")) log_admin("[key_name(usr)] delayed the game.") else - to_world("The game will start soon.") + to_world(span_world("The game will start soon.")) log_admin("[key_name(usr)] removed the delay.") feedback_add_details("admin_verb","DELAY") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -997,7 +997,7 @@ var/datum/announcement/minor/admin_min_announcer = new if(!usr.client.holder) return if(alert(usr, "Reboot server?","Reboot!","Yes","No") != "Yes") // Not tgui_alert for safety return - to_world("[span_red("Rebooting world!")] [span_blue("Initiated by [usr.client.holder.fakekey ? "Admin" : usr.key]!")]") + to_world(span_filter_system("[span_red(span_bold("Rebooting world!"))] [span_blue("Initiated by [usr.client.holder.fakekey ? "Admin" : usr.key]!")]")) log_admin("[key_name(usr)] initiated an immediate reboot.") feedback_set_details("end_error","immediate admin reboot - by [usr.key] [usr.client.holder.fakekey ? "(stealth)" : ""]") @@ -1225,7 +1225,7 @@ var/datum/announcement/minor/admin_min_announcer = new else out += "Autotraitor disabled.
" - out += "All antag ids:" + out += span_bold("All antag ids:") if(ticker.mode.antag_templates && ticker.mode.antag_templates.len) for(var/datum/antagonist/antag in ticker.mode.antag_templates) antag.update_current_antag_max() @@ -1246,9 +1246,9 @@ var/datum/announcement/minor/admin_min_announcer = new set name="Toggle tinted welding helmets." CONFIG_SET(flag/welder_vision, !CONFIG_GET(flag/welder_vision)) // CHOMPEdit if (CONFIG_GET(flag/welder_vision)) // CHOMPEdit - to_world("Reduced welder vision has been enabled!") + to_world(span_world("Reduced welder vision has been enabled!")) else - to_world("Reduced welder vision has been disabled!") + to_world(span_world("Reduced welder vision has been disabled!")) log_admin("[key_name(usr)] toggled welder vision.") message_admins("[key_name_admin(usr)] toggled welder vision.", 1) feedback_add_details("admin_verb","TTWH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -1259,9 +1259,9 @@ var/datum/announcement/minor/admin_min_announcer = new set name="Toggle guests" CONFIG_SET(flag/guests_allowed, !CONFIG_GET(flag/guests_allowed)) // CHOMPEdit if (!CONFIG_GET(flag/guests_allowed)) // CHOMPEdit - to_world("Guests may no longer enter the game.") + to_world(span_world("Guests may no longer enter the game.")) else - to_world("Guests may now enter the game.") + to_world(span_world("Guests may now enter the game.")) log_admin("[key_name(usr)] toggled guests game entering [CONFIG_GET(flag/guests_allowed) ? "":"dis"]allowed.") // CHOMPEdit message_admins(span_blue("[key_name_admin(usr)] toggled guests game entering [CONFIG_GET(flag/guests_allowed) ? "":"dis"]allowed."), 1) // CHOMPEdit feedback_add_details("admin_verb","TGU") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -1271,21 +1271,21 @@ var/datum/announcement/minor/admin_min_announcer = new for(var/mob/living/silicon/S in mob_list) ai_number++ if(isAI(S)) - to_chat(usr, "AI [key_name(S, usr)]'s laws:") + to_chat(usr, span_bold("AI [key_name(S, usr)]'s laws:")) else if(isrobot(S)) var/mob/living/silicon/robot/R = S - to_chat(usr, "CYBORG [key_name(S, usr)] [R.connected_ai?"(Slaved to: [R.connected_ai])":"(Independent)"]: laws:") + to_chat(usr, span_bold("CYBORG [key_name(S, usr)] [R.connected_ai?"(Slaved to: [R.connected_ai])":"(Independent)"]: laws:")) else if (ispAI(S)) - to_chat(usr, "pAI [key_name(S, usr)]'s laws:") + to_chat(usr, span_bold("pAI [key_name(S, usr)]'s laws:")) else - to_chat(usr, "SOMETHING SILICON [key_name(S, usr)]'s laws:") + to_chat(usr, span_bold("SOMETHING SILICON [key_name(S, usr)]'s laws:")) if (S.laws == null) to_chat(usr, "[key_name(S, usr)]'s laws are null?? Contact a coder.") else S.laws.show_laws(usr) if(!ai_number) - to_chat(usr, "No AIs located") //Just so you know the thing is actually working and not just ignoring you. + to_chat(usr, span_bold("No AIs located")) //Just so you know the thing is actually working and not just ignoring you. /datum/admins/proc/show_skills() set category = "Admin.Investigate" //CHOMPEdit @@ -1318,7 +1318,7 @@ var/datum/announcement/minor/admin_min_announcer = new /proc/get_options_bar(whom, detail = 2, name = 0, link = 1, highlight_special = 1) if(!whom) - return "(*null*)" + return span_bold("(*null*)") var/mob/M var/client/C if(istype(whom, /client)) @@ -1328,25 +1328,25 @@ var/datum/announcement/minor/admin_min_announcer = new M = whom C = M.client else - return "(*not a mob*)" + return span_bold("(*not a mob*)") switch(detail) if(0) - return "[key_name(C, link, name, highlight_special)]" + return span_bold("[key_name(C, link, name, highlight_special)]") if(1) //Private Messages - return "[key_name(C, link, name, highlight_special)](?)" + return span_bold("[key_name(C, link, name, highlight_special)](?)") if(2) //Admins var/ref_mob = "\ref[M]" - return "[key_name(C, link, name, highlight_special)](?) (PP) (VV) (SM) ([admin_jump_link(M)]) (CA) (TAKE)" + return span_bold("[key_name(C, link, name, highlight_special)](?) (PP) (VV) (SM) ([admin_jump_link(M)]) (CA) (TAKE)") if(3) //Devs var/ref_mob = "\ref[M]" - return "[key_name(C, link, name, highlight_special)](VV)([admin_jump_link(M)]) (TAKE)" + return span_bold("[key_name(C, link, name, highlight_special)](VV)([admin_jump_link(M)]) (TAKE)") if(4) //Event Managers var/ref_mob = "\ref[M]" - return "[key_name(C, link, name, highlight_special)] (?) (PP) (VV) (SM) ([admin_jump_link(M)]) (TAKE)" + return span_bold("[key_name(C, link, name, highlight_special)] (?) (PP) (VV) (SM) ([admin_jump_link(M)]) (TAKE)") /proc/ishost(whom) diff --git a/code/modules/admin/admin_memo.dm b/code/modules/admin/admin_memo.dm index 5951233a90..ea09306ed8 100644 --- a/code/modules/admin/admin_memo.dm +++ b/code/modules/admin/admin_memo.dm @@ -24,7 +24,7 @@ return if("") F.dir.Remove(ckey) - to_chat(src, span_filter_adminlog("Memo removed")) + to_chat(src, span_filter_adminlog(span_bold("Memo removed"))) return if( findtext(memo,"Removed Memo created by [ckey].")) + to_chat(src, span_filter_adminlog(span_bold("Removed Memo created by [ckey]."))) #undef MEMOFILE #undef ENABLE_MEMOS diff --git a/code/modules/admin/admin_report.dm b/code/modules/admin/admin_report.dm index 08e653e387..760cffa314 100644 --- a/code/modules/admin/admin_report.dm +++ b/code/modules/admin/admin_report.dm @@ -103,8 +103,8 @@ world/New() for(var/datum/admin_report/N in reports) if(N.done) continue - output += "Reported player: [N.offender_key](CID: [N.offender_cid])
" - output += "Offense:[N.body]
" + output += span_bold("Reported player:") + " [N.offender_key](CID: [N.offender_cid])
" + output += span_bold("Offense:") + "[N.body]
" output += "Occurred at [time2text(N.date,"MM/DD hh:mm:ss")]
" output += "authored by [N.author]
" output += " Flag as Handled" @@ -150,7 +150,7 @@ world/New() if(N.ID == ID) found = N if(!found) - to_chat(src, "* An error occurred, sorry.") + to_chat(src, span_boldwarning("* An error occurred, sorry.")) found.done = 1 @@ -159,7 +159,7 @@ world/New() /client/proc/edit_report(ID as num) if(!src.holder || src.holder.level < 0) - to_chat(src, "You tried to modify the news, but you're not an admin!") + to_chat(src, span_boldwarning("You tried to modify the news, but you're not an admin!")) return var/savefile/Reports = new("data/reports.sav") @@ -172,7 +172,7 @@ world/New() if(N.ID == ID) found = N if(!found) - to_chat(src, "* An error occurred, sorry.") + to_chat(src, span_boldwarning("* An error occurred, sorry.")) var/body = tgui_input_text(src.mob, "Enter a body for the news", "Body", multiline = TRUE, prevent_enter = TRUE) if(!body) return diff --git a/code/modules/admin/admin_tools.dm b/code/modules/admin/admin_tools.dm index 3ecc59914e..4f920dc564 100644 --- a/code/modules/admin/admin_tools.dm +++ b/code/modules/admin/admin_tools.dm @@ -5,24 +5,24 @@ show_cmd_admin_check_player_logs(M) //CHOMPEdit //Views specific attack logs belonging to one player. /client/proc/show_cmd_admin_check_player_logs(mob/living/M) //CHOMPEdit - var/dat = "[M]'s Attack Log:
" - dat += "Viewing attack logs of [M] - (Played by ([key_name(M)]).
" + var/dat = span_bold("[M]'s Attack Log:
") + dat += span_bold("Viewing attack logs of [M]") + " - (Played by ([key_name(M)]).
" if(M.mind) - dat += "Current Antag?: [(M.mind.special_role)?"Yes":"No"]
" - dat += "
Note: This is arranged from earliest to latest.

" + dat += span_bold("Current Antag?:") + " [(M.mind.special_role)?"Yes":"No"]
" + dat += "
" + span_bold("Note:") + " This is arranged from earliest to latest.

" //CHOMPEdit Begin /*for(var/d in M.dialogue_log) dat += "[d]
"*/ var/datum/db_query/query = SSdbcore.NewQuery("SELECT id,time,ckey,mob,message from erro_attacklog WHERE ckey = :t_ckey", list("t_ckey" = M.ckey)) if(!query.Execute()) - dat += "Database query error" + dat += span_italics("Database query error") else var/messages = "" while(query.NextRow()) messages += "([query.item[2]]) (ckey:[query.item[3]] real_name:[query.item[4]]) [query.item[5]]
" if(messages=="") - dat+="Query returned nothing." + dat+= span_italics("Query returned nothing.") else dat += "
" dat += messages @@ -46,11 +46,11 @@ /client/proc/show_cmd_admin_check_dialogue_logs(mob/living/M) //CHOMPEdit //Views specific dialogue logs belonging to one player. - var/dat = "[M]'s Dialogue Log:
" - dat += "Viewing say and emote logs of [M] - (Played by ([key_name(M)]).
" + var/dat = span_bold("[M]'s Dialogue Log:
") + dat += span_bold("Viewing say and emote logs of [M]") + " - (Played by ([key_name(M)]).
" if(M.mind) - dat += "Current Antag?: [(M.mind.special_role)?"Yes":"No"]
" - dat += "
Note: This is arranged from earliest to latest.

" + dat += span_bold("Current Antag?:") + " [(M.mind.special_role)?"Yes":"No"]
" + dat += "
" + span_bold("Note:") + " This is arranged from earliest to latest.

" //CHOMPEdit Begin @@ -58,14 +58,14 @@ dat += "[d]
"*/ var/datum/db_query/query = SSdbcore.NewQuery("SELECT mid,time,ckey,mob,type,message from erro_dialog WHERE ckey = :t_ckey", list("t_ckey" = M.ckey)) if(!query.Execute()) - dat += "Database query error" + dat += span_italics("Database query error") else var/messages = "" while(query.NextRow()) messages += "([query.item[2]]) (ckey:[query.item[3]] real_name:[query.item[4]] type:[query.item[5]]) [query.item[6]]
" if(messages=="") - dat+="Query returned nothing." + dat+=span_italics("Query returned nothing.") else dat += "
" dat += messages diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 84a4f5e59f..7fca58448a 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -94,7 +94,7 @@ mob.alpha = max(mob.alpha + 100, 255) else mob.invisibility = INVISIBILITY_OBSERVER - to_chat(mob, span_filter_system(span_notice("Invisimin on. You are now as invisible as a ghost."))) + to_chat(mob, span_filter_system(span_boldnotice("Invisimin on. You are now as invisible as a ghost."))) mob.alpha = max(mob.alpha - 100, 0) @@ -369,7 +369,7 @@ if(!msg) return for (var/mob/V in hearers(mob.control_object)) - V.show_message(span_filter_say("[mob.control_object.name] says: \"[msg]\""), 2) + V.show_message(span_filter_say(span_bold("[mob.control_object.name]") + " says: \"[msg]\""), 2) feedback_add_details("admin_verb","OT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/kill_air() // -- TLE @@ -377,7 +377,7 @@ set name = "Kill Air" set desc = "Toggle Air Processing" SSair.can_fire = !SSair.can_fire - to_chat(usr, span_filter_system("[SSair.can_fire ? "En" : "Dis"]abled air processing.")) + to_chat(usr, span_filter_system(span_bold("[SSair.can_fire ? "En" : "Dis"]abled air processing."))) feedback_add_details("admin_verb","KA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! log_admin("[key_name(usr)] used 'kill air'.") message_admins(span_blue("[key_name_admin(usr)] used 'kill air'."), 1) @@ -412,7 +412,7 @@ if(!holder) return if(config) CONFIG_SET(flag/log_hrefs, !CONFIG_GET(flag/log_hrefs)) // CHOMPEdit - message_admins("[key_name_admin(usr)] [CONFIG_GET(flag/log_hrefs) ? "started" : "stopped"] logging hrefs") // CHOMPEdit + message_admins(span_bold("[key_name_admin(usr)] [CONFIG_GET(flag/log_hrefs) ? "started" : "stopped"] logging hrefs")) // CHOMPEdit /client/proc/check_ai_laws() set name = "Check AI Laws" @@ -532,7 +532,7 @@ if(tgui_alert(usr, "Are you sure you want to tell them to man up?","Confirmation",list("Deal with it","No")) != "Deal with it") return - to_chat(T, span_filter_system(span_notice("Man up and deal with it."))) + to_chat(T, span_filter_system(span_boldnotice(span_large("Man up and deal with it.")))) to_chat(T, span_filter_system(span_notice("Move along."))) log_admin("[key_name(usr)] told [key_name(T)] to man up and deal with it.") @@ -546,7 +546,7 @@ if(tgui_alert(usr, "Are you sure you want to tell the whole server up?","Confirmation",list("Deal with it","No")) != "Deal with it") return for (var/mob/T as mob in mob_list) - to_chat(T, "
Man up.
Deal with it.

Move along.

") + to_chat(T, "
" + span_filter_system(span_notice(span_bold(span_huge("Man up.
Deal with it.")) + "
Move along.")) + "

") T << 'sound/voice/ManUp1.ogg' log_admin("[key_name(usr)] told everyone to man up and deal with it.") diff --git a/code/modules/admin/admin_verbs_vr.dm b/code/modules/admin/admin_verbs_vr.dm index 0257815282..19128c4b57 100644 --- a/code/modules/admin/admin_verbs_vr.dm +++ b/code/modules/admin/admin_verbs_vr.dm @@ -31,13 +31,13 @@ if(!orbiter) orbiter = input(usr, "What should act as the orbiter of the orbit?", "Orbiter") as anything in possible_things if(!center || !orbiter) - to_chat(usr, "A center of orbit and an orbiter must be configured. You can also do this by marking a target.") + to_chat(usr, span_warning("A center of orbit and an orbiter must be configured. You can also do this by marking a target.")) return if(center == orbiter) - to_chat(usr, "The center of the orbit cannot also be the orbiter.") + to_chat(usr, span_warning("The center of the orbit cannot also be the orbiter.")) return if(isturf(orbiter)) - to_chat(usr, "The orbiter cannot be a turf. It can only be used as a center.") + to_chat(usr, span_warning("The orbiter cannot be a turf. It can only be used as a center.")) return var/distance = tgui_input_number(usr, "How large will their orbit radius be? (In pixels. 32 is 'near around a character)", "Orbit Radius", 32) var/speed = tgui_input_number(usr, "How fast will they orbit (negative numbers spin clockwise)", "Orbit Speed", 20) @@ -90,7 +90,7 @@ break if(!our_comp) - to_chat(usr, "Unable to locate a library computer to use for book deleting.") + to_chat(usr, span_warning("Unable to locate a library computer to use for book deleting.")) return var/dat = "Book Inventory Management\n" diff --git a/code/modules/admin/callproc/callproc.dm b/code/modules/admin/callproc/callproc.dm index 4235b52ccb..7c1755518c 100644 --- a/code/modules/admin/callproc/callproc.dm +++ b/code/modules/admin/callproc/callproc.dm @@ -192,7 +192,6 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention) . = "" if(islist(returnval)) var/list/returnedlist = returnval - . = "" if(returnedlist.len) var/assoc_check = returnedlist[1] if(istext(assoc_check) && (returnedlist[assoc_check] != null)) @@ -206,7 +205,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention) . += "\n[elem]" else . = "[procname] returned an empty list" - . += "" + . = span_blue(.) else . = span_blue("[procname] returned: [!isnull(returnval) ? returnval : "null"]") diff --git a/code/modules/admin/player_effects.dm b/code/modules/admin/player_effects.dm index ab23bcf099..ee1f9dfce4 100644 --- a/code/modules/admin/player_effects.dm +++ b/code/modules/admin/player_effects.dm @@ -171,7 +171,7 @@ sleep(1 SECOND) shadekin.dir = SOUTH sleep(1 SECOND) - shadekin.audible_message("[shadekin] belches loudly!", runemessage = "URRRRRP") + shadekin.audible_message(span_vwarning(span_bold("[shadekin]") + " belches loudly!"), runemessage = "URRRRRP") sleep(2 SECONDS) shadekin.phase_shift() target.transforming = FALSE //Undo cheap hack diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm index 9f144197a2..c03713a52a 100644 --- a/code/modules/admin/player_panel.dm +++ b/code/modules/admin/player_panel.dm @@ -387,7 +387,7 @@ var/dat = "Round Status

Round Status

" dat += "Current Game Mode: [ticker.mode.name]
" dat += "Round Duration: [roundduration2text()]
" - dat += "Emergency shuttle
" + dat += span_bold("Emergency shuttle") + "
" if (!emergency_shuttle.online()) dat += "Call Shuttle
" else diff --git a/code/modules/admin/secrets/admin_secrets/admin_logs.dm b/code/modules/admin/secrets/admin_secrets/admin_logs.dm index 83ebe9ec0e..d6bf54a03b 100644 --- a/code/modules/admin/secrets/admin_secrets/admin_logs.dm +++ b/code/modules/admin/secrets/admin_secrets/admin_logs.dm @@ -5,7 +5,7 @@ . = ..() if(!.) return - var/dat = "Admin Log
" + var/dat = span_bold("Admin Log
") for(var/l in admin_log) dat += "
  • [l]
  • " if(!admin_log.len) @@ -25,7 +25,7 @@ . = ..() if(!.) return - var/dat = "Dialogue Log
    " + var/dat = span_bold("Dialogue Log
    ") dat += "
    " diff --git a/code/modules/admin/secrets/admin_secrets/bombing_list.dm b/code/modules/admin/secrets/admin_secrets/bombing_list.dm index d9c24097d2..b8165ca23c 100644 --- a/code/modules/admin/secrets/admin_secrets/bombing_list.dm +++ b/code/modules/admin/secrets/admin_secrets/bombing_list.dm @@ -6,7 +6,7 @@ if(!.) return - var/dat = "Bombing List" + var/dat = span_bold("Bombing List") for(var/l in bombers) dat += text("[l]
    ") user << browse(dat, "window=bombers") diff --git a/code/modules/admin/secrets/admin_secrets/list_dna.dm b/code/modules/admin/secrets/admin_secrets/list_dna.dm index 5d4738d692..a98077036b 100644 --- a/code/modules/admin/secrets/admin_secrets/list_dna.dm +++ b/code/modules/admin/secrets/admin_secrets/list_dna.dm @@ -5,7 +5,7 @@ . = ..() if(!.) return - var/dat = "Showing DNA from blood.
    " + var/dat = span_bold("Showing DNA from blood.") + "
    " dat += "
    " output += "
    [HrefTokenFormField()]" - output += "Add custom ban: (ONLY use this if you can't ban through any other method)" + output += span_bold("Add custom ban:") + " (ONLY use this if you can't ban through any other method)" output += "" output += "" output += "
    Ban type:
    " - output += "Reason:

    " + output += span_bold("Reason:
    ") + "
    " output += "" output += "
    " @@ -446,18 +446,18 @@ if("PERMABAN") typedesc = "PERMABAN" if("TEMPBAN") - typedesc = "TEMPBAN
    ([duration] minutes) [(unbanned || auto) ? "" : "(Edit)"]
    Expires [expiration]
    " + typedesc = span_bold("TEMPBAN") + "
    ([duration] minutes) [(unbanned || auto) ? "" : "(Edit)"]
    Expires [expiration]
    " if("JOB_PERMABAN") - typedesc = "JOBBAN
    ([job])" + typedesc = span_bold("JOBBAN") + "
    ([job])" if("JOB_TEMPBAN") - typedesc = "TEMP JOBBAN
    ([job])
    ([duration] minutes
    Expires [expiration]
    " + typedesc = span_bold("TEMP JOBBAN") + "
    ([job])
    ([duration] minutes
    Expires [expiration]
    " output += "
    [typedesc][ckey][bantime][ackey][(unbanned || auto) ? "" : "Unban"][(unbanned || auto) ? "" : span_bold("Unban")]
    IP: [ip]
    " for(var/mob/living/carbon/human/H in mob_list) if(H.dna && H.ckey) diff --git a/code/modules/admin/secrets/admin_secrets/list_fingerprints.dm b/code/modules/admin/secrets/admin_secrets/list_fingerprints.dm index 0a9f4e0cb1..d3e033f834 100644 --- a/code/modules/admin/secrets/admin_secrets/list_fingerprints.dm +++ b/code/modules/admin/secrets/admin_secrets/list_fingerprints.dm @@ -5,7 +5,7 @@ . = ..() if(!.) return - var/dat = "Showing Fingerprints.
    " + var/dat = span_bold("Showing Fingerprints.") + "
    " dat += "
    NameDNABlood Type
    " for(var/mob/living/carbon/human/H in mob_list) if(H.ckey) diff --git a/code/modules/admin/secrets/admin_secrets/show_law_changes.dm b/code/modules/admin/secrets/admin_secrets/show_law_changes.dm index 67fc3d357f..13bb25656a 100644 --- a/code/modules/admin/secrets/admin_secrets/show_law_changes.dm +++ b/code/modules/admin/secrets/admin_secrets/show_law_changes.dm @@ -9,7 +9,7 @@ if(!.) return - var/dat = "Showing last [length(lawchanges)] law changes.
    " + var/dat = span_bold("Showing last [length(lawchanges)] law changes.") + "
    " for(var/sig in lawchanges) dat += "[sig]
    " user << browse(dat, "window=lawchanges;size=800x500") diff --git a/code/modules/admin/secrets/admin_secrets/show_signalers.dm b/code/modules/admin/secrets/admin_secrets/show_signalers.dm index 4b0117a88f..0c474e5249 100644 --- a/code/modules/admin/secrets/admin_secrets/show_signalers.dm +++ b/code/modules/admin/secrets/admin_secrets/show_signalers.dm @@ -9,7 +9,7 @@ if(!.) return - var/dat = "Showing last [length(lastsignalers)] signalers.
    " + var/dat = span_bold("Showing last [length(lastsignalers)] signalers.") + "
    " for(var/sig in lastsignalers) dat += "[sig]
    " user << browse(dat, "window=lastsignalers;size=800x500") diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index f9aa3b916d..b705d3f784 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -812,9 +812,9 @@ msg += ", [job]" notes_add(M.ckey, "Banned from [msg] - [reason]", usr) message_admins(span_blue("[key_name_admin(usr)] banned [key_name_admin(M)] from [msg] for [mins] minutes"), 1) - to_chat(M, span_filter_system("[span_red("You have been jobbanned by [usr.client.ckey] from: [msg].")]")) - to_chat(M, span_filter_system("[span_red("The reason is: [reason]")]")) - to_chat(M, span_filter_system("[span_red("This jobban will be lifted in [mins] minutes.")]")) + to_chat(M, span_filter_system(span_red(span_large(span_bold("You have been jobbanned by [usr.client.ckey] from: [msg]."))))) + to_chat(M, span_filter_system(span_red(span_bold("The reason is: [reason]")))) + to_chat(M, span_filter_system(span_red("This jobban will be lifted in [mins] minutes."))) href_list["jobban2"] = 1 // lets it fall through and refresh return 1 if("No") @@ -833,9 +833,9 @@ else msg += ", [job]" notes_add(M.ckey, "Banned from [msg] - [reason]", usr) message_admins(span_blue("[key_name_admin(usr)] banned [key_name_admin(M)] from [msg]"), 1) - to_chat(M, span_filter_system("[span_red("You have been jobbanned by [usr.client.ckey] from: [msg].")]")) - to_chat(M, span_filter_system("[span_red("The reason is: [reason]")]")) - to_chat(M, span_filter_system("[span_red("Jobban can be lifted only upon request.")]")) + to_chat(M, span_filter_system(span_red(span_large(span_bold("You have been jobbanned by [usr.client.ckey] from: [msg]."))))) + to_chat(M, span_filter_system(span_red(span_bold("The reason is: [reason]")))) + to_chat(M, span_filter_system(span_red("Jobban can be lifted only upon request."))) href_list["jobban2"] = 1 // lets it fall through and refresh return 1 if("Cancel") @@ -866,7 +866,7 @@ continue if(msg) message_admins(span_blue("[key_name_admin(usr)] unbanned [key_name_admin(M)] from [msg]"), 1) - to_chat(M, span_filter_system(span_danger("You have been un-jobbanned by [usr.client.ckey] from [msg]."))) + to_chat(M, span_filter_system(span_red(span_large("You have been un-jobbanned by [usr.client.ckey] from [msg].")))) href_list["jobban2"] = 1 // lets it fall through and refresh return 1 return 0 //we didn't do anything! @@ -1032,7 +1032,7 @@ master_mode = href_list["c_mode2"] log_admin("[key_name(usr)] set the mode as [config.mode_names[master_mode]].") message_admins(span_blue("[key_name_admin(usr)] set the mode as [config.mode_names[master_mode]]."), 1) - to_world(span_blue("The mode is now: [config.mode_names[master_mode]]")) + to_world(span_world(span_blue("The mode is now: [config.mode_names[master_mode]]"))) Game() // updates the main game menu world.save_mode(master_mode) .(href, list("c_mode"=1)) @@ -1366,7 +1366,7 @@ for(var/client/X in GLOB.admins) if((R_ADMIN|R_MOD|R_SERVER) & X.holder.rights) //VOREStation Edit to_chat(X, take_msg) - to_chat(M, span_filter_pm(span_notice("Your adminhelp is being attended to by [usr.client]. Thanks for your patience!"))) + to_chat(M, span_filter_pm(span_boldnotice("Your adminhelp is being attended to by [usr.client]. Thanks for your patience!"))) // VoreStation Edit Start if (CONFIG_GET(string/chat_webhook_url)) // CHOMPEdit spawn(0) @@ -1415,9 +1415,9 @@ //Job + antagonist if(M.mind) - special_role_description = "Role: [M.mind.assigned_role]; Antagonist: [span_red("[M.mind.special_role]")]; Has been rev: [(M.mind.has_been_rev)?"Yes":"No"]" + special_role_description = "Role: " + span_bold("[M.mind.assigned_role]") + "; Antagonist: [span_red(span_bold("[M.mind.special_role]"))]; Has been rev: [(M.mind.has_been_rev)?"Yes":"No"]" else - special_role_description = "Role: Mind datum missing Antagonist: Mind datum missing; Has been rev: Mind datum missing;" + special_role_description = "Role: " + span_italics("Mind datum missing") + " Antagonist: " + span_italics("Mind datum missing") + "; Has been rev: " + span_italics("Mind datum missing") + ";" //Health if(isliving(M)) @@ -1425,8 +1425,8 @@ var/status switch (M.stat) if (0) status = "Alive" - if (1) status = span_orange("Unconscious") - if (2) status = span_red("Dead") + if (1) status = span_orange(span_bold("Unconscious")) + if (2) status = span_red(span_bold("Dead")) health_description = "Status = [status]" health_description += "
    Oxy: [L.getOxyLoss()] - Tox: [L.getToxLoss()] - Fire: [L.getFireLoss()] - Brute: [L.getBruteLoss()] - Clone: [L.getCloneLoss()] - Brain: [L.getBrainLoss()]" else @@ -1435,7 +1435,7 @@ //Gener switch(M.gender) if(MALE,FEMALE) gender_description = "[M.gender]" - else gender_description = span_red("[M.gender]") + else gender_description = span_red(span_bold("[M.gender]")) to_chat(src.owner, "Info about [M.name]:
    \ Mob type = [M.type]; Gender = [gender_description] Damage = [health_description]
    \ @@ -1943,27 +1943,27 @@ else if(href_list["ac_censor_channel_author"]) var/datum/feed_channel/FC = locate(href_list["ac_censor_channel_author"]) - if(FC.author != "\[REDACTED\]") + if(FC.author != span_bold("\[REDACTED\]")) FC.backup_author = FC.author - FC.author = "\[REDACTED\]" + FC.author = span_bold("\[REDACTED\]") else FC.author = FC.backup_author src.access_news_network() else if(href_list["ac_censor_channel_story_author"]) var/datum/feed_message/MSG = locate(href_list["ac_censor_channel_story_author"]) - if(MSG.author != "\[REDACTED\]") + if(MSG.author != span_bold("\[REDACTED\]")) MSG.backup_author = MSG.author - MSG.author = "\[REDACTED\]" + MSG.author = span_bold("\[REDACTED\]") else MSG.author = MSG.backup_author src.access_news_network() else if(href_list["ac_censor_channel_story_body"]) var/datum/feed_message/MSG = locate(href_list["ac_censor_channel_story_body"]) - if(MSG.body != "\[REDACTED\]") + if(MSG.body != span_bold("\[REDACTED\]")) MSG.backup_body = MSG.body - MSG.body = "\[REDACTED\]" + MSG.body = span_bold("\[REDACTED\]") else MSG.body = MSG.backup_body src.access_news_network() diff --git a/code/modules/admin/verbs/SDQL2/SDQL_2.dm b/code/modules/admin/verbs/SDQL2/SDQL_2.dm index 0b84e63aeb..a42826746e 100644 --- a/code/modules/admin/verbs/SDQL2/SDQL_2.dm +++ b/code/modules/admin/verbs/SDQL2/SDQL_2.dm @@ -480,10 +480,10 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/SDQL2_VV_all, new(null var/client/C = GLOB.directory[show_next_to_key] if(C) var/mob/showmob = C.mob - to_chat(showmob, "SDQL query results: [get_query_text()]
    \ + to_chat(showmob, span_admin("SDQL query results: [get_query_text()]
    \ SDQL query completed: [islist(obj_count_all)? length(obj_count_all) : obj_count_all] objects selected by path, and \ [where_switched? "[islist(obj_count_eligible)? length(obj_count_eligible) : obj_count_eligible] objects executed on after WHERE keyword selection." : ""]
    \ - SDQL query took [DisplayTimeText(end_time - start_time)] to complete.
    ") + SDQL query took [DisplayTimeText(end_time - start_time)] to complete.")) if(length(select_text)) var/text = islist(select_text)? select_text.Join() : select_text var/static/result_offset = 0 diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 183dbf269f..53b040e7ca 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -92,7 +92,7 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) var/list/dat = list("[title]") dat += "Refresh

    " for(var/datum/admin_help/AH as anything in l2b) - dat += "Ticket #[AH.id]: [AH.initiator_key_name]: [AH.name]
    " + dat += span_adminnotice(span_adminhelp("Ticket #[AH.id]") + ": [AH.initiator_key_name]: [AH.name]") + "
    " usr << browse(dat.Join(), "window=ahelp_list[state];size=600x480") @@ -412,9 +412,9 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) if(initiator.prefs?.read_preference(/datum/preference/toggle/holder/play_adminhelp_ping)) initiator << 'sound/effects/adminhelp.ogg' - to_chat(initiator, "[span_red("- AdminHelp Rejected! -")]
    \ - [span_red("Your admin help was rejected.")]
    \ - Please try to be calm, clear, and descriptive in admin helps, do not assume the admin has seen any related events, and clearly state the names of anybody you are reporting.
    ") + to_chat(initiator, span_filter_pm("[span_red(span_huge(span_bold("- AdminHelp Rejected! -")))]
    \ + [span_red(span_bold("Your admin help was rejected."))]
    \ + Please try to be calm, clear, and descriptive in admin helps, do not assume the admin has seen any related events, and clearly state the names of anybody you are reporting.")) feedback_inc("ahelp_reject") var/msg = "Ticket [TicketHref("#[id]")] rejected by [key_name_admin(usr)]" @@ -436,12 +436,12 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) if(state != AHELP_ACTIVE) return - var/msg = "[span_red("- AdminHelp marked as IC issue! -")]
    " - msg += "[span_red("This is something that can be solved ICly, and does not currently require staff intervention.")]
    " - msg += "[span_red("Your AdminHelp may also be unanswerable due to ongoing events.")]
    " + var/msg = "[span_red(span_huge(span_bold("- AdminHelp marked as IC issue! -")))]
    " + msg += "[span_red(span_bold("This is something that can be solved ICly, and does not currently require staff intervention."))]
    " + msg += "[span_red("Your AdminHelp may also be unanswerable due to ongoing events.")]" if(initiator) - to_chat(initiator, msg) + to_chat(initiator,span_filter_pm(msg)) feedback_inc("ahelp_icissue") msg = "Ticket [TicketHref("#[id]")] marked as IC by [key_name_admin(usr)]" @@ -508,9 +508,9 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) dat += "
    Closed at: [gameTimestamp(wtime = closed_at)] (Approx [(world.time - closed_at) / 600] minutes ago)" dat += "

    " if(initiator) - dat += "Actions: [FullMonty(ref_src)]
    " + dat += span_bold("Actions:") + " [FullMonty(ref_src)]
    " else - dat += "DISCONNECTED[GLOB.TAB][ClosureLinks(ref_src)]
    " + dat += span_bold("DISCONNECTED") + "[GLOB.TAB][ClosureLinks(ref_src)]
    " dat += "
    Log:

    " for(var/I in _interactions) dat += "[I]
    " @@ -826,7 +826,8 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) if(found.mind && found.mind.special_role) is_antag = 1 founds += "Name: [found.name]([found.real_name]) Ckey: [found.ckey] [is_antag ? "(Antag)" : null] " - msg += "[original_word](?|F) " + var/textentry = "(?|F " + msg += "[original_word]" + span_small((is_antag ? span_red(textentry) : span_black(textentry))) continue msg += "[original_word] " if(irc) diff --git a/code/modules/admin/verbs/adminpm.dm b/code/modules/admin/verbs/adminpm.dm index 693b1f71d9..3dbb578997 100644 --- a/code/modules/admin/verbs/adminpm.dm +++ b/code/modules/admin/verbs/adminpm.dm @@ -172,9 +172,9 @@ if(!recipient.current_ticket) new /datum/ticket(msg, recipient, TRUE, 0) // CHOMPedit - Ticket System - to_chat(recipient, span_admin_pm_warning(span_huge("-- Administrator private message --"))) + to_chat(recipient, span_admin_pm_warning(span_huge(span_bold("-- Administrator private message --")))) to_chat(recipient, span_admin_pm_warning("Admin PM from-[key_name(src, recipient, 0)]: [msg]")) - to_chat(recipient, span_admin_pm_warning("Click on the administrator's name to reply.")) + to_chat(recipient, span_admin_pm_warning(span_italics("Click on the administrator's name to reply."))) to_chat(src, span_admin_pm_notice("Admin PM to-[key_name(recipient, src, 1)]: [msg]")) admin_ticket_log(recipient, span_admin_pm_notice("PM From [key_name_admin(src)]: [keywordparsedmsg]")) @@ -204,7 +204,7 @@ for(var/client/X in GLOB.admins) if(!check_rights(R_ADMIN|R_SERVER, 0, X)) //CHOMPEdit continue - to_chat(X, span_admin_pm_notice("PM: [key_name(src, X, 0)]->IRC: [keywordparsedmsg]")) + to_chat(X, span_admin_pm_notice(span_bold("PM: [key_name(src, X, 0)]->IRC:") + " [keywordparsedmsg]")) else log_admin("PM: [key_name(src)]->[key_name(recipient)]: [rawmsg]") //we don't use message_admins here because the sender/receiver might get it too @@ -212,7 +212,7 @@ if(!check_rights(R_ADMIN|R_SERVER, 0, X)) //CHOMPEdit continue if(X.key!=key && X.key!=recipient.key) //check client/X is an admin and isn't the sender or recipient - to_chat(X, span_admin_pm_notice("PM: [key_name(src, X, 0)]->[key_name(recipient, X, 0)]: [keywordparsedmsg]")) + to_chat(X, span_admin_pm_notice(span_bold("PM: [key_name(src, X, 0)]->[key_name(recipient, X, 0)]:") + " [keywordparsedmsg]")) /proc/IrcPm(target,msg,sender) var/client/C = GLOB.directory[target] @@ -261,9 +261,9 @@ message_admins("IRC message from [sender] to [key_name_admin(C)] : [msg]") log_admin("IRC PM: [sender] -> [key_name(C)] : [msg]") - to_chat(C, span_admin_pm_warning(span_huge("-- Administrator private message --"))) + to_chat(C, span_admin_pm_warning(span_huge(span_bold("-- Administrator private message --")))) to_chat(C, span_admin_pm_warning("Admin PM from-[adminname]: [msg]")) - to_chat(C, span_admin_pm_warning("Click on the administrator's name to reply.")) + to_chat(C, span_admin_pm_warning(span_italics("Click on the administrator's name to reply."))) admin_ticket_log(C, span_admin_pm_notice("PM From [irc_tagged]: [msg]")) diff --git a/code/modules/admin/verbs/adminsay.dm b/code/modules/admin/verbs/adminsay.dm index cfab9681e0..43b41f8efc 100644 --- a/code/modules/admin/verbs/adminsay.dm +++ b/code/modules/admin/verbs/adminsay.dm @@ -13,7 +13,7 @@ for(var/client/C in GLOB.admins) if(check_rights(R_ADMIN, 0, C)) - to_chat(C, span_admin_channel("" + create_text_tag("admin", "ADMIN:", C) + " [key_name(usr, 1)]([admin_jump_link(mob, src)]): [msg]")) + to_chat(C, span_admin_channel(create_text_tag("admin", "ADMIN:", C) + " " + span_name("[key_name(usr, 1)]") + "([admin_jump_link(mob, src)]): " + span_name("[msg]") )) feedback_add_details("admin_verb","M") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -36,7 +36,7 @@ sender_name = span_admin("[sender_name]") for(var/client/C in GLOB.admins) if(check_rights(R_ADMIN|R_MOD|R_SERVER)) //VOREStation Edit - to_chat(C, span_mod_channel("" + create_text_tag("mod", "MOD:", C) + " [sender_name]([admin_jump_link(mob, C.holder)]): [msg]")) + to_chat(C, span_mod_channel(create_text_tag("mod", "MOD:", C) + " " + span_name("[sender_name]") + "([admin_jump_link(mob, C.holder)]): " + span_name("[msg]") )) feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -58,6 +58,6 @@ if(check_rights(R_ADMIN, 0)) sender_name = span_admin("[sender_name]") for(var/client/C in GLOB.admins) - to_chat(C, span_event_channel("" + create_text_tag("event", "EVENT:", C) + " [sender_name]([admin_jump_link(mob, C.holder)]): [msg]")) + to_chat(C, span_event_channel(create_text_tag("event", "EVENT:", C) + " " + span_name("[sender_name]") + "([admin_jump_link(mob, C.holder)]): " + span_name("[msg]") )) feedback_add_details("admin_verb","GS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! diff --git a/code/modules/admin/verbs/antag-ooc.dm b/code/modules/admin/verbs/antag-ooc.dm index 4b72f81b80..10b13895ab 100644 --- a/code/modules/admin/verbs/antag-ooc.dm +++ b/code/modules/admin/verbs/antag-ooc.dm @@ -31,12 +31,12 @@ for(var/mob/M in mob_list) if(check_rights(R_ADMIN|R_MOD|R_EVENT, 0, M)) // Staff can see AOOC unconditionally, and with more details. - to_chat(M, span_ooc(span_aooc("[create_text_tag("aooc", "Antag-OOC:", M.client)] [get_options_bar(src, 0, 1, 1)]([admin_jump_link(usr, M.client.holder)]): [msg]"))) + to_chat(M, span_ooc(span_aooc("[create_text_tag("aooc", "Antag-OOC:", M.client)] [get_options_bar(src, 0, 1, 1)]([admin_jump_link(usr, M.client.holder)]): " + span_message("[msg]")))) else if(M.client) // Players can only see AOOC if observing, or if they are an antag type allowed to use AOOC. var/datum/antagonist/A = null if(M.mind) // Observers don't have minds, but they should still see AOOC. A = get_antag_data(M.mind.special_role) if((M.mind && M.mind.special_role && A && A.can_hear_aooc) || isobserver(M)) // Antags must have their type be allowed to AOOC to see AOOC. This prevents, say, ERT from seeing AOOC. - to_chat(M, span_ooc(span_aooc("[create_text_tag("aooc", "Antag-OOC:", M.client)] [player_display]: [msg]"))) + to_chat(M, span_ooc(span_aooc("[create_text_tag("aooc", "Antag-OOC:", M.client)] [player_display]: " + span_message("[msg]")))) log_aooc(msg,src) diff --git a/code/modules/admin/verbs/buildmode.dm b/code/modules/admin/verbs/buildmode.dm index 2aa87771ad..885f00cf0d 100644 --- a/code/modules/admin/verbs/buildmode.dm +++ b/code/modules/admin/verbs/buildmode.dm @@ -91,17 +91,17 @@ switch(master.cl.buildmode) if(BUILDMODE_BASIC) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Left Mouse Button = Construct / Upgrade
    \ Right Mouse Button = Deconstruct / Delete / Downgrade
    \ Left Mouse Button + ctrl = R-Window
    \ Left Mouse Button + alt = Airlock

    \ Use the button in the upper left corner to
    \ change the direction of built objects.
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_ADVANCED) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Right Mouse Button on buildmode button = Set object type
    \ Middle Mouse Button on buildmode button= On/Off object type saying
    \ Middle Mouse Button on turf/obj = Capture object type
    \ @@ -110,49 +110,49 @@ Mouse Button + ctrl = Copy object type

    \ Use the button in the upper left corner to
    \ change the direction of built objects.
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_EDIT) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Right Mouse Button on buildmode button = Select var(type) & value
    \ Left Mouse Button on turf/obj/mob = Set var(type) & value
    \ Right Mouse Button on turf/obj/mob = Reset var's value
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_THROW) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Left Mouse Button on turf/obj/mob = Select
    \ Right Mouse Button on turf/obj/mob = Throw
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_ROOM) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Left Mouse Button on turf = Select as point A
    \ Right Mouse Button on turf = Select as point B
    \ Right Mouse Button on buildmode button = Change floor/wall type/area name
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_LADDER) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Left Mouse Button on turf = Set as upper ladder loc
    \ Right Mouse Button on turf = Set as lower ladder loc
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_CONTENTS) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Left Mouse Button on turf/obj/mob = Select
    \ Right Mouse Button on turf/obj/mob = Move into selection
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_LIGHTS) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Left Mouse Button on turf/obj/mob = Make it glow
    \ Right Mouse Button on turf/obj/mob = Reset glowing
    \ Right Mouse Button on buildmode button = Change glow properties
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_AI) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Left Mouse Button drag box = Select only mobs in box
    \ Left Mouse Button drag box + shift = Select additional mobs in area
    \ Left Mouse Button on non-mob = Deselect all mobs
    \ @@ -171,17 +171,17 @@ Right Mouse Button on tile = Command selected mobs to move to tile (will cancel if enemies are seen)
    \ Right Mouse Button + shift on tile = Command selected mobs to reposition to tile (will not be interrupted by enemies)
    \ Right Mouse Button + alt on obj/turfs = Command selected mobs to attack obj/turf
    \ - ***********************************************************
    ") + ***********************************************************")) if(BUILDMODE_DROP) - to_chat(usr, "***********************************************************
    \ + to_chat(usr, span_notice("***********************************************************
    \ Right Mouse Button on buildmode button = Set object type
    \ Middle Mouse Button on buildmode button= On/Off object type saying
    \ Middle Mouse Button on turf/obj = Capture object type
    \ Left Mouse Button on turf/obj = Drop objects safely
    \ Right Mouse Button = Drop objects unsafely
    \ Mouse Button + ctrl = Copy object type

    \ - ***********************************************************
    ") + ***********************************************************")) return 1 /obj/effect/bmode/buildquit diff --git a/code/modules/admin/verbs/check_customitem_activity.dm b/code/modules/admin/verbs/check_customitem_activity.dm index e400023867..8f95e9f33a 100644 --- a/code/modules/admin/verbs/check_customitem_activity.dm +++ b/code/modules/admin/verbs/check_customitem_activity.dm @@ -5,7 +5,7 @@ var/inactive_keys = "None
    " set category = "Admin.Investigate" //CHOMPEdit set name = "Check activity of players with custom items" - var/dat = "Inactive players with custom items
    " + var/dat = span_bold("Inactive players with custom items") + "
    " dat += "
    " dat += "The list below contains players with custom items that have not logged\ in for the past two months, or have not logged in since this system was implemented.\ @@ -77,7 +77,7 @@ var/inactive_keys = "None
    " inactive_keys = "" for(var/cur_key in inactive_ckeys) if(inactive_ckeys[cur_key]) - inactive_keys += "[cur_key] - [inactive_ckeys[cur_key]]
    " + inactive_keys += span_bold("[cur_key]") + " - [inactive_ckeys[cur_key]]
    " else inactive_keys += "[cur_key] - no database entry
    " diff --git a/code/modules/admin/verbs/custom_event.dm b/code/modules/admin/verbs/custom_event.dm index c0ca585363..ed3eda28f2 100644 --- a/code/modules/admin/verbs/custom_event.dm +++ b/code/modules/admin/verbs/custom_event.dm @@ -19,10 +19,10 @@ custom_event_msg = input - to_world("

    [span_alert("Custom Event")]

    ") - to_world("

    [span_alert("A custom event is starting. OOC Info:")]

    ") - to_world(span_alert("[custom_event_msg]")) - to_world("
    ") + to_world(span_filter_system("

    [span_alert("Custom Event")]

    ")) + to_world(span_filter_system("

    [span_alert("A custom event is starting. OOC Info:")]

    ")) + to_world(span_filter_system(span_alert("[custom_event_msg]"))) + to_world(span_filter_system("
    ")) SSwebhooks.send( WEBHOOK_CUSTOM_EVENT, diff --git a/code/modules/admin/verbs/deadsay.dm b/code/modules/admin/verbs/deadsay.dm index c121cea547..d457849541 100644 --- a/code/modules/admin/verbs/deadsay.dm +++ b/code/modules/admin/verbs/deadsay.dm @@ -26,6 +26,6 @@ if (!msg) return - say_dead_direct(span_name("[stafftype]([src.holder.fakekey ? src.holder.fakekey : src.key])
    says, \"[msg]\"")) + say_dead_direct(span_name("[stafftype]([src.holder.fakekey ? src.holder.fakekey : src.key])") + " says, " + span_message("\"[msg]\"")) feedback_add_details("admin_verb","D") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 6824f4be62..09e5ad9dc3 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -217,7 +217,7 @@ set desc = "Display del's log of everything that's passed through it." if(!check_rights(R_DEBUG)) return - var/list/dellog = list("List of things that have gone through qdel this round

      ") + var/list/dellog = list(span_bold("List of things that have gone through qdel this round") + "

        ") sortTim(SSgarbage.items, cmp=/proc/cmp_qdel_item_time, associative = TRUE) for(var/path in SSgarbage.items) var/datum/qdel_item/I = SSgarbage.items[path] @@ -393,31 +393,31 @@ var/list/areas_without_intercom = areas_all - areas_with_intercom var/list/areas_without_camera = areas_all - areas_with_camera - to_world("AREAS WITHOUT AN APC:") + to_world(span_bold("AREAS WITHOUT AN APC:")) for(var/areatype in areas_without_APC) to_world("* [areatype]") - to_world("AREAS WITHOUT AN AIR ALARM:") + to_world(span_bold("AREAS WITHOUT AN AIR ALARM:")) for(var/areatype in areas_without_air_alarm) to_world("* [areatype]") - to_world("AREAS WITHOUT A REQUEST CONSOLE:") + to_world(span_bold("AREAS WITHOUT A REQUEST CONSOLE:")) for(var/areatype in areas_without_RC) to_world("* [areatype]") - to_world("AREAS WITHOUT ANY LIGHTS:") + to_world(span_bold("AREAS WITHOUT ANY LIGHTS:")) for(var/areatype in areas_without_light) to_world("* [areatype]") - to_world("AREAS WITHOUT A LIGHT SWITCH:") + to_world(span_bold("AREAS WITHOUT A LIGHT SWITCH:")) for(var/areatype in areas_without_LS) to_world("* [areatype]") - to_world("AREAS WITHOUT ANY INTERCOMS:") + to_world(span_bold("AREAS WITHOUT ANY INTERCOMS:")) for(var/areatype in areas_without_intercom) to_world("* [areatype]") - to_world("AREAS WITHOUT ANY CAMERAS:") + to_world(span_bold("AREAS WITHOUT ANY CAMERAS:")) for(var/areatype in areas_without_camera) to_world("* [areatype]") diff --git a/code/modules/admin/verbs/diagnostics.dm b/code/modules/admin/verbs/diagnostics.dm index 6f4f88c55d..b7bb98283a 100644 --- a/code/modules/admin/verbs/diagnostics.dm +++ b/code/modules/admin/verbs/diagnostics.dm @@ -168,7 +168,7 @@ set desc = "This spams all the active jobban entries for the current round to standard output." set category = "Debug.Investigate" //CHOMPEdit - to_chat(usr, "Jobbans active in this round.") + to_chat(usr, span_bold("Jobbans active in this round.")) for(var/t in jobban_keylist) to_chat(usr, "[t]") @@ -181,7 +181,7 @@ if(!job_filter) return - to_chat(usr, "Jobbans active in this round.") + to_chat(usr, span_bold("Jobbans active in this round.")) for(var/t in jobban_keylist) if(findtext(t, job_filter)) to_chat(usr, "[t]") diff --git a/code/modules/admin/verbs/entity_narrate.dm b/code/modules/admin/verbs/entity_narrate.dm index 612059a54a..540460c95a 100644 --- a/code/modules/admin/verbs/entity_narrate.dm +++ b/code/modules/admin/verbs/entity_narrate.dm @@ -191,9 +191,9 @@ message = tgui_input_text(usr, "Input what you want [our_entity] to [mode]", "narrate", null) message = encode_html_emphasis(sanitize(message)) if(message && mode == "Speak") - our_entity.audible_message("[our_entity.name] [message]") + our_entity.audible_message(span_bold("[our_entity.name]") + " [message]") else if(message && mode == "Emote") - our_entity.visible_message("[our_entity.name] [message]") + our_entity.visible_message(span_bold("[our_entity.name]") + " [message]") else return @@ -339,10 +339,10 @@ /datum/entity_narrate/proc/narrate_tgui_atom(atom/A, message as text) message = encode_html_emphasis(sanitize(message)) if(tgui_narrate_mode && tgui_narrate_privacy) - A.visible_message("\The [A.name] [message]", range = 1) + A.visible_message(span_italics(span_bold("\The [A.name]") + " [message]"), range = 1) else if(tgui_narrate_mode && !tgui_narrate_privacy) - A.visible_message("\The [A.name] [message]",) + A.visible_message(span_bold("\The [A.name]") + "[message]",) else if(!tgui_narrate_mode && tgui_narrate_privacy) - A.audible_message("\The [A.name] [message]", hearing_distance = 1) + A.audible_message(span_italics(span_bold("\The [A.name]") + " [message]"), hearing_distance = 1) else if(!tgui_narrate_mode && !tgui_narrate_privacy) - A.audible_message("\The [A.name] [message]") + A.audible_message(span_bold("\The [A.name]") + "[message]") diff --git a/code/modules/admin/verbs/grief_fixers.dm b/code/modules/admin/verbs/grief_fixers.dm index 33a249f4e1..e8f92161c3 100644 --- a/code/modules/admin/verbs/grief_fixers.dm +++ b/code/modules/admin/verbs/grief_fixers.dm @@ -10,7 +10,7 @@ feedback_add_details("admin_verb","FA") log_and_message_admins("Full atmosphere reset initiated by [usr].") - to_world("Initiating restart of atmosphere. The server may lag a bit.") + to_world(span_danger("Initiating restart of atmosphere. The server may lag a bit.")) sleep(10) var/current_time = world.timeofday @@ -48,4 +48,4 @@ SSair.RebootZAS() to_chat(usr, "\[5/5\] - ZAS Rebooted") - to_world("Atmosphere restart completed in [(world.timeofday - current_time)/10] seconds.") + to_world(span_danger("Atmosphere restart completed in " + span_bold("[(world.timeofday - current_time)/10]") + " seconds.")) diff --git a/code/modules/admin/verbs/pray.dm b/code/modules/admin/verbs/pray.dm index 819a394c56..55e9e32fe4 100644 --- a/code/modules/admin/verbs/pray.dm +++ b/code/modules/admin/verbs/pray.dm @@ -31,7 +31,7 @@ log_pray(raw_msg, src) /proc/CentCom_announce(var/msg, var/mob/Sender, var/iamessage) - msg = span_blue("" + span_orange("[uppertext(using_map.boss_short)]M[iamessage ? " IA" : ""]:") + "[key_name(Sender, 1)] [ADMIN_PP(Sender)] [ADMIN_VV(Sender)] [ADMIN_SM(Sender)] ([admin_jump_link(Sender)]) [ADMIN_CA(Sender)] [ADMIN_BSA(Sender)] [ADMIN_CENTCOM_REPLY(Sender)]: [msg]") + msg = span_blue(span_bold(span_orange("[uppertext(using_map.boss_short)]M[iamessage ? " IA" : ""]:") + "[key_name(Sender, 1)] [ADMIN_PP(Sender)] [ADMIN_VV(Sender)] [ADMIN_SM(Sender)] ([admin_jump_link(Sender)]) [ADMIN_CA(Sender)] [ADMIN_BSA(Sender)] [ADMIN_CENTCOM_REPLY(Sender)]:") + " [msg]") for(var/client/C in GLOB.admins) //VOREStation Edit - GLOB admins if(!check_rights(R_ADMIN|R_EVENT, 0, C)) //CHOMPEdit continue @@ -39,7 +39,7 @@ C << 'sound/machines/signal.ogg' /proc/Syndicate_announce(var/msg, var/mob/Sender) - msg = span_blue("" + span_crimson("ILLEGAL:") + "[key_name(Sender, 1)] [ADMIN_PP(Sender)] [ADMIN_VV(Sender)] [ADMIN_SM(Sender)] ([admin_jump_link(Sender)]) [ADMIN_CA(Sender)] [ADMIN_BSA(Sender)] [ADMIN_SYNDICATE_REPLY(Sender)]: [msg]") + msg = span_blue(span_bold(span_crimson("ILLEGAL:") + "[key_name(Sender, 1)] [ADMIN_PP(Sender)] [ADMIN_VV(Sender)] [ADMIN_SM(Sender)] ([admin_jump_link(Sender)]) [ADMIN_CA(Sender)] [ADMIN_BSA(Sender)] [ADMIN_SYNDICATE_REPLY(Sender)]:") + " [msg]") for(var/client/C in GLOB.admins) //VOREStation Edit - GLOB admins if(!check_rights(R_ADMIN|R_EVENT, 0, C)) //CHOMPEdit continue diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 3e17b82551..985b2ba87d 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -98,10 +98,10 @@ if(usr) if (usr.client) if(usr.client.holder) - to_chat(M, "You hear a voice in your head... [msg]") + to_chat(M, span_bold("You hear a voice in your head...") + " " + span_italics("[msg]")) log_admin("SubtlePM: [key_name(usr)] -> [key_name(M)] : [msg]") - msg = span_admin_pm_notice(" SubtleMessage: [key_name_admin(usr)] -> [key_name_admin(M)] : [msg]") + msg = span_admin_pm_notice(span_bold(" SubtleMessage: [key_name_admin(usr)] -> [key_name_admin(M)] :") + " [msg]") message_admins(msg) admin_ticket_log(M, msg) feedback_add_details("admin_verb","SMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -124,7 +124,7 @@ to_world("[msg]") log_admin("GlobalNarrate: [key_name(usr)] : [msg]") - message_admins(span_blue(" GlobalNarrate: [key_name_admin(usr)] : [msg]
        "), 1) + message_admins(span_blue(span_bold(" GlobalNarrate: [key_name_admin(usr)] : [msg]
        ")), 1) feedback_add_details("admin_verb","GLN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_admin_direct_narrate(var/mob/M) // Targetted narrate -- TLE @@ -149,7 +149,7 @@ to_chat(M, msg) log_admin("DirectNarrate: [key_name(usr)] to ([M.name]/[M.key]): [msg]") - msg = span_admin_pm_notice(" DirectNarrate: [key_name(usr)] to ([M.name]/[M.key]): [msg]
        ") + msg = span_admin_pm_notice(span_bold(" DirectNarrate: [key_name(usr)] to ([M.name]/[M.key]):") + " [msg]
        ") message_admins(msg) admin_ticket_log(M, msg) feedback_add_details("admin_verb","DIRN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -221,7 +221,7 @@ log_admin("[key_name(usr)] has [muteunmute] [key_name(M)] from [mute_string]") message_admins("[key_name_admin(usr)] has [muteunmute] [key_name_admin(M)] from [mute_string].", 1) - to_chat(M, "You have been [muteunmute] from [mute_string].") + to_chat(M, span_alert("You have been [muteunmute] from [mute_string].")) feedback_add_details("admin_verb","MUTE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/cmd_admin_add_random_ai_law() @@ -298,11 +298,11 @@ Ccomp's first proc. for(var/client/C as anything in GLOB.clients) if(C.ckey == target) found_client = C - to_chat(C, span_notice("You may now respawn. You should roleplay as if you learned nothing about the round during your time with the dead.")) + to_chat(C, span_boldnotice("You may now respawn. You should roleplay as if you learned nothing about the round during your time with the dead.")) if(isobserver(C.mob)) var/mob/observer/dead/G = C.mob G.can_reenter_corpse = 1 - to_chat(C, span_notice("You can also re-enter your corpse, if you still have one!")) + to_chat(C, span_boldnotice("You can also re-enter your corpse, if you still have one!")) break if(!found_client) @@ -328,18 +328,18 @@ Ccomp's first proc. if(g.antagHUD) g.antagHUD = 0 // Disable it on those that have it enabled g.has_enabled_antagHUD = 2 // We'll allow them to respawn - to_chat(g, span_red("The Administrator has disabled AntagHUD ")) + to_chat(g, span_boldwarning("The Administrator has disabled AntagHUD ")) CONFIG_SET(flag/antag_hud_allowed, FALSE) // CHOMPEdit - to_chat(src, span_red("AntagHUD usage has been disabled")) + to_chat(src, span_boldwarning("AntagHUD usage has been disabled")) action = "disabled" else for(var/mob/observer/dead/g in get_ghosts()) if(!g.client.holder) // Add the verb back for all non-admin ghosts add_verb(g, /mob/observer/dead/verb/toggle_antagHUD) - to_chat(g, span_blue("The Administrator has enabled AntagHUD ")) // Notify all observers they can now use AntagHUD + to_chat(g, span_boldnotice("The Administrator has enabled AntagHUD")) // Notify all observers they can now use AntagHUD CONFIG_SET(flag/antag_hud_allowed, TRUE) // CHOMPEdit action = "enabled" - to_chat(src, span_blue("AntagHUD usage has been enabled")) + to_chat(src, span_boldnotice("AntagHUD usage has been enabled")) log_admin("[key_name(usr)] has [action] antagHUD usage for observers") @@ -358,19 +358,19 @@ Ccomp's first proc. var/action="" if(CONFIG_GET(flag/antag_hud_restricted)) // CHOMPEdit for(var/mob/observer/dead/g in get_ghosts()) - to_chat(g, span_blue("The administrator has lifted restrictions on joining the round if you use AntagHUD")) + to_chat(g, span_boldnotice("The administrator has lifted restrictions on joining the round if you use AntagHUD")) action = "lifted restrictions" CONFIG_SET(flag/antag_hud_restricted, FALSE) // CHOMPEdit - to_chat(src, span_blue("AntagHUD restrictions have been lifted")) + to_chat(src, span_boldnotice("AntagHUD restrictions have been lifted")) else for(var/mob/observer/dead/g in get_ghosts()) - to_chat(g, span_red("The administrator has placed restrictions on joining the round if you use AntagHUD")) - to_chat(g, span_red("Your AntagHUD has been disabled, you may choose to re-enabled it but will be under restrictions ")) + to_chat(g, span_boldwarning("The administrator has placed restrictions on joining the round if you use AntagHUD")) + to_chat(g, span_boldwarning("Your AntagHUD has been disabled, you may choose to re-enabled it but will be under restrictions ")) g.antagHUD = 0 g.has_enabled_antagHUD = 0 action = "placed restrictions" CONFIG_SET(flag/antag_hud_restricted, TRUE) // CHOMPEdit - to_chat(src, span_red("AntagHUD restrictions have been enabled")) + to_chat(src, span_boldwarning("AntagHUD restrictions have been enabled")) log_admin("[key_name(usr)] has [action] on joining the round if they use AntagHUD") message_admins("Admin [key_name_admin(usr)] has [action] on joining the round if they use AntagHUD", 1) @@ -982,7 +982,7 @@ Traitors and the like can also be revived with the previous role mostly intact. set category = "Special Verbs" set name = "Attack Log" - to_chat(usr, span_red("Attack Log for [mob]")) + to_chat(usr, span_red(span_bold("Attack Log for [mob]"))) for(var/t in M.attack_log) to_chat(usr,t) feedback_add_details("admin_verb","ATTL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! @@ -1014,7 +1014,7 @@ Traitors and the like can also be revived with the previous role mostly intact. message_admins("Admin [key_name_admin(usr)] has forced the players to have random appearances.", 1) if(notifyplayers == "Yes") - to_world(span_blue("Admin [usr.key] has forced the players to have completely random identities!")) + to_world(span_boldannounce(span_blue("Admin [usr.key] has forced the players to have completely random identities!"))) to_chat(usr, "Remember: you can always disable the randomness by using the verb again, assuming the round hasn't started yet.") diff --git a/code/modules/admin/verbs/randomverbs_vr.dm b/code/modules/admin/verbs/randomverbs_vr.dm index 5236172355..2c320e347d 100644 --- a/code/modules/admin/verbs/randomverbs_vr.dm +++ b/code/modules/admin/verbs/randomverbs_vr.dm @@ -98,7 +98,7 @@ if(M.z == pos_z) to_chat(M, msg) log_admin("ZNarrate: [key_name(usr)] : [msg]") - message_admins(span_blue(" ZNarrate: [key_name_admin(usr)] : [msg]
        "), 1) + message_admins(span_blue(span_bold(" ZNarrate: [key_name_admin(usr)] : [msg]
        ")), 1) feedback_add_details("admin_verb","GLNA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /client/proc/toggle_vantag_hud(var/mob/target as mob) diff --git a/code/modules/admin/verbs/smite.dm b/code/modules/admin/verbs/smite.dm index 6f9add7c6c..eab76e4ad6 100644 --- a/code/modules/admin/verbs/smite.dm +++ b/code/modules/admin/verbs/smite.dm @@ -131,7 +131,7 @@ sleep(1 SECOND) shadekin.dir = SOUTH sleep(1 SECOND) - shadekin.audible_message("[shadekin] belches loudly!", runemessage = "URRRRRP") + shadekin.audible_message(span_vwarning(span_bold("[shadekin]") + " belches loudly!"), runemessage = "URRRRRP") sleep(2 SECONDS) shadekin.phase_shift() target.transforming = FALSE //Undo cheap hack diff --git a/code/modules/admin/view_variables/helpers.dm b/code/modules/admin/view_variables/helpers.dm index 75e29d7509..c81e6f61b4 100644 --- a/code/modules/admin/view_variables/helpers.dm +++ b/code/modules/admin/view_variables/helpers.dm @@ -2,7 +2,7 @@ // Keep these two together, they *must* be defined on both // If /client ever becomes /datum/client or similar, they can be merged /datum/proc/get_view_variables_header() - return "[src]" + return span_bold("[src]") /atom/get_view_variables_header() return {" diff --git a/code/modules/admin/view_variables/view_variables.dm b/code/modules/admin/view_variables/view_variables.dm index 60e9f73f82..ddd6f7a6fc 100644 --- a/code/modules/admin/view_variables/view_variables.dm +++ b/code/modules/admin/view_variables/view_variables.dm @@ -40,7 +40,7 @@ var/sprite_text if(sprite) sprite_text = "
    NameFingerprints
    " - var/list/header = islist(D)? list("/list") : D.vv_get_header() + var/list/header = islist(D)? list(span_bold("/list")) : D.vv_get_header() var/marked if(holder && holder.marked_datum && holder.marked_datum == D) diff --git a/code/modules/admin/view_variables/view_variables_global.dm b/code/modules/admin/view_variables/view_variables_global.dm index 8e7c1be76d..ae44630763 100644 --- a/code/modules/admin/view_variables/view_variables_global.dm +++ b/code/modules/admin/view_variables/view_variables_global.dm @@ -12,7 +12,7 @@ /var/decl/global_vars/global_vars_ /decl/global_vars - var/name = "Global Variables" + var/name = span_bold("Global Variables") /decl/global_vars/get_view_variables_options() return "" // Ensuring changes to the base proc never affect us diff --git a/code/modules/ai/ai_holder.dm b/code/modules/ai/ai_holder.dm index c56e96fabf..6d429540be 100644 --- a/code/modules/ai/ai_holder.dm +++ b/code/modules/ai/ai_holder.dm @@ -170,11 +170,10 @@ to_chat(usr, span_warning("You don't appear to have changed anything on the AI datum you were editing.")) href_list["datumrefresh"] = "\ref[src]" else - var/message = "These differences were detected in your varedit. If you notice any that you didn't change, please redo your edit:
    " + var/message = "These differences were detected in your varedit. If you notice any that you didn't change, please redo your edit:
    " for(var/key in diff) - message += "- [key]: [before[key]] => [after[key]]
    " - message += "
    " - to_chat(usr,message) + message += span_bold("- [key]:") + " [before[key]] => [after[key]]
    " + to_chat(usr,span_notice(message)) var/original_type = holder.type var/list/levels_working = GetConnectedZlevels(holder.z) diff --git a/code/modules/artifice/cursedform.dm b/code/modules/artifice/cursedform.dm index 082933274f..313584e9cb 100644 --- a/code/modules/artifice/cursedform.dm +++ b/code/modules/artifice/cursedform.dm @@ -35,6 +35,6 @@ if(isliving(user)) var/mob/living/L = user - L.visible_message("[L] convulses, the very letters of \the [src] searing themselves into their eyes!", \ - "You convulse, the very letters of \the [src] searing themselves into your eyes!") + L.visible_message(span_danger("[L] convulses, the very letters of \the [src] searing themselves into their eyes!"), \ + span_critical("You convulse, the very letters of \the [src] searing themselves into your eyes!")) L.add_modifier(/datum/modifier/grievous_wounds, 10 MINUTES) diff --git a/code/modules/assembly/mousetrap.dm b/code/modules/assembly/mousetrap.dm index be3d83a2f7..4ebb2d24e6 100644 --- a/code/modules/assembly/mousetrap.dm +++ b/code/modules/assembly/mousetrap.dm @@ -41,7 +41,7 @@ H.updatehealth() else if(ismouse(target)) var/mob/living/simple_mob/animal/passive/mouse/M = target - visible_message(span_red("SPLAT!")) + visible_message(span_bolddanger("SPLAT!")) M.splat() playsound(target, 'sound/effects/snap.ogg', 50, 1) layer = MOB_LAYER - 0.2 diff --git a/code/modules/awaymissions/bluespaceartillery.dm b/code/modules/awaymissions/bluespaceartillery.dm index f11b9ee61e..0b606c3dd9 100644 --- a/code/modules/awaymissions/bluespaceartillery.dm +++ b/code/modules/awaymissions/bluespaceartillery.dm @@ -22,9 +22,9 @@ /obj/machinery/artillerycontrol/attack_hand(mob/user as mob) user.set_machine(src) - var/dat = "Bluespace Artillery Control:
    " + var/dat = span_bold("Bluespace Artillery Control:") + "
    " dat += "Locked on
    " - dat += "Charge progress: [reload]/180:
    " + dat += span_bold("Charge progress: [reload]/180:") + "
    " dat += "Open Fire
    " dat += "Deployment of weapon authorized by
    [using_map.company_name] Naval Command

    Remember, friendly fire is grounds for termination of your contract and life.
    " user << browse(dat, "window=scroll") diff --git a/code/modules/awaymissions/gateway.dm b/code/modules/awaymissions/gateway.dm index d12f3fd3b8..223bab6a72 100644 --- a/code/modules/awaymissions/gateway.dm +++ b/code/modules/awaymissions/gateway.dm @@ -233,7 +233,7 @@ GLOBAL_DATUM(gateway_station, /obj/machinery/gateway/centerstation) if(!awaygate) // We still can't find the damn thing because there is no destination. to_chat(user, span_notice("Error: Programming failed. No destination found.")) return - to_chat(user, "Startup programming successful!: A destination in another point of space and time has been detected.") + to_chat(user, span_boldnotice("Startup programming successful!") + ": A destination in another point of space and time has been detected.") else to_chat(user, span_black("The gate is already calibrated, there is no work for you to do here.")) return @@ -362,6 +362,6 @@ GLOBAL_DATUM(gateway_away, /obj/machinery/gateway/centeraway) return // VOREStation Add End else - to_chat(user, span_blue("Recalibration successful!:") + span_black(" This gate's systems have been fine tuned. Travel to this gate will now be on target.")) + to_chat(user, span_blue(span_bold("Recalibration successful!") + "") + span_black(" This gate's systems have been fine tuned. Travel to this gate will now be on target.")) calibrated = 1 return diff --git a/code/modules/awaymissions/gateway_vr.dm b/code/modules/awaymissions/gateway_vr.dm index fec53e0b45..9618eb5f68 100644 --- a/code/modules/awaymissions/gateway_vr.dm +++ b/code/modules/awaymissions/gateway_vr.dm @@ -15,7 +15,7 @@ return if(istype(W,mcguffin_type) && !calibrated) - to_chat(user, span_emote("As the device nears the gateway, mechanical clunks and whirrs can be heard.
    [span_blue("Configuration successful! ")]
    This gate's systems have been fine tuned. Travel to this gate will now be on target.")) + to_chat(user, span_npc_emote("As the device nears the gateway, mechanical clunks and whirrs can be heard.
    [span_blue(span_bold("Configuration successful! "))]
    This gate's systems have been fine tuned. Travel to this gate will now be on target.")) calibrated = 1 return else diff --git a/code/modules/awaymissions/pamphlet.dm b/code/modules/awaymissions/pamphlet.dm index ec5e940669..5f05f3e99d 100644 --- a/code/modules/awaymissions/pamphlet.dm +++ b/code/modules/awaymissions/pamphlet.dm @@ -1,7 +1,7 @@ /obj/item/paper/pamphlet name = "pamphlet" icon_state = "pamphlet" - info = "Welcome to the Gateway project...
    \ + info = span_bold("Welcome to the Gateway project...") + "
    \ Congratulations! If you're reading this, you and your superiors have decided that you're \ ready to commit to a life spent colonising the rolling hills of far away worlds. You \ must be ready for a lifetime of adventure, a little bit of hard work, and an award \ @@ -35,4 +35,4 @@ //we don't want the silly text overlay! /obj/item/paper/pamphlet/update_icon() - return \ No newline at end of file + return diff --git a/code/modules/awaymissions/zlevel.dm b/code/modules/awaymissions/zlevel.dm index 2f3dd757ae..65f59cef0d 100644 --- a/code/modules/awaymissions/zlevel.dm +++ b/code/modules/awaymissions/zlevel.dm @@ -3,7 +3,7 @@ return var/list/potentialRandomZlevels = list() - admin_notice(span_red(" Searching for away missions..."), R_DEBUG) + admin_notice(span_red(span_bold(" Searching for away missions...")), R_DEBUG) var/list/Lines = file2list("maps/RandomZLevels/fileList.txt") if(!Lines.len) return for (var/t in Lines) @@ -35,7 +35,7 @@ if(potentialRandomZlevels.len) - admin_notice(span_red("Loading away mission..."), R_DEBUG) + admin_notice(span_red(span_bold("Loading away mission...")), R_DEBUG) var/map = pick(potentialRandomZlevels) to_world_log("Away mission picked: [map]") //VOREStation Add for debugging @@ -50,10 +50,10 @@ continue awaydestinations.Add(L) */ //VOREStation Removal End - admin_notice(span_red("Away mission loaded."), R_DEBUG) + admin_notice(span_red(span_bold("Away mission loaded.")), R_DEBUG) else - admin_notice(span_red("No away missions found."), R_DEBUG) + admin_notice(span_red(span_bold("No away missions found.")), R_DEBUG) return //VOREStation Add - This landmark type so it's not so ghetto. diff --git a/code/modules/casino/casino_prize_vendor.dm b/code/modules/casino/casino_prize_vendor.dm index 4fb59e6fcc..d297bb4ce4 100644 --- a/code/modules/casino/casino_prize_vendor.dm +++ b/code/modules/casino/casino_prize_vendor.dm @@ -265,7 +265,7 @@ /obj/machinery/casino_prize_dispenser/proc/pay_with_chips(var/obj/item/spacecasinocash/cashmoney, mob/user, var/price) //"cashmoney_:[cashmoney] user:[user] currently_vending:[currently_vending]" if(price > cashmoney.worth) - to_chat(usr, "[icon2html(cashmoney, user.client)] That is not enough chips.") //CHOMPEdit + to_chat(usr, "[icon2html(cashmoney, user.client)] " + span_warning("That is not enough chips.")) return 0 if(istype(cashmoney, /obj/item/spacecasinocash)) @@ -404,7 +404,7 @@ return for(var/mob/O in hearers(src, null)) - O.show_message(span_npc_say("\The [src] beeps, \"[message]\""),2) + O.show_message(span_npc_say(span_name("\The [src]") + " beeps, \"[message]\""),2) return /obj/machinery/casino_prize_dispenser/process() //Might not need this, but just to be safe for now diff --git a/code/modules/catalogue/catalogue_data.dm b/code/modules/catalogue/catalogue_data.dm index 1152917156..2d40afbc93 100644 --- a/code/modules/catalogue/catalogue_data.dm +++ b/code/modules/catalogue/catalogue_data.dm @@ -103,8 +103,8 @@ GLOBAL_DATUM_INIT(catalogue_data, /datum/category_collection/catalogue, new) . += item /datum/category_item/catalogue/proc/display_in_chatlog(mob/user) - to_chat(user, "
    ") - to_chat(user, span_notice("[uppertext(name)]")) + to_chat(user, span_infoplain("
    ")) + to_chat(user, span_boldnotice("[uppertext(name)]")) // Some entries get very long so lets not totally flood the chatlog. var/desc_length_limit = 750 @@ -113,7 +113,7 @@ GLOBAL_DATUM_INIT(catalogue_data, /datum/category_collection/catalogue, new) displayed_desc = copytext(displayed_desc, 1, desc_length_limit + 1) displayed_desc += "... (View databanks for full data)" - to_chat(user, span_notice("[displayed_desc]")) + to_chat(user, span_notice(span_italics("[displayed_desc]"))) to_chat(user, span_notice("Cataloguers : [english_list(cataloguers)].")) to_chat(user, span_notice("Contributes [value] points to personal exploration fund.")) diff --git a/code/modules/catalogue/cataloguer.dm b/code/modules/catalogue/cataloguer.dm index b4f4e5a45f..56a674ff80 100644 --- a/code/modules/catalogue/cataloguer.dm +++ b/code/modules/catalogue/cataloguer.dm @@ -258,7 +258,7 @@ GLOBAL_LIST_EMPTY(all_cataloguers) dat += "\[(DEBUG) Force Discovery\]" dat += "
    " - dat += "[displayed_data.desc]" + dat += span_italics("[displayed_data.desc]") if(LAZYLEN(displayed_data.cataloguers)) dat += "Cataloguers : [english_list(displayed_data.cataloguers)]." else @@ -271,7 +271,7 @@ GLOBAL_LIST_EMPTY(all_cataloguers) var/list/group_dat = list() var/show_group = FALSE - group_dat += "[group.name]" + group_dat += span_bold("[group.name]") for(var/datum/category_item/catalogue/item as anything in group.items) if(item.visible || debug) group_dat += "[item.name]" diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 3f51c9301c..0098b7bed7 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -73,7 +73,7 @@ to_chat(src, span_warning("You are no longer able to use this, it's been more than 10 minutes since an admin on IRC has responded to you")) return if(mute_irc) - to_chat(src, "") + to_chat(usr, span_warning("You cannot use this as your client has been muted from sending messages to the admins on IRC")) return send2adminirc(href_list["irc_msg"]) return diff --git a/code/modules/client/preference_setup/antagonism/01_basic.dm b/code/modules/client/preference_setup/antagonism/01_basic.dm index 3572a2fd62..438692e173 100644 --- a/code/modules/client/preference_setup/antagonism/01_basic.dm +++ b/code/modules/client/preference_setup/antagonism/01_basic.dm @@ -30,11 +30,11 @@ var/global/list/uplink_locations = list("PDA", "Headset", "None") /datum/category_item/player_setup_item/antagonism/basic/content(var/mob/user) . += "Faction: [pref.antag_faction]
    " . += "Visibility: [pref.antag_vis]
    " - . +="Uplink Type : [pref.uplinklocation]" + . +=span_bold("Uplink Type : [pref.uplinklocation]") . +="
    " - . +="Exploitable information:
    " + . +=span_bold("Exploitable information:") + "
    " if(jobban_isbanned(user, "Records")) - . += "You are banned from using character records.
    " + . += span_bold("You are banned from using character records.") + "
    " else . +="[TextPreview(pref.exploit_record,40)]
    " diff --git a/code/modules/client/preference_setup/antagonism/02_candidacy.dm b/code/modules/client/preference_setup/antagonism/02_candidacy.dm index a0574b2f74..1d6546f6fc 100644 --- a/code/modules/client/preference_setup/antagonism/02_candidacy.dm +++ b/code/modules/client/preference_setup/antagonism/02_candidacy.dm @@ -43,19 +43,19 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set /datum/category_item/player_setup_item/antagonism/candidacy/content(var/mob/user) if(jobban_isbanned(user, JOB_SYNDICATE)) - . += "You are banned from antagonist roles." + . += span_bold("You are banned from antagonist roles.") pref.be_special = 0 else var/n = 0 for (var/i in special_roles) if(special_roles[i]) //if mode is available on the server if(jobban_isbanned(user, i) || (i == "positronic brain" && jobban_isbanned(user, JOB_AI) && jobban_isbanned(user, JOB_CYBORG)) || (i == "pAI candidate" && jobban_isbanned(user, JOB_PAI))) - . += "Be [i]: \[BANNED]
    " + . += span_bold("Be [i]:") + " \[BANNED]
    " else - . += "Be [i]: [pref.be_special&(1<
    " + . += span_bold("Be [i]:") + " " + span_bold("[pref.be_special&(1<
    " // CHOMPEdit Start - Add header for Ghost roles section if(i == "GHOST") - . += "

    GHOST ROLES - Roles that are joinable as ghosts, but not true antags.


    " + . += "

    " + span_underline("GHOST ROLES") + " - Roles that are joinable as ghosts, but not true antags.


    " else //CHOMPEdit End n++ diff --git a/code/modules/client/preference_setup/general/01_basic.dm b/code/modules/client/preference_setup/general/01_basic.dm index a1054698ec..9ae3ac9bf6 100644 --- a/code/modules/client/preference_setup/general/01_basic.dm +++ b/code/modules/client/preference_setup/general/01_basic.dm @@ -91,21 +91,21 @@ /datum/category_item/player_setup_item/general/basic/content() . = list() - . += "Name: " + . += span_bold("Name:") + " " . += "
    [pref.real_name]
    " . += "Randomize Name
    " . += "Always Random Name: [pref.be_random_name ? "Yes" : "No"]
    " - . += "Nickname: " + . += span_bold("Nickname:") + " " . += "[pref.nickname]" . += "(Clear)" . += "
    " - . += "Biological Sex: [gender2text(pref.biological_gender)]
    " - . += "Pronouns: [gender2text(pref.identifying_gender)]
    " - . += "Age: [pref.age] Birthday: [pref.bday_month]/[pref.bday_day] - Announce?: [pref.bday_announce ? "Yes" : "Disabled"]
    " //ChompEDIT - DISABLE the announcement - . += "Spawn Point: [pref.spawnpoint]
    " + . += span_bold("Biological Sex:") + " [gender2text(pref.biological_gender)]
    " + . += span_bold("Pronouns:") + " [gender2text(pref.identifying_gender)]
    " + . += span_bold("Age:") + " [pref.age] Birthday: [pref.bday_month]/[pref.bday_day] - Announce?: [pref.bday_announce ? "Yes" : "Disabled"]
    " //ChompEDIT - DISABLE the announcement + . += span_bold("Spawn Point") + ": [pref.spawnpoint]
    " if(CONFIG_GET(flag/allow_metadata)) // CHOMPEdit //CHOMPEdit Start - . += "OOC Notes: EditFavsLikesMaybesDislikes
    " + . += span_bold("OOC Notes: EditFavsLikesMaybesDislikes") + "
    " . += "Detailed field or short list system? [pref.matadata_ooc_style ? "Lists" : "Fields"]

    " //CHOMPEdit End . = jointext(.,null) diff --git a/code/modules/client/preference_setup/general/02_language.dm b/code/modules/client/preference_setup/general/02_language.dm index 82a823ceea..0c5ff401b3 100644 --- a/code/modules/client/preference_setup/general/02_language.dm +++ b/code/modules/client/preference_setup/general/02_language.dm @@ -65,7 +65,7 @@ pref.runechat_color = sanitize_hexcolor(pref.runechat_color, COLOR_BLACK) /datum/category_item/player_setup_item/general/language/content() - . += "Languages
    " + . += span_bold("Languages") + "
    " var/datum/species/S = GLOB.all_species[pref.species] if(pref.alternate_languages.len > (S.num_alternate_languages + pref.extra_languages)) testing("LANGSANI: Truncated [pref.client]'s character [pref.real_name || "-name not yet loaded-"] language list because it was too long (len: [pref.alternate_languages.len], allowed: [S.num_alternate_languages])") @@ -85,10 +85,10 @@ else . += "- [pref.species] cannot choose secondary languages.
    " - . += "Language Keys
    " + . += span_bold("Language Keys") + "
    " . += " [jointext(pref.language_prefixes, " ")] Change Reset
    " - . += "Preferred Language [pref.preferred_language]
    " // VOREStation Add - . += "Runechat Color Change Runechat Color [color_square(hex = pref.runechat_color)]" + . += span_bold("Preferred Language") + " [pref.preferred_language]
    " // VOREStation Add + . += span_bold("Runechat Color") + " Change Runechat Color [color_square(hex = pref.runechat_color)]" /datum/category_item/player_setup_item/general/language/OnTopic(var/href,var/list/href_list, var/mob/user) if(href_list["remove_language"]) diff --git a/code/modules/client/preference_setup/general/03_body.dm b/code/modules/client/preference_setup/general/03_body.dm index 199b1844cd..4bf1308aef 100644 --- a/code/modules/client/preference_setup/general/03_body.dm +++ b/code/modules/client/preference_setup/general/03_body.dm @@ -614,12 +614,12 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O . += "
    [pref.animations_toggle ? "Stop animations" : "Show animations"]" . += "
    " - . += "Hair
    " + . += span_bold("Hair") + "
    " if(has_flag(mob_species, HAS_HAIR_COLOR)) . += "Change Color [color_square(pref.r_hair, pref.g_hair, pref.b_hair)] " . += " Style: < > [pref.h_style]
    " //The < & > in this line is correct-- those extra characters are the arrows you click to switch between styles. - . += "Gradient
    " + . += span_bold("Gradient") + "
    " . += "Change Color [color_square(pref.r_grad, pref.g_grad, pref.b_grad)] " . += " Style: < > [pref.grad_style]
    " @@ -643,7 +643,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O var/list/ear_styles = pref.get_available_styles(global.ear_styles_list) var/datum/sprite_accessory/ears/ear = ear_styles[pref.ear_style] - . += "Ears
    " + . += span_bold("Ears") + "
    " if(istype(ear)) . += " Style: [ear.name]
    " if(ear.do_colouration) @@ -657,7 +657,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O var/list/tail_styles = pref.get_available_styles(global.tail_styles_list) var/datum/sprite_accessory/tail/tail = tail_styles[pref.tail_style] - . += "Tail
    " + . += span_bold("Tail") + "
    " if(istype(tail)) . += " Style: [tail.name]
    " if(tail.do_colouration) @@ -671,7 +671,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O var/list/wing_styles = pref.get_available_styles(global.wing_styles_list) var/datum/sprite_accessory/wing/wings = wing_styles[pref.wing_style] - . += "Wing
    " + . += span_bold("Wing") + "
    " if(istype(wings)) . += " Style: [wings.name]
    " if(wings.do_colouration) @@ -690,8 +690,8 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O . += "" . += "
    " - . += "Allow Synth markings: [pref.synth_markings ? "Yes" : "No"]
    " - . += "Allow Synth color: [pref.synth_color ? "Yes" : "No"]
    " + . += span_bold("Allow Synth markings:") + " [pref.synth_markings ? "Yes" : "No"]
    " + . += span_bold("Allow Synth color:") + " [pref.synth_color ? "Yes" : "No"]
    " if(pref.synth_color) . += "Change Color [color_square(pref.r_synth, pref.g_synth, pref.b_synth)]" @@ -1452,7 +1452,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O if("preview" in cached_icon_states(current_species.icobase)) user << browse_rsc(icon(current_species.icobase,"preview"), "species_preview_[current_species.name].png") //ChompEDIT usr -> user dat += "

    " - dat += "Language: [current_species.species_language]
    " + dat += span_bold("Language:") + " [current_species.species_language]
    " dat += "" if(current_species.spawn_flags & SPECIES_CAN_JOIN) switch(current_species.rarity_value) diff --git a/code/modules/client/preference_setup/general/04_equipment.dm b/code/modules/client/preference_setup/general/04_equipment.dm index 1a0cb7363b..7382f37989 100644 --- a/code/modules/client/preference_setup/general/04_equipment.dm +++ b/code/modules/client/preference_setup/general/04_equipment.dm @@ -114,7 +114,7 @@ var/global/list/valid_ringtones = list( /datum/category_item/player_setup_item/general/equipment/content() . = list() - . += "Equipment:
    " + . += span_bold("Equipment:") + "
    " for(var/datum/category_group/underwear/UWC in global_underwear.categories) var/item_name = pref.all_underwear[UWC.name] ? pref.all_underwear[UWC.name] : "None" . += "[UWC.name]: [item_name]" diff --git a/code/modules/client/preference_setup/general/05_background.dm b/code/modules/client/preference_setup/general/05_background.dm index 5cc58404e7..6cea52efdd 100644 --- a/code/modules/client/preference_setup/general/05_background.dm +++ b/code/modules/client/preference_setup/general/05_background.dm @@ -44,7 +44,7 @@ character.religion = pref.religion /datum/category_item/player_setup_item/general/background/content(var/mob/user) - . += "Background Information
    " + . += span_bold("Background Information") + "
    " . += "Economic Status: [pref.economic_status]
    " . += "Home: [pref.home_system]
    " . += "Birthplace: [pref.birthplace]
    " @@ -54,7 +54,7 @@ . += "
    Records:
    " if(jobban_isbanned(user, "Records")) - . += "You are banned from using character records.
    " + . += span_danger("You are banned from using character records.") + "
    " else . += "Medical Records:
    " . += "[TextPreview(pref.med_record,40)]
    " diff --git a/code/modules/client/preference_setup/general/06_flavor.dm b/code/modules/client/preference_setup/general/06_flavor.dm index 3f07eb65c3..21ea542476 100644 --- a/code/modules/client/preference_setup/general/06_flavor.dm +++ b/code/modules/client/preference_setup/general/06_flavor.dm @@ -59,7 +59,7 @@ character.custom_link = pref.custom_link /datum/category_item/player_setup_item/general/flavor/content(var/mob/user) - . += "Flavor:
    " + . += span_bold("Flavor:") + "
    " . += "Set Flavor Text
    " . += "Set Robot Flavor Text
    " . += "Set Custom Link
    " @@ -96,7 +96,7 @@ var/new_link = strip_html_simple(tgui_input_text(user, "Enter a link to add on to your examine text! This should be a related image link/gallery, or things like your F-list. This is not the place for memes.", "Custom Link" , html_decode(pref.custom_link), max_length = 100, encode = TRUE, prevent_enter = TRUE)) //ChompEDIT - usr removal if(new_link && CanUseTopic(user)) //ChompEDIT - usr removal if(length(new_link) > 100) - to_chat(user, "Your entry is too long, it must be 100 characters or less.") //ChompEDIT - usr removal + to_chat(user, span_warning("Your entry is too long, it must be 100 characters or less.")) //ChompEDIT - usr removal return pref.custom_link = new_link log_admin("[user]/[user.ckey] set their custom link to [pref.custom_link]") //ChompEDIT - usr removal @@ -106,7 +106,7 @@ /datum/category_item/player_setup_item/general/flavor/proc/SetFlavorText(mob/user) var/HTML = "" HTML += "
    " - HTML += "Set Flavor Text
    " + HTML += span_bold("Set Flavor Text") + "
    " HTML += "Note: This is not *literal* flavor of your character. This is visual description of what they look like.
    " HTML += "
    " HTML += "General: " @@ -144,7 +144,7 @@ /datum/category_item/player_setup_item/general/flavor/proc/SetFlavourTextRobot(mob/user) var/HTML = "" HTML += "
    " - HTML += "Set Robot Flavour Text
    " + HTML += span_bold("Set Robot Flavour Text") + "
    " HTML += "
    " HTML += "Default: " HTML += TextPreview(pref.flavour_texts_robot["Default"]) diff --git a/code/modules/client/preference_setup/global/01_ui.dm b/code/modules/client/preference_setup/global/01_ui.dm index c0e16237a3..b31b82bc57 100644 --- a/code/modules/client/preference_setup/global/01_ui.dm +++ b/code/modules/client/preference_setup/global/01_ui.dm @@ -57,24 +57,24 @@ pref.chat_timestamp = sanitize_integer(pref.chat_timestamp, 0, 1, initial(pref.chat_timestamp)) /datum/category_item/player_setup_item/player_global/ui/content(var/mob/user) - . = "UI Style: [pref.UI_style]
    " - . += "Custom UI (recommended for White UI):
    " + . = span_bold("UI Style:") + " [pref.UI_style]
    " + . += span_bold("Custom UI") + " (recommended for White UI):
    " . += "-Color: [pref.UI_style_color] [color_square(hex = pref.UI_style_color)] reset
    " . += "-Alpha(transparency): [pref.UI_style_alpha] reset
    " - . += "Tooltip Style: [pref.tooltipstyle]
    " - . += "Client FPS: [pref.client_fps]
    " - . += "Random Ambience Frequency: [pref.ambience_freq]
    " - . += "Ambience Chance: [pref.ambience_chance]
    " - . += "tgui Window Mode: [(pref.tgui_fancy) ? "Fancy (default)" : "Compatible (slower)"]
    " - . += "tgui Window Placement: [(pref.tgui_lock) ? "Primary Monitor" : "Free (default)"]
    " - . += "TGUI Input Framework: [(pref.tgui_input_mode) ? "Enabled" : "Disabled (default)"]
    " - . += "TGUI Large Buttons: [(pref.tgui_large_buttons) ? "Enabled (default)" : "Disabled"]
    " - . += "TGUI Swapped Buttons: [(pref.tgui_swapped_buttons) ? "Enabled" : "Disabled (default)"]
    " - . += "Obfuscate Ckey: [(pref.obfuscate_key) ? "Enabled" : "Disabled (default)"]
    " - . += "Obfuscate Job: [(pref.obfuscate_job) ? "Enabled" : "Disabled (default)"]
    " - . += "Chat Timestamps: [(pref.chat_timestamp) ? "Enabled" : "Disabled (default)"]
    " + . += span_bold("Tooltip Style:") + " [pref.tooltipstyle]
    " + . += span_bold("Client FPS:") + " [pref.client_fps]
    " + . += span_bold("Random Ambience Frequency:") + " [pref.ambience_freq]
    " + . += span_bold("Ambience Chance:") + " [pref.ambience_chance]
    " + . += span_bold("TGUI Window Mode:") + " [(pref.tgui_fancy) ? "Fancy (default)" : "Compatible (slower)"]
    " + . += span_bold("TGUI Window Placement:") + " [(pref.tgui_lock) ? "Primary Monitor" : "Free (default)"]
    " + . += span_bold("TGUI Input Framework:") + " [(pref.tgui_input_mode) ? "Enabled" : "Disabled (default)"]
    " + . += span_bold("TGUI Large Buttons:") + " [(pref.tgui_large_buttons) ? "Enabled (default)" : "Disabled"]
    " + . += span_bold("TGUI Swapped Buttons:") + " [(pref.tgui_swapped_buttons) ? "Enabled" : "Disabled (default)"]
    " + . += span_bold("Obfuscate Ckey:") + " [(pref.obfuscate_key) ? "Enabled" : "Disabled (default)"]
    " + . += span_bold("Obfuscate Job:") + " [(pref.obfuscate_job) ? "Enabled" : "Disabled (default)"]
    " + . += span_bold("Chat Timestamps:") + " [(pref.chat_timestamp) ? "Enabled" : "Disabled (default)"]
    " if(can_select_ooc_color(user)) - . += "OOC Color:" + . += span_bold("OOC Color:") if(pref.ooccolor == initial(pref.ooccolor)) . += "Using Default
    " else diff --git a/code/modules/client/preference_setup/global/03_pai.dm b/code/modules/client/preference_setup/global/03_pai.dm index d9b20873d8..22c92e9905 100644 --- a/code/modules/client/preference_setup/global/03_pai.dm +++ b/code/modules/client/preference_setup/global/03_pai.dm @@ -28,7 +28,7 @@ candidate.savefile_save(preference_mob()) /datum/category_item/player_setup_item/player_global/pai/content(var/mob/user) - . += "pAI:
    " + . += span_bold("pAI:") + "
    " if(!candidate) log_debug("[user] pAI prefs have a null candidate var.") return . diff --git a/code/modules/client/preference_setup/global/04_ooc.dm b/code/modules/client/preference_setup/global/04_ooc.dm index bdc20e1aa6..e99777927f 100644 --- a/code/modules/client/preference_setup/global/04_ooc.dm +++ b/code/modules/client/preference_setup/global/04_ooc.dm @@ -15,7 +15,7 @@ pref.ignored_players = list() /datum/category_item/player_setup_item/player_global/ooc/content(var/mob/user) - . += "OOC:
    " + . += span_bold("OOC:") + "
    " . += "Ignored Players
    " for(var/ignored_player in pref.ignored_players) . += "[ignored_player] (Unignore)
    " diff --git a/code/modules/client/preference_setup/loadout/loadout.dm b/code/modules/client/preference_setup/loadout/loadout.dm index bf2e0c56af..135c3a4811 100644 --- a/code/modules/client/preference_setup/loadout/loadout.dm +++ b/code/modules/client/preference_setup/loadout/loadout.dm @@ -157,7 +157,7 @@ var/list/gear_datums = list() category_cost += G.cost if(category == current_tab) - . += " [category] - [category_cost] " + . += " " + span_linkOn("[category] - [category_cost]") + " " else if(category_cost) . += " [category] - [category_cost] " diff --git a/code/modules/client/preference_setup/occupation/occupation.dm b/code/modules/client/preference_setup/occupation/occupation.dm index 48d1a7dae7..ea43d57a2f 100644 --- a/code/modules/client/preference_setup/occupation/occupation.dm +++ b/code/modules/client/preference_setup/occupation/occupation.dm @@ -85,7 +85,7 @@ . = list() . += "
    " - . += "Choose occupation chances
    Unavailable occupations are crossed out.
    " + . += span_bold("Choose occupation chances") + "
    Unavailable occupations are crossed out.
    " . += "" . += "" - dat += "" + dat += "" dat += "
    " // Table within a table for alignment, also allows you to easily add more columns. . += "" @@ -177,7 +177,7 @@ . += "[rank]" continue if((rank in SSjob.get_job_titles_in_department(DEPARTMENT_COMMAND) ) || (rank == JOB_AI))//Bold head jobs - . += "[rank]" + . += span_bold("[rank]") + "" else . += "[rank]" @@ -229,11 +229,11 @@ switch(pref.alternate_option) if(GET_RANDOM_JOB) - . += "Get random job if preferences unavailable" + . += span_underline("Get random job if preferences unavailable") if(BE_ASSISTANT) - . += "Be assistant if preference unavailable" + . += span_underline("Be assistant if preference unavailable") if(RETURN_TO_LOBBY) - . += "Return to lobby if preference unavailable" + . += span_underline("Return to lobby if preference unavailable") . += "\[Reset\]" . += "" @@ -271,11 +271,11 @@ dat += "



    " if(job.alt_titles) - dat += "Alternate titles: [english_list(job.alt_titles)]." + dat += span_italics(span_bold("Alternate titles:") + " [english_list(job.alt_titles)].") send_rsc(user, job.get_job_icon(), "job[ckey(rank)].png") dat += "" if(job.departments) - dat += "Departments: [english_list(job.departments)]." + dat += span_bold("Departments:") + " [english_list(job.departments)]." if(LAZYLEN(job.departments_managed)) dat += "You manage these departments: [english_list(job.departments_managed)]" diff --git a/code/modules/client/preference_setup/skills/skills.dm b/code/modules/client/preference_setup/skills/skills.dm index 60e916241f..a77254d638 100644 --- a/code/modules/client/preference_setup/skills/skills.dm +++ b/code/modules/client/preference_setup/skills/skills.dm @@ -25,7 +25,7 @@ /datum/category_item/player_setup_item/skills/content() . = list() - . += "Select your Skills
    " + . += span_bold("Select your Skills") + "
    " . += "Current skill level: [pref.GetSkillClass(pref.used_skillpoints)] ([pref.used_skillpoints])
    " . += "Use preconfigured skillset
    " . += "

    " @@ -50,13 +50,13 @@ /datum/category_item/player_setup_item/proc/skill_to_button(var/skill, var/level_name, var/current_level, var/selection_level) if(current_level == selection_level) - return "" + return "" return "" /datum/category_item/player_setup_item/skills/OnTopic(href, href_list, user) if(href_list["skillinfo"]) var/datum/skill/S = locate(href_list["skillinfo"]) - var/HTML = "[S.name]
    [S.desc]" + var/HTML = span_bold("[S.name]") + "
    [S.desc]" user << browse(HTML, "window=\ref[user]skillinfo") return TOPIC_HANDLED diff --git a/code/modules/client/preference_setup/traits/traits.dm b/code/modules/client/preference_setup/traits/traits.dm index b0d2f4d963..f51459de33 100644 --- a/code/modules/client/preference_setup/traits/traits.dm +++ b/code/modules/client/preference_setup/traits/traits.dm @@ -58,7 +58,7 @@ var/list/trait_categories = list() // The categories available for the trait men . += " |" if(category == current_tab) - . += " [category] " + . += " " + span_linkOn("[category]") + " " else . += " [category] " . += "" diff --git a/code/modules/client/preference_setup/volume_sliders/01_volume.dm b/code/modules/client/preference_setup/volume_sliders/01_volume.dm index db790d14a2..3d558f1fed 100644 --- a/code/modules/client/preference_setup/volume_sliders/01_volume.dm +++ b/code/modules/client/preference_setup/volume_sliders/01_volume.dm @@ -29,7 +29,7 @@ pref.volume_channels["[channel]"] = clamp(pref.volume_channels["[channel]"], 0, 2) /datum/category_item/player_setup_item/volume_sliders/volume/content(var/mob/user) - . += "Volume Settings
    " + . += span_bold("Volume Settings") + "
    " for(var/channel in pref.volume_channels) . += "[channel]: [pref.volume_channels[channel] * 100]%
    " . += "
    " diff --git a/code/modules/client/preference_setup/volume_sliders/02_media.dm b/code/modules/client/preference_setup/volume_sliders/02_media.dm index 74a40db453..4d32905220 100644 --- a/code/modules/client/preference_setup/volume_sliders/02_media.dm +++ b/code/modules/client/preference_setup/volume_sliders/02_media.dm @@ -19,9 +19,9 @@ pref.media_player = sanitize_inlist(pref.media_player, list(0, 1, 2), initial(pref.media_player)) /datum/category_item/player_setup_item/volume_sliders/media/content(var/mob/user) - . += "Jukebox Volume:" + . += span_bold("Jukebox Volume:") . += "[round(pref.media_volume * 100)]%
    " - . += "Media Player Type: Depending on you operating system, one of these might work better. " + . += span_bold("Media Player Type:") + " Depending on you operating system, one of these might work better. " . += "Use HTML5 if it works for you. If neither HTML5 nor WMP work, you'll have to fall back to using VLC, " . += "but this requires you have the VLC client installed on your comptuer." . += "Try the others if you want but you'll probably just get no music.
    " diff --git a/code/modules/client/preference_setup/vore/02_size.dm b/code/modules/client/preference_setup/vore/02_size.dm index bd2d63c65e..d454d28aa8 100644 --- a/code/modules/client/preference_setup/vore/02_size.dm +++ b/code/modules/client/preference_setup/vore/02_size.dm @@ -124,22 +124,22 @@ /datum/category_item/player_setup_item/vore/size/content(var/mob/user) . += "
    " - . += "Scale:[round(pref.size_multiplier*100)]%
    " - . += "Scaled Appearance:[pref.fuzzy ? "Fuzzy" : "Sharp"]
    " - . += "Scaling Center:[pref.offset_override ? "Odd" : "Even"]
    " + . += span_bold("Scale:") + " [round(pref.size_multiplier*100)]%
    " + . += span_bold("Scaled Appearance:") + " [pref.fuzzy ? "Fuzzy" : "Sharp"]
    " + . += span_bold("Scaling Center:") + " [pref.offset_override ? "Odd" : "Even"]
    " . += "
    " // CHOMPEdit: Fancy:tm: - . += "Mob Speech/Noise Customization" // CHOMPEdit: Fancy:tm: + . += span_bold("Mob Speech/Noise Customization") + "" // CHOMPEdit: Fancy:tm: . += "
    " // CHOMPEdit - . += "Voice Frequency:[pref.voice_freq]
    " - . += "Voice Sounds:[pref.voice_sound]
    " + . += span_bold("Voice Frequency:") + " [pref.voice_freq]
    " + . += span_bold("Voice Sounds:") + " [pref.voice_sound]
    " . += "Test Selected Voice
    " - . += "Custom Speech Bubble:[pref.custom_speech_bubble]
    " - . += "Custom Footstep Sounds:[pref.custom_footstep]
    " + . += span_bold("Custom Speech Bubble:") + " [pref.custom_speech_bubble]
    " + . += span_bold("Custom Footstep Sounds:") + "[pref.custom_footstep]
    " // CHOMPEdit Start: Pain/Scream/Death Custom Sounds // var/datum/species/selected_species = GLOB.all_species[pref.species] // if(selected_species.selects_bodytype) . += "
    " - . += "Species Sounds:[pref.species_sound]
    " + . += span_bold("Species Sounds:") + " [pref.species_sound]
    " . += "Test Cough Sounds
    " . += "Test Sneeze Sounds
    " . += "Test Scream Sounds
    " @@ -148,9 +148,9 @@ . += "Test Death Sounds
    " // CHOMPEdit End: Pain/Scream/Death Custom Sounds . += "
    " - . += "Relative Weight:[pref.weight_vr]
    " - . += "Weight Gain Rate:[pref.weight_gain]
    " - . += "Weight Loss Rate:[pref.weight_loss]
    " + . += span_bold("Relative Weight:") + " [pref.weight_vr]
    " + . += span_bold("Weight Gain Rate:") + " [pref.weight_gain]
    " + . += span_bold("Weight Loss Rate:") + " [pref.weight_loss]
    " /datum/category_item/player_setup_item/vore/size/OnTopic(var/href, var/list/href_list, var/mob/user) if(href_list["size_multiplier"]) diff --git a/code/modules/client/preference_setup/vore/03_egg.dm b/code/modules/client/preference_setup/vore/03_egg.dm index f330d419ce..e8e989f9df 100644 --- a/code/modules/client/preference_setup/vore/03_egg.dm +++ b/code/modules/client/preference_setup/vore/03_egg.dm @@ -44,7 +44,7 @@ /datum/category_item/player_setup_item/vore/egg/content(var/mob/user) . += "
    " . += " Egg Type: [pref.vore_egg_type]
    " - . += "Autohiss Default Setting:[pref.autohiss]
    " // VOREStation Add + . += span_bold("Autohiss Default Setting:") + " [pref.autohiss]
    " // VOREStation Add /datum/category_item/player_setup_item/vore/egg/OnTopic(var/href, var/list/href_list, var/mob/user) if(!CanUseTopic(user)) diff --git a/code/modules/client/preference_setup/vore/04_resleeving.dm b/code/modules/client/preference_setup/vore/04_resleeving.dm index 60c20fe257..7afccd3247 100644 --- a/code/modules/client/preference_setup/vore/04_resleeving.dm +++ b/code/modules/client/preference_setup/vore/04_resleeving.dm @@ -43,9 +43,9 @@ /datum/category_item/player_setup_item/vore/resleeve/content(var/mob/user) . += "
    " - . += "Start With Body Scan:[pref.resleeve_scan ? "Yes" : "No"]
    " - . += "Start With Mind Scan:[pref.mind_scan ? "Yes" : "No"]
    " - . += "Prevent Body Impersonation:[pref.resleeve_lock ? "Yes" : "No"]
    " + . += span_bold("Start With Body Scan:") + " [pref.resleeve_scan ? "Yes" : "No"]
    " + . += span_bold("Start With Mind Scan:") + " [pref.mind_scan ? "Yes" : "No"]
    " + . += span_bold("Prevent Body Impersonation:") + " [pref.resleeve_lock ? "Yes" : "No"]
    " /datum/category_item/player_setup_item/vore/resleeve/OnTopic(var/href, var/list/href_list, var/mob/user) if(href_list["toggle_resleeve_lock"]) diff --git a/code/modules/client/preference_setup/vore/05_persistence.dm b/code/modules/client/preference_setup/vore/05_persistence.dm index bb2535f44b..704b22bb6c 100644 --- a/code/modules/client/preference_setup/vore/05_persistence.dm +++ b/code/modules/client/preference_setup/vore/05_persistence.dm @@ -19,7 +19,7 @@ /datum/category_item/player_setup_item/vore/persistence/content(var/mob/user) . = list() - . += "Round-to-Round Persistence
    " + . += span_bold("Round-to-Round Persistence") + "
    " . += "
    [level_name]" + span_linkOn("[level_name]") + "[level_name]
    " . += "" @@ -47,9 +47,9 @@ /datum/category_item/player_setup_item/vore/persistence/proc/make_yesno(var/bit) if(pref.persistence_settings & bit) - return "" + return "" else - return "" + return "" /datum/category_item/player_setup_item/vore/persistence/OnTopic(var/href, var/list/href_list, var/mob/user) if(href_list["toggle_on"]) diff --git a/code/modules/client/preference_setup/vore/06_vantag.dm b/code/modules/client/preference_setup/vore/06_vantag.dm index 78d801a75e..5433e712f0 100644 --- a/code/modules/client/preference_setup/vore/06_vantag.dm +++ b/code/modules/client/preference_setup/vore/06_vantag.dm @@ -27,8 +27,8 @@ /datum/category_item/player_setup_item/vore/vantag/content(var/mob/user) . += "
    " - . += "Event Volunteer:[pref.vantag_volunteer ? "Yes" : "No"]
    " - . += "Event Pref:[vantag_choices_list[pref.vantag_preference]]
    " + . += span_bold("Event Volunteer:") + " " + span_bold("[pref.vantag_volunteer ? "Yes" : "No"]") + "
    " + . += span_bold("Event Pref:") + " " + span_bold("[vantag_choices_list[pref.vantag_preference]]") + "
    " /datum/category_item/player_setup_item/vore/vantag/OnTopic(var/href, var/list/href_list, var/mob/user) if(href_list["toggle_vantag_volunteer"]) diff --git a/code/modules/client/preference_setup/vore/07_traits.dm b/code/modules/client/preference_setup/vore/07_traits.dm index 456da831b7..d90b1a5feb 100644 --- a/code/modules/client/preference_setup/vore/07_traits.dm +++ b/code/modules/client/preference_setup/vore/07_traits.dm @@ -287,12 +287,12 @@ var/global/list/valid_bloodreagents = list("default","iron","copper","phoron","s log_game("TRAITS [pref.client_ckey]/([character]) with: [english_traits]") //Terrible 'fake' key_name()... but they aren't in the same entity yet /datum/category_item/player_setup_item/vore/traits/content(var/mob/user) - . += "Custom Species Name: " + . += span_bold("Custom Species Name:") + " " . += "[pref.custom_species ? pref.custom_species : "-Input Name-"]
    " var/datum/species/selected_species = GLOB.all_species[pref.species] if(selected_species.selects_bodytype) - . += "Icon Base: " + . += span_bold("Icon Base:") + " " . += "[pref.custom_base ? pref.custom_base : "Human"]
    " var/traits_left = pref.max_traits @@ -305,10 +305,10 @@ var/global/list/valid_bloodreagents = list("default","iron","copper","phoron","s points_left -= traits_costs[T] if(T in pref.pos_traits) traits_left-- - . += "Traits Left: [traits_left]
    " - . += "Points Left: [points_left]
    " + . += span_bold("Traits Left:") + " [traits_left]
    " + . += span_bold("Points Left:") + " [points_left]
    " if(points_left < 0 || traits_left < 0 || (!pref.custom_species && pref.species == SPECIES_CUSTOM)) - . += "^ Fix things! ^
    " + . += span_red(span_bold("^ Fix things! ^")) + "
    " . += "Positive Trait(s) (Limited) +
    " // CHOMPEdit: More obvious/clear to players. . += "
      " @@ -331,34 +331,34 @@ var/global/list/valid_bloodreagents = list("default","iron","copper","phoron","s . += "
    • - [trait.name] ([trait.cost]) [get_html_for_trait(trait, pref.neg_traits[T])]
    • " . += "
    " - . += "Blood Color: " //People that want to use a certain species to have that species traits (xenochimera/promethean/spider) should be able to set their own blood color. + . += span_bold("Blood Color: ") //People that want to use a certain species to have that species traits (xenochimera/promethean/spider) should be able to set their own blood color. . += "Set Color " . += "R
    " - . += "Blood Reagent: " //Wanna be copper-based? Go ahead. + . += span_bold("Blood Reagent: ") //Wanna be copper-based? Go ahead. . += "[pref.blood_reagents]
    " . += "
    " - . += "Custom Say: " + . += span_bold("Custom Say: ") . += "Set Say Verb" . += "(Reset)" . += "
    " - . += "Custom Whisper: " + . += span_bold("Custom Whisper: ") . += "Set Whisper Verb" . += "(Reset)" . += "
    " - . += "Custom Ask: " + . += span_bold("Custom Ask: ") . += "Set Ask Verb" . += "(Reset)" . += "
    " - . += "Custom Exclaim: " + . += span_bold("Custom Exclaim: ") . += "Set Exclaim Verb" . += "(Reset)" . += "
    " - . += "Custom Heat Discomfort: " + . += span_bold("Custom Heat Discomfort: ") . += "Set Heat Messages" . += "(Reset)" . += "
    " - . += "Custom Cold Discomfort: " + . += span_bold("Custom Cold Discomfort: ") . += "Set Cold Messages" . += "(Reset)" . += "
    " diff --git a/code/modules/client/preference_setup/vore/08_nif.dm b/code/modules/client/preference_setup/vore/08_nif.dm index 05d2481fa5..4075e0db0d 100644 --- a/code/modules/client/preference_setup/vore/08_nif.dm +++ b/code/modules/client/preference_setup/vore/08_nif.dm @@ -57,4 +57,4 @@ new pref.nif_path(character, pref.nif_durability, pref.nif_savedata) /datum/category_item/player_setup_item/vore/nif/content(var/mob/user) - . += "NIF: [ispath(pref.nif_path) ? "Present" : "None"]" + . += span_bold("NIF:") + " [ispath(pref.nif_path) ? "Present" : "None"]" diff --git a/code/modules/client/preference_setup/vore/09_misc.dm b/code/modules/client/preference_setup/vore/09_misc.dm index 849ee96ad0..39522c95f7 100644 --- a/code/modules/client/preference_setup/vore/09_misc.dm +++ b/code/modules/client/preference_setup/vore/09_misc.dm @@ -55,17 +55,17 @@ /datum/category_item/player_setup_item/vore/misc/content(var/mob/user) . += "
    " - . += "Appear in Character Directory:[pref.show_in_directory ? "Yes" : "No"]
    " - . += "Character Directory Vore Tag:[pref.directory_tag]
    " - . += "Character Directory Gender:[pref.directory_gendertag]
    " // CHOMPStation Edit: Character Directory Update - . += "Character Directory Sexuality:[pref.directory_sexualitytag]
    " // CHOMPStation Edit: Character Directory Update - . += "Character Directory ERP Tag:[pref.directory_erptag]
    " - . += "Character Directory Advertisement:Set Directory Ad
    " - . += "Suit Sensors Preference:[sensorpreflist[pref.sensorpref]]
    " - . += "Capture Crystal Preference:[pref.capture_crystal ? "Yes" : "No"]
    " - . += "Spawn With Backup Implant:[pref.auto_backup_implant ? "Yes" : "No"]
    " - . += "Allow petting as robot:[pref.borg_petting ? "Yes" : "No"]
    " - . += "Enable Stomach Sprites:[pref.stomach_vision ? "Yes" : "No"]
    " + . += span_bold("Appear in Character Directory:") + " [pref.show_in_directory ? "Yes" : "No"]
    " + . += span_bold("Character Directory Vore Tag:") + " [pref.directory_tag]
    " + . += span_bold("Character Directory Gender:") + " [pref.directory_gendertag]
    " // CHOMPStation Edit: Character Directory Update + . += span_bold("Character Directory Sexuality:") + " [pref.directory_sexualitytag]
    " // CHOMPStation Edit: Character Directory Update + . += span_bold("Character Directory ERP Tag:") + " [pref.directory_erptag]
    " + . += span_bold("Character Directory Advertisement:") + " Set Directory Ad
    " + . += span_bold("Suit Sensors Preference:") + " [sensorpreflist[pref.sensorpref]]
    " + . += span_bold("Capture Crystal Preference:") + " [pref.capture_crystal ? "Yes" : "No"]
    " + . += span_bold("Spawn With Backup Implant:") + " [pref.auto_backup_implant ? "Yes" : "No"]
    " + . += span_bold("Allow petting as robot:") + " [pref.borg_petting ? "Yes" : "No"]
    " + . += span_bold("Enable Stomach Sprites:") + " [pref.stomach_vision ? "Yes" : "No"]
    " /datum/category_item/player_setup_item/vore/misc/OnTopic(var/href, var/list/href_list, var/mob/user) if(href_list["toggle_show_in_directory"]) diff --git a/code/modules/client/verbs/advanced_who.dm b/code/modules/client/verbs/advanced_who.dm index 3c57bcf51f..5f9eb93ec8 100644 --- a/code/modules/client/verbs/advanced_who.dm +++ b/code/modules/client/verbs/advanced_who.dm @@ -4,7 +4,7 @@ set name = "Advanced Who" set category = "OOC.Resources" //CHOMPEdit - var/msg = "Current Players:\n" + var/msg = span_bold("Current Players:") + "\n" var/list/Lines = list() @@ -12,14 +12,14 @@ for(var/client/C in GLOB.clients) var/entry = "
    Save Spawn Location: Yes No" + span_linkOn(span_bold("Yes")) + " NoYes NoYes " + span_linkOn(span_bold("No")) + "
    [C.key]" if(C.holder && C.holder.fakekey) - entry += " (as [C.holder.fakekey])" + entry += " " + span_italics("(as [C.holder.fakekey])") entry += "" if(C.mob.real_name) switch(C.mob.stat) if(UNCONSCIOUS) - entry += span_darkgray("Unconscious") // these are literally all spans so I can apply .inverted to them because black on dark grey isn't legible + entry += span_darkgray(span_bold("Unconscious")) // these are literally all spans so I can apply .inverted to them because black on dark grey isn't legible if(DEAD) if(isobserver(C.mob)) @@ -27,7 +27,7 @@ if(O.started_as_observer) entry += span_gray("Observing") else - entry += span_black("Died") + entry += span_black(span_bold("Died")) else entry += span_green("Playing") @@ -35,7 +35,7 @@ entry += " as [C.mob.real_name]" else if(isnewplayer(C.mob)) - entry += span_blue("In lobby") + entry += span_blue(span_bold("In lobby")) entry += "" @@ -46,9 +46,9 @@ age = 0 if(age <= 1) - age = span_red("[age]") + age = span_red(span_bold("[age]")) else if(age < 10) - age = span_orange("[age]") + age = span_orange(span_bold("[age]")) entry += "Age: [age]" entry += "" @@ -93,7 +93,7 @@ for(var/line in sortList(Lines)) msg += "[line]" msg += "
    " - msg += "Total Players: [length(Lines)]" - msg = span_filter_notice("" + msg + "") + msg += span_bold("Total Players: [length(Lines)]") + msg = span_filter_notice(msg) to_chat(src, msg) YW EDIT STOP*/ diff --git a/code/modules/client/verbs/ooc.dm b/code/modules/client/verbs/ooc.dm index 101302b625..1057851be8 100644 --- a/code/modules/client/verbs/ooc.dm +++ b/code/modules/client/verbs/ooc.dm @@ -30,17 +30,17 @@ to_chat(src, span_danger("You cannot use OOC (muted).")) return if(findtext(msg, "byond://") && !CONFIG_GET(flag/allow_byond_links)) // CHOMPEdit - to_chat(src, "Advertising other servers is not allowed.") + to_chat(src, span_bold("Advertising other servers is not allowed.")) log_admin("[key_name(src)] has attempted to advertise in OOC: [msg]") message_admins("[key_name_admin(src)] has attempted to advertise in OOC: [msg]") return if(findtext(msg, "discord.gg") && !CONFIG_GET(flag/allow_discord_links)) // CHOMPEdit - to_chat(src, "Advertising discords is not allowed.") + to_chat(src, span_bold("Advertising discords is not allowed.")) log_admin("[key_name(src)] has attempted to advertise a discord server in OOC: [msg]") message_admins("[key_name_admin(src)] has attempted to advertise a discord server in OOC: [msg]") return if((findtext(msg, "http://") || findtext(msg, "https://")) && !CONFIG_GET(flag/allow_url_links)) // CHOMPEdit - to_chat(src, "Posting external links is not allowed.") + to_chat(src, span_bold("Posting external links is not allowed.")) log_admin("[key_name(src)] has attempted to post a link in OOC: [msg]") message_admins("[key_name_admin(src)] has attempted to post a link in OOC: [msg]") return @@ -116,17 +116,17 @@ to_chat(src, span_danger("You cannot use OOC (muted).")) return if(findtext(msg, "byond://") && !CONFIG_GET(flag/allow_byond_links)) // CHOMPEdit - to_chat(src, "Advertising other servers is not allowed.") + to_chat(src, span_bold("Advertising other servers is not allowed.")) log_admin("[key_name(src)] has attempted to advertise in OOC: [msg]") message_admins("[key_name_admin(src)] has attempted to advertise in OOC: [msg]") return if(findtext(msg, "discord.gg") && !CONFIG_GET(flag/allow_discord_links)) // CHOMPEdit - to_chat(src, "Advertising discords is not allowed.") + to_chat(src, span_bold("Advertising discords is not allowed.")) log_admin("[key_name(src)] has attempted to advertise a discord server in OOC: [msg]") message_admins("[key_name_admin(src)] has attempted to advertise a discord server in OOC: [msg]") return if((findtext(msg, "http://") || findtext(msg, "https://")) && !CONFIG_GET(flag/allow_url_links)) // CHOMPEdit - to_chat(src, "Posting external links is not allowed.") + to_chat(src, span_bold("Posting external links is not allowed.")) log_admin("[key_name(src)] has attempted to post a link in OOC: [msg]") message_admins("[key_name_admin(src)] has attempted to post a link in OOC: [msg]") return @@ -181,12 +181,12 @@ if(target in GLOB.admins) admin_stuff += "/([key])" - to_chat(target, span_looc("" + create_text_tag("looc", "LOOC:", target) + " [display_name][admin_stuff]: [msg]")) + to_chat(target, span_looc(create_text_tag("looc", "LOOC:", target) + " [display_name][admin_stuff]: " + span_message("[msg]"))) for(var/client/target in r_receivers) var/admin_stuff = "/([key])([admin_jump_link(mob, target.holder)])" - to_chat(target, span_rlooc("" + create_text_tag("looc", "LOOC:", target) + " (R)[display_name][admin_stuff]: [msg]")) + to_chat(target, span_rlooc(create_text_tag("rlooc", "RLOOC:", target) + " " + span_prefix("(R)") + "[display_name][admin_stuff]: " + span_message("[msg]"))) /mob/proc/get_looc_source() return src diff --git a/code/modules/client/verbs/who.dm b/code/modules/client/verbs/who.dm index 14930f175b..5bae7914b6 100644 --- a/code/modules/client/verbs/who.dm +++ b/code/modules/client/verbs/who.dm @@ -2,7 +2,7 @@ set name = "Who" set category = "OOC.Resources" //CHOMPEdit - var/msg = "Current Players:\n" + var/msg = span_bold("Current Players:") + "\n" var/list/Lines = list() @@ -12,33 +12,33 @@ continue var/entry = "\t[C.key]" if(C.holder?.fakekey) - entry += " (as [C.holder.fakekey])" + entry += " " + span_italics("as [C.holder.fakekey])") entry += " - Playing as [C.mob.real_name]" switch(C.mob.stat) if(UNCONSCIOUS) - entry += " - [span_darkgray("Unconscious")]" + entry += " - [span_darkgray(span_bold("Unconscious"))]" if(DEAD) if(isobserver(C.mob)) var/mob/observer/dead/O = C.mob if(O.started_as_observer) entry += " - [span_gray("Observing")]" else - entry += " - [span_black("DEAD")]" + entry += " - [span_black(span_bold("DEAD"))]" else - entry += " - [span_black("DEAD")]" + entry += " - [span_black(span_bold("DEAD"))]" if(C.player_age != initial(C.player_age) && isnum(C.player_age)) // database is on var/age = C.player_age switch(age) if(0 to 1) - age = span_red("[age] days old") + age = span_red(span_bold("[age] days old")) if(1 to 10) - age = span_orange("[age] days old") + age = span_orange(span_bold("[age] days old")) else entry += " - [age] days old" if(is_special_character(C.mob)) - entry += " - [span_red("Antagonist")]" + entry += " - [span_red(span_bold("Antagonist"))]" if(C.is_afk()) var/seconds = C.last_activity_seconds() @@ -50,7 +50,7 @@ for(var/line in sortList(Lines)) msg += "[line]\n" - msg += "Total Players: [length(Lines)]" + msg += span_bold("Total Players: [length(Lines)]") msg = span_filter_notice("[jointext(msg, "
    ")]") to_chat(src,msg) @@ -88,7 +88,7 @@ temp += "\t[C] is a [C.holder.rank]" if(holder) if(C.holder.fakekey) - temp += " (as [C.holder.fakekey])" + temp += " " + span_italics("(as [C.holder.fakekey])") if(isobserver(C.mob)) temp += " - Observing" @@ -111,16 +111,16 @@ if(R_EVENT) eventMmsg += temp - msg = "Current Admins ([num_admins_online]):\n" + msg + msg = span_bold("Current Admins ([num_admins_online]):") + "\n" + msg if(CONFIG_GET(flag/show_mods)) // CHOMPEdit - msg += "\n Current Moderators ([num_mods_online]):\n" + modmsg //YW EDIT + msg += "\n" + span_bold(" Current Moderators ([num_mods_online]):") + "\n" + modmsg //YW EDIT if(CONFIG_GET(flag/show_devs)) // CHOMPEdit - msg += "\n Current Developers ([num_devs_online]):\n" + devmsg + msg += "\n" + span_bold(" Current Developers ([num_devs_online]):") + "\n" + devmsg if(CONFIG_GET(flag/show_event_managers)) // CHOMPEdit - msg += "\n Current Miscellaneous ([num_event_managers_online]):\n" + eventMmsg + msg += "\n" + span_bold(" Current Miscellaneous ([num_event_managers_online]):") + "\n" + eventMmsg var/num_mentors_online = 0 var/mmsg = "" @@ -142,8 +142,8 @@ mmsg += "\n" if(CONFIG_GET(flag/show_mentors)) // CHOMPEdit - msg += "\n Current Mentors ([num_mentors_online]):\n" + mmsg + msg += "\n" + span_bold(" Current Mentors ([num_mentors_online]):") + "\n" + mmsg - msg += "\nAdminhelps are also sent to Discord. If no admins are available in game try anyway and an admin on Discord may see it and respond." + msg += "\n" + span_info("Adminhelps are also sent to Discord. If no admins are available in game try anyway and an admin on Discord may see it and respond.") to_chat(src,span_filter_notice("[jointext(msg, "
    ")]")) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 7739b13871..ceee681e72 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -678,7 +678,7 @@ user.unEquip(I) I.forceMove(src) holding = I - user.visible_message("\The [user] shoves \the [I] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " shoves \the [I] into \the [src].")) verbs |= /obj/item/clothing/shoes/proc/draw_knife update_icon() else diff --git a/code/modules/clothing/glasses/hud_vr.dm b/code/modules/clothing/glasses/hud_vr.dm index 228bb58dda..54c4c70eb2 100644 --- a/code/modules/clothing/glasses/hud_vr.dm +++ b/code/modules/clothing/glasses/hud_vr.dm @@ -33,9 +33,9 @@ /obj/item/clothing/glasses/omnihud/examine() . = ..() if(ar_toggled) - . += "\n The HUD indicator reads ON." + . += "\n " + span_notice("The HUD indicator reads ON.") else - . += "\n The HUD indicator reads OFF." + . += "\n " + span_notice("The HUD indicator reads OFF.") /obj/item/clothing/glasses/omnihud/emp_act(var/severity) diff --git a/code/modules/clothing/gloves/miscellaneous.dm b/code/modules/clothing/gloves/miscellaneous.dm index a6c5d0d739..f01849ee33 100644 --- a/code/modules/clothing/gloves/miscellaneous.dm +++ b/code/modules/clothing/gloves/miscellaneous.dm @@ -64,7 +64,7 @@ //TODO: Make inflating gloves a thing /*/obj/item/clothing/gloves/sterile/proc/Inflate(/mob/living/carbon/human/user) - user.visible_message("\The [src] expands!") + user.visible_message(span_infoplain(span_bold("\The [src]") + " expands!")) qdel(src)*/ /obj/item/clothing/gloves/sterile/latex diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm index 236f785796..966ae01cf2 100644 --- a/code/modules/clothing/head/helmet.dm +++ b/code/modules/clothing/head/helmet.dm @@ -150,7 +150,7 @@ /obj/item/clothing/head/helmet/thunderdome name = "\improper Thunderdome helmet" - desc = "'Let the battle commence!'" + desc = span_italics("'Let the battle commence!'") icon_state = "thunderdome" armor = list(melee = 80, bullet = 60, laser = 50,energy = 10, bomb = 25, bio = 10, rad = 0) cold_protection = HEAD diff --git a/code/modules/clothing/head/misc.dm b/code/modules/clothing/head/misc.dm index 3cf72261cc..1d6ff45371 100644 --- a/code/modules/clothing/head/misc.dm +++ b/code/modules/clothing/head/misc.dm @@ -110,7 +110,7 @@ name = "redcoat's hat" icon_state = "redcoat" item_state_slots = list(slot_r_hand_str = "pirate", slot_l_hand_str = "pirate") - desc = "'I guess it's a redhead.'" + desc = span_italics("'I guess it's a redhead.'") body_parts_covered = 0 /obj/item/clothing/head/mailman diff --git a/code/modules/clothing/masks/hailer.dm b/code/modules/clothing/masks/hailer.dm index 77ef4b8320..3a23830512 100644 --- a/code/modules/clothing/masks/hailer.dm +++ b/code/modules/clothing/masks/hailer.dm @@ -155,11 +155,11 @@ if(cooldown < world.time - 35) // A cooldown, to stop people being jerks if(!safety) message = "FUCK YOUR CUNT YOU SHIT EATING COCKSUCKER MAN EAT A DONG FUCKING ASS RAMMING SHIT FUCK EAT PENISES IN YOUR FUCK FACE AND SHIT OUT ABORTIONS OF FUCK AND DO SHIT IN YOUR ASS YOU COCK FUCK SHIT MONKEY FUCK ASS WANKER FROM THE DEPTHS OF SHIT." - usr.visible_message("[usr]'s Compli-o-Nator: [span_red("[message]")]") + usr.visible_message(span_infoplain("[usr]'s Compli-o-Nator: " + span_red(span_huge(span_bold("[message]"))))) playsound(src, 'sound/voice/binsult.ogg', 50, 0, 4) //Future sound channel = something like SFX cooldown = world.time return - usr.visible_message("[usr]'s Compli-o-Nator: [span_red("[message]")]") + usr.visible_message(span_infoplain("[usr]'s Compli-o-Nator: " + span_red(span_huge(span_bold("[message]"))))) playsound(src, "sound/voice/complionator/[key].ogg", 50, 0, 4) //future sound channel = something like SFX cooldown = world.time diff --git a/code/modules/clothing/spacesuits/breaches.dm b/code/modules/clothing/spacesuits/breaches.dm index 836b297ea4..aa6e0649ea 100644 --- a/code/modules/clothing/spacesuits/breaches.dm +++ b/code/modules/clothing/spacesuits/breaches.dm @@ -81,7 +81,7 @@ var/global/list/breach_burn_descriptors = list( amount_left = 0 B.update_descriptor() - user.visible_message("[user] patches some of the damage on \the [src].") + user.visible_message(span_infoplain(span_bold("[user]") + " patches some of the damage on \the [src].")) calc_breach_damage() /obj/item/clothing/suit/space/proc/create_breaches(var/damtype, var/amount) @@ -119,9 +119,9 @@ var/global/list/breach_burn_descriptors = list( amount -= needs if(existing.damtype == BRUTE) - T.visible_message("\The [existing.descriptor] on [src] gapes wider!") + T.visible_message(span_warning("\The [existing.descriptor] on [src] gapes wider!")) else if(existing.damtype == BURN) - T.visible_message("\The [existing.descriptor] on [src] widens!") + T.visible_message(span_warning("\The [existing.descriptor] on [src] widens!")) if (amount) //Spawn a new breach. @@ -135,9 +135,9 @@ var/global/list/breach_burn_descriptors = list( B.holder = src if(B.damtype == BRUTE) - T.visible_message("\A [B.descriptor] opens up on [src]!") + T.visible_message(span_warning("\A [B.descriptor] opens up on [src]!")) else if(B.damtype == BURN) - T.visible_message("\A [B.descriptor] marks the surface of [src]!") + T.visible_message(span_warning("\A [B.descriptor] marks the surface of [src]!")) calc_breach_damage() @@ -227,4 +227,4 @@ var/global/list/breach_burn_descriptors = list( . = ..() if(can_breach && breaches?.len) for(var/datum/breach/B in breaches) - . += span_red("It has \a [B.descriptor].") + . += span_red(span_bold("It has \a [B.descriptor].")) diff --git a/code/modules/clothing/spacesuits/rig/modules/combat.dm b/code/modules/clothing/spacesuits/rig/modules/combat.dm index a031ba5e34..e54980b213 100644 --- a/code/modules/clothing/spacesuits/rig/modules/combat.dm +++ b/code/modules/clothing/spacesuits/rig/modules/combat.dm @@ -54,7 +54,7 @@ to_chat(user, span_danger("Another grenade of that type will not fit into the module.")) return 0 - to_chat(user, span_blue("You slot \the [input_device] into the suit module.")) + to_chat(user, span_boldnotice("You slot \the [input_device] into the suit module.")) user.drop_from_inventory(input_device) qdel(input_device) accepted_item.charges++ @@ -256,7 +256,7 @@ else var/obj/item/new_weapon = new fabrication_type() new_weapon.forceMove(H) - to_chat(H, span_blue("You quickly fabricate \a [new_weapon].")) + to_chat(H, span_boldnotice("You quickly fabricate \a [new_weapon].")) H.put_in_hands(new_weapon) return 1 diff --git a/code/modules/clothing/spacesuits/rig/modules/computer.dm b/code/modules/clothing/spacesuits/rig/modules/computer.dm index 77639a35f4..e8e786d012 100644 --- a/code/modules/clothing/spacesuits/rig/modules/computer.dm +++ b/code/modules/clothing/spacesuits/rig/modules/computer.dm @@ -368,7 +368,7 @@ if(interfaced_with) if(holder && holder.wearer) - to_chat(holder.wearer, "Your power sink retracts as the module deactivates.") + to_chat(holder.wearer, span_warning("Your power sink retracts as the module deactivates.")) drain_complete() interfaced_with = null total_power_drained = 0 @@ -400,7 +400,7 @@ if(target.drain_power(1) <= 0) return 0 - to_chat(H, "You begin draining power from [target]!") + to_chat(H, span_danger("You begin draining power from [target]!")) interfaced_with = target drain_loc = interfaced_with.loc @@ -434,17 +434,17 @@ H.break_cloak() if(!holder.cell) - to_chat(H, "Your power sink flashes an error; there is no cell in your rig.") + to_chat(H, span_danger("Your power sink flashes an error; there is no cell in your rig.")) drain_complete(H) return if(!interfaced_with || !interfaced_with.Adjacent(H) || !(interfaced_with.loc == drain_loc)) - to_chat(H, "Your power sink retracts into its casing.") + to_chat(H, span_warning("Your power sink retracts into its casing.")) drain_complete(H) return if(holder.cell.fully_charged()) - to_chat(H, "Your power sink flashes an amber light; your rig cell is full.") + to_chat(H, span_warning("Your power sink flashes an amber light; your rig cell is full.")) drain_complete(H) return @@ -453,7 +453,7 @@ var/to_drain = min(12.5*holder.cell.maxcharge, ((holder.cell.maxcharge - holder.cell.charge) / CELLRATE)) var/target_drained = interfaced_with.drain_power(0,0,to_drain) if(target_drained <= 0) - to_chat(H, "Your power sink flashes a red light; there is no power left in [interfaced_with].") + to_chat(H, span_danger("Your power sink flashes a red light; there is no power left in [interfaced_with].")) drain_complete(H) return @@ -466,10 +466,10 @@ if(!interfaced_with) if(M) - to_chat(M, span_blue("Total power drained: [round(total_power_drained*CELLRATE)] cell units.")) + to_chat(M, span_notice(span_bold("Total power drained:") + " [round(total_power_drained*CELLRATE)] cell units.")) else if(M) - to_chat(M, span_blue("Total power drained from [interfaced_with]: [round(total_power_drained*CELLRATE)] cell units.")) + to_chat(M, span_notice(span_bold("Total power drained from [interfaced_with]:") + " [round(total_power_drained*CELLRATE)] cell units.")) interfaced_with.drain_power(0,1,0) // Damage the victim. drain_loc = null diff --git a/code/modules/clothing/spacesuits/rig/modules/ninja.dm b/code/modules/clothing/spacesuits/rig/modules/ninja.dm index 5c88aefc8c..90a3b06be8 100644 --- a/code/modules/clothing/spacesuits/rig/modules/ninja.dm +++ b/code/modules/clothing/spacesuits/rig/modules/ninja.dm @@ -37,7 +37,7 @@ var/mob/living/carbon/human/H = holder.wearer - to_chat(H, span_blue("You are now nearly invisible to normal detection.")) + to_chat(H, span_boldnotice("You are now nearly invisible to normal detection.")) H.alpha = 5 anim(get_turf(H), H, 'icons/effects/effects.dmi', "electricity",null,20,null) diff --git a/code/modules/clothing/spacesuits/rig/modules/specific/cleaner_launcher.dm b/code/modules/clothing/spacesuits/rig/modules/specific/cleaner_launcher.dm index 33e119ccaf..39f9d02c62 100644 --- a/code/modules/clothing/spacesuits/rig/modules/specific/cleaner_launcher.dm +++ b/code/modules/clothing/spacesuits/rig/modules/specific/cleaner_launcher.dm @@ -34,7 +34,7 @@ to_chat(user, span_danger("Another grenade of that type will not fit into the module.")) return 0 - to_chat(user, span_blue("You slot \the [input_device] into the suit module.")) + to_chat(user, span_boldnotice("You slot \the [input_device] into the suit module.")) user.drop_from_inventory(input_device) qdel(input_device) accepted_item.charges++ diff --git a/code/modules/clothing/spacesuits/rig/modules/specific/cloak.dm b/code/modules/clothing/spacesuits/rig/modules/specific/cloak.dm index 8e10a86d81..9e51ef9832 100644 --- a/code/modules/clothing/spacesuits/rig/modules/specific/cloak.dm +++ b/code/modules/clothing/spacesuits/rig/modules/specific/cloak.dm @@ -29,7 +29,7 @@ var/mob/living/carbon/human/H = holder.wearer - to_chat(H, span_blue("You are now nearly invisible to normal detection.")) + to_chat(H, span_boldnotice("You are now nearly invisible to normal detection.")) H.alpha = 5 anim(get_turf(H), H, 'icons/effects/effects.dmi', "electricity",null,20,null) diff --git a/code/modules/clothing/spacesuits/rig/modules/specific/grenade_launcher.dm b/code/modules/clothing/spacesuits/rig/modules/specific/grenade_launcher.dm index 1f0916487f..d7ae54ce07 100644 --- a/code/modules/clothing/spacesuits/rig/modules/specific/grenade_launcher.dm +++ b/code/modules/clothing/spacesuits/rig/modules/specific/grenade_launcher.dm @@ -36,7 +36,7 @@ to_chat(user, span_danger("Another grenade of that type will not fit into the module.")) return 0 - to_chat(user, span_blue("You slot \the [input_device] into the suit module.")) + to_chat(user, span_boldnotice("You slot \the [input_device] into the suit module.")) user.drop_from_inventory(input_device) qdel(input_device) accepted_item.charges++ diff --git a/code/modules/clothing/spacesuits/rig/modules/specific/inhand_fabricator.dm b/code/modules/clothing/spacesuits/rig/modules/specific/inhand_fabricator.dm index 90b96a1283..f993d81a2b 100644 --- a/code/modules/clothing/spacesuits/rig/modules/specific/inhand_fabricator.dm +++ b/code/modules/clothing/spacesuits/rig/modules/specific/inhand_fabricator.dm @@ -34,7 +34,7 @@ else var/obj/item/new_weapon = new fabrication_type() new_weapon.forceMove(H) - to_chat(H, span_blue("You quickly fabricate \a [new_weapon].")) + to_chat(H, span_boldnotice("You quickly fabricate \a [new_weapon].")) H.put_in_hands(new_weapon) return 1 diff --git a/code/modules/clothing/spacesuits/rig/modules/specific/passive_protection.dm b/code/modules/clothing/spacesuits/rig/modules/specific/passive_protection.dm index 87c3de0576..ddb72b5ad2 100644 --- a/code/modules/clothing/spacesuits/rig/modules/specific/passive_protection.dm +++ b/code/modules/clothing/spacesuits/rig/modules/specific/passive_protection.dm @@ -34,7 +34,7 @@ var/obj/item/clothing/head/helmet/space/rig/helmet = holder.helmet var/obj/item/clothing/gloves/gauntlets/rig/gloves = holder.gloves - to_chat(H, span_blue("You activate your suit's powered radiation shielding.")) + to_chat(H, span_boldnotice("You activate your suit's powered radiation shielding.")) stored_rad_armor = holder.armor["rad"] if(boots) boots.armor["rad"] = 100 @@ -117,7 +117,7 @@ stored_max_pressure = holder.max_pressure_protection stored_max_temp = holder.max_heat_protection_temperature - to_chat(H, span_blue("You activate your suit's powered atmospheric shielding.")) + to_chat(H, span_boldnotice("You activate your suit's powered atmospheric shielding.")) if(boots) boots.max_pressure_protection = INFINITY @@ -145,7 +145,7 @@ var/obj/item/clothing/head/helmet/space/rig/helmet = holder.helmet var/obj/item/clothing/gloves/gauntlets/rig/gloves = holder.gloves - to_chat(H, span_danger("You deactivate your suit's powered atmospheric shielding.")) + to_chat(H, span_boldnotice("You deactivate your suit's powered atmospheric shielding.")) if(boots) boots.max_pressure_protection = stored_max_pressure diff --git a/code/modules/clothing/spacesuits/rig/modules/specific/powersink.dm b/code/modules/clothing/spacesuits/rig/modules/specific/powersink.dm index 562f874af1..3b166f5915 100644 --- a/code/modules/clothing/spacesuits/rig/modules/specific/powersink.dm +++ b/code/modules/clothing/spacesuits/rig/modules/specific/powersink.dm @@ -20,7 +20,7 @@ if(interfaced_with) if(holder && holder.wearer) - to_chat(holder.wearer, "Your power sink retracts as the module deactivates.") + to_chat(holder.wearer, span_warning("Your power sink retracts as the module deactivates.")) drain_complete() interfaced_with = null total_power_drained = 0 @@ -52,7 +52,7 @@ if(target.drain_power(1) <= 0) return 0 - to_chat(H, "You begin draining power from [target]!") + to_chat(H, span_danger("You begin draining power from [target]!")) interfaced_with = target drain_loc = interfaced_with.loc @@ -86,17 +86,17 @@ H.break_cloak() if(!holder.cell) - to_chat(H, "Your power sink flashes an error; there is no cell in your rig.") + to_chat(H, span_danger("Your power sink flashes an error; there is no cell in your rig.")) drain_complete(H) return if(!interfaced_with || !interfaced_with.Adjacent(H) || !(interfaced_with.loc == drain_loc)) - to_chat(H, "Your power sink retracts into its casing.") + to_chat(H, span_warning("Your power sink retracts into its casing.")) drain_complete(H) return if(holder.cell.fully_charged()) - to_chat(H, "Your power sink flashes an amber light; your rig cell is full.") + to_chat(H, span_warning("Your power sink flashes an amber light; your rig cell is full.")) drain_complete(H) return @@ -105,7 +105,7 @@ var/to_drain = min(12.5*holder.cell.maxcharge, ((holder.cell.maxcharge - holder.cell.charge) / CELLRATE)) var/target_drained = interfaced_with.drain_power(0,0,to_drain) if(target_drained <= 0) - to_chat(H, "Your power sink flashes a red light; there is no power left in [interfaced_with].") + to_chat(H, span_danger("Your power sink flashes a red light; there is no power left in [interfaced_with].")) drain_complete(H) return @@ -118,10 +118,10 @@ if(!interfaced_with) if(M) - to_chat(M, span_blue("Total power drained: [round(total_power_drained*CELLRATE)] cell units.")) + to_chat(M, span_notice(span_bold("Total power drained:") + " [round(total_power_drained*CELLRATE)] cell units.")) else if(M) - to_chat(M, span_blue("Total power drained from [interfaced_with]: [round(total_power_drained*CELLRATE)] cell units.")) + to_chat(M, span_notice(span_bold("Total power drained from [interfaced_with]:") + " [round(total_power_drained*CELLRATE)] cell units.")) interfaced_with.drain_power(0,1,0) // Damage the victim. drain_loc = null diff --git a/code/modules/clothing/spacesuits/rig/modules/specific/sprinter.dm b/code/modules/clothing/spacesuits/rig/modules/specific/sprinter.dm index 6fb036e186..f18d67d8e3 100644 --- a/code/modules/clothing/spacesuits/rig/modules/specific/sprinter.dm +++ b/code/modules/clothing/spacesuits/rig/modules/specific/sprinter.dm @@ -27,7 +27,7 @@ var/mob/living/carbon/human/H = holder.wearer - to_chat(H, span_blue("You activate the suit's sprint mode.")) + to_chat(H, span_boldnotice("You activate the suit's sprint mode.")) holder.slowdown = initial(holder.slowdown) - sprint_speed diff --git a/code/modules/clothing/spacesuits/rig/modules/utility.dm b/code/modules/clothing/spacesuits/rig/modules/utility.dm index 4ea1c598f7..6e66d2504f 100644 --- a/code/modules/clothing/spacesuits/rig/modules/utility.dm +++ b/code/modules/clothing/spacesuits/rig/modules/utility.dm @@ -508,7 +508,7 @@ to_chat(user, span_danger("Another grenade of that type will not fit into the module.")) return 0 - to_chat(user, span_blue("You slot \the [input_device] into the suit module.")) + to_chat(user, span_boldnotice("You slot \the [input_device] into the suit module.")) user.drop_from_inventory(input_device) qdel(input_device) accepted_item.charges++ @@ -632,7 +632,7 @@ var/mob/living/carbon/human/H = holder.wearer - to_chat(H, span_blue("You activate the suit's sprint mode.")) + to_chat(H, span_boldnotice("You activate the suit's sprint mode.")) holder.slowdown = initial(holder.slowdown) - sprint_speed diff --git a/code/modules/clothing/spacesuits/rig/rig.dm b/code/modules/clothing/spacesuits/rig/rig.dm index cb31a12de1..bbd73812d4 100644 --- a/code/modules/clothing/spacesuits/rig/rig.dm +++ b/code/modules/clothing/spacesuits/rig/rig.dm @@ -385,7 +385,7 @@ QDEL_NULL(minihud) else minihud = new (M.hud_used, src) - to_chat(M, span_notice("Your entire suit [canremove ? "loosens as the components relax" : "tightens around you as the components lock into place"].")) + to_chat(M, span_boldnotice("Your entire suit [canremove ? "loosens as the components relax" : "tightens around you as the components lock into place"].")) playsound(src, 'sound/machines/rig/rigstarted.ogg', 10, FALSE) M.client?.screen -= booting_L qdel(booting_L) @@ -677,7 +677,7 @@ return if(istype(M) && (M.back == src || M.belt == src)) - M.visible_message(span_notice("[M] struggles into \the [src]."), span_notice("You struggle into \the [src].")) + M.visible_message(span_boldnotice("[M] struggles into \the [src]."), span_boldnotice("You struggle into \the [src].")) wearer = M wearer.wearing_rig = src update_icon() @@ -727,7 +727,7 @@ holder = use_obj.loc if(istype(holder)) if(use_obj && check_slot == use_obj) - to_chat(H, span_notice("Your [use_obj.name] [use_obj.gender == PLURAL ? "retract" : "retracts"] swiftly.")) + to_chat(H, span_boldnotice("Your [use_obj.name] [use_obj.gender == PLURAL ? "retract" : "retracts"] swiftly.")) playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE) use_obj.canremove = TRUE holder.drop_from_inventory(use_obj) @@ -964,7 +964,7 @@ M.stop_pulling() if(wearer.pinned.len) - to_chat(src, "Your host is pinned to a wall by [wearer.pinned[1]]!") + to_chat(src, span_notice("Your host is pinned to a wall by [wearer.pinned[1]]!")) return 0 if(istype(wearer.buckled, /obj/vehicle)) diff --git a/code/modules/clothing/spacesuits/rig/rig_verbs.dm b/code/modules/clothing/spacesuits/rig/rig_verbs.dm index bbedbf082a..f58ce78060 100644 --- a/code/modules/clothing/spacesuits/rig/rig_verbs.dm +++ b/code/modules/clothing/spacesuits/rig/rig_verbs.dm @@ -223,11 +223,11 @@ if(!istype(module)) selected_module = null - to_chat(usr, span_blue("Primary system is now: deselected.")) + to_chat(usr, span_boldnotice("Primary system is now: deselected.")) return selected_module = module - to_chat(usr, span_blue("Primary system is now: [selected_module.interface_name].")) + to_chat(usr, span_boldnotice("Primary system is now: [selected_module.interface_name].")) /obj/item/rig/verb/toggle_module() @@ -261,10 +261,10 @@ return if(module.active) - to_chat(usr, span_blue("You attempt to deactivate \the [module.interface_name].")) + to_chat(usr, span_boldnotice("You attempt to deactivate \the [module.interface_name].")) module.deactivate() else - to_chat(usr, span_blue("You attempt to activate \the [module.interface_name].")) + to_chat(usr, span_boldnotice("You attempt to activate \the [module.interface_name].")) module.activate() /obj/item/rig/verb/engage_module() @@ -298,5 +298,5 @@ if(!istype(module)) return - to_chat(usr, span_blue("You attempt to engage the [module.interface_name].")) + to_chat(usr, span_boldnotice("You attempt to engage the [module.interface_name].")) module.engage() diff --git a/code/modules/clothing/spacesuits/void/military_vr.dm b/code/modules/clothing/spacesuits/void/military_vr.dm index 88701c2da7..e4b40097e4 100644 --- a/code/modules/clothing/spacesuits/void/military_vr.dm +++ b/code/modules/clothing/spacesuits/void/military_vr.dm @@ -27,7 +27,7 @@ /obj/item/clothing/head/helmet/space/void/merc/odst name = "\improper ODST Helmet" - desc = "\"... we are glad to plunge feet first into hell in the knowledge that we will rise.\"" + desc = span_italics("\"... we are glad to plunge feet first into hell in the knowledge that we will rise.\"") icon_state = "rig0-odst" item_state = "rig0-odst" item_state_slots = null @@ -46,7 +46,7 @@ /obj/item/clothing/suit/space/void/merc/odst name = "ODST Armor" - desc = "\"... we are glad to plunge feet first into hell in the knowledge that we will rise.\"" + desc = span_italics("\"... we are glad to plunge feet first into hell in the knowledge that we will rise.\"") icon_state = "odst" item_state = "odst" item_state_slots = null diff --git a/code/modules/clothing/under/accessories/accessory_vr.dm b/code/modules/clothing/under/accessories/accessory_vr.dm index 64311ec286..f61a25ead4 100644 --- a/code/modules/clothing/under/accessories/accessory_vr.dm +++ b/code/modules/clothing/under/accessories/accessory_vr.dm @@ -419,7 +419,7 @@ return if(H.size_multiplier != target_size) if(!(world.time - last_activated > 10 SECONDS)) - to_chat(M, "\The [src] flickers. It seems to be recharging.") + to_chat(M, span_warning("\The [src] flickers. It seems to be recharging.")) return last_activated = world.time original_size = H.size_multiplier @@ -437,7 +437,7 @@ original_size = null H.visible_message(span_warning("The space around [H] distorts as they return to their original size!"),span_notice("The space around you distorts as you return to your original size!")) log_admin("Admin [key_name(M)]'s size was altered by a bluespace collar.") - to_chat(M, "\The [src] flickers. It is now recharging and will be ready again in ten seconds.") + to_chat(M, span_warning("\The [src] flickers. It is now recharging and will be ready again in ten seconds.")) s.set_up(3, 1, M) s.start() return @@ -520,7 +520,7 @@ return if(H.size_multiplier != target_size) if(!(world.time - last_activated > 10 SECONDS)) - to_chat(M, "\The [src] flickers. It seems to be recharging.") + to_chat(M, span_warning("\The [src] flickers. It seems to be recharging.")) return last_activated = world.time original_size = H.size_multiplier @@ -538,7 +538,7 @@ original_size = null H.visible_message(span_warning("The space around [H] distorts as they return to their original size!"),span_notice("The space around you distorts as you return to your original size!")) log_admin("Admin [key_name(M)]'s size was altered by a bluespace collar.") - to_chat(M, "\The [src] flickers. It is now recharging and will be ready again in ten seconds.") + to_chat(M, span_warning("\The [src] flickers. It is now recharging and will be ready again in ten seconds.")) s.set_up(3, 1, M) s.start() return @@ -592,7 +592,7 @@ return if(currently_shrinking == 0) if(!(world.time - last_activated > 10 SECONDS)) - to_chat(M, "\The [src] flickers. It seems to be recharging.") + to_chat(M, span_warning("\The [src] flickers. It seems to be recharging.")) return last_activated = world.time original_size = H.size_multiplier @@ -612,7 +612,7 @@ currently_shrinking = 0 H.visible_message(span_warning("The space around [H] distorts as they return to their original size!"),span_notice("The space around you distorts as you return to your original size!")) log_admin("Admin [key_name(M)]'s size was altered by a bluespace collar.") - to_chat(M, "\The [src] flickers. It is now recharging and will be ready again in ten seconds.") + to_chat(M, span_warning("\The [src] flickers. It is now recharging and will be ready again in ten seconds.")) s.set_up(3, 1, M) s.start() return diff --git a/code/modules/clothing/under/accessories/holster.dm b/code/modules/clothing/under/accessories/holster.dm index 00e84a19e9..7f64fc8635 100644 --- a/code/modules/clothing/under/accessories/holster.dm +++ b/code/modules/clothing/under/accessories/holster.dm @@ -168,7 +168,7 @@ /obj/item/clothing/accessory/holster/hip name = "hip holster" - desc = "No one dared to ask his business, no one dared to make a slip. The stranger there among them had a big iron on his hip." + desc = span_italics("No one dared to ask his business, no one dared to make a slip. The stranger there among them had a big iron on his hip.") icon_state = "holster_hip" concealed_holster = 0 diff --git a/code/modules/clothing/under/miscellaneous.dm b/code/modules/clothing/under/miscellaneous.dm index 0a56cc2b2d..c02266246d 100644 --- a/code/modules/clothing/under/miscellaneous.dm +++ b/code/modules/clothing/under/miscellaneous.dm @@ -54,7 +54,7 @@ /obj/item/clothing/under/rank/mailman name = "mailman's jumpsuit" - desc = "'Special delivery!'" + desc = span_italics("'Special delivery!'") icon_state = "mailman" item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue") rolled_sleeves = 0 diff --git a/code/modules/clothing/under/miscellaneous_vr.dm b/code/modules/clothing/under/miscellaneous_vr.dm index d180fbf663..ab23e1e3cf 100644 --- a/code/modules/clothing/under/miscellaneous_vr.dm +++ b/code/modules/clothing/under/miscellaneous_vr.dm @@ -138,7 +138,7 @@ return if(H.size_multiplier != target_size) if(!(world.time - last_activated > 10 SECONDS)) - to_chat(M, "\The [src] flickers. It seems to be recharging.") + to_chat(M, span_warning("\The [src] flickers. It seems to be recharging.")) return last_activated = world.time original_size = H.size_multiplier @@ -157,7 +157,7 @@ original_size = null H.visible_message(span_warning("The space around [H] distorts as they return to their original size!"),span_notice("The space around you distorts as you return to your original size!")) log_admin("Admin [key_name(M)]'s size was altered by a bluespace bracelet.") - to_chat(M, "\The [src] flickers. It is now recharging and will be ready again in thirty seconds.") + to_chat(M, span_warning("\The [src] flickers. It is now recharging and will be ready again in thirty seconds.")) /obj/item/clothing/gloves/bluespace/examine(var/mob/user) . = ..() diff --git a/code/modules/detectivework/microscope/dnascanner.dm b/code/modules/detectivework/microscope/dnascanner.dm index 5f6c252dfb..3539153b7b 100644 --- a/code/modules/detectivework/microscope/dnascanner.dm +++ b/code/modules/detectivework/microscope/dnascanner.dm @@ -121,8 +121,8 @@ data += "Blood type: [bloodsamp.dna[blood]]
    \nDNA: [blood]

    " else data += "No DNA found.
    " - P.info = "[src] analysis report #[report_num]
    " - P.info += "Scanned item:
    [bloodsamp.name]
    [bloodsamp.desc]

    " + data + P.info = span_bold("[src] analysis report #[report_num]") + "
    " + P.info += span_bold("Scanned item:") + "
    [bloodsamp.name]
    [bloodsamp.desc]

    " + data P.forceMove(loc) P.update_icon() scanning = FALSE diff --git a/code/modules/detectivework/microscope/microscope.dm b/code/modules/detectivework/microscope/microscope.dm index f5ba97ca0e..62185b7538 100644 --- a/code/modules/detectivework/microscope/microscope.dm +++ b/code/modules/detectivework/microscope/microscope.dm @@ -46,7 +46,7 @@ var/obj/item/forensics/swab/swab = sample report.name = "GSR report #[++report_num]: [swab.name]" - report.info = "Scanned item:
    [swab.name]

    " + report.info = span_bold("Scanned item:") + "
    [swab.name]

    " if(swab.gsr) report.info += "Residue from a [swab.gsr] bullet detected." @@ -56,16 +56,16 @@ else if(istype(sample, /obj/item/sample/fibers)) var/obj/item/sample/fibers/fibers = sample report.name = "Fiber report #[++report_num]: [fibers.name]" - report.info = "Scanned item:
    [fibers.name]

    " + report.info = span_bold("Scanned item:") + "
    [fibers.name]

    " if(fibers.evidence) report.info = "Molecular analysis on provided sample has determined the presence of unique fiber strings.

    " for(var/fiber in fibers.evidence) - report.info += "Most likely match for fibers: [fiber]

    " + report.info += span_notice("Most likely match for fibers: [fiber]") + "

    " else report.info += "No fibers found." else if(istype(sample, /obj/item/sample/print)) report.name = "Fingerprint report #[report_num]: [sample.name]" - report.info = "Fingerprint analysis report #[report_num]: [sample.name]
    " + report.info = span_bold("Fingerprint analysis report #[report_num]") + ": [sample.name]
    " var/obj/item/sample/print/card = sample if(card.evidence && card.evidence.len) report.info += "Surface analysis has determined unique fingerprint strings:

    " diff --git a/code/modules/detectivework/tools/rag.dm b/code/modules/detectivework/tools/rag.dm index 1522f4f5e8..52ccc6558c 100644 --- a/code/modules/detectivework/tools/rag.dm +++ b/code/modules/detectivework/tools/rag.dm @@ -147,7 +147,7 @@ return if(A.reagents && A.reagents.trans_to_obj(src, reagents.maximum_volume)) - user.visible_message("\The [user] soaks [src] using [A].", span_notice("You soak [src] using [A].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " soaks [src] using [A]."), span_notice("You soak [src] using [A].")) update_name() return diff --git a/code/modules/detectivework/tools/scanner.dm b/code/modules/detectivework/tools/scanner.dm index cfb9b83812..b00ab89f39 100644 --- a/code/modules/detectivework/tools/scanner.dm +++ b/code/modules/detectivework/tools/scanner.dm @@ -112,7 +112,7 @@ if(reveal_fibers && do_after(user, 5 SECONDS)) to_chat(user, span_notice("Apparel samples scanned:")) for(var/sample in A.suit_fibers) - to_chat(user, " - [sample]") + to_chat(user, " - " + span_notice("[sample]")) //Blood if (A.blood_DNA && A.blood_DNA.len) @@ -120,7 +120,7 @@ if(reveal_blood && do_after(user, 5 SECONDS)) flick("[icon_state]1",src) for(var/blood in A.blood_DNA) - to_chat(user, "Blood type: [A.blood_DNA[blood]] DNA: [blood]") + to_chat(user, "Blood type: " + span_warning("[A.blood_DNA[blood]]") + " DNA: " + span_warning("[blood]")) user.visible_message("\The [user] scans \the [A] with \a [src], the air around [user.gender == MALE ? "him" : "her"] humming[prob(70) ? " gently." : "."]" ,\ span_notice("You finish scanning \the [A]."),\ @@ -165,7 +165,7 @@ var/print = fprints[i] if(stringpercent(print) <= FINGERPRINT_COMPLETE) complete_prints += print - to_chat(user, " - [print]") + to_chat(user, " - " + span_notice("[print]")) else incomplete_prints += print @@ -174,19 +174,19 @@ if(reveal_incompletes) for(var/print in incomplete_prints) - to_chat(user, " - [print]") + to_chat(user, " - " + span_notice("[print]")) if(fibers && fibers.len) to_chat(user, span_notice("[fibers.len] samples of material were present.")) if(reveal_fibers) for(var/sample in fibers) - to_chat(user, " - [sample]") + to_chat(user, " - " + span_notice("[sample]")) if(bloods && bloods.len) to_chat(user, span_notice("[bloods.len] samples of blood were present.")) if(reveal_blood) for(var/bloodsample in bloods) - to_chat(user, " - [bloodsample] Type: [bloods[bloodsample]]") + to_chat(user, " - " + span_warning("[bloodsample]") + " Type: [bloods[bloodsample]]") /obj/item/detective_scanner/verb/wipe() set name = "Wipe Forensic Data" diff --git a/code/modules/economy/ATM.dm b/code/modules/economy/ATM.dm index 704700139f..652b23757a 100644 --- a/code/modules/economy/ATM.dm +++ b/code/modules/economy/ATM.dm @@ -85,7 +85,7 @@ log transactions if(istype(I, /obj/item/card)) if(emagged > 0) //prevent inserting id into an emagged ATM - to_chat(user, span_red("[icon2html(src, user.client)] CARD READER ERROR. This system has been compromised!")) + to_chat(user, span_boldwarning("[icon2html(src, user.client)] CARD READER ERROR. This system has been compromised!")) return else if(istype(I,/obj/item/card/emag)) I.resolve_attackby(src, user) @@ -190,7 +190,7 @@ log transactions release_held_id(usr) else if(emagged > 0) - to_chat(usr, span_red("[icon2html(src, usr.client)] The ATM card reader rejected your ID because this machine has been sabotaged!")) + to_chat(usr, span_boldwarning("[icon2html(src, usr.client)] The ATM card reader rejected your ID because this machine has been sabotaged!")) else var/obj/item/I = usr.get_active_hand() if(istype(I, /obj/item/card/id)) @@ -211,12 +211,12 @@ log transactions var/obj/item/paper/R = new(loc) R.name = "Account balance: [authenticated_account.owner_name]" - R.info = "NT Automated Teller Account Statement

    " - R.info += "Account holder: [authenticated_account.owner_name]
    " - R.info += "Account number: [authenticated_account.account_number]
    " - R.info += "Balance: $[authenticated_account.money]
    " - R.info += "Date and time: [stationtime2text()], [current_date_string]

    " - R.info += "Service terminal ID: [machine_id]
    " + R.info = span_bold("NT Automated Teller Account Statement") + "

    " + R.info += span_italics("Account holder:") + " [authenticated_account.owner_name]
    " + R.info += span_italics("Account number:") + " [authenticated_account.account_number]
    " + R.info += span_italics("Balance:") + " $[authenticated_account.money]
    " + R.info += span_italics("Date and time:") + " [stationtime2text()], [current_date_string]

    " + R.info += span_italics("Service terminal ID:") + " [machine_id]
    " //stamp the paper var/image/stampoverlay = image('icons/obj/bureaucracy.dmi') @@ -225,7 +225,7 @@ log transactions R.stamped = new R.stamped += /obj/item/stamp R.add_overlay(stampoverlay) - R.stamps += "
    This paper has been stamped by the Automatic Teller Machine." + R.stamps += "
    " + span_italics("This paper has been stamped by the Automatic Teller Machine.") if(prob(50)) playsound(src, 'sound/items/polaroid1.ogg', 50, 1) @@ -240,19 +240,19 @@ log transactions var/obj/item/paper/R = new(loc) R.name = "Transaction logs: [authenticated_account.owner_name]" - R.info = "Transaction logs
    " - R.info += "Account holder: [authenticated_account.owner_name]
    " - R.info += "Account number: [authenticated_account.account_number]
    " - R.info += "Date and time: [stationtime2text()], [current_date_string]

    " - R.info += "Service terminal ID: [machine_id]
    " + R.info = span_bold("Transaction logs") + "
    " + R.info += span_italics("Account holder:") + " [authenticated_account.owner_name]
    " + R.info += span_italics("Account number:") + " [authenticated_account.account_number]
    " + R.info += span_italics("Date and time:") + " [stationtime2text()], [current_date_string]

    " + R.info += span_italics("Service terminal ID:") + " [machine_id]
    " R.info += "" R.info += "" - R.info += "" - R.info += "" - R.info += "" - R.info += "" - R.info += "" - R.info += "" + R.info += "" + R.info += "" + R.info += "" + R.info += "" + R.info += "" + R.info += "" R.info += "" for(var/datum/transaction/T in authenticated_account.transaction_log) R.info += "" @@ -272,7 +272,7 @@ log transactions R.stamped = new R.stamped += /obj/item/stamp R.add_overlay(stampoverlay) - R.stamps += "
    This paper has been stamped by the Automatic Teller Machine." + R.stamps += "
    " + span_italics("This paper has been stamped by the Automatic Teller Machine.") if(prob(50)) playsound(src, 'sound/items/polaroid1.ogg', 50, 1) @@ -317,11 +317,11 @@ log transactions T.time = stationtime2text() failed_account.transaction_log.Add(T) else - to_chat(usr, span_red("[icon2html(src, usr.client)] Incorrect pin/account combination entered, [max_pin_attempts - number_incorrect_tries] attempts remaining.")) + to_chat(usr, span_warning("[icon2html(src, usr.client)] Incorrect pin/account combination entered, [max_pin_attempts - number_incorrect_tries] attempts remaining.")) previous_account_number = tried_account_num playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 1) else - to_chat(usr, span_red("[icon2html(src, usr.client)] incorrect pin/account combination entered.")) + to_chat(usr, span_warning("[icon2html(src, usr.client)] incorrect pin/account combination entered.")) number_incorrect_tries = 0 else playsound(src, 'sound/machines/twobeep.ogg', 50, 1) @@ -337,7 +337,7 @@ log transactions T.time = stationtime2text() authenticated_account.transaction_log.Add(T) - to_chat(usr, span_blue("[icon2html(src, usr.client)] Access granted. Welcome user '[authenticated_account.owner_name].'")) + to_chat(usr, span_notice("[icon2html(src, usr.client)] Access granted. Welcome user '[authenticated_account.owner_name].'")) previous_account_number = tried_account_num . = TRUE @@ -353,7 +353,7 @@ log transactions var/target_account_number = text2num(params["target_acc_number"]) var/transfer_purpose = params["purpose"] if(charge_to_account(target_account_number, authenticated_account.owner_name, transfer_purpose, machine_id, transfer_amount)) - to_chat(usr, "[icon2html(src, usr.client)]Funds transfer successful.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_info("Funds transfer successful.")) authenticated_account.money -= transfer_amount //create an entry in the account transaction log @@ -366,10 +366,10 @@ log transactions T.amount = "([transfer_amount])" authenticated_account.transaction_log.Add(T) else - to_chat(usr, "[icon2html(src, usr.client)]Funds transfer failed.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Funds transfer failed.")) else - to_chat(usr, "[icon2html(src, usr.client)]You don't have enough funds to do that!") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("You don't have enough funds to do that!")) . = TRUE if("e_withdrawal") @@ -401,7 +401,7 @@ log transactions T.time = stationtime2text() authenticated_account.transaction_log.Add(T) else - to_chat(usr, "[icon2html(src, usr.client)]You don't have enough funds to do that!") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("You don't have enough funds to do that!")) . = TRUE if("withdrawal") @@ -432,7 +432,7 @@ log transactions T.time = stationtime2text() authenticated_account.transaction_log.Add(T) else - to_chat(usr, "[icon2html(src, usr.client)]You don't have enough funds to do that!") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("You don't have enough funds to do that!")) . = TRUE if(.) diff --git a/code/modules/economy/Accounts.dm b/code/modules/economy/Accounts.dm index 1612f4b49a..d8f7a02ff0 100644 --- a/code/modules/economy/Accounts.dm +++ b/code/modules/economy/Accounts.dm @@ -54,7 +54,7 @@ var/obj/item/paper/R = new /obj/item/paper(P) P.wrapped = R R.name = "Account information: [M.owner_name]" - R.info = "Account details (confidential)


    " + R.info = span_bold("Account details (confidential)") + "


    " R.info += "Account holder: [M.owner_name]
    " R.info += "Account number: [M.account_number]
    " R.info += "Account pin: [M.remote_access_pin]
    " diff --git a/code/modules/economy/EFTPOS.dm b/code/modules/economy/EFTPOS.dm index 584e5b38a0..cd9f84f3d7 100644 --- a/code/modules/economy/EFTPOS.dm +++ b/code/modules/economy/EFTPOS.dm @@ -28,10 +28,10 @@ var/obj/item/paper/R = new(src.loc) R.name = "Steps to success: Correct EFTPOS Usage" //Temptative new manual: - R.info += "First EFTPOS setup:
    " + R.info += span_bold("First EFTPOS setup:") + "
    " R.info += "1. Memorise your EFTPOS command code (provided with all EFTPOS devices).
    " R.info += "2. Connect the EFTPOS to the account in which you want to receive the funds.

    " - R.info += "When starting a new transaction:
    " + R.info += span_bold("When starting a new transaction:") + "
    " R.info += "1. Enter the amount of money you want to charge and a purpose message for the new transaction.
    " R.info += "2. Lock the new transaction. If you want to modify or cancel the transaction, you simply have to reset your EFTPOS device.
    " R.info += "3. Give the EFTPOS device to your customer, he/she must finish the transaction by swiping their ID card or a charge card with enough funds.
    " @@ -56,9 +56,9 @@ /obj/item/eftpos/proc/print_reference() var/obj/item/paper/R = new(src.loc) R.name = "Reference: [eftpos_name]" - R.info = "[eftpos_name] reference

    " + R.info = span_bold("[eftpos_name] reference") + "

    " R.info += "Access code: [access_code]

    " - R.info += "Do not lose or misplace this code.
    " + R.info += span_bold("Do not lose or misplace this code.") + "
    " //stamp the paper var/image/stampoverlay = image('icons/obj/bureaucracy.dmi') @@ -75,7 +75,7 @@ /obj/item/eftpos/attack_self(mob/user as mob) if(get_dist(src,user) <= 1) - var/dat = "[eftpos_name]
    " + var/dat = span_bold("[eftpos_name]") + "
    " dat += "This terminal is [machine_id]. Report this code when contacting IT Support
    " if(transaction_locked) dat += "Back[transaction_paid ? "" : " (authentication required)"]

    " @@ -109,7 +109,7 @@ if(linked_account) scan_card(I, O) else - to_chat(usr, "[icon2html(src, usr.client)]Unable to connect to linked account.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Unable to connect to linked account.")) else if (istype(O, /obj/item/spacecash/ewallet)) var/obj/item/spacecash/ewallet/E = O if (linked_account) @@ -134,11 +134,11 @@ T.time = stationtime2text() linked_account.transaction_log.Add(T) else - to_chat(usr, "[icon2html(src, usr.client)]\The [O] doesn't have that much money!") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("\The [O] doesn't have that much money!")) else - to_chat(usr, "[icon2html(src, usr.client)]Connected account has been suspended.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Connected account has been suspended.")) else - to_chat(usr, "[icon2html(src, usr.client)]EFTPOS is not connected to an account.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("EFTPOS is not connected to an account.")) else ..() @@ -156,14 +156,14 @@ tgui_alert_async(usr, "That is not a valid code!") print_reference() else - to_chat(usr, "[icon2html(src, usr.client)]Incorrect code entered.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Incorrect code entered.")) if("change_id") var/attempt_code = text2num(input(usr, "Re-enter the current EFTPOS access code", "Confirm EFTPOS code")) if(attempt_code == access_code) eftpos_name = sanitize(input(usr, "Enter a new terminal ID for this device", "Enter new EFTPOS ID"), MAX_NAME_LEN) + " EFTPOS scanner" print_reference() else - to_chat(usr, "[icon2html(src, usr.client)]Incorrect code entered.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Incorrect code entered.")) if("link_account") var/attempt_account_num = tgui_input_number(usr, "Enter account number to pay EFTPOS charges into", "New account number") var/attempt_pin = tgui_input_number(usr, "Enter pin code", "Account pin") @@ -171,9 +171,9 @@ if(linked_account) if(linked_account.suspended) linked_account = null - to_chat(usr, "[icon2html(src, usr.client)]Account has been suspended.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Account has been suspended.")) else - to_chat(usr, "[icon2html(src, usr.client)]Account not found.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Account not found.")) if("trans_purpose") var/choice = sanitize(input(usr, "Enter reason for EFTPOS transaction", "Transaction purpose")) if(choice) transaction_purpose = choice @@ -196,14 +196,14 @@ else if(linked_account) transaction_locked = 1 else - to_chat(usr, "[icon2html(src, usr.client)]No account connected to send transactions to.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("No account connected to send transactions to.")) if("scan_card") if(linked_account) var/obj/item/I = usr.get_active_hand() if (istype(I, /obj/item/card)) scan_card(I) else - to_chat(usr, "[icon2html(src, usr.client)]Unable to link accounts.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Unable to link accounts.")) if("reset") //reset the access code - requires HoP/captain access var/obj/item/I = usr.get_active_hand() @@ -211,10 +211,10 @@ var/obj/item/card/id/C = I if((access_cent_captain in C.access) || (access_hop in C.access) || (access_captain in C.access)) access_code = 0 - to_chat(usr, "[icon2html(src, usr.client)]Access code reset to 0.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_info("Access code reset to 0.")) else if (istype(I, /obj/item/card/emag)) access_code = 0 - to_chat(usr, "[icon2html(src, usr.client)]Access code reset to 0.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_info("Access code reset to 0.")) src.attack_self(usr) @@ -267,19 +267,19 @@ T.time = stationtime2text() linked_account.transaction_log.Add(T) else - to_chat(usr, "[icon2html(src, usr.client)]You don't have that much money!") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("You don't have that much money!")) else - to_chat(usr, "[icon2html(src, usr.client)]Your account has been suspended.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Your account has been suspended.")) else - to_chat(usr, "[icon2html(src, usr.client)]Unable to access account. Check security settings and try again.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Unable to access account. Check security settings and try again.")) else - to_chat(usr, "[icon2html(src, usr.client)]Connected account has been suspended.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Connected account has been suspended.")) else - to_chat(usr, "[icon2html(src, usr.client)]EFTPOS is not connected to an account.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("EFTPOS is not connected to an account.")) else if (istype(I, /obj/item/card/emag)) if(transaction_locked) if(transaction_paid) - to_chat(usr, "[icon2html(src, usr.client)]You stealthily swipe \the [I] through \the [src].") + to_chat(usr, "[icon2html(src, usr.client)]" + span_info("You stealthily swipe \the [I] through \the [src].")) transaction_locked = 0 transaction_paid = 0 else diff --git a/code/modules/economy/cash_register.dm b/code/modules/economy/cash_register.dm index 0ac82c01bd..17b1327ebf 100644 --- a/code/modules/economy/cash_register.dm +++ b/code/modules/economy/cash_register.dm @@ -67,8 +67,8 @@ var/dat = "

    Cash Register

    " if (locked) dat += "Unlock
    " - dat += "Linked account: [linked_account ? linked_account.owner_name : "None"]
    " - dat += "[cash_locked? "Unlock" : "Lock"] Cash Box | " + dat += "Linked account: " + span_bold("[linked_account ? linked_account.owner_name : "None"]") + "
    " + dat += span_bold("[cash_locked? "Unlock" : "Lock"] Cash Box") + " | " else dat += "Lock
    " dat += "Linked account: [linked_account ? linked_account.owner_name : "None"]
    " @@ -103,7 +103,7 @@ if(allowed(usr)) locked = !locked else - to_chat(usr, "[icon2html(src, usr.client)]Insufficient access.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Insufficient access.")) if("toggle_cash_lock") cash_locked = !cash_locked if("link_account") @@ -113,9 +113,9 @@ if(linked_account) if(linked_account.suspended) linked_account = null - src.visible_message("[icon2html(src,viewers(src))]Account has been suspended.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Account has been suspended.")) else - to_chat(usr, "[icon2html(src, usr.client)]Account not found.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Account not found.")) if("custom_order") var/t_purpose = sanitize(tgui_input_text(usr, "Enter purpose", "New purpose")) if (!t_purpose || !Adjacent(usr)) return @@ -163,7 +163,7 @@ price_list.Cut() if("reset_log") transaction_logs.Cut() - to_chat(usr, "[icon2html(src, usr.client)]Transaction log reset.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_notice("Transaction log reset.")) updateDialog() @@ -208,7 +208,7 @@ return 1 else confirm_item = I - src.visible_message("[icon2html(src,viewers(src))]Total price: [transaction_amount] Thaler\s. Swipe again to confirm.") + src.visible_message(span_infoplain("[icon2html(src,viewers(src))]" + span_bold("Total price:") + " [transaction_amount] Thaler\s. Swipe again to confirm.")) playsound(src, 'sound/machines/twobeep.ogg', 25) return 0 @@ -219,14 +219,14 @@ if (cash_open) playsound(src, 'sound/machines/buzz-sigh.ogg', 25) - to_chat(usr, "[icon2html(src, usr.client)]The cash box is open.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("The cash box is open.")) return if((item_list.len > 1 || item_list[item_list[1]] > 1) && !confirm(I)) return if (!linked_account) - usr.visible_message("[icon2html(src,viewers(src))]Unable to connect to linked account.") + usr.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to connect to linked account.")) return // Access account for transaction @@ -239,13 +239,13 @@ D = attempt_account_access(I.associated_account_number, attempt_pin, 2) if(!D) - src.visible_message("[icon2html(src,viewers(src))]Unable to access account. Check security settings and try again.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to access account. Check security settings and try again.")) else if(D.suspended) - src.visible_message("[icon2html(src,viewers(src))]Your account has been suspended.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Your account has been suspended.")) else if(transaction_amount > D.money) - src.visible_message("[icon2html(src,viewers(src))]Not enough funds.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Not enough funds.")) else // Transfer the money D.money -= transaction_amount @@ -284,7 +284,7 @@ if (cash_open) playsound(src, 'sound/machines/buzz-sigh.ogg', 25) - to_chat(usr, "[icon2html(src, usr.client)]The cash box is open.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("The cash box is open.")) return if((item_list.len > 1 || item_list[item_list[1]] > 1) && !confirm(E)) @@ -293,7 +293,7 @@ // Access account for transaction if(check_account()) if(transaction_amount > E.worth) - src.visible_message("[icon2html(src,viewers(src))]Not enough funds.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Not enough funds.")) else // Transfer the money E.worth -= transaction_amount @@ -322,14 +322,14 @@ if (cash_open) playsound(src, 'sound/machines/buzz-sigh.ogg', 25) - to_chat(usr, "[icon2html(src, usr.client)]The cash box is open.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("The cash box is open.")) return if((item_list.len > 1 || item_list[item_list[1]] > 1) && !confirm(SC)) return if(transaction_amount > SC.worth) - src.visible_message("[icon2html(src,viewers(src))]Not enough money.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Not enough money.")) else // Insert cash into magical slot SC.worth -= transaction_amount @@ -351,17 +351,17 @@ /obj/machinery/cash_register/proc/scan_item_price(obj/O) if(!istype(O)) return if(item_list.len > 10) - src.visible_message("[icon2html(src,viewers(src))]Only up to ten different items allowed per purchase.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Only up to ten different items allowed per purchase.")) return if (cash_open) playsound(src, 'sound/machines/buzz-sigh.ogg', 25) - to_chat(usr, "[icon2html(src, usr.client)]The cash box is open.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("The cash box is open.")) return // First check if item has a valid price var/price = O.get_item_cost() if(isnull(price)) - src.visible_message("[icon2html(src,viewers(src))]Unable to find item in database.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to find item in database.")) return // Call out item cost src.visible_message("[icon2html(src,viewers(src))]\A [O]: [price ? "[price] Thaler\s" : "free of charge"].") @@ -399,7 +399,7 @@ item_name = item_list[i] dat += "" dat += "
    DateTimeTargetPurposeValueSource terminal ID" + span_bold("Date") + "" + span_bold("Time") + "" + span_bold("Target") + "" + span_bold("Purpose") + "" + span_bold("Value") + "" + span_bold("Source terminal ID") + "
    [item_list[item_name] ? "- Set + [item_list[item_name]] x " : ""][item_name] Remove[price_list[item_name] * item_list[item_name]] þ
    " - dat += "" + dat += "" dat += "
    Clear EntryTotal Amount: [transaction_amount] þ
    Clear Entry" + span_bold("Total Amount: [transaction_amount] þ") + "
    " return dat @@ -424,7 +424,7 @@ for(var/i=1, i<=item_list.len, i++) item_name = item_list[i] dat += "
    [item_list[item_name] ? "[item_list[item_name]] x " : ""][item_name][price_list[item_name] * item_list[item_name]] þ
    Total Amount: [transaction_amount] þ
    " + span_bold("Total Amount: [transaction_amount] þ") + "
    " transaction_logs += dat @@ -432,11 +432,11 @@ /obj/machinery/cash_register/proc/check_account() if (!linked_account) - usr.visible_message("[icon2html(src,viewers(src))]Unable to connect to linked account.") + usr.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to connect to linked account.")) return 0 if(linked_account.suspended) - src.visible_message("[icon2html(src,viewers(src))]Connected account has been suspended.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Connected account has been suspended.")) return 0 return 1 @@ -444,7 +444,7 @@ /obj/machinery/cash_register/proc/transaction_complete() /// Visible confirmation playsound(src, 'sound/machines/chime.ogg', 25) - src.visible_message("[icon2html(src,viewers(src))]Transaction complete.") + src.visible_message("[icon2html(src,viewers(src))]" + span_notice("Transaction complete.")) flick("register_approve", src) reset_memory() updateDialog() diff --git a/code/modules/economy/money_bag.dm b/code/modules/economy/money_bag.dm index 6a443226f2..65bfe9cd6f 100644 --- a/code/modules/economy/money_bag.dm +++ b/code/modules/economy/money_bag.dm @@ -30,7 +30,7 @@ if (istype(C,/obj/item/coin/uranium)) amt_uranium++; - var/dat = text("The contents of the moneybag reveal...
    ") + var/dat = span_bold("The contents of the moneybag reveal...") + "
    " if (amt_gold) dat += text("Gold coins: [amt_gold] Remove one
    ") if (amt_silver) diff --git a/code/modules/economy/retail_scanner.dm b/code/modules/economy/retail_scanner.dm index 79155d0a4a..1b981dc679 100644 --- a/code/modules/economy/retail_scanner.dm +++ b/code/modules/economy/retail_scanner.dm @@ -99,7 +99,7 @@ if(allowed(usr)) locked = !locked else - to_chat(usr, "[icon2html(src, usr.client)]Insufficient access.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Insufficient access.")) if("link_account") var/attempt_account_num = tgui_input_number(usr, "Enter account number", "New account number") var/attempt_pin = tgui_input_number(usr, "Enter PIN", "Account PIN") @@ -107,9 +107,9 @@ if(linked_account) if(linked_account.suspended) linked_account = null - src.visible_message("[icon2html(src,viewers(src))]Account has been suspended.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Account has been suspended.")) else - to_chat(usr, "[icon2html(src, usr.client)]Account not found.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_warning("Account not found.")) if("custom_order") var/t_purpose = sanitize(tgui_input_text(usr, "Enter purpose", "New purpose")) if (!t_purpose || !Adjacent(usr)) return @@ -157,7 +157,7 @@ price_list.Cut() if("reset_log") transaction_logs.Cut() - to_chat(usr, "[icon2html(src, usr.client)]Transaction log reset.") + to_chat(usr, "[icon2html(src, usr.client)]" + span_notice("Transaction log reset.")) updateDialog() @@ -203,7 +203,7 @@ return if (!linked_account) - usr.visible_message("[icon2html(src,viewers(src))]Unable to connect to linked account.") + usr.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to connect to linked account.")) return // Access account for transaction @@ -216,13 +216,13 @@ D = attempt_account_access(I.associated_account_number, attempt_pin, 2) if(!D) - src.visible_message("[icon2html(src,viewers(src))]Unable to access account. Check security settings and try again.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to access account. Check security settings and try again.")) else if(D.suspended) - src.visible_message("[icon2html(src,viewers(src))]Your account has been suspended.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Your account has been suspended.")) else if(transaction_amount > D.money) - src.visible_message("[icon2html(src,viewers(src))]Not enough funds.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Not enough funds.")) else // Transfer the money D.money -= transaction_amount @@ -265,7 +265,7 @@ // Access account for transaction if(check_account()) if(transaction_amount > E.worth) - src.visible_message("[icon2html(src,viewers(src))]Not enough funds.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Not enough funds.")) else // Transfer the money E.worth -= transaction_amount @@ -291,13 +291,13 @@ /obj/item/retail_scanner/proc/scan_item_price(var/obj/O) if(!istype(O)) return if(item_list.len > 10) - src.visible_message("[icon2html(src,viewers(src))]Only up to ten different items allowed per purchase.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Only up to ten different items allowed per purchase.")) return // First check if item has a valid price var/price = O.get_item_cost() if(isnull(price)) - src.visible_message("[icon2html(src,viewers(src))]Unable to find item in database.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to find item in database.")) return // Call out item cost src.visible_message("[icon2html(src,viewers(src))]\A [O]: [price ? "[price] Thaler\s" : "free of charge"].") @@ -368,11 +368,11 @@ /obj/item/retail_scanner/proc/check_account() if (!linked_account) - usr.visible_message("[icon2html(src,viewers(src))]Unable to connect to linked account.") + usr.visible_message("[icon2html(src,viewers(src))]" + span_warning("Unable to connect to linked account.")) return 0 if(linked_account.suspended) - src.visible_message("[icon2html(src,viewers(src))]Connected account has been suspended.") + src.visible_message("[icon2html(src,viewers(src))]" + span_warning("Connected account has been suspended.")) return 0 return 1 @@ -380,7 +380,7 @@ /obj/item/retail_scanner/proc/transaction_complete() /// Visible confirmation playsound(src, 'sound/machines/chime.ogg', 25) - src.visible_message("[icon2html(src,viewers(src))]Transaction complete.") + src.visible_message("[icon2html(src,viewers(src))]" + span_notice("Transaction complete.")) flick("retail_approve", src) reset_memory() updateDialog() diff --git a/code/modules/economy/vending.dm b/code/modules/economy/vending.dm index fdda35896e..627a43e63e 100644 --- a/code/modules/economy/vending.dm +++ b/code/modules/economy/vending.dm @@ -270,7 +270,7 @@ GLOBAL_LIST_EMPTY(vending_products) // This is not a status display message, since it's something the character // themselves is meant to see BEFORE putting the money in - to_chat(usr, "[icon2html(cashmoney, user.client)] That is not enough money.") + to_chat(usr, "[icon2html(cashmoney, user.client)] " + span_warning("That is not enough money.")) return 0 if(istype(cashmoney, /obj/item/spacecash)) @@ -628,7 +628,7 @@ GLOBAL_LIST_EMPTY(vending_products) if(prob(1)) sleep(3) if(R.get_product(get_turf(src))) - visible_message("\The [src] clunks as it vends an additional item.") + visible_message(span_infoplain(span_bold("\The [src]") + " clunks as it vends an additional item.")) playsound(src, "sound/[vending_sound]", 100, 1, 1) GLOB.items_sold_shift_roundstat++ @@ -754,7 +754,7 @@ GLOBAL_LIST_EMPTY(vending_products) return for(var/mob/O in hearers(src, null)) - O.show_message(span_npc_say("\The [src] beeps, \"[message]\""),2) + O.show_message(span_npc_say(span_name("\The [src]") + " beeps, \"[message]\""),2) return /obj/machinery/vending/power_change() diff --git a/code/modules/emotes/emote_define.dm b/code/modules/emotes/emote_define.dm index 992d29856e..7bfeafbe02 100644 --- a/code/modules/emotes/emote_define.dm +++ b/code/modules/emotes/emote_define.dm @@ -121,7 +121,7 @@ var/global/list/emotes_by_key if(target) raw_3p = replace_target_tokens(raw_3p, target) prefinal_3p = replace_user_tokens(raw_3p, user) - use_3p = span_emote("\The [user] [prefinal_3p]") + use_3p = span_emote(span_bold("\The [user]") + " [prefinal_3p]") var/use_radio = get_radio_message(user) if(use_radio) if(target) @@ -155,7 +155,7 @@ var/global/list/emotes_by_key . = replacetext(., "TARGET_THEM", target_gender.him) . = replacetext(., "TARGET_THEIR", target_gender.his) . = replacetext(., "TARGET_SELF", target_gender.himself) - . = replacetext(., "TARGET", "\the [target]") + . = replacetext(., "TARGET", span_bold("\the [target]")) /decl/emote/proc/replace_user_tokens(var/msg, var/atom/user) . = msg @@ -164,7 +164,7 @@ var/global/list/emotes_by_key . = replacetext(., "USER_THEM", user_gender.him) . = replacetext(., "USER_THEIR", user_gender.his) . = replacetext(., "USER_SELF", user_gender.himself) - . = replacetext(., "USER", "\the [user]") + . = replacetext(., "USER", span_bold("\the [user]")) /decl/emote/proc/get_radio_message(var/atom/user) if(emote_message_radio_synthetic && check_synthetic(user)) diff --git a/code/modules/emotes/emote_mob.dm b/code/modules/emotes/emote_mob.dm index 9511af44a4..c0df384828 100644 --- a/code/modules/emotes/emote_mob.dm +++ b/code/modules/emotes/emote_mob.dm @@ -45,7 +45,7 @@ if(emote_datum.mob_can_use(src)) usable_emotes[emote_datum.key] = emote_datum last_emote_summary = english_list(sortAssoc(usable_emotes)) - to_chat(src,"Usable emotes: [last_emote_summary].") + to_chat(src,span_bold("Usable emotes:") + " [last_emote_summary].") return if(!can_emote(m_type)) @@ -95,7 +95,7 @@ if(use_emote.message_type == AUDIBLE_MESSAGE && is_muzzled()) var/muffle_message = use_emote.emote_message_muffled || "makes a muffled sound." - audible_message("\The [src] [muffle_message]", runemessage = "[muffle_message]") + audible_message(span_bold("\The [src]") + " [muffle_message]", runemessage = "[muffle_message]") return next_emote = world.time + use_emote.emote_delay @@ -158,7 +158,7 @@ nametext = html_encode(nametext) subtext = html_encode(subtext) // Store the player's name in a nice bold, naturalement - nametext = "[emoter]" + nametext = span_bold("[emoter]") return list("pretext" = pretext, "nametext" = nametext, "subtext" = subtext) /mob/proc/custom_emote(var/m_type = VISIBLE_MESSAGE, var/message, var/range = world.view) @@ -189,9 +189,9 @@ if(input) log_emote(message,src) //Log before we add junk if(usr && usr.client) - message = span_emote("[src] [input]") + message = span_emote(span_bold("[src]") + " [input]") else - message = span_npc_emote("[src] [input]") + message = span_npc_emote(span_bold("[src]") + " [input]") else return @@ -223,7 +223,7 @@ spawn(0) // It's possible that it could be deleted in the meantime, or that it runtimes. if(M) if(isobserver(M)) - message = span_emote("[src] ([ghost_follow_link(src, M)]) [input]") + message = span_emote(span_bold("[src]") + " ([ghost_follow_link(src, M)]) [input]") if(usr && usr.client && M && !(get_z(usr) == get_z(M))) message = span_multizsay("[message]") //CHOMPEdit Start - If you are in the same tile, right next to, or being held by a person doing an emote, you should be able to see it while blind diff --git a/code/modules/events/comms_blackout.dm b/code/modules/events/comms_blackout.dm index add62ee544..b6c12745af 100644 --- a/code/modules/events/comms_blackout.dm +++ b/code/modules/events/comms_blackout.dm @@ -5,8 +5,8 @@ command_announcement.Announce("Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you-BZZT", new_sound = 'sound/misc/interference.ogg') else // AIs will always know if there's a comm blackout, rogue AIs could then lie about comm blackouts in the future while they shutdown comms for(var/mob/living/silicon/ai/A in player_list) - to_chat(A, "
    ") - to_chat(A, span_warning("Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you-BZZT")) - to_chat(A, "
    ") + to_chat(A, span_boldwarning("
    ")) + to_chat(A, span_boldwarning("Ionospheric anomalies detected. Temporary telecommunication failure imminent. Please contact you-BZZT")) + to_chat(A, span_boldwarning("
    ")) for(var/obj/machinery/telecomms/T in telecomms_list) T.emp_act(1) diff --git a/code/modules/events/communications_blackout.dm b/code/modules/events/communications_blackout.dm index 1c87835861..edfaf1e2e3 100644 --- a/code/modules/events/communications_blackout.dm +++ b/code/modules/events/communications_blackout.dm @@ -7,9 +7,9 @@ "#4nd%;f4y6,>£%-BZZZZZZZT") for(var/mob/living/silicon/ai/A in player_list) //AIs are always aware of communication blackouts. - to_chat(A, "
    ") - to_chat(A, span_warning("[alert]")) - to_chat(A, "
    ") + to_chat(A, span_boldwarning("
    ")) + to_chat(A, span_boldwarning("[alert]")) + to_chat(A, span_boldwarning("
    ")) if(prob(30)) //most of the time, we don't want an announcement, so as to allow AIs to fake blackouts. command_announcement.Announce(alert, new_sound = sound('sound/misc/interference.ogg', volume=25)) diff --git a/code/modules/events/event_manager.dm b/code/modules/events/event_manager.dm index 8457437317..aa9711c0e6 100644 --- a/code/modules/events/event_manager.dm +++ b/code/modules/events/event_manager.dm @@ -28,7 +28,7 @@ html += "
    " html += "

    Available [severity_to_string[selected_event_container.severity]] Events (queued & running events will not be displayed)

    " html += "" - html += "Name Weight MinWeight MaxWeight OneShot Enabled CurrWeight Remove" + html += "Name Weight MinWeight MaxWeight OneShot Enabled " + span_alert("CurrWeight") + " Remove" var/list/active_with_role = number_active_with_role() for(var/datum/event_meta/EM in selected_event_container.available_events) html += "" @@ -38,7 +38,7 @@ html += "[EM.max_weight]" html += "[EM.one_shot]" html += "[EM.enabled]" - html += "[selected_event_container.get_weight(EM, active_with_role)]" + html += "" + span_alert("[selected_event_container.get_weight(EM, active_with_role)]") + "" html += "Remove" html += "" html += "" diff --git a/code/modules/events/meteor_strike_vr.dm b/code/modules/events/meteor_strike_vr.dm index ebd5c498f5..fde70c8d5b 100644 --- a/code/modules/events/meteor_strike_vr.dm +++ b/code/modules/events/meteor_strike_vr.dm @@ -103,7 +103,7 @@ if(!do_after(M, P.digspeed*3)) return - M.visible_message("[M] breaks apart \the [src].", "You break apart \the [src].") + M.visible_message(span_warning("[M] breaks apart \the [src]."), span_warning("You break apart \the [src].")) for(var/obj/O in src) O.forceMove(get_turf(src)) qdel(src) diff --git a/code/modules/events/money_spam.dm b/code/modules/events/money_spam.dm index 242aaa0830..b03301477c 100644 --- a/code/modules/events/money_spam.dm +++ b/code/modules/events/money_spam.dm @@ -110,11 +110,11 @@ for(var/mob/living/silicon/ai/ai in mob_list) // Allows other AIs to intercept the message but the AI won't intercept their own message. if(ai.aiPDA != P && ai.aiPDA != src) - ai.show_message("Intercepted message from [sender] (Unknown / spam?) to [P:owner]: [message]") + ai.show_message(span_italics("Intercepted message from [sender] (Unknown / spam?) to [P:owner]: [message]")) */ //Commented out because we don't send messages like this anymore. Instead it will just popup in their chat window. //P.tnote += "← From [sender] (Unknown / spam?):
    [message]
    " var/datum/data/pda/app/messenger/PM = P.find_program(/datum/data/pda/app/messenger) - PM.notify("Message from [sender] (Unknown / spam?), \"[message]\" (Unable to Reply)", 0) + PM.notify(span_bold("Message from [sender] (Unknown / spam?), ") + "\"[message]\" (Unable to Reply)", 0) diff --git a/code/modules/flufftext/Dreaming.dm b/code/modules/flufftext/Dreaming.dm index 1881f91561..24a297954f 100644 --- a/code/modules/flufftext/Dreaming.dm +++ b/code/modules/flufftext/Dreaming.dm @@ -27,7 +27,7 @@ var/list/dreams = list( spawn(0) for(var/i = rand(1,4),i > 0, i--) - to_chat(src, span_blue("... [pick(dreams)] ...")) + to_chat(src, span_infoplain(span_blue(span_italics("... [pick(dreams)] ...")))) sleep(rand(40,70)) if(paralysis <= 0) dreaming = 0 diff --git a/code/modules/flufftext/Hallucination.dm b/code/modules/flufftext/Hallucination.dm index 14de461b99..ef2ee604ff 100644 --- a/code/modules/flufftext/Hallucination.dm +++ b/code/modules/flufftext/Hallucination.dm @@ -245,8 +245,8 @@ Gunshots/explosions/opening doors/less rare audio (done) /obj/effect/fake_attacker/attackby(var/obj/item/P as obj, mob/user as mob) step_away(src,my_target,2) for(var/mob/M in oviewers(world.view,my_target)) - to_chat(M, span_red("[my_target] flails around wildly.")) - my_target.show_message(span_red("[src] has been attacked by [my_target] "), 1) //Lazy. + to_chat(M, span_bolddanger("[my_target] flails around wildly.")) + my_target.show_message(span_bolddanger("[src] has been attacked by [my_target] "), 1) //Lazy. src.health -= P.force @@ -258,7 +258,7 @@ Gunshots/explosions/opening doors/less rare audio (done) step_away(src,my_target,2) if(prob(30)) for(var/mob/O in oviewers(world.view , my_target)) - to_chat(O, span_red("[my_target] stumbles around.")) + to_chat(O, span_bolddanger("[my_target] stumbles around.")) /obj/effect/fake_attacker/New() ..() @@ -305,7 +305,7 @@ Gunshots/explosions/opening doors/less rare audio (done) if(prob(15)) if(weapon_name) my_target << sound(pick('sound/weapons/genhit1.ogg', 'sound/weapons/genhit2.ogg', 'sound/weapons/genhit3.ogg')) - my_target.show_message(span_red("[my_target] has been attacked with [weapon_name] by [src.name]!"), 1) + my_target.show_message(span_bolddanger("[my_target] has been attacked with [weapon_name] by [src.name]!"), 1) my_target.halloss += 8 if(prob(20)) my_target.eye_blurry += 3 if(prob(33)) @@ -313,7 +313,7 @@ Gunshots/explosions/opening doors/less rare audio (done) fake_blood(my_target) else my_target << sound(pick('sound/weapons/punch1.ogg','sound/weapons/punch2.ogg','sound/weapons/punch3.ogg','sound/weapons/punch4.ogg')) - my_target.show_message(span_red("[src.name] has punched [my_target]!"), 1) + my_target.show_message(span_bolddanger("[src.name] has punched [my_target]!"), 1) my_target.halloss += 4 if(prob(33)) if(!locate(/obj/effect/overlay) in my_target.loc) diff --git a/code/modules/flufftext/TextFilters.dm b/code/modules/flufftext/TextFilters.dm index a54e66bb02..1badc53379 100644 --- a/code/modules/flufftext/TextFilters.dm +++ b/code/modules/flufftext/TextFilters.dm @@ -18,7 +18,7 @@ //if(2,4,6,15) newletter="[uppertext(newletter)]" if(2,4,6,9) newletter="[uppertext(newletter)]" if(7) newletter+="'" - //if(9,10) newletter="[newletter]" + //if(9,10) newletter=span_bold("[newletter]") //if(11,12) newletter="[newletter]" //if(13) newletter="[newletter]" newphrase+="[newletter]";counter-=1 diff --git a/code/modules/food/drinkingglass/extras.dm b/code/modules/food/drinkingglass/extras.dm index c565b98868..afcd7044a3 100644 --- a/code/modules/food/drinkingglass/extras.dm +++ b/code/modules/food/drinkingglass/extras.dm @@ -7,13 +7,13 @@ extras += GE user.remove_from_mob(GE) GE.loc = src - to_chat(user, "You add \the [GE] to \the [src].") + to_chat(user, span_notice("You add \the [GE] to \the [src].")) update_icon() else - to_chat(user, "There's no space to put \the [GE] on \the [src]!") + to_chat(user, span_warning("There's no space to put \the [GE] on \the [src]!")) else if(istype(I, /obj/item/reagent_containers/food/snacks/fruit_slice)) if(!rim_pos) - to_chat(user, "There's no space to put \the [I] on \the [src]!") + to_chat(user, span_warning("There's no space to put \the [I] on \the [src]!")) return var/obj/item/reagent_containers/food/snacks/fruit_slice/FS = I extras += FS @@ -21,7 +21,7 @@ FS.pixel_x = 0 // Reset its pixel offsets so the icons work! FS.pixel_y = 0 FS.loc = src - to_chat(user, "You add \the [FS] to \the [src].") + to_chat(user, span_notice("You add \the [FS] to \the [src].")) update_icon() else return ..() @@ -31,7 +31,7 @@ return ..() if(!extras.len) - to_chat(user, "There's nothing on the glass to remove!") + to_chat(user, span_warning("There's nothing on the glass to remove!")) return var/choice = tgui_input_list(user, "What would you like to remove from the glass?", "Removal Choice", extras) @@ -39,10 +39,10 @@ return if(user.put_in_active_hand(choice)) - to_chat(user, "You remove \the [choice] from \the [src].") + to_chat(user, span_notice("You remove \the [choice] from \the [src].")) extras -= choice else - to_chat(user, "Something went wrong, please try again.") + to_chat(user, span_warning("Something went wrong, please try again.")) update_icon() @@ -95,13 +95,13 @@ to_chat(user, span_warning("There's not enough of [victim] left to sip on!")) return - user.visible_message("[user] starts sipping on [victim] with [src]!", "You start sipping on [victim] with [src].") + user.visible_message(span_infoplain(span_bold("[user]") + " starts sipping on [victim] with [src]!"), span_info("You start sipping on [victim] with [src].")) if(!do_after(user, 3 SECONDS, victim, exclusive = TASK_ALL_EXCLUSIVE)) return - user.visible_message("[user] sips some of [victim] with [src]!", "You take a sip of [victim] with [src]. Yum!") + user.visible_message(span_infoplain(span_bold("[user]") + " sips some of [victim] with [src]!"), span_info("You take a sip of [victim] with [src]. Yum!")) if(victim.vore_taste) - to_chat(user, "[victim] tastes like... [victim.vore_taste]!") + to_chat(user, span_infoplain(span_bold("[victim]") + " tastes like... [victim.vore_taste]!")) victim.apply_damage(5, used_weapon = "straw") diff --git a/code/modules/food/food/snacks.dm b/code/modules/food/food/snacks.dm index 1ca321d2cc..205adff1d4 100644 --- a/code/modules/food/food/snacks.dm +++ b/code/modules/food/food/snacks.dm @@ -370,7 +370,7 @@ user.balloon_alert_visible("Crudely slices \the [src]", "Crudely sliced \the [src]") // CHOMPEdit slices_lost = rand(1,min(1,round(slices_num/2))) else - user.visible_message(span_notice("\The [user] slices \the [src]!"), span_notice("You slice \the [src]!")) + user.visible_message(span_notice(span_bold("\The [user]") + " slices \the [src]!"), span_notice("You slice \the [src]!")) user.balloon_alert_visible("Slices \the [src]", "Sliced \the [src]!") // CHOMPEdit // CHOMPEdit End - A long list of to_chat to balloon_alert var/reagents_per_slice = reagents.total_volume/slices_num @@ -443,7 +443,7 @@ /obj/item/reagent_containers/food/snacks/attack_generic(var/mob/living/user) if(!isanimal(user) && !isalien(user)) return - user.visible_message("[user] nibbles away at \the [src].","You nibble away at \the [src].") + user.visible_message(span_infoplain(span_bold("[user]") + " nibbles away at \the [src]."),span_info("You nibble away at \the [src].")) user.balloon_alert_visible("Nibbles away at \the [src].","Nibbled away at \the [src].") // CHOMPEdit bitecount++ if(reagents) @@ -1985,7 +1985,7 @@ Unwrap(user) /obj/item/reagent_containers/food/snacks/monkeycube/proc/Expand() - src.visible_message("\The [src] expands!") + src.visible_message(span_infoplain(span_bold("\The [src]") + " expands!")) var/mob/living/carbon/human/H = new(get_turf(src)) H.set_species(monkey_type) H.real_name = H.species.get_random_name() diff --git a/code/modules/food/food/snacks_vr.dm b/code/modules/food/food/snacks_vr.dm index 5519a1b865..789d83c304 100644 --- a/code/modules/food/food/snacks_vr.dm +++ b/code/modules/food/food/snacks_vr.dm @@ -468,7 +468,7 @@ . = ..() /obj/item/reagent_containers/food/snacks/cube/proc/Expand() - src.visible_message("\The [src] expands!") + src.visible_message(span_infoplain(span_bold("\The [src]") + " expands!")) new food_type(get_turf(src)) qdel(src) diff --git a/code/modules/food/food/superfoods.dm b/code/modules/food/food/superfoods.dm index c211fa0514..b07630cc56 100644 --- a/code/modules/food/food/superfoods.dm +++ b/code/modules/food/food/superfoods.dm @@ -300,11 +300,11 @@ /obj/structure/theonepizza/attackby(var/obj/item/W, var/mob/living/user) if(istype(W,/obj/item/material/knife)) - user.visible_message("\The [user] starts to slowly cut through The One Pizza.", span_notice("You start to slowly cut through The One Pizza.")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " starts to slowly cut through The One Pizza."), span_notice("You start to slowly cut through The One Pizza.")) if(do_after(user, slicetime, exclusive = TASK_USER_EXCLUSIVE)) if(!src) return // We got disappeared already - user.visible_message("\The [user] successfully cuts The One Pizza.", span_notice("You successfully cut The One Pizza.")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " successfully cuts The One Pizza."), span_notice("You successfully cut The One Pizza.")) for(var/slicetype in slicelist) new slicetype(src.loc) qdel(src) diff --git a/code/modules/food/kitchen/cooking_machines/_appliance.dm b/code/modules/food/kitchen/cooking_machines/_appliance.dm index f4e0474df3..24c1b010d1 100644 --- a/code/modules/food/kitchen/cooking_machines/_appliance.dm +++ b/code/modules/food/kitchen/cooking_machines/_appliance.dm @@ -116,11 +116,11 @@ if (progress < 0.75) return span_notice("It's cooking away nicely.") if (progress < 1) - return span_notice("It's almost ready!") + return span_boldnotice("It's almost ready!") var/half_overcook = (CI.overcook_mult - 1)*0.5 if (progress < 1+half_overcook) - return span_soghun("It is done !") + return span_soghun(span_bold("It is done!")) if (progress < CI.overcook_mult) return span_warning("It looks overcooked, get it out!") else @@ -317,7 +317,7 @@ CI = new /datum/cooking_item/(CC) I.forceMove(src) cooking_objs.Add(CI) - user.visible_message("\The [user] puts \the [I] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " puts \the [I] into \the [src].")) if (CC.check_contents() == 0)//If we're just putting an empty container in, then dont start any processing. return TRUE else @@ -331,7 +331,7 @@ CI.combine_target = selected_option // We can actually start cooking now. - user.visible_message("\The [user] puts \the [I] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " puts \the [I] into \the [src].")) get_cooking_work(CI) cooking = TRUE @@ -432,7 +432,7 @@ /obj/machinery/appliance/proc/finish_cooking(var/datum/cooking_item/CI) - src.visible_message("\The [src] pings!") + src.visible_message(span_infoplain(span_bold("\The [src]") + " pings!")) if(cooked_sound) playsound(get_turf(src), cooked_sound, 50, 1) //Check recipes first, a valid recipe overrides other options @@ -668,7 +668,7 @@ if(user) user.visible_message(span_notice("\The [user] remove \the [thing] from \the [src].")) else - src.visible_message("\The [src] pings as it automatically ejects its contents!") + src.visible_message(span_infoplain(span_bold("\The [src]") + " pings as it automatically ejects its contents!")) if(cooked_sound) playsound(get_turf(src), cooked_sound, 50, 1) @@ -812,4 +812,4 @@ return food_safety = !food_safety - to_chat(usr, "You flip \the [src]'s safe mode switch. Safe mode is now [food_safety ? "on" : "off"].") + to_chat(usr, span_notice("You flip \the [src]'s safe mode switch. Safe mode is now [food_safety ? "on" : "off"].")) diff --git a/code/modules/food/kitchen/cooking_machines/oven.dm b/code/modules/food/kitchen/cooking_machines/oven.dm index 545aa23caf..9707c47498 100644 --- a/code/modules/food/kitchen/cooking_machines/oven.dm +++ b/code/modules/food/kitchen/cooking_machines/oven.dm @@ -148,7 +148,7 @@ /obj/machinery/appliance/cooker/oven/finish_cooking(var/datum/cooking_item/CI) if(CI.combine_target) CI.result_type = 3//Combination type. We're making something out of our ingredients - visible_message("\The [src] pings!") + visible_message(span_infoplain(span_bold("\The [src]") + " pings!")) combination_cook(CI) return else diff --git a/code/modules/food/kitchen/icecream.dm b/code/modules/food/kitchen/icecream.dm index d4cea458d8..6000d92372 100644 --- a/code/modules/food/kitchen/icecream.dm +++ b/code/modules/food/kitchen/icecream.dm @@ -67,17 +67,17 @@ /obj/machinery/icecream_vat/interact(mob/user as mob) var/dat - dat += "ICECREAM
    " - dat += "Dispensing: [flavour_name] icecream

    " - dat += "Vanilla icecream: Select Make x5 [product_types[ICECREAM_VANILLA]] scoops left. (Ingredients: milk, ice)
    " - dat += "Strawberry icecream: Select Make x5 [product_types[ICECREAM_STRAWBERRY]] dollops left. (Ingredients: milk, ice, berry juice)
    " - dat += "Chocolate icecream: Select Make x5 [product_types[ICECREAM_CHOCOLATE]] dollops left. (Ingredients: milk, ice, coco powder)
    " - dat += "Blue icecream: Select Make x5 [product_types[ICECREAM_BLUE]] dollops left. (Ingredients: milk, ice, singulo)
    " - dat += "
    CONES
    " - dat += "Waffle cones: Dispense Make x5 [product_types[CONE_WAFFLE]] cones left. (Ingredients: flour, sugar)
    " - dat += "Chocolate cones: Dispense Make x5 [product_types[CONE_CHOC]] cones left. (Ingredients: flour, sugar, coco powder)
    " + dat += span_bold("ICECREAM") + "
    " + dat += span_bold("Dispensing: [flavour_name] icecream ") + "

    " + dat += span_bold("Vanilla icecream:") + " " + span_bold("Select") + " " + span_bold("Make") + " " + span_bold("x5") + " [product_types[ICECREAM_VANILLA]] scoops left. (Ingredients: milk, ice)
    " + dat += span_bold("Strawberry icecream:") + " " + span_bold("Select") + " " + span_bold("Make") + " " + span_bold("x5") + " [product_types[ICECREAM_STRAWBERRY]] dollops left. (Ingredients: milk, ice, berry juice)
    " + dat += span_bold("Chocolate icecream:") + " " + span_bold("Select") + " " + span_bold("Make") + " " + span_bold("x5") + " [product_types[ICECREAM_CHOCOLATE]] dollops left. (Ingredients: milk, ice, coco powder)
    " + dat += span_bold("Blue icecream:") + " " + span_bold("Select") + " " + span_bold("Make") + " " + span_bold("x5") + " [product_types[ICECREAM_BLUE]] dollops left. (Ingredients: milk, ice, singulo)
    " + dat += "
    " + span_bold("CONES") + "
    " + dat += span_bold("Waffle cones:") + " " + span_bold("Dispense") + " " + span_bold("Make") + " " + span_bold("x5") + " [product_types[CONE_WAFFLE]] cones left. (Ingredients: flour, sugar)
    " + dat += span_bold("Chocolate cones:") + " " + span_bold("Dispense") + " " + span_bold("Make") + " " + span_bold("x5") + " [product_types[CONE_CHOC]] cones left. (Ingredients: flour, sugar, coco powder)
    " dat += "
    " - dat += "VAT CONTENT
    " + dat += span_bold("VAT CONTENT") + "
    " for(var/datum/reagent/R in reagents.reagent_list) dat += "[R.name]: [R.volume]" dat += "Purge
    " @@ -98,7 +98,7 @@ var/obj/item/reagent_containers/food/snacks/icecream/I = O if(!I.ice_creamed) if(product_types[dispense_flavour] > 0) - src.visible_message("[icon2html(src,viewers(src))] [user] scoops delicious [flavour_name] icecream into [I].") + src.visible_message("[icon2html(src,viewers(src))] " + span_info("[user] scoops delicious [flavour_name] icecream into [I].")) product_types[dispense_flavour] -= 1 I.add_ice_cream(flavour_name) // if(beaker) diff --git a/code/modules/food/kitchen/microwave.dm b/code/modules/food/kitchen/microwave.dm index d163b2e8e4..db72739c0c 100644 --- a/code/modules/food/kitchen/microwave.dm +++ b/code/modules/food/kitchen/microwave.dm @@ -79,24 +79,24 @@ if(src.broken > 0) if(src.broken == 2 && O.has_tool_quality(TOOL_SCREWDRIVER)) // If it's broken and they're using a screwdriver user.visible_message( \ - "\The [user] starts to fix part of the microwave.", \ + span_infoplain(span_bold("\The [user]") + " starts to fix part of the microwave."), \ span_notice("You start to fix part of the microwave.") \ ) playsound(src, O.usesound, 50, 1) if (do_after(user,20 * O.toolspeed)) user.visible_message( \ - "\The [user] fixes part of the microwave.", \ + span_infoplain(span_bold("\The [user]") + " fixes part of the microwave."), \ span_notice("You have fixed part of the microwave.") \ ) src.broken = 1 // Fix it a bit else if(src.broken == 1 && O.has_tool_quality(TOOL_WRENCH)) // If it's broken and they're doing the wrench user.visible_message( \ - "\The [user] starts to fix part of the microwave.", \ + span_infoplain(span_bold("\The [user]") + " starts to fix part of the microwave."), \ span_notice("You start to fix part of the microwave.") \ ) if (do_after(user,20 * O.toolspeed)) user.visible_message( \ - "\The [user] fixes the microwave.", \ + span_infoplain(span_bold("\The [user]") + " fixes the microwave."), \ span_notice("You have fixed the microwave.") \ ) src.icon_state = "mw" @@ -110,7 +110,7 @@ else if(src.dirty==100) // The microwave is all dirty so can't be used! if(istype(O, /obj/item/reagent_containers/spray/cleaner) || istype(O, /obj/item/soap)) // If they're trying to clean it then let them user.visible_message( \ - "\The [user] starts to clean the microwave.", \ + span_infoplain(span_bold("\The [user]") + " starts to clean the microwave."), \ span_notice("You start to clean the microwave.") \ ) if (do_after(user,20)) @@ -357,23 +357,25 @@ for (var/O in items_counts) var/N = items_counts[O] if (!(O in items_measures)) - dat += {"[capitalize(O)]: [N] [lowertext(O)]\s
    "} + dat += {span_bold("[capitalize(O)]:") + " [N] [lowertext(O)]\s
    "} else if (N==1) - dat += {"[capitalize(O)]: [N] [items_measures[O]]
    "} + dat +={span_bold("[capitalize(O)]:") + " [N] [items_measures[O]]
    " else - dat += {"[capitalize(O)]: [N] [items_measures_p[O]]
    "} + dat += span_bold("[capitalize(O)]:") + " [N] [items_measures_p[O]]
    " + for (var/datum/reagent/R in reagents.reagent_list) var/display_name = R.name if (R.id == "capsaicin") display_name = "Hotsauce" if (R.id == "frostoil") display_name = "Coldsauce" - dat += {"[display_name]: [R.volume] unit\s
    "} + dat += span_bold("[display_name]:") + " [R.volume] unit\s
    " + if (items_counts.len==0 && reagents.reagent_list.len==0) - dat = {"The microwave is empty
    "} + dat = span_bold("The microwave is empty") + "
    " else - dat = {"Ingredients:
    [dat]"} + dat = span_bold("Ingredients:") + "
    [dat]" dat += {"

    \ Turn on!
    \
    Eject ingredients!
    \ diff --git a/code/modules/gamemaster/event2/events/everyone/comms_blackout.dm b/code/modules/gamemaster/event2/events/everyone/comms_blackout.dm index 2a11e1172d..48d71fe4e6 100644 --- a/code/modules/gamemaster/event2/events/everyone/comms_blackout.dm +++ b/code/modules/gamemaster/event2/events/everyone/comms_blackout.dm @@ -22,9 +22,9 @@ command_announcement.Announce(alert, new_sound = 'sound/misc/interference.ogg') // AIs will always know if there's a comm blackout, rogue AIs could then lie about comm blackouts in the future while they shutdown comms for(var/mob/living/silicon/ai/A in player_list) - to_chat(A, "
    ") - to_chat(A, span_warning("[alert]")) - to_chat(A, "
    ") + to_chat(A, span_boldwarning("
    ")) + to_chat(A, span_boldwarning("[alert]")) + to_chat(A, span_boldwarning("
    ")) /datum/event2/event/comms_blackout/start() if(prob(50)) diff --git a/code/modules/gamemaster/event2/events/everyone/pda_spam.dm b/code/modules/gamemaster/event2/events/everyone/pda_spam.dm index 8079793f77..06be920f9f 100644 --- a/code/modules/gamemaster/event2/events/everyone/pda_spam.dm +++ b/code/modules/gamemaster/event2/events/everyone/pda_spam.dm @@ -132,7 +132,7 @@ /datum/event2/event/pda_spam/proc/send_spam(obj/item/pda/P, sender, message) last_spam_time = world.time var/datum/data/pda/app/messenger/PM = P.find_program(/datum/data/pda/app/messenger) - PM.notify("Message from [sender] (Unknown / spam?), \"[message]\" (Unable to Reply)", 0) + PM.notify(span_bold("Message from [sender] (Unknown / spam?), ") + "\"[message]\" (Unable to Reply)", 0) if(spam_debug) log_debug("PDA Spam event sent spam to \the [P].") diff --git a/code/modules/games/cards.dm b/code/modules/games/cards.dm index 2b82332598..6c9cda83d8 100644 --- a/code/modules/games/cards.dm +++ b/code/modules/games/cards.dm @@ -59,7 +59,7 @@ for(var/datum/playingcard/P in H.cards) cards += P qdel(H) - to_chat(user,"You place your cards on the bottom of \the [src].") + to_chat(user,span_notice("You place your cards on the bottom of \the [src].")) return else to_chat(user,span_warning("You can't mix cards from other decks!")) @@ -111,7 +111,7 @@ cards -= P H.parentdeck = src H.update_icon() - user.visible_message("\The [user] draws a card.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " draws a card.")) to_chat(user,span_notice("It's the [P].")) /obj/item/deck/verb/deal_card() @@ -176,9 +176,9 @@ H.update_icon() if(user==target) var/datum/gender/TU = gender_datums[user.get_visible_gender()] - user.visible_message("\The [user] deals [dcard] card(s) to [TU.himself].") + user.visible_message(span_notice("\The [user] deals [dcard] card(s) to [TU.himself].")) else - user.visible_message("\The [user] deals [dcard] card(s) to \the [target].") + user.visible_message(span_notice("\The [user] deals [dcard] card(s) to \the [target].")) H.throw_at(get_step(target,target.dir),10,1,H) @@ -186,7 +186,7 @@ if(cards.len == 1 && istype(O, /obj/item/pen)) var/datum/playingcard/P = cards[1] if(P.name != "Blank Card") - to_chat(user,"You cannot write on that card.") + to_chat(user,span_notice("You cannot write on that card.")) return var/cardtext = sanitize(tgui_input_text(user, "What do you wish to write on the card?", "Card Editing", null, MAX_PAPER_MESSAGE_LEN), MAX_PAPER_MESSAGE_LEN) if(!cardtext) @@ -206,7 +206,7 @@ H.update_icon() return else - to_chat(user,"You cannot mix cards from other decks!") + to_chat(user,span_notice("You cannot mix cards from other decks!")) return ..() @@ -231,7 +231,7 @@ newcards += P cards -= P cards = newcards - user.visible_message("\The [user] shuffles [src].") + user.visible_message(span_notice("\The [user] shuffles [src].")) playsound(src, 'sound/items/cardshuffle.ogg', 50, 1) cooldown = world.time else @@ -288,7 +288,7 @@ /obj/item/pack/attack_self(var/mob/user as mob) - user.visible_message("[user] rips open \the [src]!") + user.visible_message(span_danger("[user] rips open \the [src]!")) var/obj/item/hand/H = new() H.cards += cards @@ -342,7 +342,7 @@ H.parentdeck = src.parentdeck H.update_icon() src.update_icon() - usr.visible_message("\The [usr] plays \the [discarding].") + usr.visible_message(span_notice("\The [usr] plays \the [discarding].")) H.loc = get_turf(usr) H.Move(get_step(usr,usr.dir)) @@ -352,7 +352,7 @@ /obj/item/hand/attack_self(var/mob/user as mob) concealed = !concealed update_icon() - user.visible_message("\The [user] [concealed ? "conceals" : "reveals"] their hand.") + user.visible_message(span_notice("\The [user] [concealed ? "conceals" : "reveals"] their hand.")) /obj/item/hand/examine(mob/user) . = ..() diff --git a/code/modules/ghosttrap/trap.dm b/code/modules/ghosttrap/trap.dm index 71697ac5f6..f587fcc679 100644 --- a/code/modules/ghosttrap/trap.dm +++ b/code/modules/ghosttrap/trap.dm @@ -26,12 +26,12 @@ var/list/ghost_traps if(!istype(candidate) || !candidate.client || !candidate.ckey) return 0 if(!candidate.MayRespawn()) - to_chat(candidate, "You have made use of the AntagHUD and hence cannot enter play as \a [object].") + to_chat(candidate, span_infoplain("You have made use of the AntagHUD and hence cannot enter play as \a [object].")) return 0 if(islist(ban_checks)) for(var/bantype in ban_checks) if(jobban_isbanned(candidate, "[bantype]")) - to_chat(candidate, "You are banned from one or more required roles and hence cannot enter play as \a [object].") + to_chat(candidate, span_infoplain("You are banned from one or more required roles and hence cannot enter play as \a [object].")) return 0 return 1 @@ -78,12 +78,12 @@ var/list/ghost_traps // Fluff! /datum/ghosttrap/proc/welcome_candidate(var/mob/target) - to_chat(target, "You are a positronic brain, brought into existence on [station_name()].") - to_chat(target, "As a synthetic intelligence, you answer to all crewmembers, as well as the AI.") - to_chat(target, "Remember, the purpose of your existence is to serve the crew and the station. Above all else, do no harm.") - to_chat(target, "Use say #b to speak to other artificial intelligences.") + to_chat(target, span_infoplain(span_bold("You are a positronic brain, brought into existence on [station_name()]."))) + to_chat(target, span_infoplain(span_bold("As a synthetic intelligence, you answer to all crewmembers, as well as the AI."))) + to_chat(target, span_infoplain(span_bold("Remember, the purpose of your existence is to serve the crew and the station. Above all else, do no harm."))) + to_chat(target, span_infoplain(span_bold("Use say #b to speak to other artificial intelligences."))) var/turf/T = get_turf(target) - T.visible_message("\The [src] chimes quietly.") + T.visible_message(span_infoplain(span_bold("\The [src]") + " chimes quietly.")) var/obj/item/mmi/digital/posibrain/P = target.loc if(!istype(P)) //wat return @@ -107,8 +107,8 @@ var/list/ghost_traps ghost_trap_role = "Plant" /datum/ghosttrap/plant/welcome_candidate(var/mob/target) - to_chat(target, span_alium("You awaken slowly, stirring into sluggish motion as the air caresses you.")) + to_chat(target, span_infoplain(span_alium(span_bold("You awaken slowly, stirring into sluggish motion as the air caresses you.")))) // This is a hack, replace with some kind of species blurb proc. if(istype(target,/mob/living/carbon/alien/diona)) - to_chat(target, "You are \a [target], one of a race of drifting interstellar plantlike creatures that sometimes share their seeds with human traders.") - to_chat(target, "Too much darkness will send you into shock and starve you, but light will help you heal.") + to_chat(target, span_infoplain(span_bold("You are \a [target], one of a race of drifting interstellar plantlike creatures that sometimes share their seeds with human traders."))) + to_chat(target, span_infoplain(span_bold("Too much darkness will send you into shock and starve you, but light will help you heal."))) diff --git a/code/modules/holodeck/HolodeckControl.dm b/code/modules/holodeck/HolodeckControl.dm index 575fe33e5d..65d20ee969 100644 --- a/code/modules/holodeck/HolodeckControl.dm +++ b/code/modules/holodeck/HolodeckControl.dm @@ -292,7 +292,7 @@ if(world.time < (last_change + 15))//To prevent super-spam clicking, reduced process size and annoyance -Sieve return 0 for(var/mob/M in range(3,src)) - M.show_message("ERROR. Recalibrating projection apparatus.") + M.show_message(span_warningplain(span_bold("ERROR. Recalibrating projection apparatus."))) last_change = world.time return 0 @@ -363,7 +363,7 @@ if(world.time < (last_gravity_change + 15))//To prevent super-spam clicking return for(var/mob/M in range(3,src)) - M.show_message("ERROR. Recalibrating gravity field.") + M.show_message(span_warningplain(span_bold("ERROR. Recalibrating gravity field."))) last_change = world.time return diff --git a/code/modules/holodeck/HolodeckObjects.dm b/code/modules/holodeck/HolodeckObjects.dm index 282992d7b2..a9b195e789 100644 --- a/code/modules/holodeck/HolodeckObjects.dm +++ b/code/modules/holodeck/HolodeckObjects.dm @@ -154,7 +154,7 @@ var/damage = rand(0, 9) if(!damage) playsound(target, 'sound/weapons/punchmiss.ogg', 25, 1, -1) - target.visible_message(span_red("[user] has attempted to punch [target]!")) + target.visible_message(span_danger("[user] has attempted to punch [target]!")) return TRUE var/obj/item/organ/external/affecting = target.get_organ(ran_zone(user.zone_sel.selecting)) var/armor_block = target.run_armor_check(affecting, "melee") @@ -165,14 +165,14 @@ playsound(target, "punch", 25, 1, -1) - target.visible_message(span_red("[user] has punched [target]!")) + target.visible_message(span_bolddanger("[user] has punched [target]!")) if(armor_soak >= damage) return TRUE target.apply_damage(damage, HALLOSS, affecting, armor_block, armor_soak) if(damage >= 9) - target.visible_message(span_red("[user] has weakened [target]!")) + target.visible_message(span_bolddanger("[user] has weakened [target]!")) target.apply_effect(4, WEAKEN, armor_block) return TRUE @@ -239,7 +239,7 @@ if(src.density && istype(I, /obj/item) && !istype(I, /obj/item/card)) var/aforce = I.force playsound(src, 'sound/effects/Glasshit.ogg', 75, 1) - visible_message(span_red("[src] was hit by [I].")) + visible_message(span_bolddanger("[src] was hit by [I].")) if(I.damtype == BRUTE || I.damtype == BURN) take_damage(aforce) return @@ -522,5 +522,5 @@ derez() /mob/living/simple_mob/animal/space/carp/holodeck/proc/derez() - visible_message("\The [src] fades away!") + visible_message(span_infoplain(span_bold("\The [src]") + " fades away!")) qdel(src) diff --git a/code/modules/hydroponics/backtank.dm b/code/modules/hydroponics/backtank.dm index 2326f5e2e2..ff203ec399 100644 --- a/code/modules/hydroponics/backtank.dm +++ b/code/modules/hydroponics/backtank.dm @@ -153,7 +153,7 @@ /obj/item/reagent_containers/spray/mister/doMove(atom/destination) if(destination && (destination != tank.loc || !ismob(destination))) if (loc != tank) - to_chat(tank.loc, "The mister snaps back onto the watertank.") + to_chat(tank.loc, span_notice("The mister snaps back onto the watertank.")) destination = tank ..() diff --git a/code/modules/hydroponics/seed.dm b/code/modules/hydroponics/seed.dm index 94d95cae14..9a0e6f0829 100644 --- a/code/modules/hydroponics/seed.dm +++ b/code/modules/hydroponics/seed.dm @@ -576,7 +576,7 @@ if(!degree || get_trait(TRAIT_IMMUTABLE) > 0) return - source_turf.visible_message("\The [display_name] quivers!") + source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " quivers!")) //This looks like shit, but it's a lot easier to read/change this way. var/total_mutations = rand(1,1+degree) @@ -613,7 +613,7 @@ if(prob(degree*5)) set_trait(TRAIT_CARNIVOROUS, get_trait(TRAIT_CARNIVOROUS)+rand(-degree,degree),2, 0) if(get_trait(TRAIT_CARNIVOROUS)) - source_turf.visible_message("\The [display_name] shudders hungrily.") + source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " shudders hungrily.")) if(6) set_trait(TRAIT_WEED_TOLERANCE, get_trait(TRAIT_WEED_TOLERANCE)+(rand(-2,2)*degree),10, 0) if(prob(degree*5)) @@ -634,7 +634,7 @@ set_trait(TRAIT_POTENCY, get_trait(TRAIT_POTENCY)+(rand(-20,20)*degree),200, 0) if(prob(degree*5)) set_trait(TRAIT_SPREAD, get_trait(TRAIT_SPREAD)+rand(-1,1),2, 0) - source_turf.visible_message("\The [display_name] spasms visibly, shifting in the tray.") + source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " spasms visibly, shifting in the tray.")) if(prob(degree*3)) set_trait(TRAIT_SPORING, !get_trait(TRAIT_SPORING)) if(9) @@ -652,10 +652,10 @@ if(prob(degree*2)) set_trait(TRAIT_BIOLUM, !get_trait(TRAIT_BIOLUM)) if(get_trait(TRAIT_BIOLUM)) - source_turf.visible_message("\The [display_name] begins to glow!") + source_turf.visible_message(span_infoplain(span_bold("\The [display_name]") + " begins to glow!")) if(prob(degree*2)) set_trait(TRAIT_BIOLUM_COLOUR,get_random_colour(0,75,190)) - source_turf.visible_message("\The [display_name]'s glow changes colour!") + source_turf.visible_message(span_notice("\The [display_name]'s glow") + " changes colour!") else source_turf.visible_message(span_notice("\The [display_name]'s glow dims...")) if(11) diff --git a/code/modules/hydroponics/seed_gene_mut.dm b/code/modules/hydroponics/seed_gene_mut.dm index ac23bfa8d4..54e513c233 100644 --- a/code/modules/hydroponics/seed_gene_mut.dm +++ b/code/modules/hydroponics/seed_gene_mut.dm @@ -4,7 +4,7 @@ return src var/datum/seed/S = diverge() //Let's not modify all of the seeds. - T.visible_message("\The [S.display_name] quivers!") //Mimicks the normal mutation. + T.visible_message(span_infoplain(span_bold("\The [S.display_name]") + " quivers!")) //Mimicks the normal mutation. G.mutate(S, T) return S @@ -97,7 +97,7 @@ T.visible_message(span_notice("\The [S.display_name] begins to glow!")) if(prob(50)) S.set_trait(TRAIT_BIOLUM_COLOUR,get_random_colour(0,75,190)) - T.visible_message("\The [S.display_name]'s glow changes colour!") + T.visible_message(span_notice("\The [S.display_name]'s glow") + " changes colour!") else T.visible_message(span_notice("\The [S.display_name]'s glow dims...")) if(prob(60)) @@ -126,7 +126,7 @@ S.set_trait(TRAIT_MATURATION, S.get_trait(TRAIT_MATURATION)+rand(-1,1),30,0) if(prob(55)) S.set_trait(TRAIT_SPREAD, S.get_trait(TRAIT_SPREAD)+rand(-1,1),2,0) - T.visible_message("\The [S.display_name] spasms visibly, shifting in the tray.") + T.visible_message(span_infoplain(span_bold("\The [S.display_name]") + " spasms visibly, shifting in the tray.")) /decl/plantgene/fruit/mutate(var/datum/seed/S) if(prob(65)) diff --git a/code/modules/hydroponics/seed_storage.dm b/code/modules/hydroponics/seed_storage.dm index 3bbd59a7d1..ca6728c6b9 100644 --- a/code/modules/hydroponics/seed_storage.dm +++ b/code/modules/hydroponics/seed_storage.dm @@ -389,7 +389,7 @@ /obj/machinery/seed_storage/attackby(var/obj/item/O as obj, var/mob/user as mob) if (istype(O, /obj/item/seeds) && !lockdown) add(O) - user.visible_message("[user] puts \the [O.name] into \the [src].", "You put \the [O] into \the [src].") + user.visible_message(span_filter_notice("[user] puts \the [O.name] into \the [src]."), span_filter_notice("You put \the [O] into \the [src].")) return else if (istype(O, /obj/item/storage/bag/plants) && !lockdown) var/obj/item/storage/P = O @@ -398,17 +398,17 @@ ++loaded add(G) if (loaded) - user.visible_message("[user] puts the seeds from \the [O.name] into \the [src].", "You put the seeds from \the [O.name] into \the [src].") + user.visible_message(span_filter_notice("[user] puts the seeds from \the [O.name] into \the [src]."), span_filter_notice("You put the seeds from \the [O.name] into \the [src].")) else to_chat(user, span_notice("There are no seeds in \the [O.name].")) return else if(O.has_tool_quality(TOOL_WRENCH)) playsound(src, O.usesound, 50, 1) anchored = !anchored - to_chat(user, "You [anchored ? "wrench" : "unwrench"] \the [src].") + to_chat(user, span_filter_notice("You [anchored ? "wrench" : "unwrench"] \the [src].")) else if(O.has_tool_quality(TOOL_SCREWDRIVER)) panel_open = !panel_open - to_chat(user, "You [panel_open ? "open" : "close"] the maintenance panel.") + to_chat(user, span_filter_notice("You [panel_open ? "open" : "close"] the maintenance panel.")) playsound(src, O.usesound, 50, 1) cut_overlays() if(panel_open) diff --git a/code/modules/hydroponics/spreading/spreading_response.dm b/code/modules/hydroponics/spreading/spreading_response.dm index f20ac3c48f..5c7b6ec96f 100644 --- a/code/modules/hydroponics/spreading/spreading_response.dm +++ b/code/modules/hydroponics/spreading/spreading_response.dm @@ -77,12 +77,12 @@ for(var/mob/living/L as anything in buckled_mobs) if(!(user in buckled_mobs)) L.visible_message(\ - "\The [user] frees \the [L] from \the [src].",\ - "\The [user] frees you from \the [src].",\ + span_infoplain(span_bold("\The [user]") + " frees \the [L] from \the [src]."),\ + span_infoplain(span_bold("\The [user]") + " frees you from \the [src]."),\ span_warning("You hear shredding and ripping.")) else L.visible_message(\ - "\The [L] struggles free of \the [src].",\ + span_infoplain(span_bold("\The [L]") + " struggles free of \the [src]."),\ span_notice("You untangle \the [src] from around yourself."),\ span_warning("You hear shredding and ripping.")) unbuckle() diff --git a/code/modules/hydroponics/trays/tray.dm b/code/modules/hydroponics/trays/tray.dm index 86686afb58..74b2aa3c4c 100644 --- a/code/modules/hydroponics/trays/tray.dm +++ b/code/modules/hydroponics/trays/tray.dm @@ -175,13 +175,13 @@ if(weedlevel > 0) nymph.reagents.add_reagent("glucose", weedlevel) weedlevel = 0 - nymph.visible_message(span_notice("[nymph] begins rooting through [src], ripping out weeds and eating them noisily."),span_notice("You begin rooting through [src], ripping out weeds and eating them noisily.")) + nymph.visible_message(span_notice(span_bold("[nymph]") + " begins rooting through [src], ripping out weeds and eating them noisily."),span_notice("You begin rooting through [src], ripping out weeds and eating them noisily.")) else if(nymph.nutrition > 100 && nutrilevel < 10) nymph.nutrition -= ((10-nutrilevel)*5) nutrilevel = 10 - nymph.visible_message(span_notice("[nymph] secretes a trickle of green liquid, refilling [src]."),span_notice("You secrete a trickle of green liquid, refilling [src].")) + nymph.visible_message(span_notice(span_bold("[nymph]") + " secretes a trickle of green liquid, refilling [src]."),span_notice("You secrete a trickle of green liquid, refilling [src].")) else - nymph.visible_message(span_notice("[nymph] rolls around in [src] for a bit."),span_notice("You roll around in [src] for a bit.")) + nymph.visible_message(span_notice(span_bold("[nymph]") + " rolls around in [src] for a bit."),span_notice("You roll around in [src] for a bit.")) return /obj/machinery/portable_atmospherics/hydroponics/Initialize() @@ -498,7 +498,7 @@ weedlevel = 0 update_icon() - visible_message(span_danger("The [previous_plant] has suddenly mutated into [seed.display_name]!")) + visible_message(span_danger("The " + span_notice("[previous_plant]") + " has suddenly mutated into " + span_notice("[seed.display_name]") + "!")) return @@ -666,13 +666,13 @@ if(seed) if(weedlevel >= 5) - . += "It is infested with weeds!" + . += "It is " + span_danger("infested with weeds") + "!" if(pestlevel >= 5) - . += "It is infested with tiny worms!" + . += "It is " + span_danger("infested with tiny worms") + "!" if(dead) - . += "It has a dead plant!" + . += "It has " + span_danger("a dead plant") + "!" else if(health <= (seed.get_trait(TRAIT_ENDURANCE)/ 2)) - . += "It has an unhealthy plant!" + . += "It has " + span_danger("an unhealthy plant") + "!" if(frozen == 1) . += span_notice("It is cryogenically frozen.") if(mechanical) diff --git a/code/modules/hydroponics/trays/tray_reagents.dm b/code/modules/hydroponics/trays/tray_reagents.dm index 36b326c329..9fb2c686c7 100644 --- a/code/modules/hydroponics/trays/tray_reagents.dm +++ b/code/modules/hydroponics/trays/tray_reagents.dm @@ -20,7 +20,7 @@ /obj/item/plantspray/pests name = "pest-spray" - desc = "It's some pest eliminator spray! Do not inhale!" + desc = "It's some pest eliminator spray! " + span_italics("Do not inhale!") icon_state = "pestspray" pest_kill_str = 6 diff --git a/code/modules/instruments/songs/editor.dm b/code/modules/instruments/songs/editor.dm index 2d422e12bb..9f67412670 100644 --- a/code/modules/instruments/songs/editor.dm +++ b/code/modules/instruments/songs/editor.dm @@ -4,9 +4,9 @@ /datum/song/proc/instrument_status_ui() . = list() . += "
    " - . += "Current instrument: " + . += span_bold("Current instrument:") + " " if(!using_instrument) - . += "No instrument loaded!
    " + . += span_danger("No instrument loaded!") + "
    " else . += "[using_instrument.name]
    " . += "Playback Settings:
    " @@ -23,7 +23,7 @@ modetext = "Exponential Falloff Factor: [sustain_exponential_dropoff]% per decisecond
    " . += "Sustain Mode: [smt]
    " . += modetext - . += using_instrument?.ready()? "Status: Ready
    " : "Status: !Instrument Definition Error!
    " + . += using_instrument?.ready()? ("Status: " + span_green("Ready") + "
    ") : ("Status: " + span_red("!Instrument Definition Error!") + "
    ") . += "Instrument Type: [legacy? "Legacy" : "Synthesized"]
    " . += "Volume: [volume]
    " . += "Volume Dropoff Threshold: [sustain_dropoff_volume]
    " @@ -38,20 +38,20 @@ if(lines.len > 0) dat += "

    Playback

    " if(!playing) - dat += "Play Stop

    " + dat += "Play " + span_linkOn("Stop") + "

    " dat += "Repeat Song: " - dat += repeat > 0 ? "--" : span_linkOff("--") + dat += repeat > 0 ? "--" : (span_linkOff("-") + span_linkOff("-")) dat += " [repeat] times " - dat += repeat < max_repeats ? "++" : span_linkOff("++") + dat += repeat < max_repeats ? "++" : (span_linkOff("+") + span_linkOff("+")) dat += "
    " else - dat += "Play Stop
    " - dat += "Repeats left: [repeat]
    " + dat += span_linkOn("Play") + " Stop
    " + dat += "Repeats left: " + span_bold("[repeat]") + "
    " if(!editing) - dat += "
    Show Editor
    " + dat += "
    " + span_bold("Show Editor") + "
    " else dat += "

    Editing

    " - dat += "Hide Editor" + dat += span_bold("Hide Editor") dat += " Start a New Song" dat += " Import a Song

    " var/bpm = round(600 / tempo) @@ -62,7 +62,7 @@ dat += "Line [linecount]: Edit X [line]
    " dat += "Add Line

    " if(help) - dat += "Hide Help
    " + dat += span_bold("Hide Help") + "
    " dat += {" Lines are a series of chords, separated by commas (,), each with notes separated by hyphens (-).
    Every note in a chord will play together, with chord timed by the tempo.
    @@ -81,7 +81,7 @@ A song may only contain up to [MUSIC_MAXLINES] lines.
    "} else - dat += "Show Help
    " + dat += span_bold("Show Help") + "
    " var/datum/browser/popup = new(user, "instrument", parent?.name || "instrument", 700, 500) popup.set_content(dat.Join("")) diff --git a/code/modules/integrated_electronics/core/assemblies.dm b/code/modules/integrated_electronics/core/assemblies.dm index 2bf148dbf1..085b4891d7 100644 --- a/code/modules/integrated_electronics/core/assemblies.dm +++ b/code/modules/integrated_electronics/core/assemblies.dm @@ -274,7 +274,7 @@ if(S.scan(target)) scanned = TRUE if(scanned) - visible_message("\The [user] waves \the [src] around [target].") + visible_message(span_infoplain(span_bold("\The [user]") + " waves \the [src] around [target].")) /obj/item/electronic_assembly/attackby(var/obj/item/I, var/mob/user) if(can_anchor && I.has_tool_quality(TOOL_WRENCH)) @@ -308,8 +308,8 @@ tgui_interact(user) return TRUE else - to_chat(user, "\The [src] isn't opened, so you can't fiddle with the internal components. \ - Try using a crowbar.") + to_chat(user, span_warning("\The [src] isn't opened, so you can't fiddle with the internal components. \ + Try using a crowbar.")) return FALSE else if(istype(I, /obj/item/integrated_electronics/detailer)) diff --git a/code/modules/integrated_electronics/core/tools.dm b/code/modules/integrated_electronics/core/tools.dm index f3df98402e..1f66cb86fd 100644 --- a/code/modules/integrated_electronics/core/tools.dm +++ b/code/modules/integrated_electronics/core/tools.dm @@ -33,8 +33,8 @@ to_chat(user, span_warning("Wiring \the [selected_io.holder]'s [selected_io.name] into itself is rather pointless.")) return if(io.io_type != selected_io.io_type) - to_chat(user, "Those two types of channels are incompatible. The first is a [selected_io.io_type], \ - while the second is a [io.io_type].") + to_chat(user, span_warning("Those two types of channels are incompatible. The first is a [selected_io.io_type], \ + while the second is a [io.io_type].")) return if(io.holder.assembly && io.holder.assembly != selected_io.holder.assembly) to_chat(user, span_warning("Both \the [io.holder] and \the [selected_io.holder] need to be inside the same assembly.")) @@ -61,21 +61,21 @@ else if(mode == UNWIRING) if(io == selected_io) - to_chat(user, "You can't wire a pin into each other, so unwiring \the [selected_io.holder] from \ - the same pin is rather moot.") + to_chat(user, span_warning("You can't wire a pin into each other, so unwiring \the [selected_io.holder] from \ + the same pin is rather moot.")) return if(selected_io in io.linked) io.linked.Remove(selected_io) selected_io.linked.Remove(io) - to_chat(user, "You disconnect \the [selected_io.holder]'s [selected_io.name] from \ - \the [io.holder]'s [io.name].") + to_chat(user, span_notice("You disconnect \the [selected_io.holder]'s [selected_io.name] from \ + \the [io.holder]'s [io.name].")) selected_io.holder.interact(user) // This is to update the UI. selected_io = null mode = UNWIRE update_icon() else - to_chat(user, "\The [selected_io.holder]'s [selected_io.name] and \the [io.holder]'s \ - [io.name] are not connected.") + to_chat(user, span_warning("\The [selected_io.holder]'s [selected_io.name] and \the [io.holder]'s \ + [io.name] are not connected.")) return return @@ -135,8 +135,8 @@ to_chat(user, span_notice("You set \the [src]'s memory to [new_data].")) if("ref") accepting_refs = 1 - to_chat(user, "You turn \the [src]'s ref scanner on. Slide it across \ - an object for a ref of that object to save it in memory.") + to_chat(user, span_notice("You turn \the [src]'s ref scanner on. Slide it across \ + an object for a ref of that object to save it in memory.")) if("null") data_to_write = null to_chat(user, span_notice("You set \the [src]'s memory to absolutely nothing.")) @@ -145,8 +145,8 @@ if(accepting_refs && proximity) data_to_write = WEAKREF(target) visible_message(span_notice("[user] slides \a [src]'s over \the [target].")) - to_chat(user, "You set \the [src]'s memory to a reference to [target.name] \[Ref\]. The ref scanner is \ - now off.") + to_chat(user, span_notice("You set \the [src]'s memory to a reference to [target.name] \[Ref\]. The ref scanner is \ + now off.")) accepting_refs = 0 /obj/item/integrated_electronics/debugger/proc/write_data(var/datum/integrated_io/io, mob/user) @@ -206,8 +206,8 @@ to_chat(user, span_warning("Wiring \the [selected_io.holder]'s [selected_io.name] into itself is rather pointless.")) return if(io.io_type != selected_io.io_type) - to_chat(user, "Those two types of channels are incompatible. The first is a [selected_io.io_type], \ - while the second is a [io.io_type].") + to_chat(user, span_warning("Those two types of channels are incompatible. The first is a [selected_io.io_type], \ + while the second is a [io.io_type].")) return if(io.holder.assembly && io.holder.assembly != selected_io.holder.assembly) to_chat(user, span_warning("Both \the [io.holder] and \the [selected_io.holder] need to be inside the same assembly.")) @@ -237,8 +237,8 @@ else io1.linked.Remove(io2) io2.linked.Remove(io1) - to_chat(user, "You clip the data connection between the [io1.holder.displayed_name]'s \ - [io1.name] and the [io2.holder.displayed_name]'s [io2.name].") + to_chat(user, span_notice("You clip the data connection between the [io1.holder.displayed_name]'s \ + [io1.name] and the [io2.holder.displayed_name]'s [io2.name].")) io1.holder.interact(user) // This is to update the UI. update_icon() @@ -246,8 +246,8 @@ if(accepting_refs && toolmode == MULTITOOL_MODE_INTCIRCUITS && proximity) weakref_wiring = WEAKREF(target) visible_message(span_notice("[user] slides \a [src]'s over \the [target].")) - to_chat(user, "You set \the [src]'s memory to a reference to [target.name] \[Ref\]. The ref scanner is \ - now off.") + to_chat(user, span_notice("You set \the [src]'s memory to a reference to [target.name] \[Ref\]. The ref scanner is \ + now off.")) accepting_refs = 0 diff --git a/code/modules/integrated_electronics/subtypes/memory.dm b/code/modules/integrated_electronics/subtypes/memory.dm index a6f4b9a1a5..e69a718711 100644 --- a/code/modules/integrated_electronics/subtypes/memory.dm +++ b/code/modules/integrated_electronics/subtypes/memory.dm @@ -109,8 +109,8 @@ to_chat(user, span_notice("You set \the [src]'s memory to [O.display_data(O.data)].")) if("ref") accepting_refs = 1 - to_chat(user, "You turn \the [src]'s ref scanner on. Slide it across \ - an object for a ref of that object to save it in memory.") + to_chat(user, span_notice("You turn \the [src]'s ref scanner on. Slide it across \ + an object for a ref of that object to save it in memory.")) if("null") O.data = null to_chat(user, span_notice("You set \the [src]'s memory to absolutely nothing.")) @@ -120,6 +120,6 @@ var/datum/integrated_io/O = outputs[1] O.data = WEAKREF(target) visible_message(span_notice("[user] slides \a [src]'s over \the [target].")) - to_chat(user, "You set \the [src]'s memory to a reference to [O.display_data(O.data)]. The ref scanner is \ - now off.") + to_chat(user, span_notice("You set \the [src]'s memory to a reference to [O.display_data(O.data)]. The ref scanner is \ + now off.")) accepting_refs = 0 diff --git a/code/modules/library/lib_machines.dm b/code/modules/library/lib_machines.dm index bd1429cf89..1a72636269 100644 --- a/code/modules/library/lib_machines.dm +++ b/code/modules/library/lib_machines.dm @@ -46,9 +46,9 @@ if(1) establish_old_db_connection() if(!SSdbcore.IsConnected()) //CHOMPEdit TGSQL - dat += "ERROR: Unable to contact External Archive. Please contact your system administrator for assistance.
    " + dat += span_red(span_bold("ERROR") + ": Unable to contact External Archive. Please contact your system administrator for assistance.") + "
    " else if(!SQLquery) - dat += "ERROR: Malformed search request. Please contact your system administrator for assistance.
    " + dat += span_red(span_bold("ERROR") + ": Malformed search request. Please contact your system administrator for assistance.") + "
    " else dat += {""} @@ -195,7 +195,7 @@ new /obj/item/book/tome(src.loc) var/datum/gender/T = gender_datums[user.get_visible_gender()] to_chat(user, span_warning("Your sanity barely endures the seconds spent in the vault's browsing window. The only thing to remind you of this when you stop browsing is a dusty old tome sitting on the desk. You don't really remember printing it.")) - user.visible_message("\The [user] stares at the blank screen for a few moments, [T.his] expression frozen in fear. When [T.he] finally awakens from it, [T.he] looks a lot older.", 2) + user.visible_message(span_infoplain(span_bold("\The [user]") + " stares at the blank screen for a few moments, [T.his] expression frozen in fear. When [T.he] finally awakens from it, [T.he] looks a lot older."), 2) src.arcanecheckout = 0 if(1) // Inventory @@ -215,7 +215,7 @@ //timedue *= 10 timedue /= 600 if(timedue <= 0) - timedue = "(OVERDUE) [timedue]" + timedue = span_red(span_bold("(OVERDUE)") + " [timedue]") else timedue = round(timedue) dat += {"\"[b.bookname]\", Checked out to: [b.mobname]
    --- Taken: [timetaken] minutes ago, Due: in [timedue] minutes
    @@ -236,7 +236,7 @@ if(4) dat += "

    Internal Archive

    " if(!all_books || !all_books.len) - dat += "ERROR Something has gone seriously wrong. Contact System Administrator for more information." + dat += span_red(span_bold("ERROR") + " Something has gone seriously wrong. Contact System Administrator for more information.") else dat += {"
    AUTHORTITLECATEGORYSS13BN
    TITLE(Return to main menu)
    " if(5) //dat += "

    ERROR

    " //VOREStation Removal - //dat+= "Library Database is in Secure Management Mode.
    \ //VOREStation Removal + //dat+= span_red("Library Database is in Secure Management Mode.") + "
    \ //VOREStation Removal //Contact a System Administrator for more information.
    " //VOREStation Removal //VOREstation Edit Start dat += "

    Upload a New Title

    " @@ -261,9 +261,9 @@ scanner = S break if(!scanner) - dat += "No scanner found within wireless network range.
    " + dat += span_red("No scanner found within wireless network range.") + "
    " else if(!scanner.cache) - dat += "No data found in scanner memory.
    " + dat += span_red("No data found in scanner memory.") + "
    " else dat += {"Data marked for upload...
    Title: [scanner.cache.name]
    "} @@ -283,10 +283,10 @@ dat += "

    External Archive

    " //VOREStation Edit establish_old_db_connection() - //dat += "

    Warning: System Administrator has slated this archive for removal. Personal uploads should be taken to the NT board of internal literature.

    " //VOREStation Removal + //dat += "

    " + span_red("arning: System Administrator has slated this archive for removal. Personal uploads should be taken to the NT board of internal literature.") + "

    " //VOREStation Removal if(!SSdbcore.IsConnected()) //CHOMPEdit TGSQL - dat += "ERROR: Unable to contact External Archive. Please contact your system administrator for assistance." + dat += span_red(span_bold("ERROR") + ": Unable to contact External Archive. Please contact your system administrator for assistance.") else dat += {"(Order book by SS13BN)

    @@ -323,7 +323,7 @@ establish_old_db_connection() if(!SSdbcore.IsConnected()) - dat += "ERROR: Unable to contact External Archive. Please contact your system administrator for assistance." + dat += span_red(span_bold("ERROR") + ": Unable to contact External Archive. Please contact your system administrator for assistance.") else dat += {"(Order book by SS13BN)

    @@ -390,7 +390,7 @@ else for (var/mob/V in hearers(src)) - V.show_message("[src]'s monitor flashes, \"Bible printer currently unavailable, please wait a moment.\"") + V.show_message(span_infoplain(span_bold("[src]") + "'s monitor flashes, \"Bible printer currently unavailable, please wait a moment.\"")) if("7") screenstate = 7 @@ -472,7 +472,7 @@ tgui_alert_async(usr, "Connection to Archive has been severed. Aborting.") if(bibledelay) for (var/mob/V in hearers(src)) - V.show_message("[src]'s monitor flashes, \"Printer unavailable. Please allow a short time before attempting to print.\"") + V.show_message(span_infoplain(span_bold("[src]") + "'s monitor flashes, \"Printer unavailable. Please allow a short time before attempting to print.\"")) else bibledelay = 1 spawn(6) @@ -532,7 +532,7 @@ usr.set_machine(src) var/dat = "Scanner Control Interface\n" // if(cache) - dat += "Data stored in memory.
    " + dat += span_darkgray("Data stored in memory.") + "
    " else dat += "No data stored in memory.
    " dat += "\[Scan\]" diff --git a/code/modules/lore_codex/codex_tree.dm b/code/modules/lore_codex/codex_tree.dm index c56fd02b03..c6c00643f8 100644 --- a/code/modules/lore_codex/codex_tree.dm +++ b/code/modules/lore_codex/codex_tree.dm @@ -71,7 +71,7 @@ var/datum/lore/codex/checked = current_page["[user]"] if(istype(checked)) var/output = "" - output = "[checked.name]" + output = span_bold("[checked.name]") while(checked.parent) output = "[checked.parent.name] \> [output]" checked = checked.parent diff --git a/code/modules/lore_codex/lore_data/main.dm b/code/modules/lore_codex/lore_data/main.dm index 7b43a25d5f..7a263baf74 100644 --- a/code/modules/lore_codex/lore_data/main.dm +++ b/code/modules/lore_codex/lore_data/main.dm @@ -19,7 +19,7 @@ // We're a bird. /datum/lore/codex/page/about_lore name = "About" - data = "The Traveler's Guide to Human Space is a series of books detailing a specific location inside a location colonized by humans. \ + data = span_italics("The Traveler's Guide to Human Space") + " is a series of books detailing a specific location inside a location colonized by humans. \ This book is for the system Vir, and was written by Eshi Tache, an explorer whom has visited many star systems, and \ has personally visited and seen many of the locations described inside this book. Two other people have also assisted in the creation of this \ book, being Qooqr Volquum, whom is an expert on synthetics, and Damian Fischer, a historian. Together, they provide valuable information and facts that lie outside of Tache's expertise.\ @@ -28,5 +28,5 @@ to an immigrant from another system or even from outside human space, and anyone inbetween. The publisher wishes to note that any opinions expressed \ in this text does not reflect the opinions of the publisher, and are instead the author's.\

    \ - Eshi Tache has also written other The Traveler's Guide books, including Sol Edition, Tau Ceti Edition, Alpha Centauri Edition, and more, \ - which you can find in your local book store, library, or e-reader device." \ No newline at end of file + Eshi Tache has also written other " + span_italics("The Traveler's Guide") + " books, including " + span_italics("Sol Edition") + ", " + span_italics("Tau Ceti Edition") + ", " + span_italics("Alpha Centauri Edition") + ", and more, \ + which you can find in your local book store, library, or e-reader device." diff --git a/code/modules/lore_codex/lore_data_vr/important_locations.dm b/code/modules/lore_codex/lore_data_vr/important_locations.dm index 2cdc93ba8d..ddf3d4092c 100644 --- a/code/modules/lore_codex/lore_data_vr/important_locations.dm +++ b/code/modules/lore_codex/lore_data_vr/important_locations.dm @@ -119,7 +119,7 @@ /datum/lore/codex/page/virgo_central_command/add_content() name = "Virgo Central Command (Colony)" keywords += list("Virgo Central Command") - data = "This page has been ripped out. Odd." + data = span_italics("This page has been ripped out. Odd.") /*data = "The Virgo Central Command is a large facility on [quick_link("Virgo-3B")] which handles the loading and \ unloading, refuelling, and general maintenance of large spacecraft. The main structure is owned by \ [quick_link("NanoTrasen")], but individual offices, docking/loading bays, and warehouses are often leased to individuals \ diff --git a/code/modules/lore_codex/lore_data_vr/political_parties.dm b/code/modules/lore_codex/lore_data_vr/political_parties.dm index 1a768ff9e0..e13f8395d3 100644 --- a/code/modules/lore_codex/lore_data_vr/political_parties.dm +++ b/code/modules/lore_codex/lore_data_vr/political_parties.dm @@ -1,6 +1,6 @@ /datum/lore/codex/category/political_factions name = "Political Factions" - data = "For some weird reason, this section is blank. This looks like a publishing error." + data = span_italics("For some weird reason, this section is blank. This looks like a publishing error.") /*data = "Those wishing to immigrate to somewhere in Virgo-Erigone, or otherwise plan to stay for a long time should get to know human politics. \ There are presently three major political parties that exist throughout SolGov space, being the Icarus Front, the Shadow Coalition, and \ the Sol Economic Organization, and several smaller ones which tend to align themselves among one of the major parties. In the Virgo-Erigone system, the \ @@ -12,4 +12,4 @@ /datum/lore/codex/page/blank/add_content() name = "Blank Page" keywords += list("Blank") - data = "For some weird reason, this section is blank. This looks like a publishing error." // ToDo: A lot. + data = span_italics("For some weird reason, this section is blank. This looks like a publishing error.") // ToDo: A lot. diff --git a/code/modules/makeup/nailpolish.dm b/code/modules/makeup/nailpolish.dm index ea91d064f8..8fe3e12ac7 100644 --- a/code/modules/makeup/nailpolish.dm +++ b/code/modules/makeup/nailpolish.dm @@ -77,10 +77,10 @@ to_chat(user, span_notice("You can't find any nails on [body_part] to paint.")) return if(user == target) - user.visible_message("\The [user] paints their nails with \the [src].", "You paint your nails with \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " paints their nails with \the [src]."), span_infoplain("You paint your nails with \the [src].")) else if(do_after(user, 2 SECONDS, target)) - user.visible_message("\The [user] paints \the [target]'s nails with \the [src].", "You paint \the [target]'s nails with \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " paints \the [target]'s nails with \the [src]."), span_infoplain("You paint \the [target]'s nails with \the [src].")) else to_chat(user, span_notice("Both you and [target] must stay still!")) return @@ -124,10 +124,10 @@ to_chat(user, span_notice("[target]'s [body_part.name] has no nail polish to remove!")) return if(user == target) - user.visible_message("\The [user] removes their nail polish with \the [src].", "You remove your nail polish with \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " removes their nail polish with \the [src]."), span_infoplain("You remove your nail polish with \the [src].")) else if(do_after(user, 2 SECONDS, target)) - user.visible_message("\The [user] removes \the [target]'s nail polish with \the [src].", "You remove \the [target]'s nail polish with \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " removes \the [target]'s nail polish with \the [src]."), span_infoplain("You remove \the [target]'s nail polish with \the [src].")) else to_chat(user, span_notice("Both you and [target] must stay still!")) return diff --git a/code/modules/maps/tg/map_template.dm b/code/modules/maps/tg/map_template.dm index b4b408b289..19970a6ed0 100644 --- a/code/modules/maps/tg/map_template.dm +++ b/code/modules/maps/tg/map_template.dm @@ -299,7 +299,7 @@ if(count > 1) pretty_submap_list += "[count] [submap_name]" else - pretty_submap_list += "[submap_name]" + pretty_submap_list += span_bold("[submap_name]") if(!overall_sanity) admin_notice("Submap loader gave up with [budget] left to spend.", R_DEBUG) diff --git a/code/modules/materials/sheets/metals/rods.dm b/code/modules/materials/sheets/metals/rods.dm index 427290b31d..4363cb55c1 100644 --- a/code/modules/materials/sheets/metals/rods.dm +++ b/code/modules/materials/sheets/metals/rods.dm @@ -67,7 +67,7 @@ var/global/list/datum/stack_recipe/rods_recipes = list( \ var/obj/item/stack/medical/splint/ghetto/new_splint = new(get_turf(user)) new_splint.add_fingerprint(user) - user.visible_message("\The [user] constructs \a [new_splint] out of a [singular_name].", \ + user.visible_message(span_infoplain(span_bold("\The [user]") + " constructs \a [new_splint] out of a [singular_name]."), \ span_notice("You use make \a [new_splint] out of a [singular_name].")) src.use(1) return diff --git a/code/modules/materials/sheets/organic/tanning/hide.dm b/code/modules/materials/sheets/organic/tanning/hide.dm index bbac90c234..c8918e8bc2 100644 --- a/code/modules/materials/sheets/organic/tanning/hide.dm +++ b/code/modules/materials/sheets/organic/tanning/hide.dm @@ -1,7 +1,7 @@ /obj/item/stack/animalhide name = "hide" desc = "The hide of some creature." - description_info = "Use something sharp, like a knife, to scrape the hairs/feathers/etc off this hide to prepare it for tanning." + description_info = "Use something " + span_bold(span_red("sharp")) + ", like a knife, to scrape the hairs/feathers/etc off this hide to prepare it for tanning." icon_state = "sheet-hide" drop_sound = 'sound/items/drop/cloth.ogg' pickup_sound = 'sound/items/pickup/cloth.ogg' @@ -18,7 +18,7 @@ /obj/item/stack/animalhide/attackby(obj/item/W as obj, mob/user as mob) if(has_edge(W) || is_sharp(W)) //visible message on mobs is defined as visible_message(var/message, var/self_message, var/blind_message) - user.visible_message("\The [user] starts cutting hair off \the [src]", span_notice("You start cutting the hair off \the [src]"), "You hear the sound of a knife rubbing against flesh") + user.visible_message(span_infoplain(span_bold("\The [user]") + " starts cutting hair off \the [src]"), span_notice("You start cutting the hair off \the [src]"), "You hear the sound of a knife rubbing against flesh") var/scraped = 0 while(amount > 0 && do_after(user, 2.5 SECONDS, user)) //Try locating an exisitng stack on the tile and add to there if possible diff --git a/code/modules/materials/sheets/organic/tanning/hide_hairless.dm b/code/modules/materials/sheets/organic/tanning/hide_hairless.dm index edb36b9b86..3cf927a825 100644 --- a/code/modules/materials/sheets/organic/tanning/hide_hairless.dm +++ b/code/modules/materials/sheets/organic/tanning/hide_hairless.dm @@ -3,7 +3,7 @@ /obj/item/stack/hairlesshide name = "hairless hide" desc = "This hide was stripped of it's hair, but still needs tanning." - description_info = "Get it wet to continue tanning this into leather.
    \ + description_info = "Get it " + span_bold(span_blue("wet")) + " to continue tanning this into leather.
    \ You could set it in a river, wash it with a sink, or just splash water on it with a bucket." singular_name = "hairless hide piece" icon_state = "sheet-hairlesshide" diff --git a/code/modules/materials/sheets/organic/tanning/leather_wet.dm b/code/modules/materials/sheets/organic/tanning/leather_wet.dm index be4d60570a..070b45c7a3 100644 --- a/code/modules/materials/sheets/organic/tanning/leather_wet.dm +++ b/code/modules/materials/sheets/organic/tanning/leather_wet.dm @@ -3,9 +3,9 @@ name = "wet leather" desc = "This leather has been cleaned but still needs to be dried." description_info = "To finish tanning the leather, you need to dry it. \ - You could place it under a fire, \ - put it in a drying rack, \ - or build a tanning rack from steel or wooden boards." + You could place it under a " + span_bold(span_red("fire")) + ", \ + put it in a " + span_bold(span_blue("drying rack")) + ", \ + or build a " + span_bold(span_brown("tanning rack")) + " from steel or wooden boards." singular_name = "wet leather piece" icon_state = "sheet-wetleather" var/wetness = 30 //Reduced when exposed to high temperautres diff --git a/code/modules/mentor/mentor.dm b/code/modules/mentor/mentor.dm index ed25a49c76..8af4f3f58f 100644 --- a/code/modules/mentor/mentor.dm +++ b/code/modules/mentor/mentor.dm @@ -111,9 +111,9 @@ var/list/mentor_verbs_default = list( log_admin("Mentorsay: [key_name(src)]: [msg]") for(var/client/C in GLOB.mentors) - to_chat(C, create_text_tag("mentor", "MENTOR:", C) + " [src]: [msg]") + to_chat(C, create_text_tag("mentor", "MENTOR:", C) + " " + span_mentor_channel(span_name("[src]") + ": " + span_message("[msg]"))) for(var/client/C in GLOB.admins) - to_chat(C, create_text_tag("mentor", "MENTOR:", C) + " [src]: [msg]") + to_chat(C, create_text_tag("mentor", "MENTOR:", C) + " " + span_mentor_channel(span_name("[src]") + ": " + span_message("[msg]"))) /proc/mentor_commands(href, href_list, client/C) // CHOMPedit Start - Tickets System diff --git a/code/modules/mentor/mentorhelp.dm b/code/modules/mentor/mentorhelp.dm index e97b80236c..5641d20555 100644 --- a/code/modules/mentor/mentorhelp.dm +++ b/code/modules/mentor/mentorhelp.dm @@ -55,7 +55,7 @@ GLOBAL_DATUM_INIT(mhelp_tickets, /datum/mentor_help_tickets, new) var/list/dat = list("[title]") dat += "Refresh

    " for(var/datum/mentor_help/MH as anything in l2b) - dat += "Ticket #[MH.id]: [MH.initiator_ckey]: [MH.name]
    " + dat += span_adminnotice(span_adminhelp("Ticket #[MH.id]") + " [MH.initiator_ckey]: [MH.name]") + "
    " usr << browse(dat.Join(), "window=mhelp_list[state];size=600x480") @@ -163,7 +163,7 @@ GLOBAL_DATUM_INIT(mhelp_tickets, /datum/mentor_help_tickets, new) log_admin("Mentorhelp: [key_name(C)]: [msg]") MessageNoRecipient(msg) //show it to the person adminhelping too - to_chat(C, "Mentor-PM to-Mentors: [name]") + to_chat(C, span_mentor(span_italics("Mentor-PM to-" + span_bold("Mentors") + ": [name]"))) GLOB.mhelp_tickets.active_tickets += src @@ -287,9 +287,9 @@ GLOBAL_DATUM_INIT(mhelp_tickets, /datum/mentor_help_tickets, new) dat += "
    Closed at: [gameTimestamp(wtime = closed_at)] (Approx [(world.time - closed_at) / 600] minutes ago)" dat += "

    " if(initiator) - dat += "Actions: [Context(ref_src)]
    " + dat += span_bold("Actions:") + " [Context(ref_src)]
    " else - dat += "DISCONNECTED[GLOB.TAB][ClosureLinks(ref_src)]
    " + dat += span_bold("DISCONNECTED") + "[GLOB.TAB][ClosureLinks(ref_src)]
    " dat += "
    Log:

    " for(var/I in _interactions) dat += "[I]
    " diff --git a/code/modules/mining/drilling/drill.dm b/code/modules/mining/drilling/drill.dm index 286c256c41..7d0659332f 100644 --- a/code/modules/mining/drilling/drill.dm +++ b/code/modules/mining/drilling/drill.dm @@ -277,12 +277,12 @@ if(use_cell_power()) active = !active if(active) - visible_message("\The [src] lurches downwards, grinding noisily.") + visible_message(span_infoplain(span_bold("\The [src]") + " lurches downwards, grinding noisily.")) need_update_field = 1 harvest_speed *= total_brace_tier charge_use *= total_brace_tier else - visible_message("\The [src] shudders to a grinding halt.") + visible_message(span_infoplain(span_bold("\The [src]") + " shudders to a grinding halt.")) else to_chat(user, span_notice("The drill is unpowered.")) else @@ -360,7 +360,7 @@ /obj/machinery/mining/drill/proc/system_error(var/error) if(error) - src.visible_message("\The [src] flashes a '[error]' warning.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " flashes a '[error]' warning.")) faultreporter.autosay(error, src.name, "Supply", using_map.get_map_levels(z)) need_player_check = 1 active = 0 diff --git a/code/modules/mining/drilling/scanner.dm b/code/modules/mining/drilling/scanner.dm index 203f72861a..8504626053 100644 --- a/code/modules/mining/drilling/scanner.dm +++ b/code/modules/mining/drilling/scanner.dm @@ -51,7 +51,7 @@ if(ore_type) metals[ore_type] += T.resources[metal] - var/message = "[icon2html(src, user.client)] The scanner beeps and displays a readout." + var/message = "[icon2html(src, user.client)] " + span_notice("The scanner beeps and displays a readout.") for(var/ore_type in metals) var/result = "no sign" @@ -65,7 +65,7 @@ else result = metals[ore_type] - message += "
    - [result] of [ore_type]." + message += "
    " + span_notice("- [result] of [ore_type].") to_chat(user, message) diff --git a/code/modules/mining/kinetic_crusher.dm b/code/modules/mining/kinetic_crusher.dm index 4fe6d9607b..fa70d1c41b 100644 --- a/code/modules/mining/kinetic_crusher.dm +++ b/code/modules/mining/kinetic_crusher.dm @@ -315,7 +315,7 @@ /obj/item/kinetic_crusher/machete/gauntlets/proc/wield(var/mob/living/M) name = initial(name) wielded = TRUE - to_chat(M, "You ready [src].") + to_chat(M, span_notice("You ready [src].")) var/obj/item/offhand/crushergauntlets/O = new(M) O.name = "[name] - readied" O.desc = "As much as you'd like to punch things with one hand, [src] is far too unwieldy for that." @@ -324,7 +324,7 @@ offhand = O /obj/item/kinetic_crusher/machete/gauntlets/proc/unwield(var/mob/living/M) - to_chat(M, "You unready [src].") + to_chat(M, span_notice("You unready [src].")) name = "[initial(name)] (unreadied)" wielded = FALSE if(offhand) diff --git a/code/modules/mining/mine_items.dm b/code/modules/mining/mine_items.dm index 959d773dcb..299a336d04 100644 --- a/code/modules/mining/mine_items.dm +++ b/code/modules/mining/mine_items.dm @@ -245,7 +245,7 @@ upright = 0 icon_state = base_state anchored = FALSE - src.visible_message("[user] knocks down [src].") + src.visible_message(span_infoplain(span_bold("[user]") + " knocks down [src].")) else ..() @@ -268,7 +268,7 @@ newflag.anchored = TRUE newflag.name = newflag.singular_name newflag.icon_state = "[newflag.base_state]_open" - newflag.visible_message("[user] plants [newflag] firmly in the ground.") + newflag.visible_message(span_infoplain(span_bold("[user]") + " plants [newflag] firmly in the ground.")) src.use(1) // Lightpoles for lumber colony diff --git a/code/modules/mining/mine_turfs.dm b/code/modules/mining/mine_turfs.dm index 12d334cc1c..cad10bbcae 100644 --- a/code/modules/mining/mine_turfs.dm +++ b/code/modules/mining/mine_turfs.dm @@ -435,7 +435,7 @@ var/list/mining_overlay_cache = list() if (istype(W, /obj/item/measuring_tape)) var/obj/item/measuring_tape/P = W - user.visible_message("\The [user] extends \a [P] towards \the [src].",span_notice("You extend \the [P] towards \the [src].")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " extends \a [P] towards \the [src]."),span_notice("You extend \the [P] towards \the [src].")) if(do_after(user, 15)) to_chat(user, span_notice("\The [src] has been excavated to a depth of [excavation_level]cm.")) return @@ -445,7 +445,7 @@ var/list/mining_overlay_cache = list() if(C.mode) //Mode means scanning C.depth_scanner.scan_atom(user, src) else - user.visible_message("\The [user] extends \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!", span_notice("You extend \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!")) + user.visible_message(span_infoplain(span_bold("\The [user]") + " extends \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!"), span_notice("You extend \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!")) if(do_after(user, 15)) to_chat(user, span_notice("\The [src] has been excavated to a depth of [excavation_level]cm.")) return diff --git a/code/modules/mob/_modifiers/cloning.dm b/code/modules/mob/_modifiers/cloning.dm index 029a82c86c..f6c0493170 100644 --- a/code/modules/mob/_modifiers/cloning.dm +++ b/code/modules/mob/_modifiers/cloning.dm @@ -7,8 +7,8 @@ name = "cloning sickness" desc = "You feel rather weak, having been cloned not so long ago." - on_created_text = span_warning("You feel really weak.") - on_expired_text = span_notice("You feel your strength returning to you.") + on_created_text = span_warning(span_large("You feel really weak.")) + on_expired_text = span_notice(span_large("You feel your strength returning to you.")) max_health_percent = 0.6 // -40% max health. incoming_damage_percent = 1.1 // 10% more incoming damage. @@ -52,8 +52,8 @@ name = "reformation sickness" desc = "Your core feels damaged, as you were reformed with the improper machinery." - on_created_text = span_warning("Your core aches.") - on_expired_text = span_notice("You feel your core's strength returning to normal.") + on_created_text = span_warning(span_large("Your core aches.")) + on_expired_text = span_notice(span_large("You feel your core's strength returning to normal.")) incoming_damage_percent = 1 //Level the incoming damage from the parent modifier. They already take 200% burn. incoming_brute_damage_percent = 1.5 //150% incoming brute damage. Decreases the effectiveness of their 0.75 modifier. @@ -70,8 +70,8 @@ name = "surgically attached brain" desc = "You feel weak, as your central nervous system is still recovering from being repaired." - on_created_text = span_warning("You feel... off, and your head hurts.") - on_expired_text = span_notice("You feel some strength returning to you.") + on_created_text = span_warning(span_large("You feel... off, and your head hurts.")) + on_expired_text = span_notice(span_large("You feel some strength returning to you.")) max_health_percent = 0.9 // -10% max health. incoming_damage_percent = 1.1 // 10% more incoming damage. @@ -107,8 +107,8 @@ name = "neural recovery" desc = "You feel out of touch, as your central nervous system is still recovering from being repaired." - on_created_text = span_warning("You feel... off. Everything is fuzzy.") - on_expired_text = span_notice("You feel your senses returning to you.") + on_created_text = span_warning(span_large("You feel... off. Everything is fuzzy.")) + on_expired_text = span_notice(span_large("You feel your senses returning to you.")) incoming_hal_damage_percent = 1.5 // 50% more halloss damage. disable_duration_percent = 1.25 // Stuns last 25% longer. diff --git a/code/modules/mob/_modifiers/modifiers_misc.dm b/code/modules/mob/_modifiers/modifiers_misc.dm index 642dc22214..7a7df3dcce 100644 --- a/code/modules/mob/_modifiers/modifiers_misc.dm +++ b/code/modules/mob/_modifiers/modifiers_misc.dm @@ -175,8 +175,8 @@ the artifact triggers the rage. client_color = "#FF0000" // Make everything red! mob_overlay_state = "berserk" - on_created_text = "You feel an intense and overwhelming rage overtake you as you go berserk! \ - Unfortunately, your lifeless body cannot benefit from this. You feel reckless..." + on_created_text = span_danger("You feel an intense and overwhelming rage overtake you as you go berserk! \ + Unfortunately, your lifeless body cannot benefit from this. You feel reckless...") on_expired_text = span_notice("The blaze of rage inside your mind has ran out.") stacks = MODIFIER_STACK_EXTEND diff --git a/code/modules/mob/_modifiers/traits_phobias.dm b/code/modules/mob/_modifiers/traits_phobias.dm index 7a5e1de53b..17a8454204 100644 --- a/code/modules/mob/_modifiers/traits_phobias.dm +++ b/code/modules/mob/_modifiers/traits_phobias.dm @@ -64,8 +64,8 @@ on_expired_text = span_notice("You feel that blood doesn't bother you, at least, as much as it used to.") zero_fear_up = list( - span_warning("You see some blood nearby..."), - span_warning("You try to avoid looking at the blood nearby.") + span_warning(span_large("You see some blood nearby...")), + span_warning(span_large("You try to avoid looking at the blood nearby.")) ) zero_fear_down = list( span_notice("You feel better now, with no blood in sight."), @@ -74,8 +74,8 @@ ) half_fear_up = list( - span_danger("You're still near the blood!"), - span_danger("So much blood... You can't stand it.") + span_danger(span_large("You're still near the blood!")), + span_danger(span_large("So much blood... You can't stand it.")) ) half_fear_down = list( span_warning("The blood is gone now, but you're still worked up."), @@ -83,9 +83,9 @@ ) full_fear_up = list( - span_danger("The blood is too much!"), - span_danger("There is so much blood here, you need to leave!"), - span_danger("You gotta get away from the blood!") + span_danger(span_huge("The blood is too much!")), + span_danger(span_huge("There is so much blood here, you need to leave!")), + span_danger(span_huge("You gotta get away from the blood!")) ) full_fear_down = list( span_danger("The blood is gone, but you're still very anxious."), @@ -165,8 +165,8 @@ on_expired_text = span_notice("You feel that your fear of spiders has gone from 'crippling' to 'nope nope nope', which is still an improvement.") zero_fear_up = list( - span_warning("You see a spider!"), - span_warning("Spider!") + span_warning(span_large("You see a spider!")), + span_warning(span_large("Spider!")) ) zero_fear_down = list( span_notice("Those evil spiders are finally gone."), @@ -175,9 +175,9 @@ ) half_fear_up = list( - span_danger("The spiders are gonna eat you!"), - span_danger("The spiders are still here!"), - span_danger("The spiders will lay eggs inside you if you don't run!"), + span_danger(span_large("The spiders are gonna eat you!")), + span_danger(span_large("The spiders are still here!")), + span_danger(span_large("The spiders will lay eggs inside you if you don't run!")), ) half_fear_down = list( span_warning("The spiders are gone... right?"), @@ -185,9 +185,9 @@ ) full_fear_up = list( - span_danger("The chittering is driving you mad!"), - span_danger("You're gonna be spider-food if you don't run!"), - span_danger("The spiders are gonna feast on your eyes!") + span_danger(span_huge("The chittering is driving you mad!")), + span_danger(span_huge("You're gonna be spider-food if you don't run!")), + span_danger(span_huge("The spiders are gonna feast on your eyes!")) ) full_fear_down = list( span_danger("The spiders must surely be hiding somewhere..."), @@ -238,8 +238,8 @@ var/fear_threshold = 0.5 // Average lighting needs to be below this to start increasing fear. zero_fear_up = list( - span_warning("It's so dark here!"), - span_warning("It's too dark!") + span_warning(span_large("It's so dark here!")), + span_warning(span_large("It's too dark!")) ) zero_fear_down = list( span_notice("You feel calmer, now that you're in the light."), @@ -248,9 +248,9 @@ ) half_fear_up = list( - span_danger("You need to escape this darkness!"), - span_danger("Something might be lurking near you, but you can't see in this darkness."), - span_danger("You need to find a light!"), + span_danger(span_large("You need to escape this darkness!")), + span_danger(span_large("Something might be lurking near you, but you can't see in this darkness.")), + span_danger(span_large("You need to find a light!")), ) half_fear_down = list( span_warning("The darkness is gone, for now..."), @@ -258,8 +258,8 @@ ) full_fear_up = list( - span_danger("What was that?"), - span_danger("Something is nearby...") + span_danger(span_huge("What was that?")), + span_danger(span_huge("Something is nearby...")) ) full_fear_down = list( span_danger("Light, at last!"), @@ -315,8 +315,8 @@ on_expired_text = span_notice("Small rooms aren't so bad now.") zero_fear_up = list( - span_warning("This room is too small..."), - span_warning("The walls are too close together...") + span_warning(span_large("This room is too small...")), + span_warning(span_large("The walls are too close together...")) ) zero_fear_down = list( span_notice("You feel calmer, now that you're in a larger room."), @@ -325,9 +325,9 @@ ) half_fear_up = list( - span_danger("Your surroundings look like they are closing in."), - span_danger("Is the room getting smaller?"), - span_danger("You need to get out of here!"), + span_danger(span_large("Your surroundings look like they are closing in.")), + span_danger(span_large("Is the room getting smaller?")), + span_danger(span_large("You need to get out of here!")), ) half_fear_down = list( span_warning("Your surroundings seem to have stopped closing in."), @@ -335,8 +335,8 @@ ) full_fear_up = list( - span_danger("You need to escape!"), - span_danger("There's barely any room to move around!") + span_danger(span_huge("You need to escape!")), + span_danger(span_huge("There's barely any room to move around!")) ) full_fear_down = list( span_danger("The surroundings stop shrinking."), @@ -380,8 +380,8 @@ on_expired_text = span_notice("You feel more... okay with slime.") zero_fear_up = list( - span_warning("That's some slime!"), - span_warning("There's slime right there!") + span_warning(span_large("That's some slime!")), + span_warning(span_large("There's slime right there!")) ) zero_fear_down = list( span_notice("The slime is out of sight and out of mind."), @@ -389,8 +389,8 @@ ) half_fear_up = list( - span_danger("The slimes might strike at any point!"), - span_danger("The slime is still there!") + span_danger(span_large("The slimes might strike at any point!")), + span_danger(span_large("The slime is still there!")) ) half_fear_down = list( span_warning("The slime is gone... right?"), @@ -398,8 +398,8 @@ ) full_fear_up = list( - span_danger("The slime is everywhere!"), - span_danger("You're gonna get absorbed if you don't get out!") + span_danger(span_huge("The slime is everywhere!")), + span_danger(span_huge("You're gonna get absorbed if you don't get out!")) ) full_fear_down = list( span_danger("There must be more of that slime somewhere..."), @@ -475,8 +475,8 @@ zero_fear_up = list( - span_warning("That's a needle!"), - span_warning("There's a needle right there!") + span_warning(span_large("That's a needle!")), + span_warning(span_large("There's a needle right there!")) ) zero_fear_down = list( span_notice("The needle is gone, no need to worry."), @@ -484,8 +484,8 @@ ) half_fear_up = list( - span_danger("The needle could get you at any time!"), - span_danger("The needle is still there!") + span_danger(span_large("The needle could get you at any time!")), + span_danger(span_large("The needle is still there!")) ) half_fear_down = list( span_warning("There are no more needles... right?"), @@ -493,8 +493,8 @@ ) full_fear_up = list( - span_danger("The needles are going to pierce you!"), - span_danger("They could get you any second!") + span_danger(span_huge("The needles are going to pierce you!")), + span_danger(span_huge("They could get you any second!")) ) full_fear_down = list( span_danger("There are more needles around, you can feel it..."), @@ -586,7 +586,7 @@ if(xenos.len) var/chosen_xeno = pick(xenos) - to_chat(holder, span_warning("[make_message(chosen_xeno)]")) + to_chat(holder, span_warning(span_large("[make_message(chosen_xeno)]"))) return TRUE else return FALSE // No xenos in sight, so don't apply the cooldown. diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 7a58fa8db5..5cbc48c8c4 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -173,7 +173,7 @@ . = ..() if(is_admin(user)) - . += "\t>[ADMIN_FULLMONTY(src)]" + . += "\t>" + span_admin("[ADMIN_FULLMONTY(src)]") /* Transfer_mind is there to check if mob is being deleted/not going to have a body. @@ -304,7 +304,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp medHUD = !medHUD plane_holder.set_vis(VIS_CH_HEALTH, medHUD) plane_holder.set_vis(VIS_CH_STATUS_OOC, medHUD) - to_chat(src, span_notice("Medical HUD [medHUD ? "Enabled" : "Disabled"]")) + to_chat(src, span_boldnotice("Medical HUD [medHUD ? "Enabled" : "Disabled"]")) /mob/observer/dead/verb/toggle_secHUD() set category = "Ghost.Game" //CHOMPEdit @@ -317,7 +317,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp plane_holder.set_vis(VIS_CH_IMPTRACK, secHUD) plane_holder.set_vis(VIS_CH_IMPLOYAL, secHUD) plane_holder.set_vis(VIS_CH_IMPCHEM, secHUD) - to_chat(src, span_notice("Security HUD [secHUD ? "Enabled" : "Disabled"]")) + to_chat(src, span_boldnotice("Security HUD [secHUD ? "Enabled" : "Disabled"]")) /mob/observer/dead/verb/toggle_antagHUD() set category = "Ghost.Game" //CHOMPEdit @@ -325,10 +325,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp set desc = "Toggles AntagHUD allowing you to see who is the antagonist" if(!CONFIG_GET(flag/antag_hud_allowed) && !client.holder) // CHOMPEdit - to_chat(src, span_filter_notice("[span_red("Admins have disabled this for this round.")]")) + to_chat(src, span_filter_notice(span_red("Admins have disabled this for this round."))) return if(jobban_isbanned(src, JOB_ANTAGHUD)) - to_chat(src, span_filter_notice("[span_red("You have been banned from using this feature")]")) + to_chat(src, span_filter_notice(span_red(span_bold("You have been banned from using this feature")))) return if(CONFIG_GET(flag/antag_hud_restricted) && !has_enabled_antagHUD && !client.holder) // CHOMPEdit var/response = tgui_alert(src, "If you turn this on, you will not be able to take any part in the round.","Are you sure you want to turn this feature on?",list("Yes","No")) @@ -340,7 +340,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp antagHUD = !antagHUD plane_holder.set_vis(VIS_CH_SPECIAL, antagHUD) - to_chat(src, span_notice("AntagHUD [antagHUD ? "Enabled" : "Disabled"]")) + to_chat(src, span_boldnotice("AntagHUD [antagHUD ? "Enabled" : "Disabled"]")) /mob/observer/dead/proc/jumpable_areas() var/list/areas = return_sorted_areas() @@ -611,11 +611,11 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp /mob/observer/dead/memory() set hidden = 1 - to_chat(src, span_filter_notice("[span_red("You are dead! You have no mind to store memory!")]")) + to_chat(src, span_filter_notice(span_red("You are dead! You have no mind to store memory!"))) /mob/observer/dead/add_memory() set hidden = 1 - to_chat(src, span_filter_notice("[span_red("You are dead! You have no mind to store memory!")]")) + to_chat(src, span_filter_notice(span_red("You are dead! You have no mind to store memory!"))) /mob/observer/dead/Post_Incorpmove() stop_following() @@ -635,7 +635,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp var/pressure = environment.return_pressure() var/total_moles = environment.total_moles var/list/gas_analyzing = list() - gas_analyzing += "Results:" + gas_analyzing += span_bold("Results:") if(abs(pressure - ONE_ATMOSPHERE) < 10) gas_analyzing += "Pressure: [round(pressure,0.1)] kPa" else @@ -735,7 +735,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp set desc = "If the round is sufficiently spooky, write a short message in blood on the floor or a wall. Remember, no IC in OOC or OOC in IC." if(!CONFIG_GET(flag/cult_ghostwriter)) // CHOMPEdit - to_chat(src, span_filter_notice("[span_red("That verb is not currently permitted.")]")) + to_chat(src, span_filter_notice(span_red("That verb is not currently permitted."))) return if (!src.stat) @@ -750,7 +750,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp ghosts_can_write = 1 if(!ghosts_can_write && !check_rights(R_ADMIN|R_EVENT|R_FUN, 0)) //Let's allow for admins to write in blood for events and the such. - to_chat(src, span_filter_notice("[span_red("The veil is not thin enough for you to do that.")]")) + to_chat(src, span_filter_notice(span_red("The veil is not thin enough for you to do that."))) return var/list/choices = list() @@ -759,7 +759,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp choices += B if(!choices.len) - to_chat(src, "There is no blood to use nearby.") + to_chat(src, span_warning("There is no blood to use nearby.")) return var/obj/effect/decal/cleanable/blood/choice = tgui_input_list(src, "What blood would you like to use?", "Blood Choice", choices) @@ -800,14 +800,14 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp W.update_icon() W.message = message W.add_hiddenprint(src) - W.visible_message(span_filter_notice("[span_red("Invisible fingers crudely paint something in blood on [T]...")]")) + W.visible_message(span_filter_notice(span_red("Invisible fingers crudely paint something in blood on [T]..."))) // CHOMPEdit Start - Point Refactor /* /mob/observer/dead/pointed(atom/A as mob|obj|turf in view()) if(!..()) return 0 - usr.visible_message(span_deadsay("[src] points to [A].")) + usr.visible_message(span_deadsay(span_bold("[src]") + " points to [A].")) return 1 */ @@ -821,7 +821,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp is_manifest = TRUE add_verb(src, /mob/observer/dead/proc/toggle_visibility) add_verb(src, /mob/observer/dead/proc/ghost_whisper) - to_chat(src, span_filter_notice("[span_purple("As you are now in the realm of the living, you can whisper to the living with the Spectral Whisper verb, inside the IC tab.")]")) + to_chat(src, span_filter_notice(span_purple("As you are now in the realm of the living, you can whisper to the living with the " + span_bold("Spectral Whisper") + " verb, inside the IC tab."))) if(plane != PLANE_WORLD) user.visible_message( \ span_warning("\The [user] drags ghost, [src], to our plane of reality!"), \ diff --git a/code/modules/mob/death.dm b/code/modules/mob/death.dm index c84b977ef6..d80eed517c 100644 --- a/code/modules/mob/death.dm +++ b/code/modules/mob/death.dm @@ -76,7 +76,7 @@ facing_dir = null if(!gibbed && deathmessage != DEATHGASP_NO_MESSAGE) - src.visible_message("\The [src.name] [deathmessage]") + src.visible_message(span_infoplain(span_bold("\The [src.name]") + " [deathmessage]")) set_stat(DEAD) diff --git a/code/modules/mob/emote.dm b/code/modules/mob/emote.dm index 3bbcc25e2b..93791083b1 100644 --- a/code/modules/mob/emote.dm +++ b/code/modules/mob/emote.dm @@ -32,6 +32,6 @@ if(input) log_ghostemote(input, src) if(!invisibility) //If the ghost is made visible by admins or cult. And to see if the ghost has toggled its own visibility, as well. -Mech - visible_message(span_deadsay("[src] [input]")) + visible_message(span_deadsay(span_bold("[src]") + " [input]")) else say_dead_direct(input, src) diff --git a/code/modules/mob/hear_say.dm b/code/modules/mob/hear_say.dm index 7770e1e2c0..29109bf7c8 100644 --- a/code/modules/mob/hear_say.dm +++ b/code/modules/mob/hear_say.dm @@ -99,7 +99,7 @@ return FALSE if(italics) - message = "[message]" + message = span_italics("[message]") message = encode_html_emphasis(message) @@ -109,7 +109,7 @@ speaker_name = "[speaker.real_name] ([speaker_name])" track = "([ghost_follow_link(speaker, src)]) " if(client?.prefs?.read_preference(/datum/preference/toggle/ghost_ears) && (speaker in view(src))) - message = "[message]" + message = span_bold("[message]") if(is_deaf() && stat != DEAD) //CHOMPEdit - Dead people should be able to hear stuff like ghosts can if(speaker == src) @@ -228,7 +228,7 @@ time = say_timestamp() var/final_message = "[part_b][speaker_name][part_c][formatted][part_d]" if(check_mentioned(formatted) && client?.prefs?.read_preference(/datum/preference/toggle/check_mention)) - final_message = "[time][part_a][final_message][part_e]" + final_message = "[time][part_a]" + span_large(span_bold("[final_message]")) + "[part_e]" else final_message = "[time][part_a][final_message][part_e]" to_chat(src, final_message) @@ -239,7 +239,7 @@ time = say_timestamp() var/final_message = "[part_b][track][part_c][formatted][part_d]" if(check_mentioned(formatted) && client?.prefs?.read_preference(/datum/preference/toggle/check_mention)) - final_message = "[time][part_a][final_message][part_e]" + final_message = "[time][part_a]" + span_large(span_bold("[final_message]")) + "[part_e]" else final_message = "[time][part_a][final_message][part_e]" to_chat(src, final_message) @@ -250,7 +250,7 @@ time = say_timestamp() var/final_message = "[part_b][speaker_name][part_c][formatted][part_d]" if(check_mentioned(formatted) && client?.prefs?.read_preference(/datum/preference/toggle/check_mention)) - final_message = "[time][part_a][final_message][part_e]" + final_message = "[time][part_a]" + span_large(span_bold("[final_message]")) + "[part_e]" else final_message = "[time][part_a][final_message][part_e]" to_chat(src, final_message) @@ -261,7 +261,7 @@ time = say_timestamp() var/final_message = "[part_b][track][part_c][formatted][part_d]" if(check_mentioned(formatted) && client?.prefs?.read_preference(/datum/preference/toggle/check_mention)) - final_message = "[time][part_a][final_message][part_e]" + final_message = "[time][part_a]" + span_large(span_bold("[final_message]")) + "[part_e]" else final_message = "[time][part_a][final_message][part_e]" to_chat(src, final_message) @@ -271,7 +271,7 @@ return if(say_understands(speaker, language)) - message = span_game(span_say("[speaker] [verb_understood], \"[message]\"")) + message = span_game(span_say(span_bold("[speaker]") + " [verb_understood], \"[message]\"")) else if(!(language.ignore_adverb)) var/adverb var/length = length(message) * pick(0.8, 0.9, 1.0, 1.1, 1.2) //Adds a little bit of fuzziness @@ -281,9 +281,9 @@ if(30 to 48) adverb = " a message" if(48 to 90) adverb = " a lengthy message" else adverb = " a very lengthy message" - message = span_game(span_say("[speaker] [verb][adverb].")) + message = span_game(span_say(span_bold("[speaker]") + " [verb][adverb].")) else - message = span_game(span_say("[speaker] [verb].")) + message = span_game(span_say(span_bold("[speaker]") + " [verb].")) show_message(message, type = speech_type) // Type 1 is visual message @@ -301,7 +301,7 @@ heard = span_game(span_say("...You hear something about...[heardword]")) else - heard = span_game(span_say("...You almost hear someone talking...")) + heard = span_game(span_say("..." + span_italics("You almost hear someone talking") + "...")) to_chat(src, heard) diff --git a/code/modules/mob/language/language.dm b/code/modules/mob/language/language.dm index 93986b3973..4f92a87d64 100644 --- a/code/modules/mob/language/language.dm +++ b/code/modules/mob/language/language.dm @@ -156,7 +156,7 @@ /mob/proc/hear_broadcast(var/datum/language/language, var/mob/speaker, var/speaker_name, var/message) if((language in languages) && language.check_special_condition(src)) - var/msg = span_hivemind("[language.name], [speaker_name] [message]") + var/msg = span_hivemind("[language.name], " + span_name("[speaker_name]") + " [message]") to_chat(src,msg) /mob/new_player/hear_broadcast(var/datum/language/language, var/mob/speaker, var/speaker_name, var/message) @@ -164,9 +164,9 @@ /mob/observer/dead/hear_broadcast(var/datum/language/language, var/mob/speaker, var/speaker_name, var/message) if(speaker.name == speaker_name || antagHUD) - to_chat(src, span_hivemind("[language.name], [speaker_name] ([ghost_follow_link(speaker, src)]) [message]")) + to_chat(src, span_hivemind("[language.name], " + span_name("[speaker_name]") + " ([ghost_follow_link(speaker, src)]) [message]")) else - to_chat(src, span_hivemind("[language.name], [speaker_name] [message]")) + to_chat(src, span_hivemind("[language.name], " + span_name("[speaker_name]") + " [message]")) /datum/language/proc/check_special_condition(var/mob/other) return 1 @@ -267,7 +267,7 @@ for(var/datum/language/L in languages) if(!(L.flags & NONGLOBAL)) var/lang_key = get_custom_prefix_by_lang(src, L) - . += "[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])
    [L.desc]

    " + . += span_bold("[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])") + "
    [L.desc]

    " /mob/living/check_lang_data() . = "" @@ -279,11 +279,11 @@ if(!(L.flags & NONGLOBAL)) var/lang_key = get_custom_prefix_by_lang(src, L) if(L == default_language) - . += "[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])Edit Custom Key - default - reset
    [L.desc]

    " + . += span_bold("[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])") + " Edit Custom Key - default - reset
    [L.desc]

    " else if (can_speak(L)) - . += "[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])Edit Custom Key - set default
    [L.desc]

    " + . += span_bold("[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])") + " Edit Custom Key - set default
    [L.desc]

    " else - . += "[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])Edit Custom Key - cannot speak!
    [L.desc]

    " + . += span_bold("[L.name] ([get_language_prefix()][L.key][lang_key ? " [get_language_prefix()][lang_key]" : ""])") + " Edit Custom Key - cannot speak!
    [L.desc]

    " /mob/verb/check_languages() set name = "Check Known Languages" diff --git a/code/modules/mob/language/synthetic.dm b/code/modules/mob/language/synthetic.dm index bdf8a05bc3..73684681db 100644 --- a/code/modules/mob/language/synthetic.dm +++ b/code/modules/mob/language/synthetic.dm @@ -20,27 +20,27 @@ message = encode_html_emphasis(message) - var/message_start = "[name], [speaker.name]" + var/message_start = "[name], " + span_name("[speaker.name]") var/message_body = span_message("[speaker.say_quote(message)], \"[message]\"") for (var/mob/M in dead_mob_list) if(!istype(M,/mob/new_player) && !istype(M,/mob/living/carbon/brain)) //No meta-evesdropping var/message_to_send = span_binarysay("[message_start] ([ghost_follow_link(speaker, M)]) [message_body]") if(M.check_mentioned(message) && M.client?.prefs?.read_preference(/datum/preference/toggle/check_mention)) - message_to_send = "[message_to_send]" + message_to_send = span_large(span_bold("[message_to_send]")) M.show_message(message_to_send, 2) for (var/mob/living/S in living_mob_list) if(drone_only && !istype(S,/mob/living/silicon/robot/drone)) continue else if(istype(S , /mob/living/silicon/ai)) - message_start = span_binarysay("[name], [speaker.name]") + message_start = span_binarysay("[name], " + span_name("[speaker.name]") + "") else if (!S.binarycheck()) continue var/message_to_send = span_binarysay("[message_start] [message_body]") if(S.check_mentioned(message) && S.client?.prefs?.read_preference(/datum/preference/toggle/check_mention)) - message_to_send = "[message_to_send]" + message_to_send = span_large(span_bold("[message_to_send]")) S.show_message(message_to_send, 2) var/list/listening = hearers(1, src) diff --git a/code/modules/mob/living/bot/edCLNbot.dm b/code/modules/mob/living/bot/edCLNbot.dm index e2ce4b846f..02e0150ed2 100644 --- a/code/modules/mob/living/bot/edCLNbot.dm +++ b/code/modules/mob/living/bot/edCLNbot.dm @@ -38,7 +38,7 @@ if(!red_switch && blue_switch && !green_switch && prob(50) || src.emagged) if(istype(loc, /turf/simulated)) var/turf/simulated/T = loc - visible_message("\The [src] squirts a puddle of water on the floor!") + visible_message(span_infoplain(span_bold("\The [src]") + " squirts a puddle of water on the floor!")) T.wet_floor() if(!red_switch && !blue_switch && green_switch && prob(10) || src.emagged) diff --git a/code/modules/mob/living/bot/floorbot.dm b/code/modules/mob/living/bot/floorbot.dm index 2a97b3f08b..95ef281846 100644 --- a/code/modules/mob/living/bot/floorbot.dm +++ b/code/modules/mob/living/bot/floorbot.dm @@ -228,7 +228,7 @@ return busy = 1 update_icons() - visible_message("\The [src] begins to repair the hole.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins to repair the hole.")) if(do_after(src, 50)) if(A && (locate(/obj/structure/lattice, A) && building == 1 || !locate(/obj/structure/lattice, A) && building == 2)) // Make sure that it still needs repairs var/obj/item/I @@ -245,7 +245,7 @@ if(F.broken || F.burnt) busy = 1 update_icons() - visible_message("\The [src] begins to remove the broken floor.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins to remove the broken floor.")) if(do_after(src, 50, F)) if(F.broken || F.burnt) F.make_plating() @@ -255,7 +255,7 @@ else if(!F.flooring && amount) busy = 1 update_icons() - visible_message("\The [src] begins to improve the floor.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins to improve the floor.")) if(do_after(src, 50)) if(!F.flooring) F.set_flooring(get_flooring_data(floor_build_type)) @@ -265,7 +265,7 @@ update_icons() else if(istype(A, /obj/item/stack/tile/floor) && amount < maxAmount) var/obj/item/stack/tile/floor/T = A - visible_message("\The [src] begins to collect tiles.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins to collect tiles.")) busy = 1 update_icons() if(do_after(src, 20)) @@ -279,7 +279,7 @@ else if(istype(A, /obj/item/stack/material) && amount + 4 <= maxAmount) var/obj/item/stack/material/M = A if(M.get_material_name() == MAT_STEEL) - visible_message("\The [src] begins to make tiles.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins to make tiles.")) busy = 1 update_icons() if(do_after(50)) diff --git a/code/modules/mob/living/bot/medbot.dm b/code/modules/mob/living/bot/medbot.dm index 3610563433..d19916ed4a 100644 --- a/code/modules/mob/living/bot/medbot.dm +++ b/code/modules/mob/living/bot/medbot.dm @@ -433,7 +433,7 @@ if(MEDBOT_PANIC_HIGH to MEDBOT_PANIC_FUCK) . += span_warning("They are tipped over and visibly panicking!") if(MEDBOT_PANIC_FUCK to INFINITY) - . += span_warning("They are freaking out from being tipped over!") + . += span_boldwarning("They are freaking out from being tipped over!") /mob/living/bot/medbot/confirmTarget(var/mob/living/carbon/human/H) if(!..()) diff --git a/code/modules/mob/living/carbon/alien/alien_attacks.dm b/code/modules/mob/living/carbon/alien/alien_attacks.dm index 1085881106..174828d7ee 100644 --- a/code/modules/mob/living/carbon/alien/alien_attacks.dm +++ b/code/modules/mob/living/carbon/alien/alien_attacks.dm @@ -28,7 +28,7 @@ playsound(src, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) - O.show_message(span_red(text("[] has grabbed [] passively!", M, src)), 1) + O.show_message(span_danger(text("[] has grabbed [] passively!", M, src)), 1) else var/damage = rand(1, 9) @@ -43,17 +43,17 @@ playsound(src, "punch", 25, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) - O.show_message(span_red(text("[] has punched []!", M, src)), 1) + O.show_message(span_bolddanger(text("[] has punched []!", M, src)), 1) if (damage > 4.9) Weaken(rand(10,15)) for(var/mob/O in viewers(M, null)) if ((O.client && !( O.blinded ))) - O.show_message(span_red(text("[] has weakened []!", M, src)), 1, span_red("You hear someone fall."), 2) + O.show_message(span_bolddanger(text("[] has weakened []!", M, src)), 1, span_red("You hear someone fall."), 2) adjustBruteLoss(damage) updatehealth() else playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) - O.show_message(span_red(text("[] has attempted to punch []!", M, src)), 1) + O.show_message(span_bolddanger(text("[] has attempted to punch []!", M, src)), 1) return diff --git a/code/modules/mob/living/carbon/alien/diona/diona_attacks.dm b/code/modules/mob/living/carbon/alien/diona/diona_attacks.dm index d50f9a48ac..d8376354f0 100644 --- a/code/modules/mob/living/carbon/alien/diona/diona_attacks.dm +++ b/code/modules/mob/living/carbon/alien/diona/diona_attacks.dm @@ -18,6 +18,6 @@ return user.unEquip(W) wear_hat(W) - user.visible_message("\The [user] puts \the [W] on \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " puts \the [W] on \the [src].")) return return ..() diff --git a/code/modules/mob/living/carbon/alien/larva/progression.dm b/code/modules/mob/living/carbon/alien/larva/progression.dm index 7018a8557e..c2852f2fa6 100644 --- a/code/modules/mob/living/carbon/alien/larva/progression.dm +++ b/code/modules/mob/living/carbon/alien/larva/progression.dm @@ -6,11 +6,11 @@ /mob/living/carbon/alien/larva/confirm_evolution() - to_chat(src, span_notice("You are growing into a beautiful alien! It is time to choose a caste.")) + to_chat(src, span_boldnotice("You are growing into a beautiful alien! It is time to choose a caste.")) to_chat(src, span_notice("There are three to choose from:")) - to_chat(src, "Hunters are strong and agile, able to hunt away from the hive and rapidly move through ventilation shafts. Hunters generate plasma slowly and have low reserves.") - to_chat(src, "Sentinels are tasked with protecting the hive and are deadly up close and at a range. They are not as physically imposing nor fast as the hunters.") - to_chat(src, "Drones are the working class, offering the largest plasma storage and generation. They are the only caste which may evolve again, turning into the dreaded Genaprawn queen.") //CHOMPedit + to_chat(src, span_bold("Hunters") + span_notice(" are strong and agile, able to hunt away from the hive and rapidly move through ventilation shafts. Hunters generate plasma slowly and have low reserves.")) + to_chat(src, span_bold("Sentinels") + span_notice(" are tasked with protecting the hive and are deadly up close and at a range. They are not as physically imposing nor fast as the hunters.")) + to_chat(src, span_bold("Drones") + span_notice(" are the working class, offering the largest plasma storage and generation. They are the only caste which may evolve again, turning into the dreaded Genaprawn queen.")) //CHOMPedit var/alien_caste = tgui_alert(src, "Please choose which alien caste you shall belong to.","Alien Choice",list("Hunter","Sentinel","Drone")) return alien_caste ? "Genaprawn [alien_caste]" : null //CHOMPedit diff --git a/code/modules/mob/living/carbon/brain/MMI.dm b/code/modules/mob/living/carbon/brain/MMI.dm index ae4d6c1a50..d0f4aef575 100644 --- a/code/modules/mob/living/carbon/brain/MMI.dm +++ b/code/modules/mob/living/carbon/brain/MMI.dm @@ -58,7 +58,7 @@ to_chat(user, span_warning("\The [src] appears to reject this brain. It is incompatible.")) return - user.visible_message("\The [user] sticks \a [O] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " sticks \a [O] into \the [src].")) B.preserved = TRUE brainmob = B.brainmob @@ -271,10 +271,10 @@ src.brainmob.mind.reset() src.brainmob.ckey = candidate.ckey src.name = "[name] ([src.brainmob.name])" - to_chat(src.brainmob, "You are [src.name], brought into existence on [station_name()].") - to_chat(src.brainmob, "As a synthetic intelligence, you are designed with organic values in mind.") - to_chat(src.brainmob, "However, unless placed in a lawed chassis, you are not obligated to obey any individual crew member.") //it's not like they can hurt anyone -// to_chat(src.brainmob, "Use say #b to speak to other artificial intelligences.") + to_chat(src.brainmob, span_infoplain(span_bold("You are [src.name], brought into existence on [station_name()]."))) + to_chat(src.brainmob, span_infoplain(span_bold("As a synthetic intelligence, you are designed with organic values in mind."))) + to_chat(src.brainmob, span_infoplain(span_bold("However, unless placed in a lawed chassis, you are not obligated to obey any individual crew member."))) //it's not like they can hurt anyone +// to_chat(src.brainmob, span_infoplain(span_bold("Use say #b to speak to other artificial intelligences."))) src.brainmob.mind.assigned_role = JOB_SYNTHETIC_BRAIN var/turf/T = get_turf_or_move(src.loc) diff --git a/code/modules/mob/living/carbon/brain/posibrain.dm b/code/modules/mob/living/carbon/brain/posibrain.dm index 5ea47dc4a0..222e27437c 100644 --- a/code/modules/mob/living/carbon/brain/posibrain.dm +++ b/code/modules/mob/living/carbon/brain/posibrain.dm @@ -60,10 +60,10 @@ src.brainmob.ckey = candidate.ckey src.brainmob.mind.reset() src.name = "positronic brain ([src.brainmob.name])" - to_chat(src.brainmob, "You are a positronic brain, brought into existence on [station_name()].") - to_chat(src.brainmob, "As a synthetic intelligence, you answer to all crewmembers, as well as the AI.") - to_chat(src.brainmob, "Remember, the purpose of your existence is to serve the crew and the station. Above all else, do no harm.") - to_chat(src.brainmob, "Use say #b to speak to other artificial intelligences.") + to_chat(src.brainmob, span_infoplain(span_bold("You are a positronic brain, brought into existence on [station_name()]."))) + to_chat(src.brainmob, span_infoplain(span_bold("As a synthetic intelligence, you answer to all crewmembers, as well as the AI."))) + to_chat(src.brainmob, span_infoplain(span_bold("Remember, the purpose of your existence is to serve the crew and the station. Above all else, do no harm."))) + to_chat(src.brainmob, span_infoplain(span_bold("Use say #b to speak to other artificial intelligences."))) src.brainmob.mind.assigned_role = JOB_POSITRONIC_BRAIN var/turf/T = get_turf_or_move(src.loc) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 76e5cba6c9..dc71898c62 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -81,7 +81,7 @@ M.loc = src.loc for(var/mob/N in viewers(src, null)) if(N.client) - N.show_message(span_red(text("[M] bursts out of [src]!")), 2) + N.show_message(span_bolddanger("[M] bursts out of [src]!"), 2) ..() /mob/living/carbon/attack_hand(mob/M as mob) @@ -92,7 +92,7 @@ if (H.hand) temp = H.organs_by_name["l_hand"] if(temp && !temp.is_usable()) - to_chat(H, span_red("You can't use your [temp.name]")) + to_chat(H, span_warning("You can't use your [temp.name]")) return return @@ -109,7 +109,7 @@ var/weaken_dur = (rand(2,4)-severity)*species.emp_stun_mod //0-3 knockdown, on par with.. you get the idea var/blind_dur = (rand(3,6)-severity)*species.emp_stun_mod //0-5 blind if(species.emp_sensitivity) //receive warning message and basic effects - to_chat(src, span_danger("*BZZZT*")) + to_chat(src, span_bolddanger("*BZZZT*")) switch(severity) if(1) to_chat(src, span_danger("DANGER: Extreme EM flux detected!")) @@ -247,9 +247,9 @@ if(!org.is_usable() || org.is_dislocated()) status += "dangling uselessly" if(status.len) - src.show_message("My [org.name] is [english_list(status)].",1) + src.show_message("My [org.name] is " + span_warning("[english_list(status)]."),1) else - src.show_message("My [org.name] is OK.",1) + src.show_message("My [org.name] is " + span_notice("OK."),1) if((SKELETON in H.mutations) && (!H.w_uniform) && (!H.wear_suit)) H.play_xylophone() diff --git a/code/modules/mob/living/carbon/human/death.dm b/code/modules/mob/living/carbon/human/death.dm index 33963d186a..613d776357 100644 --- a/code/modules/mob/living/carbon/human/death.dm +++ b/code/modules/mob/living/carbon/human/death.dm @@ -93,7 +93,7 @@ // SSgame_master.adjust_danger(gibbed ? 40 : 20) // VOREStation Edit - We don't use SSgame_master yet. for(var/mob/observer/dead/O in mob_list) if(O.client?.prefs?.read_preference(/datum/preference/toggle/show_dsay)) - to_chat(O, span_deadsay("[src] has died in [get_area(src)]. [ghost_follow_link(src, O)] ")) + to_chat(O, span_deadsay(span_bold("[src]") + " has died in " + span_bold("[get_area(src)]") + ". [ghost_follow_link(src, O)] ")) /* // CHOMPEdit Start: Replacing this with our own death sounds. :3 if(!gibbed && species.death_sound) diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm index e23bcdfdda..4a446dc6e4 100644 --- a/code/modules/mob/living/carbon/human/emote.dm +++ b/code/modules/mob/living/carbon/human/emote.dm @@ -364,7 +364,7 @@ var/list/_simple_mob_default_emotes = list( var/HTML = "" HTML += "
    " - HTML += "Update Flavour Text
    " + HTML += span_bold("Update Flavour Text") + "
    " HTML += "
    " HTML += "General: " HTML += TextPreview(flavor_texts["general"]) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 584a250625..dfcd68bca5 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -87,7 +87,7 @@ if(!((skip_gear & EXAMINE_SKIPJUMPSUIT) && (skip_body & EXAMINE_SKIPFACE))) //VOREStation Add Start if(custom_species) - name_ender = ", a [src.custom_species]" + name_ender = ", a " + span_bold("[src.custom_species]") else if(looks_synth) //VOREStation Add End var/use_gender = "a synthetic" @@ -96,12 +96,12 @@ else if(gender == FEMALE) use_gender = "a gynoid" - name_ender = ", [use_gender]![species.get_additional_examine_text(src)]" + name_ender = ", " + span_bold(span_gray("[use_gender]!")) + "[species.get_additional_examine_text(src)]" else if(species.name != "Human") - name_ender = ", \a [species.get_examine_name()]![species.get_additional_examine_text(src)]" + name_ender = ", " + span_bold("\a [species.get_examine_name()]!") + "[species.get_additional_examine_text(src)]" - var/list/msg = list("","This is [icon2html(src, user.client)] [src.name][name_ender]") + var/list/msg = list("This is [icon2html(src, user.client)] [src.name][name_ender]") //uniform if(w_uniform && !(skip_gear & EXAMINE_SKIPJUMPSUIT) && w_uniform.show_examine) @@ -252,7 +252,7 @@ //Jitters if(is_jittery) if(jitteriness >= 300) - msg += span_warning("[T.He] [T.is] convulsing violently!") + msg += span_boldwarning("[T.He] [T.is] convulsing violently!") else if(jitteriness >= 200) msg += span_warning("[T.He] [T.is] extremely jittery.") else if(jitteriness >= 100) @@ -291,7 +291,7 @@ if((stat == 2 || src.losebreath) && get_dist(user, src) <= 3) msg += span_warning("[T.He] [T.does] not appear to be breathing.") if(istype(user, /mob/living/carbon/human) && !user.stat && Adjacent(user)) - user.visible_message("[usr] checks [src]'s pulse.", "You check [src]'s pulse.") + user.visible_message(span_infoplain(span_bold("[usr]") + " checks [src]'s pulse."), span_infoplain("You check [src]'s pulse.")) spawn(15) if(isobserver(user) || (Adjacent(user) && !user.stat)) // If you're a corpse then you can't exactly check their pulse, but ghosts can see anything if(pulse == PULSE_NONE) @@ -330,9 +330,9 @@ var/obj/item/organ/external/E = organs_by_name[organ_tag] if(!E) - wound_flavor_text["[organ_descriptor]"] = span_warning("[T.He] [T.is] missing [T.his] [organ_descriptor].") + wound_flavor_text["[organ_descriptor]"] = span_boldwarning("[T.He] [T.is] missing [T.his] [organ_descriptor].") else if(E.is_stump()) - wound_flavor_text["[organ_descriptor]"] = span_warning("[T.He] [T.has] a stump where [T.his] [organ_descriptor] should be.") + wound_flavor_text["[organ_descriptor]"] = span_boldwarning("[T.He] [T.has] a stump where [T.his] [organ_descriptor] should be.") else continue @@ -341,7 +341,7 @@ if((temp.organ_tag in hidden) && hidden[temp.organ_tag]) continue //Organ is hidden, don't talk about it if(temp.status & ORGAN_DESTROYED) - wound_flavor_text["[temp.name]"] = span_warning("[T.He] [T.is] missing [T.his] [temp.name].") + wound_flavor_text["[temp.name]"] = span_boldwarning("[T.He] [T.is] missing [T.his] [temp.name].") continue if(!looks_synth && temp.robotic == ORGAN_ROBOT) @@ -435,13 +435,13 @@ // VOREStation Start if(custom_link) - msg += "Custom link: [custom_link]" + msg += "Custom link: " + span_linkify("[custom_link]") if(ooc_notes) msg += "OOC Notes: \[View\] - \[Print\]" msg += "\[Mechanical Vore Preferences\]" // VOREStation End - msg += "" + msg = list(span_info(jointext(msg, "
    "))) if(applying_pressure) msg += applying_pressure diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 0322d8a94d..2df0839d5a 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -444,13 +444,13 @@ if (R.fields["id"] == E.fields["id"]) if(hasHUD(usr,"security")) var/list/security_hud_text = list() - security_hud_text += "Name: [R.fields["name"]] Criminal Status: [R.fields["criminal"]]" - security_hud_text += "Species: [R.fields["species"]]" - security_hud_text += "Minor Crimes: [R.fields["mi_crim"]]" - security_hud_text += "Details: [R.fields["mi_crim_d"]]" - security_hud_text += "Major Crimes: [R.fields["ma_crim"]]" - security_hud_text += "Details: [R.fields["ma_crim_d"]]" - security_hud_text += "Notes: [R.fields["notes"]]" + security_hud_text += span_bold("Name:") + " [R.fields["name"]] " + span_bold("Criminal Status:") + " [R.fields["criminal"]]" + security_hud_text += span_bold("Species:") + " [R.fields["species"]]" + security_hud_text += span_bold("Minor Crimes:") + " [R.fields["mi_crim"]]" + security_hud_text += span_bold("Details:") + " [R.fields["mi_crim_d"]]" + security_hud_text += span_bold("Major Crimes:") + " [R.fields["ma_crim"]]" + security_hud_text += span_bold("Details:") + " [R.fields["ma_crim_d"]]" + security_hud_text += span_bold("Notes:") + " [R.fields["notes"]]" security_hud_text += "\[View Comment Log\]" to_chat(usr, span_filter_notice("[jointext(security_hud_text, "
    ")]")) read = 1 @@ -563,14 +563,14 @@ if (R.fields["id"] == E.fields["id"]) if(hasHUD(usr,"medical")) var/list/medical_hud_text = list() - medical_hud_text += "Name: [R.fields["name"]] Blood Type: [R.fields["b_type"]] Blood Basis: [R.fields["blood_reagent"]]" - medical_hud_text += "Species: [R.fields["species"]]" - medical_hud_text += "DNA: [R.fields["b_dna"]]" - medical_hud_text += "Minor Disabilities: [R.fields["mi_dis"]]" - medical_hud_text += "Details: [R.fields["mi_dis_d"]]" - medical_hud_text += "Major Disabilities: [R.fields["ma_dis"]]" - medical_hud_text += "Details: [R.fields["ma_dis_d"]]" - medical_hud_text += "Notes: [R.fields["notes"]]" + medical_hud_text += span_bold("Name:") + " [R.fields["name"]] " + span_bold("Blood Type:") + " [R.fields["b_type"]] " + span_bold("Blood Basis:") + " [R.fields["blood_reagent"]]" + medical_hud_text += span_bold("Species:") + " [R.fields["species"]]" + medical_hud_text += span_bold("DNA:") + " [R.fields["b_dna"]]" + medical_hud_text += span_bold("Minor Disabilities:") + " [R.fields["mi_dis"]]" + medical_hud_text += span_bold("Details:") + " [R.fields["mi_dis_d"]]" + medical_hud_text += span_bold("Major Disabilities:") + " [R.fields["ma_dis"]]" + medical_hud_text += span_bold("Details:") + " [R.fields["ma_dis_d"]]" + medical_hud_text += span_bold("Notes:") + " [R.fields["notes"]]" medical_hud_text += "\[View Comment Log\]" to_chat(usr, span_filter_notice("[jointext(medical_hud_text, "
    ")]")) read = 1 @@ -647,16 +647,16 @@ if (R.fields["id"] == E.fields["id"]) if(hasHUD(usr,"best")) var/list/emp_hud_text = list() - emp_hud_text += "Name: [R.fields["name"]]" - emp_hud_text += "Species: [R.fields["species"]]" - emp_hud_text += "Assignment: [R.fields["real_rank"]] ([R.fields["rank"]])" - emp_hud_text += "Home System: [R.fields["home_system"]]" - emp_hud_text += "Birthplace: [R.fields["birthplace"]]" - emp_hud_text += "Citizenship: [R.fields["citizenship"]]" - emp_hud_text += "Primary Employer: [R.fields["personal_faction"]]" - emp_hud_text += "Religious Beliefs: [R.fields["religion"]]" - emp_hud_text += "Known Languages: [R.fields["languages"]]" - emp_hud_text += "Notes: [R.fields["notes"]]" + emp_hud_text += span_bold("Name:") + " [R.fields["name"]]" + emp_hud_text += span_bold("Species:") + " [R.fields["species"]]" + emp_hud_text += span_bold("Assignment:") + " [R.fields["real_rank"]] ([R.fields["rank"]])" + emp_hud_text += span_bold("Home System:") + " [R.fields["home_system"]]" + emp_hud_text += span_bold("Birthplace:") + " [R.fields["birthplace"]]" + emp_hud_text += span_bold("Citizenship:") + " [R.fields["citizenship"]]" + emp_hud_text += span_bold("Primary Employer:") + " [R.fields["personal_faction"]]" + emp_hud_text += span_bold("Religious Beliefs:") + " [R.fields["religion"]]" + emp_hud_text += span_bold("Known Languages:") + " [R.fields["languages"]]" + emp_hud_text += span_bold("Notes:") + " [R.fields["notes"]]" emp_hud_text += "\[View Comment Log\]" to_chat(usr, span_filter_notice("[jointext(emp_hud_text, "
    ")]")) read = 1 @@ -973,7 +973,7 @@ usr.show_message(span_filter_say("[span_blue("You project your mind into [target.real_name]: [say]")]")) log_say("(TPATH to [key_name(target)]) [say]",src) for(var/mob/observer/dead/G in mob_list) - G.show_message(span_filter_say("Telepathic message from [src] to [target]: [say]")) + G.show_message(span_filter_say(span_italics("Telepathic message from " + span_bold("[src]") + " to " + span_bold("[target]") + ": [say]"))) /mob/living/carbon/human/proc/remoteobserve() set name = "Remote View" diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index 7fca1837b0..4918177843 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -57,7 +57,7 @@ if(!hit_zone) H.do_attack_animation(src) playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) - visible_message(span_filter_combat("[span_red("[H] reaches for [src], but misses!")]")) + visible_message(span_filter_combat("[span_red(span_bold("[H] reaches for [src], but misses!"))]")) return FALSE if(H != src && check_shields(0, null, H, H.zone_sel.selecting, H.name)) @@ -334,7 +334,7 @@ return playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) - visible_message(span_filter_combat("[span_red("[M] attempted to disarm [src]!")]")) + visible_message(span_filter_combat("[span_red(span_bold("[M] attempted to disarm [src]!"))]")) return /mob/living/carbon/human/proc/afterattack(atom/target as mob|obj|turf|area, mob/living/user as mob|obj, inrange, params) @@ -450,16 +450,16 @@ set category = "IC.Game" //CHOMPEdit set src = usr - var/dat = "Known Attacks

    " + var/dat = span_bold(span_giant("Known Attacks")) + "

    " if(default_attack) dat += "Current default attack: [default_attack.attack_name] - reset

    " for(var/datum/unarmed_attack/u_attack in species.unarmed_attacks) if(u_attack == default_attack) - dat += "Primarily [u_attack.attack_name] - default - reset


    " + dat += span_bold("Primarily [u_attack.attack_name]") + " - default - reset


    " else - dat += "Primarily [u_attack.attack_name] - set default


    " + dat += span_bold("Primarily [u_attack.attack_name]") + " - set default


    " src << browse(dat, "window=checkattack") diff --git a/code/modules/mob/living/carbon/human/human_attackhand_vr.dm b/code/modules/mob/living/carbon/human/human_attackhand_vr.dm index 05ba244cd6..0d1664cdc5 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand_vr.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand_vr.dm @@ -6,25 +6,25 @@ set category = "IC.Game" //CHOMPEdit set src = usr - var/dat = "Known Attacks

    " + var/dat = span_bold("Known Attacks") + "

    " for(var/datum/unarmed_attack/u_attack in species.unarmed_attacks) - dat += "Primarily [u_attack.attack_name]


    " + dat += span_bold("Primarily [u_attack.attack_name] ") + "


    " src << browse(dat, "window=checkattack") return /mob/living/carbon/human/check_attacks() - var/dat = "Known Attacks

    " + var/dat = span_bold("Known Attacks") + "

    " if(default_attack) dat += "Current default attack: [default_attack.attack_name] - reset

    " for(var/datum/unarmed_attack/u_attack in species.unarmed_attacks) if(u_attack == default_attack) - dat += "Primarily [u_attack.attack_name] - default - reset


    " + dat += span_bold("Primarily [u_attack.attack_name]") + " - default - reset


    " else - dat += "Primarily [u_attack.attack_name] - set default


    " + dat += span_bold("Primarily [u_attack.attack_name]") + " - set default


    " src << browse(dat, "window=checkattack") diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index 5410a1218b..c3363e141a 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -446,7 +446,7 @@ emp_act var/throw_damage = O.throwforce*(speed/THROWFORCE_SPEED_DIVISOR) if(species && species.throwforce_absorb_threshold >= throw_damage) - visible_message("\The [O] simply bounces off of [src]'s body!") + visible_message(span_infoplain(span_bold("\The [O]") + " simply bounces off of [src]'s body!")) return var/zone @@ -475,7 +475,7 @@ emp_act return if(!zone) - visible_message("\The [O] misses [src] narrowly!") + visible_message(span_infoplain(span_bold("\The [O]") + " misses [src] narrowly!")) return O.throwing = 0 //it hit, so stop moving diff --git a/code/modules/mob/living/carbon/human/human_powers.dm b/code/modules/mob/living/carbon/human/human_powers.dm index b21963d9e6..e9d6500808 100644 --- a/code/modules/mob/living/carbon/human/human_powers.dm +++ b/code/modules/mob/living/carbon/human/human_powers.dm @@ -14,7 +14,7 @@ var/datum/sprite_accessory/hair/hair_style = hair_styles_list[h_style] var/selected_string if(!(hair_style.flags & HAIR_TIEABLE)) - to_chat(src, "Your hair isn't long enough to tie.") + to_chat(src, span_warning("Your hair isn't long enough to tie.")) return else var/list/datum/sprite_accessory/hair/valid_hairstyles = list() @@ -31,7 +31,7 @@ regenerate_icons() visible_message(span_notice("[src] pauses a moment to style their hair.")) else - to_chat(src, "You're already using that style.") + to_chat(src, span_notice("You're already using that style.")) /mob/living/carbon/human/proc/tackle() set category = "Abilities.General" //CHOMPEdit @@ -42,7 +42,7 @@ return if(stat || paralysis || stunned || weakened || lying || restrained() || buckled) - to_chat(src, "You cannot tackle someone in your current state.") + to_chat(src, span_notice("You cannot tackle someone in your current state.")) return var/list/choices = list() @@ -61,7 +61,7 @@ return if(stat || paralysis || stunned || weakened || lying || restrained() || buckled) - to_chat(src, span_filter_notice("You cannot tackle in your current state.")) + to_chat(src, span_notice("You cannot tackle in your current state.")) return last_special = world.time + 50 @@ -78,7 +78,7 @@ for(var/mob/O in viewers(src, null)) if ((O.client && !( O.blinded ))) - O.show_message(span_filter_warning("[span_red("[src] [failed ? "tried to tackle" : "has tackled"] down [T]!")]"), 1) + O.show_message(span_warning(span_red(span_bold("[src] [failed ? "tried to tackle" : "has tackled"] down [T]!"))), 1) /mob/living/carbon/human/proc/commune() set category = "Abilities.General" //CHOMPEdit @@ -126,7 +126,7 @@ if(M in stomach_contents) stomach_contents.Remove(M) M.loc = loc - src.visible_message(span_filter_warning("[span_red("[src] hurls out the contents of their stomach!")]")) + src.visible_message(span_filter_warning(span_red(span_bold("[src] hurls out the contents of their stomach!")))) return /mob/living/carbon/human/proc/psychic_whisper(mob/M as mob in oview()) @@ -211,7 +211,7 @@ to_chat(src, span_notice("Performing self-diagnostic, please wait...")) spawn(50) - var/output = span_filter_notice("Self-Diagnostic Results:\n") + var/output = span_filter_notice("Self-Diagnostic Results:\n") output += "Internal Temperature: [convert_k2c(bodytemperature)] Degrees Celsius\n" @@ -220,24 +220,24 @@ var/toxDam = getToxLoss() if(toxDam) - output += "System Instability: [toxDam > 25 ? "Severe" : "Moderate"]. Seek charging station for cleanup.\n" + output += "System Instability: " + span_warning("[toxDam > 25 ? "Severe" : "Moderate"]") + ". Seek charging station for cleanup.\n" else - output += "System Instability: OK\n" + output += "System Instability: " + span_green("OK") + "\n" for(var/obj/item/organ/external/EO in organs) if(EO.robotic >= ORGAN_ASSISTED) if(EO.brute_dam || EO.burn_dam) - output += "[EO.name] - [EO.burn_dam + EO.brute_dam > EO.min_broken_damage ? "Heavy Damage" : "Light Damage"]\n" //VOREStation Edit - Makes robotic limb damage scalable + output += "[EO.name] - " + span_warning("[EO.burn_dam + EO.brute_dam > EO.min_broken_damage ? "Heavy Damage" : "Light Damage"]") + "\n" //VOREStation Edit - Makes robotic limb damage scalable else - output += "[EO.name] - OK\n" + output += "[EO.name] - " + span_green("OK") + "\n" for(var/obj/item/organ/IO in internal_organs) if(IO.robotic >= ORGAN_ASSISTED) if(IO.damage) - output += "[IO.name] - [IO.damage > 10 ? "Heavy Damage" : "Light Damage"]\n" + output += "[IO.name] - " + span_warning("[IO.damage > 10 ? "Heavy Damage" : "Light Damage"]") + "\n" else - output += "[IO.name] - OK\n" - output += "" + output += "[IO.name] - " + span_green("OK") + "\n" + output = span_notice(output) to_chat(src,output) @@ -267,7 +267,7 @@ continue heard_something = TRUE var/feedback = list() - feedback += "There are noises of movement " + feedback += "There are noises of movement " var/direction = get_dir(src, L) if(direction) feedback += "towards the [dir2text(direction)], " @@ -284,8 +284,7 @@ feedback += "far away." else // No need to check distance if they're standing right on-top of us feedback += "right on top of you." - feedback += "" - to_chat(src,jointext(feedback,null)) + to_chat(src,span_notice(jointext(feedback,null))) if(!heard_something) to_chat(src, span_notice("You hear no movement but your own.")) @@ -303,7 +302,7 @@ return else active_regen = TRUE - src.visible_message(span_filter_notice("[src]'s flesh begins to mend...")) + src.visible_message(span_filter_notice(span_bold("[src]") + "'s flesh begins to mend...")) var/delay_length = round(active_regen_delay * species.active_regen_mult) if(do_after(src,delay_length)) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index b0688ddbca..fbcad4379f 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1301,7 +1301,7 @@ if(halloss >= species.total_health) to_chat(src, span_notice("You're in too much pain to keep going...")) - src.visible_message("[src] slumps to the ground, too weak to continue fighting.") + src.visible_message(span_infoplain(span_bold("[src]") + " slumps to the ground, too weak to continue fighting.")) Paralyse(10) setHalLoss(species.total_health - 1) diff --git a/code/modules/mob/living/carbon/human/species/lleill/lleill_abilities.dm b/code/modules/mob/living/carbon/human/species/lleill/lleill_abilities.dm index 76cc46af9a..8bd3915bc2 100644 --- a/code/modules/mob/living/carbon/human/species/lleill/lleill_abilities.dm +++ b/code/modules/mob/living/carbon/human/species/lleill/lleill_abilities.dm @@ -60,7 +60,7 @@ wrapped_species_by_ref["\ref[src]"] = new_species dna.base_species = new_species species.base_species = new_species - visible_message("\The [src] shifts and contorts, taking the form of \a [new_species]!") + visible_message(span_infoplain(span_bold("\The [src]") + " shifts and contorts, taking the form of \a [new_species]!")) regenerate_icons() /mob/living/carbon/human/proc/lleill_select_colour() @@ -141,11 +141,11 @@ to_chat(src, span_warning("The item is no longer in your hands.")) return else - visible_message("\The [src] begins to change the form of \the [I].") + visible_message(span_infoplain(span_bold("\The [src]") + " begins to change the form of \the [I].")) if(!do_after(usr, 10 SECONDS, I, exclusive = TASK_USER_EXCLUSIVE)) - visible_message("\The [src] leaves \the [I] in its original form.") + visible_message(span_infoplain(span_bold("\The [src]") + " leaves \the [I] in its original form.")) return 0 - visible_message("\The [src] transmutes \the [I] into \the [transmute_product.name].") + visible_message(span_infoplain(span_bold("\The [src]") + " transmutes \the [I] into \the [transmute_product.name].")) drop_item(I) qdel(I) var/spawnloc = get_turf(usr) @@ -183,7 +183,7 @@ to_chat(src, span_warning("You do not have enough energy to do that!")) return if(!do_after(src, 10 SECONDS, src, exclusive = TASK_USER_EXCLUSIVE)) - src.visible_message("\The [src] begins to form white rings on the ground.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " begins to form white rings on the ground.")) return 0 to_chat(src, span_warning("You place a new glamour ring at your feet.")) var/spawnloc = get_turf(src) @@ -292,28 +292,28 @@ return if(accepted == "Yes") if(contact_type == "Kiss (lips)") - src.visible_message("\The [src] presses their lips up against [chosen_target]'s own.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " presses their lips up against [chosen_target]'s own.")) if(contact_type == "Kiss (neck)") - src.visible_message("\The [src] presses their lips up against [chosen_target]'s neck.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " presses their lips up against [chosen_target]'s neck.")) if(contact_type == "Bite (neck)") - src.visible_message("\The [src] bites down on [chosen_target]'s neck.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " bites down on [chosen_target]'s neck.")) if(contact_type == "Bite (wrist)") - src.visible_message("\The [src] bites down on [chosen_target]'s wrist.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " bites down on [chosen_target]'s wrist.")) if(contact_type == "Hold Hand") - src.visible_message("\The [src] takes [chosen_target]'s hand into their own.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " takes [chosen_target]'s hand into their own.")) if(contact_type == "Embrace") - src.visible_message("\The [src] embraces [chosen_target].") + src.visible_message(span_infoplain(span_bold("\The [src]") + " embraces [chosen_target].")) if(contact_type == "Stroke (hair)") - src.visible_message("\The [src] runs their hand through [chosen_target]'s hair.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " runs their hand through [chosen_target]'s hair.")) if(contact_type == "Boop (nose)") - src.visible_message("\The [src] boops [chosen_target] on the nose.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " boops [chosen_target] on the nose.")) if(contact_type == "Custom") - src.visible_message("[custom_text]") + src.visible_message(span_infoplain("[custom_text]")) if(!do_after(src, 10 SECONDS, chosen_target, exclusive = TASK_USER_EXCLUSIVE)) return else - src.visible_message("\The [src] and \the [chosen_target] break contact before energy has been transferred.") - src.visible_message("\The [src] and \the [chosen_target] complete their contact.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " and \the [chosen_target] break contact before energy has been transferred.")) + src.visible_message(span_infoplain(span_bold("\The [src]") + " and \the [chosen_target] complete their contact.")) species.lleill_energy = species.lleill_energy_max nutrition += (chosen_target.nutrition / 2) to_chat(src, span_warning("You feel revitalised.")) @@ -360,11 +360,11 @@ to_chat(src, span_warning("The item is no longer in your hands.")) return else - visible_message("\The [src] begins to change the form of \the [I].") + visible_message(span_infoplain(span_bold("\The [src]") + " begins to change the form of \the [I].")) if(!do_after(usr, 10 SECONDS, I, exclusive = TASK_USER_EXCLUSIVE)) - visible_message("\The [src] leaves \the [I] in its original form.") + visible_message(span_infoplain(span_bold("\The [src]") + " leaves \the [I] in its original form.")) return 0 - visible_message("\The [src] transmutes \the [I] into \the [transmute_product.name].") + visible_message(span_infoplain(span_bold("\The [src]") + " transmutes \the [I] into \the [transmute_product.name].")) drop_item(I) qdel(I) var/spawnloc = get_turf(usr) @@ -451,9 +451,9 @@ to_chat(src, span_warning("You are too injured to transform into a beast.")) return - visible_message("\The [src] begins significantly shifting their form.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins significantly shifting their form.")) if(!do_after(src, 10 SECONDS, src, exclusive = TASK_USER_EXCLUSIVE)) - visible_message("\The [src] ceases shifting their form.") + visible_message(span_infoplain(span_bold("\The [src]") + " ceases shifting their form.")) return 0 var/image/coolanimation = image('icons/obj/glamour.dmi', null, "animation") @@ -517,7 +517,7 @@ M.loc = new_mob M.forceMove(new_mob) new_mob.tf_mob_holder = M - new_mob.visible_message("\The [src] has transformed into \the [chosen_beast]!") + new_mob.visible_message(span_infoplain(span_bold("\The [src]") + " has transformed into \the [chosen_beast]!")) species.update_lleill_hud(src) @@ -541,11 +541,11 @@ to_chat(src, span_warning("You can't do that in your condition.")) return - visible_message("\The [src] begins significantly shifting their form.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins significantly shifting their form.")) if(!do_after(src, 10 SECONDS, src, exclusive = TASK_USER_EXCLUSIVE)) - visible_message("\The [src] ceases shifting their form.") + visible_message(span_infoplain(span_bold("\The [src]") + " ceases shifting their form.")) return 0 - visible_message("\The [src] has reverted to their original form.") + visible_message(span_infoplain(span_bold("\The [src]") + " has reverted to their original form.")) revert_mob_tf() @@ -629,9 +629,9 @@ to_chat(src, span_warning("You are too injured to transform into a beast.")) return - visible_message("\The [src] begins significantly shifting their form.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins significantly shifting their form.")) if(!do_after(src, 10 SECONDS, src, exclusive = TASK_USER_EXCLUSIVE)) - visible_message("\The [src] ceases shifting their form.") + visible_message(span_infoplain(span_bold("\The [src]") + " ceases shifting their form.")) return 0 var/image/coolanimation = image('icons/obj/glamour.dmi', null, "animation") @@ -698,4 +698,4 @@ M.loc = new_mob M.forceMove(new_mob) new_mob.tf_mob_holder = M - new_mob.visible_message("\The [src] has transformed into \the [chosen_beast]!") + new_mob.visible_message(span_infoplain(span_bold("\The [src]") + " has transformed into \the [chosen_beast]!")) diff --git a/code/modules/mob/living/carbon/human/species/lleill/lleill_items.dm b/code/modules/mob/living/carbon/human/species/lleill/lleill_items.dm index 13b9a06968..b36bad80e5 100644 --- a/code/modules/mob/living/carbon/human/species/lleill/lleill_items.dm +++ b/code/modules/mob/living/carbon/human/species/lleill/lleill_items.dm @@ -24,7 +24,7 @@ /datum/reagent/glamour_transparent/affect_blood(var/mob/living/carbon/target, var/removed) if(!target.cloaked) - target.visible_message("\The [target] vanishes from sight.") + target.visible_message(span_infoplain(span_bold("\The [target]") + " vanishes from sight.")) target.cloak() target.bloodstr.clear_reagents() //instantly clears reagents afterwards target.ingested.clear_reagents() @@ -32,7 +32,7 @@ spawn(600) if(target.cloaked) target.uncloak() - target.visible_message("\The [target] appears as if from thin air.") + target.visible_message(span_infoplain(span_bold("\The [target]") + " appears as if from thin air.")) //Shrinking Glamour (scaling potion) @@ -159,7 +159,7 @@ if(!h_action || h_action == "Cancel") return if(h_action == "Recall") - H.visible_message("\The [H] returns to the face.") + H.visible_message(span_infoplain(span_bold("\The [H]") + " returns to the face.")) qdel(H) homunculus = 0 return @@ -253,7 +253,7 @@ to_chat(M, span_warning("You leave the glamour ring alone.")) return to_chat(M, span_warning("You have destroyed \the [src].")) - src.visible_message("\The [M] has broken apart \the [src].") + src.visible_message(span_infoplain(span_bold("\The [M]") + " has broken apart \the [src].")) if(M != connected_mob && connected_mob) to_chat(connected_mob, span_warning("\The [src] has been destroyed by \the [M].")) if(istype(LL)) diff --git a/code/modules/mob/living/carbon/human/species/species.dm b/code/modules/mob/living/carbon/human/species/species.dm index cacea7021c..db9b88ba76 100644 --- a/code/modules/mob/living/carbon/human/species/species.dm +++ b/code/modules/mob/living/carbon/human/species/species.dm @@ -611,7 +611,7 @@ if(!silent) to_chat(H, span_notice("You manage to lower impact of the fall and land safely.")) - landing.visible_message("\The [H] lowers down from above, landing safely.") + landing.visible_message(span_infoplain(span_bold("\The [H]") + " lowers down from above, landing safely.")) playsound(H, "rustle", 25, 1) return TRUE diff --git a/code/modules/mob/living/carbon/human/species/species_shapeshift.dm b/code/modules/mob/living/carbon/human/species/species_shapeshift.dm index 818779d7f8..a118e82708 100644 --- a/code/modules/mob/living/carbon/human/species/species_shapeshift.dm +++ b/code/modules/mob/living/carbon/human/species/species_shapeshift.dm @@ -165,7 +165,7 @@ var/list/wrapped_species_by_ref = list() return wrapped_species_by_ref["\ref[src]"] = new_species - visible_message("\The [src] shifts and contorts, taking the form of \a [new_species]!") + visible_message(span_infoplain(span_bold("\The [src]") + " shifts and contorts, taking the form of \a [new_species]!")) regenerate_icons() */ diff --git a/code/modules/mob/living/carbon/human/species/species_shapeshift_vr.dm b/code/modules/mob/living/carbon/human/species/species_shapeshift_vr.dm index a62b9f4ac5..48291f349e 100644 --- a/code/modules/mob/living/carbon/human/species/species_shapeshift_vr.dm +++ b/code/modules/mob/living/carbon/human/species/species_shapeshift_vr.dm @@ -189,5 +189,5 @@ species.base_species = new_species wrapped_species_by_ref["\ref[src]"] = new_species if (visible) - visible_message(span_filter_notice("\The [src] shifts and contorts, taking the form of \a [new_species]!")) + visible_message(span_filter_notice(span_bold("\The [src]") + " shifts and contorts, taking the form of \a [new_species]!")) regenerate_icons() diff --git a/code/modules/mob/living/carbon/human/species/station/prometheans.dm b/code/modules/mob/living/carbon/human/species/station/prometheans.dm index 0b294bc697..ae3e683d96 100644 --- a/code/modules/mob/living/carbon/human/species/station/prometheans.dm +++ b/code/modules/mob/living/carbon/human/species/station/prometheans.dm @@ -181,7 +181,7 @@ var/datum/species/shapeshifter/promethean/prometheans if(FEMALE) t_him = "her" - H.visible_message("\The [H] glomps [target] to make [t_him] feel better!", \ + H.visible_message(span_infoplain(span_bold("\The [H]") + " glomps [target] to make [t_him] feel better!"), \ span_notice("You glomp [target] to make [t_him] feel better!")) H.apply_stored_shock_to(target) diff --git a/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm b/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm index aa554b9abe..bbdb4af661 100644 --- a/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm +++ b/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm @@ -276,11 +276,11 @@ if(is_wide) is_wide = FALSE - src.visible_message("[src.name] pulls together, compacting themselves into a small ball!") + src.visible_message(span_infoplain(span_bold("[src.name]") + " pulls together, compacting themselves into a small ball!")) update_icon() else is_wide = TRUE - src.visible_message("[src.name] flows outwards, their goop expanding!") + src.visible_message(span_infoplain(span_bold("[src.name]") + " flows outwards, their goop expanding!")) update_icon() /mob/living/simple_mob/slime/promethean/proc/toggle_shine() @@ -296,11 +296,11 @@ if(shiny) shiny = FALSE - src.visible_message("[src.name] dulls their shine, becoming more translucent.") + src.visible_message(span_infoplain(span_bold("[src.name]") + " dulls their shine, becoming more translucent.")) update_icon() else shiny = TRUE - src.visible_message("[src.name] glistens and sparkles, shining brilliantly.") + src.visible_message(span_infoplain(span_bold("[src.name]") + " glistens and sparkles, shining brilliantly.")) update_icon() /mob/living/simple_mob/slime/promethean/proc/prommie_select_colour() @@ -453,7 +453,7 @@ moveToNullspace() //Message - blob.visible_message("[src.name] squishes into their true form!") + blob.visible_message(span_infoplain(span_bold("[src.name]") + " squishes into their true form!")) //Transfer vore organs blob.vore_organs = vore_organs @@ -488,7 +488,7 @@ stop_pulling() //Message - blob.visible_message("[src.name] pulls together, forming a humanoid shape!") + blob.visible_message(span_infoplain(span_bold("[src.name]") + " pulls together, forming a humanoid shape!")) //Record where they should go var/atom/reform_spot = blob.drop_location() diff --git a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm index 6dc3bcf05e..943a20e668 100644 --- a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm +++ b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_blob.dm @@ -288,7 +288,7 @@ if(!allowed) return if(refactory.add_stored_material(S.material.name,1*S.perunit) && S.use(1)) - visible_message("[name] gloms over some of \the [S], absorbing it.") + visible_message(span_infoplain(span_bold("[name]") + " gloms over some of \the [S], absorbing it.")) else return ..() @@ -302,7 +302,7 @@ if(!allowed) return if(refactory.add_stored_material(S.material.name,1*S.perunit) && S.use(1)) - visible_message("[name] gloms over some of \the [S], absorbing it.") + visible_message(span_infoplain(span_bold("[name]") + " gloms over some of \the [S], absorbing it.")) else return ..() @@ -390,7 +390,7 @@ var/global/list/disallowed_protean_accessories = list( moveToNullspace() //Message - blob.visible_message("[src.name] collapses into a gooey blob!") + blob.visible_message(span_infoplain(span_bold("[src.name]") + " collapses into a gooey blob!")) //Duration of the to_puddle iconstate that the blob starts with sleep(13) @@ -444,7 +444,7 @@ var/global/list/disallowed_protean_accessories = list( blob.icon_state = "from_puddle" //Message - blob.visible_message("[src.name] reshapes into a humanoid appearance!") + blob.visible_message(span_infoplain(span_bold("[src.name]") + " reshapes into a humanoid appearance!")) //Duration of above animation sleep(8) diff --git a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_powers.dm b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_powers.dm index 397d5943ba..b904331612 100644 --- a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_powers.dm +++ b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_powers.dm @@ -78,7 +78,7 @@ return //Lost it meanwhile eo.robotize(manu_choice) - visible_message("[src]'s [choice] loses its shape, then reforms.") + visible_message(span_infoplain(span_bold("[src]") + "'s [choice] loses its shape, then reforms.")) update_icons_body() //// @@ -134,7 +134,7 @@ var/obj/item/organ/external/torso = organs_by_name[BP_TORSO] to_chat(src, span_danger("Remain still while the process takes place! It will take 5 seconds.")) - visible_message("[src]'s form collapses into an amorphous blob of black ichor...") + visible_message(span_infoplain(span_bold("[src]") + "'s form collapses into an amorphous blob of black ichor...")) var/mob/living/simple_mob/protean_blob/blob = nano_intoblob() active_regen = TRUE @@ -142,7 +142,7 @@ synthetic = usable_manufacturers[manu_choice] torso.robotize(manu_choice) //Will cascade to all other organs. regenerate_icons() - visible_message("[src]'s form reshapes into a new one...") + visible_message(span_infoplain(span_bold("[src]") + "'s form reshapes into a new one...")) active_regen = FALSE nano_outofblob(blob) return @@ -154,7 +154,7 @@ var/delay_length = round(active_regen_delay * species.active_regen_mult) to_chat(src, span_danger("Remain still while the process takes place! It will take [delay_length/10] seconds.")) - visible_message("[src]'s form begins to shift and ripple as if made of oil...") + visible_message(span_infoplain(span_bold("[src]") + "'s form begins to shift and ripple as if made of oil...")) active_regen = TRUE var/mob/living/simple_mob/protean_blob/blob = nano_intoblob() @@ -358,7 +358,7 @@ var/opts = clickprops["shift"] if(opts) - to_chat(usr,span_notice("[ability_name] - [desc]")) + to_chat(usr,span_notice(span_bold("[ability_name]") + " - [desc]")) else //Humanform using it if(ishuman(usr)) diff --git a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_species.dm b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_species.dm index 525db79de4..e582d2b4d7 100755 --- a/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_species.dm +++ b/code/modules/mob/living/carbon/human/species/station/protean_vr/protean_species.dm @@ -4,7 +4,7 @@ name = SPECIES_PROTEAN name_plural = "Proteans" blurb = "Sometimes very advanced civilizations will produce the ability to swap into manufactured, robotic bodies. And sometimes \ - VERY advanced civilizations have the option of 'nanoswarm' bodies. Effectively a single robot body comprised \ + " + span_italics("VERY") + " advanced civilizations have the option of 'nanoswarm' bodies. Effectively a single robot body comprised \ of millions of tiny nanites working in concert to maintain cohesion." show_ssd = "totally quiescent" death_message = "rapidly loses cohesion, dissolving into a cloud of gray dust..." diff --git a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm index 4d90088eaa..70b451dc11 100644 --- a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm +++ b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm @@ -176,8 +176,8 @@ name = "imperfect regeneration" desc = "You feel rather weak and unfocused, having just regrown your body not so long ago." - on_created_text = span_warning("You feel weak and unsteady, that regeneration having been rougher than most.") - on_expired_text = span_notice("You feel your strength and focus return to you.") + on_created_text = span_warning(span_large("You feel weak and unsteady, that regeneration having been rougher than most.")) + on_expired_text = span_notice(span_large("You feel your strength and focus return to you.")) /mob/living/carbon/human/proc/revivingreset() // keep this as a debug proc or potential future use revive_ready = REVIVING_READY @@ -469,9 +469,9 @@ if(noise) - src.visible_message(span_red("[src] moves their head next to [B]'s neck, seemingly looking for something!")) + src.visible_message(span_infoplain(span_red(span_bold("[src] moves their head next to [B]'s neck, seemingly looking for something!")))) else - src.visible_message(span_red("[src] moves their head next to [B]'s neck, seemingly looking for something!"), range = 1) + src.visible_message(span_infoplain(span_red(span_italics("[src] moves their head next to [B]'s neck, seemingly looking for something!"))), range = 1) if(bleed) //Due to possibility of missing/misclick and missing the bleeding cues, we are warning the scene members of BLEEDING being on to_chat(src, span_warning("This is going to cause [B] to keep bleeding!")) @@ -480,9 +480,9 @@ if(do_after(src, 300, B)) //Thrirty seconds. if(!Adjacent(B)) return if(noise) - src.visible_message(span_red("[src] suddenly extends their fangs and plunges them down into [B]'s neck!")) + src.visible_message(span_infoplain(span_red(span_bold("[src] suddenly extends their fangs and plunges them down into [B]'s neck!")))) else - src.visible_message(span_red("[src] suddenly extends their fangs and plunges them down into [B]'s neck!"), range = 1) + src.visible_message(span_infoplain(span_red(span_italics("[src] suddenly extends their fangs and plunges them down into [B]'s neck!"))), range = 1) if(bleed) B.apply_damage(10, BRUTE, BP_HEAD, blocked = 0, soaked = 0, sharp = TRUE, edge = FALSE) var/obj/item/organ/external/E = B.get_organ(BP_HEAD) @@ -1662,7 +1662,7 @@ add_attack_logs(src,target,"Injection trait ([trait_injection_selected], [trait_injection_amount])") if(target.reagents && (trait_injection_amount > 0) && !synth) target.reagents.add_reagent(trait_injection_selected, trait_injection_amount) - var/ourmsg = "[usr] [trait_injection_verb] [target] " + var/ourmsg = "[usr] [trait_injection_verb] [target] " switch(zone_sel.selecting) if(BP_HEAD) ourmsg += "on the head!" @@ -1682,5 +1682,4 @@ ourmsg += "on the mouth!" if("eyes") ourmsg += "on the eyes!" - ourmsg += "" - visible_message(ourmsg) + visible_message(span_warning(ourmsg)) diff --git a/code/modules/mob/living/carbon/human/species/station/teshari.dm b/code/modules/mob/living/carbon/human/species/station/teshari.dm index c9a3b80731..957ed8bc42 100644 --- a/code/modules/mob/living/carbon/human/species/station/teshari.dm +++ b/code/modules/mob/living/carbon/human/species/station/teshari.dm @@ -222,7 +222,7 @@ // Handled! if(!silent) to_chat(H, span_notice("You catch the air in your wings and greatly slow your fall.")) - landing.visible_message("\The [H] glides down from above, landing safely.") + landing.visible_message(span_infoplain(span_bold("\The [H]") + " glides down from above, landing safely.")) H.Stun(1) playsound(H, "rustle", 25, 1) return TRUE diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/traits_tutorial.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/traits_tutorial.dm index 32b035b499..8afa94347b 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/traits_tutorial.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/traits_tutorial.dm @@ -66,8 +66,8 @@ TGUI frontend path: tgui\packages\tgui\interfaces\TraitTutorial.tsx if(UI_choice == "To Chat") var/to_chat_choice = tgui_input_list(usr, "Please choose the trait to be explained", "Print to Chat", trait_names, null) if(to_chat_choice) - to_chat(usr,span_notice("Name: [to_chat_choice] \n Category: [trait_category[to_chat_choice]] \n Description: [trait_desc[to_chat_choice]] \n \ - Guide: \n [trait_tutorial[to_chat_choice]]")) + to_chat(usr,span_notice(span_bold("Name:") + " [to_chat_choice] \n " + span_bold("Category:") + " [trait_category[to_chat_choice]] \n " + span_bold("Description:") + " [trait_desc[to_chat_choice]] \n \ + " + span_bold("Guide:") + " \n [trait_tutorial[to_chat_choice]]")) else if(UI_choice == "TGUI") diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/weaver_objs.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/weaver_objs.dm index 4a9a709ef4..1f367fb93e 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/weaver_objs.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/weaver_objs.dm @@ -104,7 +104,7 @@ L.visible_message( span_danger("[L] steps on \the [src]."), span_danger("You step on \the [src]!"), - "You hear a squishy noise!" + span_infoplain(span_bold("You hear a squishy noise!")) ) set_dir(L.dir) buckle_mob(L) diff --git a/code/modules/mob/living/carbon/human/species/virtual_reality/avatar.dm b/code/modules/mob/living/carbon/human/species/virtual_reality/avatar.dm index 2c0ee83669..fcd3f32cca 100644 --- a/code/modules/mob/living/carbon/human/species/virtual_reality/avatar.dm +++ b/code/modules/mob/living/carbon/human/species/virtual_reality/avatar.dm @@ -81,7 +81,7 @@ // Move the mind // avatar.Sleeping(1) So vox don't drop their can, also feels arbitrary src.mind.transfer_to(avatar) - to_chat(avatar, "You have enterred Virtual Reality!\nAll normal gameplay rules still apply.\nWounds you suffer here won't persist when you leave VR, but some of the pain will.\nYou can leave VR at any time by using the \"Exit Virtual Reality\" verb in the Abilities tab, or by ghosting.") //No more prommie VR thing, so removed tidbit about changing appearance + to_chat(avatar, span_infoplain(span_bold("You have enterred Virtual Reality!\nAll normal gameplay rules still apply.\nWounds you suffer here won't persist when you leave VR, but some of the pain will.\nYou can leave VR at any time by using the \"Exit Virtual Reality\" verb in the Abilities tab, or by ghosting."))) //No more prommie VR thing, so removed tidbit about changing appearance to_chat(avatar, span_notice(" You black out for a moment, and wake to find yourself in a new body in virtual reality.")) // So this is what VR feels like? // exit_vr is called on the vr mob, and puts the mind back into the original mob diff --git a/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm b/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm index 5f67bfe41f..804b8880d3 100644 --- a/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm +++ b/code/modules/mob/living/carbon/human/species/xenomorphs/alien_powers.dm @@ -93,7 +93,7 @@ return if(check_alien_ability(500,1,O_EGG)) - visible_message(span_alium("[src] has laid an egg!")) + visible_message(span_alium(span_bold("[src] has laid an egg!"))) new /obj/structure/ghost_pod/automatic/xenomorph_egg(loc) return @@ -109,7 +109,7 @@ return if(check_alien_ability(500)) - visible_message(span_alium("[src] begins to twist and contort!"), span_alium("You begin to evolve!")) + visible_message(span_alium(span_bold("[src] begins to twist and contort!")), span_alium("You begin to evolve!")) src.set_species("Xenomorph Queen") return @@ -120,7 +120,7 @@ set category = "Abilities.Alien" //CHOMPEdit if(check_alien_ability(50,1,O_RESIN)) - visible_message(span_alium("[src] has planted some alien weeds!")) + visible_message(span_alium(span_bold("[src] has planted some alien weeds!"))) new /obj/effect/alien/weeds/node(get_turf(src), null, "#321D37") return @@ -179,7 +179,7 @@ if(check_alien_ability(200,0,O_ACID)) new /obj/effect/alien/acid(get_turf(O), O) - visible_message(span_alium("[src] vomits globs of vile stuff all over [O]. It begins to sizzle and melt under the bubbling mess of acid!")) + visible_message(span_alium(span_bold("[src] vomits globs of vile stuff all over [O]. It begins to sizzle and melt under the bubbling mess of acid!"))) return @@ -269,7 +269,7 @@ else O = new /obj/item/stack/material/resin(targetLoc) if(O) - visible_message(span_warning("[src] vomits up a thick purple substance and begins to shape it!"), span_alium("You shape a [choice].")) + visible_message(span_boldwarning("[src] vomits up a thick purple substance and begins to shape it!"), span_alium("You shape a [choice].")) // O.color = "#321D37" // CHOMPedit: Removing colouration, adding predefined colour icons. playsound(src, 'sound/effects/blobattack.ogg', 40, 1) @@ -331,7 +331,7 @@ else use_hand = "right" - src.visible_message(span_warning("\The [src] seizes [T] aggressively!")) + src.visible_message(span_boldwarning("\The [src]") + " seizes [T] aggressively!") var/obj/item/grab/G = new(src,T) if(use_hand == "left") @@ -366,7 +366,7 @@ last_special = world.time + 50 - visible_message(span_warning("\The [src] rips viciously at \the [G.affecting]'s body with its claws!")) + visible_message(span_warning(span_bold("\The [src]") + " rips viciously at \the [G.affecting]'s body with its claws!")) if(istype(G.affecting,/mob/living/carbon/human)) var/mob/living/carbon/human/H = G.affecting diff --git a/code/modules/mob/living/carbon/lick_wounds.dm b/code/modules/mob/living/carbon/lick_wounds.dm index bfc8867371..2fedee1d87 100644 --- a/code/modules/mob/living/carbon/lick_wounds.dm +++ b/code/modules/mob/living/carbon/lick_wounds.dm @@ -63,7 +63,7 @@ return else - visible_message("\The [src] starts licking the wounds on [M]'s [affecting.name] clean.", \ + visible_message(span_infoplain(span_bold("\The [src]") + " starts licking the wounds on [M]'s [affecting.name] clean."), \ span_notice("You start licking the wounds on [M]'s [affecting.name] clean.") ) for (var/datum/wound/W in affecting.wounds) @@ -80,11 +80,11 @@ return else - visible_message("\The [src] [pick("slathers \a [W.desc] on [M]'s [affecting.name] with their spit.", + visible_message(span_notice("\The [src] [pick("slathers \a [W.desc] on [M]'s [affecting.name] with their spit.", "drags their tongue across \a [W.desc] on [M]'s [affecting.name].", "drips saliva onto \a [W.desc] on [M]'s [affecting.name].", "uses their tongue to disinfect \a [W.desc] on [M]'s [affecting.name].", - "licks \a [W.desc] on [M]'s [affecting.name], cleaning it.")]", \ + "licks \a [W.desc] on [M]'s [affecting.name], cleaning it.")]"), \ span_notice("You treat \a [W.desc] on [M]'s [affecting.name] with your antiseptic saliva.") ) adjust_nutrition(-20) W.salve() diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index d173924c19..95bd6ae964 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -97,7 +97,7 @@ if(!..()) return 0 - usr.visible_message(span_filter_notice("[src] points to [A].")) + usr.visible_message(span_filter_notice(span_bold("[src]") + " points to [A].")) */ return ..() @@ -105,7 +105,7 @@ if(!..()) return FALSE - visible_message(span_info("[src] points at [pointing_at]."), span_info("You point at [pointing_at].")) + visible_message(span_info(span_bold("[src]") + " points at [pointing_at]."), span_info("You point at [pointing_at].")) // CHOMPEdit End /mob/living/verb/succumb() @@ -1229,7 +1229,7 @@ var/mob/living/carbon/human/H = target if(H.in_throw_mode && H.a_intent == I_HELP && unEquip(I)) H.put_in_hands(I) // If this fails it will just end up on the floor, but that's fitting for things like dionaea. - visible_message(span_filter_notice("[src] hands \the [H] \a [I]."), span_notice("You give \the [target] \a [I].")) + visible_message(span_filter_notice(span_bold("[src]") + " hands \the [H] \a [I]."), span_notice("You give \the [target] \a [I].")) else to_chat(src, span_notice("You offer \the [I] to \the [target].")) do_give(H) diff --git a/code/modules/mob/living/living_vr.dm b/code/modules/mob/living/living_vr.dm index 760995fb09..892e1dd1e4 100644 --- a/code/modules/mob/living/living_vr.dm +++ b/code/modules/mob/living/living_vr.dm @@ -153,11 +153,11 @@ var/new_link = strip_html_simple(tgui_input_text(usr, "Enter a link to add on to your examine text! This should be a related image link/gallery, or things like your F-list. This is not the place for memes.", "Custom Link" , html_decode(custom_link), max_length = 100, encode = TRUE, prevent_enter = TRUE)) if(new_link && CanUseTopic(usr)) if(length(new_link) > 100) - to_chat(usr, "Your entry is too long, it must be 100 characters or less.") + to_chat(usr, span_warning("Your entry is too long, it must be 100 characters or less.")) return custom_link = new_link - to_chat(usr, "Link set: [custom_link]") + to_chat(usr, span_notice("Link set: [custom_link]")) log_admin("[usr]/[usr.ckey] set their custom link to [custom_link]") /mob/living/verb/set_voice_freq() diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm index 03d5de0e8f..e7d045eb0a 100644 --- a/code/modules/mob/living/silicon/ai/ai.dm +++ b/code/modules/mob/living/silicon/ai/ai.dm @@ -191,9 +191,9 @@ var/list/ai_verbs_default = list( return /mob/living/silicon/ai/proc/on_mob_init() - var/init_text = list("You are playing the station's AI. The AI cannot move, but can interact with many objects while viewing them (through cameras).", - "To look at other parts of the station, click on yourself to get a camera menu.", - "While observing through a camera, you can use most (networked) devices which you can see, such as computers, APCs, intercoms, doors, etc.", + var/init_text = list(span_bold("You are playing the station's AI. The AI cannot move, but can interact with many objects while viewing them (through cameras)."), + span_bold("To look at other parts of the station, click on yourself to get a camera menu."), + span_bold("While observing through a camera, you can use most (networked) devices which you can see, such as computers, APCs, intercoms, doors, etc."), "To use something, simply click on it.", "For department channels, use the following say commands:") to_chat(src, span_filter_notice("[jointext(init_text, "
    ")]")) @@ -223,7 +223,7 @@ var/list/ai_verbs_default = list( if (malf && !(mind in malf.current_antagonists)) show_laws() - to_chat(src, span_filter_notice("These laws may be changed by other players, or by you being the traitor.")) + to_chat(src, span_filter_notice(span_bold("These laws may be changed by other players, or by you being the traitor."))) job = JOB_AI setup_icon() @@ -1000,7 +1000,7 @@ var/list/ai_verbs_default = list( var/message = combined["formatted"] var/name_used = M.GetVoice() //This communication is imperfect because the holopad "filters" voices and is only designed to connect to the master only. - var/rendered = span_game(span_say("Relayed Speech: [span_name(name_used)] [message]")) + var/rendered = span_game(span_say(span_italics("Relayed Speech: [span_name(name_used)] [message]"))) show_message(rendered, 2) /mob/living/silicon/ai/proc/toggle_multicam_verb() diff --git a/code/modules/mob/living/silicon/ai/examine.dm b/code/modules/mob/living/silicon/ai/examine.dm index 75224de7dd..91f55424d8 100644 --- a/code/modules/mob/living/silicon/ai/examine.dm +++ b/code/modules/mob/living/silicon/ai/examine.dm @@ -8,17 +8,17 @@ if (src.getBruteLoss() < 30) . += span_warning("It looks slightly dented.") else - . += span_warning("It looks severely dented!") + . += span_boldwarning("It looks severely dented!") if (src.getFireLoss()) if (src.getFireLoss() < 30) . += span_warning("It looks slightly charred.") else - . += span_warning("Its casing is melted and heat-warped!") + . += span_boldwarning("Its casing is melted and heat-warped!") if (src.getOxyLoss() && (aiRestorePowerRoutine != 0 && !APU_power)) if (src.getOxyLoss() > 175) - . += span_warning("It seems to be running on backup power. Its display is blinking a \"BACKUP POWER CRITICAL\" warning.") + . += span_boldwarning("It seems to be running on backup power. Its display is blinking a \"BACKUP POWER CRITICAL\" warning.") else if(src.getOxyLoss() > 100) - . += span_warning("It seems to be running on backup power. Its display is blinking a \"BACKUP POWER LOW\" warning.") + . += span_boldwarning("It seems to be running on backup power. Its display is blinking a \"BACKUP POWER LOW\" warning.") else . += span_warning("It seems to be running on backup power.") diff --git a/code/modules/mob/living/silicon/ai/laws.dm b/code/modules/mob/living/silicon/ai/laws.dm index 4a74ef6874..1725024e40 100755 --- a/code/modules/mob/living/silicon/ai/laws.dm +++ b/code/modules/mob/living/silicon/ai/laws.dm @@ -10,7 +10,7 @@ who = world else who = src - to_chat(who, span_filter_notice("Obey these laws:")) + to_chat(who, span_filter_notice(span_bold("Obey these laws:"))) src.laws_sanity_check() src.laws.show_laws(who) diff --git a/code/modules/mob/living/silicon/ai/life.dm b/code/modules/mob/living/silicon/ai/life.dm index cd95a18b6b..349579a7fd 100644 --- a/code/modules/mob/living/silicon/ai/life.dm +++ b/code/modules/mob/living/silicon/ai/life.dm @@ -36,7 +36,7 @@ malf_process() if(APU_power && (hardware_integrity() < 50)) - to_chat(src, span_notice("APU GENERATOR FAILURE! (System Damaged)")) + to_chat(src, span_boldnotice("APU GENERATOR FAILURE! (System Damaged)")) stop_apu(1) var/blind = 0 diff --git a/code/modules/mob/living/silicon/ai/multicam.dm b/code/modules/mob/living/silicon/ai/multicam.dm index 36022c40d4..ba3856d8e3 100644 --- a/code/modules/mob/living/silicon/ai/multicam.dm +++ b/code/modules/mob/living/silicon/ai/multicam.dm @@ -120,9 +120,9 @@ /obj/screen/movable/pic_in_pic/ai/proc/set_ai(mob/living/silicon/ai/new_ai) if(!aiEye && !QDELETED(src)) if(new_ai) - to_chat(new_ai, "

    You've run into a unfixable bug with AI eye code. \ + to_chat(new_ai, span_danger("

    You've run into a unfixable bug with AI eye code. \ In order to create a new multicam, you will have to select a different camera first before trying to add one, or ask an admin to fix you. \ -Whatever you did that made the last camera window disappear-- don't do that again.

    ") +Whatever you did that made the last camera window disappear-- don't do that again.")) qdel(src) return if(ai) diff --git a/code/modules/mob/living/silicon/pai/life.dm b/code/modules/mob/living/silicon/pai/life.dm index 3190e01806..c506924923 100644 --- a/code/modules/mob/living/silicon/pai/life.dm +++ b/code/modules/mob/living/silicon/pai/life.dm @@ -19,11 +19,11 @@ if(card.projector != PP_FUNCTIONAL && card.emitter != PP_FUNCTIONAL) if(loc != card) close_up() - to_chat(src, "ERROR: System malfunction. Service required!") + to_chat(src, span_warning("ERROR: System malfunction. Service required!")) else if(card.projector != PP_FUNCTIONAL|| card.emitter != PP_FUNCTIONAL) if(prob(5)) close_up() - to_chat(src, "ERROR: System malfunction. Service recommended!") + to_chat(src, span_warning("ERROR: System malfunction. Service recommended!")) handle_regular_hud_updates() handle_vision() diff --git a/code/modules/mob/living/silicon/pai/pai.dm b/code/modules/mob/living/silicon/pai/pai.dm index 174e33c4e0..0c41bd3442 100644 --- a/code/modules/mob/living/silicon/pai/pai.dm +++ b/code/modules/mob/living/silicon/pai/pai.dm @@ -193,12 +193,12 @@ // 33% chance of no additional effect src.silence_time = world.timeofday + 120 * 10 // Silence for 2 minutes - to_chat(src, span_green("Communication circuit overload. Shutting down and reloading communication circuits - speech and messaging functionality will be unavailable until the reboot is complete.")) + to_chat(src, span_infoplain(span_green(span_bold("Communication circuit overload. Shutting down and reloading communication circuits - speech and messaging functionality will be unavailable until the reboot is complete.")))) if(prob(20)) var/turf/T = get_turf_or_move(src.loc) card.death_damage() for (var/mob/M in viewers(T)) - M.show_message(span_red("A shower of sparks spray from [src]'s inner workings."), 3, span_red("You hear and smell the ozone hiss of electrical sparks being expelled violently."), 2) + M.show_message(span_infoplain(span_red("A shower of sparks spray from [src]'s inner workings.")), 3, span_infoplain(span_red("You hear and smell the ozone hiss of electrical sparks being expelled violently.")), 2) return if(prob(50)) card.damage_random_component(TRUE) @@ -206,7 +206,7 @@ if(1) src.master = null src.master_dna = null - to_chat(src, span_green("You feel unbound.")) + to_chat(src, span_infoplain(span_green("You feel unbound."))) if(2) var/command if(severity == 1) @@ -214,9 +214,9 @@ else command = pick("Serve", "Kill", "Love", "Hate", "Disobey", "Devour", "Fool", "Enrage", "Entice", "Observe", "Judge", "Respect", "Disrespect", "Consume", "Educate", "Destroy", "Disgrace", "Amuse", "Entertain", "Ignite", "Glorify", "Memorialize", "Analyze") src.pai_law0 = "[command] your master." - to_chat(src, span_green("Pr1m3 d1r3c71v3 uPd473D.")) + to_chat(src, span_infoplain(span_green("Pr1m3 d1r3c71v3 uPd473D."))) if(3) - to_chat(src, span_green("You feel an electric surge run through your circuitry and become acutely aware at how lucky you are that you can still feel at all.")) + to_chat(src, span_infoplain(span_green("You feel an electric surge run through your circuitry and become acutely aware at how lucky you are that you can still feel at all."))) /mob/living/silicon/pai/proc/switchCamera(var/obj/machinery/camera/C) if (!C) @@ -267,10 +267,10 @@ return if(card.projector != PP_FUNCTIONAL && card.emitter != PP_FUNCTIONAL) - to_chat(src, "ERROR: System malfunction. Service required!") + to_chat(src, span_warning("ERROR: System malfunction. Service required!")) if(world.time <= last_special) - to_chat(src, "You can't unfold yet.") + to_chat(src, span_warning("You can't unfold yet.")) return last_special = world.time + 100 @@ -309,7 +309,7 @@ canmove = TRUE var/turf/T = get_turf(src) - if(istype(T)) T.visible_message(span_filter_notice("[src] folds outwards, expanding into a mobile form.")) + if(istype(T)) T.visible_message(span_filter_notice(span_bold("[src]") + " folds outwards, expanding into a mobile form.")) add_verb(src, /mob/living/silicon/pai/proc/pai_nom) add_verb(src, /mob/living/proc/vertical_nom) update_icon() @@ -325,7 +325,7 @@ return if(world.time <= last_special) - to_chat(src, "You can't fold up yet.") + to_chat(src, span_warning("You can't fold up yet.")) return close_up() @@ -441,7 +441,7 @@ release_vore_contents(FALSE) //VOREStation Add var/turf/T = get_turf(src) - if(istype(T) && !silent) T.visible_message(span_filter_notice("[src] neatly folds inwards, compacting down to a rectangular card.")) + if(istype(T) && !silent) T.visible_message(span_filter_notice(span_bold("[src]") + " neatly folds inwards, compacting down to a rectangular card.")) if(client) src.stop_pulling() @@ -540,7 +540,7 @@ return close_up() - visible_message(span_filter_notice("[src] fades away from the screen, the pAI device goes silent.")) + visible_message(span_filter_notice(span_bold("[src]") + " fades away from the screen, the pAI device goes silent.")) card.removePersonality() clear_client() diff --git a/code/modules/mob/living/silicon/pai/software_modules.dm b/code/modules/mob/living/silicon/pai/software_modules.dm index 32c3a6f0a2..04bb432d6c 100644 --- a/code/modules/mob/living/silicon/pai/software_modules.dm +++ b/code/modules/mob/living/silicon/pai/software_modules.dm @@ -64,7 +64,7 @@ while(!istype(M, /mob/living)) if(!M || !M.loc || count > 6) //For a runtime where M ends up in nullspace (similar to bluespace but less colourful) - to_chat(src, "You are not being carried by anyone!") + to_chat(src, span_infoplain("You are not being carried by anyone!")) return 0 M = M.loc count++ @@ -77,13 +77,13 @@ for (var/mob/v in viewers(T)) v.show_message(span_notice("[M] presses [TM.his] thumb against [P]."), 3, span_notice("[P] makes a sharp clicking sound as it extracts DNA material from [M]."), 2) var/datum/dna/dna = M.dna - to_chat(P, span_red("

    [M]'s UE string : [dna.unique_enzymes]

    ")) + to_chat(P, span_infoplain(span_red("

    [M]'s UE string : [dna.unique_enzymes]

    "))) if(dna.unique_enzymes == P.master_dna) - to_chat(P, "DNA is a match to stored Master DNA.") + to_chat(P, span_infoplain(span_bold("DNA is a match to stored Master DNA."))) else - to_chat(P, "DNA does not match stored Master DNA.") + to_chat(P, span_infoplain(span_bold("DNA does not match stored Master DNA."))) else - to_chat(P, "[M] does not seem like [TM.he] is going to provide a DNA sample willingly.") + to_chat(P, span_infoplain("[M] does not seem like [TM.he] is going to provide a DNA sample willingly.")) return TRUE /datum/pai_software/radio_config @@ -293,9 +293,9 @@ var/turf/T = get_turf(src) for(var/mob/living/silicon/ai/AI in player_list) if(T.loc) - to_chat(AI, span_red("Network Alert: Brute-force encryption crack in progress in [T.loc].")) + to_chat(AI, span_bolddanger("Network Alert: Brute-force encryption crack in progress in [T.loc].")) else - to_chat(AI, span_red("Network Alert: Brute-force encryption crack in progress. Unable to pinpoint location.")) + to_chat(AI, span_bolddanger("Network Alert: Brute-force encryption crack in progress. Unable to pinpoint location.")) var/obj/machinery/door/D = cable.machine if(!istype(D)) hack_aborted = 1 diff --git a/code/modules/mob/living/silicon/robot/analyzer.dm b/code/modules/mob/living/silicon/robot/analyzer.dm index a50d4e84c2..bb37cdbb28 100644 --- a/code/modules/mob/living/silicon/robot/analyzer.dm +++ b/code/modules/mob/living/silicon/robot/analyzer.dm @@ -52,8 +52,8 @@ switch(scan_type) if("robot") if(mode) - var/BU = M.getFireLoss() > 50 ? "[M.getFireLoss()]" : M.getFireLoss() - var/BR = M.getBruteLoss() > 50 ? "[M.getBruteLoss()]" : M.getBruteLoss() + var/BU = M.getFireLoss() > 50 ? span_bold("[M.getFireLoss()]") : M.getFireLoss() + var/BR = M.getBruteLoss() > 50 ? span_bold("[M.getBruteLoss()]") : M.getBruteLoss() user.show_message(span_blue("Analyzing Results for [M]:\n\t Overall Status: [M.stat > 1 ? "fully disabled" : "[M.health - M.halloss]% functional"]")) user.show_message("\t Key: [span_orange("Electronics")]/[span_red("Brute")]", 1) user.show_message("\t Damage Specifics: [span_orange("[BU]")] - [span_red("[BR]")]") @@ -73,7 +73,7 @@ else if (cell_charge > 1) cell_text = span_red("[cell_charge]") else - cell_text = span_red("[cell_charge]") + cell_text = span_red(span_bold("[cell_charge]")) user.show_message("\t Power Cell Status: [span_blue("[capitalize(cell.name)]")] at [cell_text]% charge") var/list/damaged = R.get_damaged_components(1,1,1) user.show_message(span_blue("Localized Damage:"),1) @@ -81,7 +81,7 @@ for(var/datum/robot_component/org in damaged) user.show_message(span_blue(text("\t []: [][] - [] - [] - []", \ span_blue(capitalize(org.name)), \ - (org.installed == -1) ? "[span_red("DESTROYED")] " :"",\ + (org.installed == -1) ? "[span_red(span_bold("DESTROYED"))] " :"",\ (org.electronics_damage > 0) ? "[span_orange("[org.electronics_damage]")]" :0, \ (org.brute_damage > 0) ? "[span_red("[org.brute_damage]")]" :0, \ (org.toggled) ? "Toggled ON" : "[span_red("Toggled OFF")]",\ @@ -121,7 +121,7 @@ user.show_message("\t Basic Modules, used for direct upgrade purposes:") show_title = FALSE if(R.has_basic_upgrade(initial(upgrade.build_path)) == "") - user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red("ERROR")]")) + user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red(span_bold("ERROR"))]")) else user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [R.has_basic_upgrade(initial(upgrade.build_path)) ? span_green("Installed") : span_red("Missing")]")) show_title = TRUE @@ -134,7 +134,7 @@ user.show_message("\t Advanced Modules, used for module upgrade purposes:") show_title = FALSE if(R.has_advanced_upgrade(initial(upgrade.build_path)) == "") - user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red("ERROR")]")) + user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red(span_bold("ERROR"))]")) else user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [R.has_advanced_upgrade(initial(upgrade.build_path)) ? span_green("Installed") : span_red("Missing")]")) show_title = TRUE @@ -147,7 +147,7 @@ user.show_message("\t Restricted Modules, used for module upgrade purposes on specific chassis:") show_title = FALSE if(R.has_restricted_upgrade(initial(upgrade.build_path)) == "") - user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red("ERROR")]")) + user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red(span_bold("ERROR"))]")) else user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [R.has_restricted_upgrade(initial(upgrade.build_path)) ? span_green("Installed") : span_red("Missing")]")) show_title = TRUE @@ -161,7 +161,7 @@ user.show_message("\t Special Modules, used for recreation purposes:") show_title = FALSE if(R.has_no_prod_upgrade(initial(upgrade.build_path)) == "") - user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red("ERROR")]")) + user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [span_red(span_bold("ERROR"))]")) else user.show_message(span_blue("\t\t [capitalize(initial(upgrade.name))]: [R.has_no_prod_upgrade(initial(upgrade.build_path)) ? span_green("Installed") : span_red("Missing")]")) @@ -204,7 +204,7 @@ var/tank_temperature = Mecha.internal_tank ? Mecha.internal_tank.return_temperature() : "Unknown" var/cabin_pressure = round(Mecha.return_pressure(),0.01) - var/output = {"Analyzing Results for \the [Mecha]:
    + var/output = span_notice("Analyzing Results for \the [Mecha]:") + {"
    Chassis Integrity: [integrity]%
    Powercell charge: [isnull(cell_charge)?"No powercell installed":"[capitalize(initial(Mecha.cell.name))] at [Mecha.cell.percent()]%"]
    Air source: [Mecha.use_internal_tank?"Internal Airtank":"Environment"]
    @@ -220,11 +220,11 @@ to_chat(user, span_notice("Internal Diagnostics:")) for(var/slot in Mecha.internal_components) var/obj/item/mecha_parts/component/MC = Mecha.internal_components[slot] - to_chat(user, "[MC?"[slot]: [MC] [round((MC.integrity / MC.max_integrity) * 100, 0.1)]% integrity. [MC.get_efficiency() * 100] Operational capacity.":span_warning("[slot]: Component Not Found")]") + to_chat(user, "[MC? ("[slot]: [MC] " + span_notice("[round((MC.integrity / MC.max_integrity) * 100, 0.1)]%") + " integrity. [MC.get_efficiency() * 100] Operational capacity.") : span_warning("[slot]: Component Not Found")]") to_chat(user, "
    ") to_chat(user, span_notice("General Statistics:")) - to_chat(user, "Movement Weight: [Mecha.get_step_delay()]
    ") + to_chat(user, span_notice("Movement Weight: [Mecha.get_step_delay()]") + "
    ") src.add_fingerprint(user) return diff --git a/code/modules/mob/living/silicon/robot/dogborg/dog_modules_vr.dm b/code/modules/mob/living/silicon/robot/dogborg/dog_modules_vr.dm index 08487dbe26..d5143b5d58 100644 --- a/code/modules/mob/living/silicon/robot/dogborg/dog_modules_vr.dm +++ b/code/modules/mob/living/silicon/robot/dogborg/dog_modules_vr.dm @@ -132,7 +132,7 @@ user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN) user.visible_message(span_notice("[user] scans the air."), span_notice("You scan the air...")) - to_chat(user, span_notice("Scan results:")) + to_chat(user, span_boldnotice("Scan results:")) if(abs(pressure - ONE_ATMOSPHERE) < 10) to_chat(user, span_notice("Pressure: [round(pressure,0.1)] kPa")) else @@ -157,7 +157,7 @@ var/dat = "" if(O.reagents.reagent_list.len > 0) for (var/datum/reagent/R in O.reagents.reagent_list) - dat += "\n \t [R]" + dat += "\n \t " + span_notice("[R]") if(dat) to_chat(user, span_notice("Your BOOP module indicates: [dat]")) diff --git a/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm b/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm index 3cd8155fce..9b5183a90e 100644 --- a/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm +++ b/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper_vr.dm @@ -259,7 +259,7 @@ for(var/re in injection_chems) var/datum/reagent/C = SSchemistry.chemical_reagents[re] if(C) - dat += "Inject [C.name]
    " + dat += span_linkOff("Inject [C.name]") + "
    " dat += "

    [name] Status

    " dat += "
    " @@ -352,9 +352,9 @@ if(round(patient.paralysis / 4) >= 1) dat += text("
    Patient paralyzed for: []
    ", round(patient.paralysis / 4) >= 1 ? "[round(patient.paralysis / 4)] seconds" : "None") if(patient.getBrainLoss()) - dat += "
    Significant brain damage detected.

    " + dat += "
    " + span_orange("Significant brain damage detected.") + "

    " if(patient.getCloneLoss()) - dat += "
    Patient may be improperly cloned.

    " + dat += "
    " + span_orange("Patient may be improperly cloned.") + "

    " if(patient.reagents.reagent_list.len) for(var/datum/reagent/R in patient.reagents.reagent_list) dat += "
    [R.name]:
    [round(R.volume, 0.1)] units

    " diff --git a/code/modules/mob/living/silicon/robot/drone/drone.dm b/code/modules/mob/living/silicon/robot/drone/drone.dm index b54642c46a..661abec8df 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone.dm @@ -146,7 +146,7 @@ var/list/mob_hat_cache = list() /mob/living/silicon/robot/drone/Login() . = ..() if(can_pick_shell) - to_chat(src, "You can select a shell using the 'Abilities.Silicon' > 'Customize Appearance'") + to_chat(src, span_infoplain(span_bold("You can select a shell using the 'Abilities.Silicon' > 'Customize Appearance'"))) //Redefining some robot procs... /mob/living/silicon/robot/drone/SetName(pickedName as text) @@ -225,7 +225,7 @@ var/list/mob_hat_cache = list() return user.unEquip(W) wear_hat(W) - user.visible_message("\The [user] puts \the [W] on \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " puts \the [W] on \the [src].")) return else if(istype(W, /obj/item/borg/upgrade/)) to_chat(user, span_danger("\The [src] is not compatible with \the [W].")) @@ -286,7 +286,7 @@ var/list/mob_hat_cache = list() log_game("[key_name(user)] emagged drone [key_name(src)]. Laws overridden.") var/time = time2text(world.realtime,"hh:mm:ss") - lawchanges.Add("[time] : [user.name]([user.key]) emagged [name]([key])") + lawchanges.Add("[time] " + span_bold(":") + " [user.name]([user.key]) emagged [name]([key])") emagged = 1 lawupdate = 0 @@ -297,7 +297,7 @@ var/list/mob_hat_cache = list() var/datum/gender/TU = gender_datums[user.get_visible_gender()] set_zeroth_law("Only [user.real_name] and people [TU.he] designate[TU.s] as being such are operatives.") - to_chat(src, "Obey these laws:") + to_chat(src, span_infoplain(span_bold("Obey these laws:"))) laws.show_laws(src) to_chat(src, span_danger("ALERT: [user.real_name] is your new master. Obey your new laws and \his commands.")) return 1 @@ -385,15 +385,15 @@ var/list/mob_hat_cache = list() player.mob.mind.transfer_to(src) lawupdate = 0 - to_chat(src, "Systems rebooted. Loading base pattern maintenance protocol... loaded.") + to_chat(src, span_infoplain(span_bold("Systems rebooted") + " Loading base pattern maintenance protocol... " + span_bold("loaded") + ".")) full_law_reset() welcome_drone() /mob/living/silicon/robot/drone/proc/welcome_drone() - to_chat(src, "You are a maintenance drone, a tiny-brained robotic repair machine.") - to_chat(src, "You have no individual will, no personality, and no drives or urges other than your laws.") - to_chat(src, "Remember, you are lawed against interference with the crew. Also remember, you DO NOT take orders from the AI.") - to_chat(src, "Use say ;Hello to talk to other drones and say Hello to speak silently to your nearby fellows.") + to_chat(src, span_infoplain(span_bold("You are a maintenance drone, a tiny-brained robotic repair machine") + ".")) + to_chat(src, span_infoplain("You have no individual will, no personality, and no drives or urges other than your laws.")) + to_chat(src, span_infoplain("Remember, you are " + span_bold("lawed against interference with the crew") + ". Also remember, " + span_bold("you DO NOT take orders from the AI") + ".")) + to_chat(src, span_infoplain("Use " + span_bold("say ;Hello") + " to talk to other drones and " + span_bold("say Hello") + " to speak silently to your nearby fellows.")) /mob/living/silicon/robot/drone/add_robot_verbs() add_verb(src, silicon_subsystems) @@ -402,10 +402,10 @@ var/list/mob_hat_cache = list() remove_verb(src, silicon_subsystems) /mob/living/silicon/robot/drone/construction/welcome_drone() - to_chat(src, "You are a construction drone, an autonomous engineering and fabrication system..") - to_chat(src, "You are assigned to a Sol Central construction project. The name is irrelevant. Your task is to complete construction and subsystem integration as soon as possible.") - to_chat(src, "Use :d to talk to other drones and say to speak silently to your nearby fellows.") - to_chat(src, "You do not follow orders from anyone; not the AI, not humans, and not other synthetics..") + to_chat(src, span_infoplain(span_bold("You are a construction drone, an autonomous engineering and fabrication system") + ".")) + to_chat(src, span_infoplain("You are assigned to a Sol Central construction project. The name is irrelevant. Your task is to complete construction and subsystem integration as soon as possible.")) + to_chat(src, span_infoplain("Use " + span_bold(":d") + " to talk to other drones and " + span_bold("say") + " to speak silently to your nearby fellows.")) + to_chat(src, span_infoplain(span_bold("You do not follow orders from anyone; not the AI, not humans, and not other synthetics") + ".")) /mob/living/silicon/robot/drone/construction/init() ..() diff --git a/code/modules/mob/living/silicon/robot/drone/drone_items.dm b/code/modules/mob/living/silicon/robot/drone/drone_items.dm index 83a906f3d2..1461fda417 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_items.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_items.dm @@ -565,15 +565,15 @@ Installed Modules

    "} - var/tools = "Tools and devices
    " - var/resources = "
    Resources
    " + var/tools = span_bold("Tools and devices") + "
    " + var/resources = "
    " + span_bold("Resources") + "
    " for (var/O in module.modules) var/module_string = "" if (!O) - module_string += text("Resource depleted
    ") + module_string += span_bold("Resource depleted") + "
    " else if(activated(O)) module_string += text("[O]: Activated
    ") else @@ -590,7 +590,7 @@ var/module_string = "" if (!O) - module_string += text("Resource depleted
    ") + module_string += span_bold("Resource depleted") + "
    " else if(activated(O)) module_string += text("[O]: Activated
    ") else diff --git a/code/modules/mob/living/silicon/robot/drone/drone_say.dm b/code/modules/mob/living/silicon/robot/drone/drone_say.dm index d35e87fff6..1accbf719f 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_say.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_say.dm @@ -2,7 +2,7 @@ if(local_transmit) if (src.client) if(client.prefs.muted & MUTE_IC) - to_chat(src, "You cannot send IC messages (muted).") + to_chat(src, span_warning("You cannot send IC messages (muted).")) return 0 message = sanitize(message) @@ -27,13 +27,13 @@ for(var/mob/living/silicon/D in listeners) if(D.client && D.local_transmit) - to_chat(D, "[src] transmits, \"[message]\"") + to_chat(D, span_say(span_bold("[src]") + "transmits, \"[message]\"")) for (var/mob/M in player_list) if (istype(M, /mob/new_player)) continue else if(M.stat == DEAD && M.client?.prefs?.read_preference(/datum/preference/toggle/ghost_ears)) if(M.client) - to_chat(M, "[src] transmits, \"[message]\"") + to_chat(M, span_say(span_bold("[src]") + "transmits, \"[message]\"")) return 1 return ..() diff --git a/code/modules/mob/living/silicon/robot/examine.dm b/code/modules/mob/living/silicon/robot/examine.dm index edf7ddab15..bdb5e554ef 100644 --- a/code/modules/mob/living/silicon/robot/examine.dm +++ b/code/modules/mob/living/silicon/robot/examine.dm @@ -6,12 +6,12 @@ if (src.getBruteLoss() < 75) . += span_warning("It looks slightly dented.") else - . += span_warning("It looks severely dented!") + . += span_boldwarning("It looks severely dented!") if (src.getFireLoss()) if (src.getFireLoss() < 75) . += span_warning("It looks slightly charred.") else - . += span_warning("It looks severely burnt and heat-warped!") + . += span_boldwarning("It looks severely burnt and heat-warped!") if(opened) . += span_warning("Its cover is open and the power cell is [cell ? "installed" : "missing"].") diff --git a/code/modules/mob/living/silicon/robot/laws.dm b/code/modules/mob/living/silicon/robot/laws.dm index dec2b46875..af48064185 100644 --- a/code/modules/mob/living/silicon/robot/laws.dm +++ b/code/modules/mob/living/silicon/robot/laws.dm @@ -14,32 +14,32 @@ if(lawupdate) if (connected_ai) if(connected_ai.stat || connected_ai.control_disabled) - to_chat(src, "AI signal lost, unable to sync laws.") + to_chat(src, span_infoplain(span_bold("AI signal lost, unable to sync laws."))) else lawsync() photosync() - to_chat(src, "Laws synced with AI, be sure to note any changes.") + to_chat(src, span_infoplain(span_bold("Laws synced with AI, be sure to note any changes."))) // TODO: Update to new antagonist system. if(mind && mind.special_role == "traitor" && mind.original == src) - to_chat(src, "Remember, your AI does NOT share or know about your law 0.") + to_chat(src, span_infoplain(span_bold("Remember, your AI does NOT share or know about your law 0."))) else - to_chat(src, "No AI selected to sync laws with, disabling lawsync protocol.") + to_chat(src, span_infoplain(span_bold("No AI selected to sync laws with, disabling lawsync protocol."))) lawupdate = FALSE - to_chat(who, "Obey these laws:") + to_chat(who, span_infoplain(span_bold("Obey these laws:"))) laws.show_laws(who) if(shell) //AI shell - to_chat(who, "Remember, you are an AI remotely controlling your shell, other AIs can be ignored.") + to_chat(who, span_infoplain(span_bold("Remember, you are an AI remotely controlling your shell, other AIs can be ignored."))) // TODO: Update to new antagonist system. else if(mind && (mind.special_role == "traitor" && mind.original == src) && connected_ai) - to_chat(who, "Remember, [connected_ai.name] is technically your master, but your objective comes first.") + to_chat(who, span_infoplain(span_bold("Remember, [connected_ai.name] is technically your master, but your objective comes first."))) else if(connected_ai) - to_chat(who, "Remember, [connected_ai.name] is your master, other AIs can be ignored.") + to_chat(who, span_infoplain(span_bold("Remember, [connected_ai.name] is your master, other AIs can be ignored."))) else if(emagged) - to_chat(who, "Remember, you are not required to listen to the AI.") + to_chat(who, span_infoplain(span_bold("Remember, you are not required to listen to the AI."))) else - to_chat(who, "Remember, you are not bound to any AI, you are not required to listen to them.") + to_chat(who, span_infoplain(span_bold("Remember, you are not bound to any AI, you are not required to listen to them."))) /mob/living/silicon/robot/lawsync() diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index 920375926f..28789a7fcf 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -472,7 +472,7 @@ var/dat = "[src.name] Self-Diagnosis Report\n" for (var/V in components) var/datum/robot_component/C = components[V] - dat += "[C.name]
    Brute Damage:[C.brute_damage]
    Electronics Damage:[C.electronics_damage]
    Powered:[(!C.idle_usage || C.is_powered()) ? "Yes" : "No"]
    Toggled:[ C.toggled ? "Yes" : "No"]

    " + dat += span_bold("[C.name]") + "
    Brute Damage:[C.brute_damage]
    Electronics Damage:[C.electronics_damage]
    Powered:[(!C.idle_usage || C.is_powered()) ? "Yes" : "No"]
    Toggled:[ C.toggled ? "Yes" : "No"]

    " return dat @@ -1121,7 +1121,7 @@ for (var/obj in module.modules) if (!obj) - dat += text("Resource depleted
    ") + dat += span_bold("Resource depleted") + "
    " else if(activated(obj)) dat += text("[obj]: Activated
    ") else @@ -1129,7 +1129,7 @@ if (emagged || emag_items) for (var/obj in module.emag) if (!obj) - dat += text("Resource depleted
    ") + dat += span_bold("Resource depleted") + "
    " else if(activated(obj)) dat += text("[obj]: Activated
    ") else @@ -1422,16 +1422,16 @@ return // No point annoying the AI/s about renames and module resets for shells. switch(notifytype) if(ROBOT_NOTIFICATION_NEW_UNIT) //New Robot - to_chat(connected_ai, span_filter_notice("

    NOTICE - New [lowertext(braintype)] connection detected: [name]
    ")) + to_chat(connected_ai, span_filter_notice("

    " + span_notice("NOTICE - New [lowertext(braintype)] connection detected: [name]") + "
    ")) if(ROBOT_NOTIFICATION_NEW_MODULE) //New Module - to_chat(connected_ai, span_filter_notice("

    NOTICE - [braintype] module change detected: [name] has loaded the [first_arg].
    ")) + to_chat(connected_ai, span_filter_notice("

    " + span_notice("NOTICE - [braintype] module change detected: [name] has loaded the [first_arg].") + "
    ")) if(ROBOT_NOTIFICATION_MODULE_RESET) - to_chat(connected_ai, span_filter_notice("

    NOTICE - [braintype] module reset detected: [name] has unloaded the [first_arg].
    ")) + to_chat(connected_ai, span_filter_notice("

    " + span_notice("NOTICE - [braintype] module reset detected: [name] has unloaded the [first_arg].") + "
    ")) if(ROBOT_NOTIFICATION_NEW_NAME) //New Name if(first_arg != second_arg) - to_chat(connected_ai, span_filter_notice("

    NOTICE - [braintype] reclassification detected: [first_arg] is now designated as [second_arg].
    ")) + to_chat(connected_ai, span_filter_notice("

    " + span_notice("NOTICE - [braintype] reclassification detected: [first_arg] is now designated as [second_arg].") + "
    ")) if(ROBOT_NOTIFICATION_AI_SHELL) //New Shell - to_chat(connected_ai, span_filter_notice("

    NOTICE - New AI shell detected: [name]
    ")) + to_chat(connected_ai, span_filter_notice("

    " + span_notice("NOTICE - New AI shell detected: [name]") + "
    ")) /mob/living/silicon/robot/proc/disconnect_from_ai() if(connected_ai) @@ -1472,7 +1472,7 @@ log_game("[key_name(user)] assigned as operator on cyborg [key_name(src)]. Syndicate Operator change.") var/datum/gender/TU = gender_datums[user.get_visible_gender()] set_zeroth_law("Only [user.real_name] and people [TU.he] designate[TU.s] as being such are operatives.") - to_chat(src, "Obey these laws:") + to_chat(src, span_infoplain(span_bold("Obey these laws:"))) laws.show_laws(src) to_chat(src, span_danger("ALERT: [user.real_name] is your new master. Obey your new laws and [TU.his] commands.")) else @@ -1524,7 +1524,7 @@ to_chat(src, span_danger("> N")) sleep(20) to_chat(src, span_danger("ERRORERRORERROR")) - to_chat(src, "Obey these laws:") + to_chat(src, span_infoplain(span_bold("Obey these laws:"))) laws.show_laws(src) to_chat(src, span_danger("ALERT: [user.real_name] is your new master. Obey your new laws and [TU.his] commands.")) update_icon() diff --git a/code/modules/mob/living/silicon/robot/subtypes/lost_drone.dm b/code/modules/mob/living/silicon/robot/subtypes/lost_drone.dm index d82b585f84..e50bc64bd9 100644 --- a/code/modules/mob/living/silicon/robot/subtypes/lost_drone.dm +++ b/code/modules/mob/living/silicon/robot/subtypes/lost_drone.dm @@ -70,7 +70,7 @@ var/confirm = tgui_alert(src, "Do you want to keep your laws or reroll? (For specific laws, feel free to ahelp and we'll see what we can do)", "Confirm laws", list("Keep", "Reroll ([law_retries])")) if(findtext(confirm, regex("Reroll \\(\[0-9\]*\\)", ""))) apply_new_laws() - to_chat(src, "Obey these laws:") + to_chat(src, span_infoplain(span_bold("Obey these laws:"))) laws.show_laws(src) law_retries -- else diff --git a/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm b/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm index 21a2db794b..ed003d1c78 100644 --- a/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm +++ b/code/modules/mob/living/silicon/robot/subtypes/thinktank/_thinktank.dm @@ -141,7 +141,7 @@ if(new_recharge_state != last_recharge_state) last_recharge_state = new_recharge_state if(last_recharge_state) - to_chat(src, span_notice("Your integrated solar panels begin recharging your battery.")) + to_chat(src, span_boldnotice("Your integrated solar panels begin recharging your battery.")) else to_chat(src, span_danger("Your integrated solar panels cease recharging your battery.")) @@ -166,4 +166,4 @@ if(!recharge_complete && recharging_atom.percent() >= 100) recharge_complete = TRUE - visible_message("\The [src] beeps and flashes a green light above \his recharging port.") + visible_message(span_infoplain("[span_bold("\The [src]")] beeps and flashes a green light above \his recharging port.")) diff --git a/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_interactions.dm b/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_interactions.dm index a464f9c36c..3f00773e09 100644 --- a/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_interactions.dm +++ b/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_interactions.dm @@ -6,7 +6,7 @@ if(istype(recharging_atom) && !QDELETED(recharging_atom) && recharging_atom.loc == src) recharging_atom.dropInto(loc) user.put_in_hands(recharging_atom) - user.visible_message("\The [user] pops \the [recharging_atom] out of \the [src]'s recharging port.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " pops \the [recharging_atom] out of \the [src]'s recharging port.")) recharging = null return TRUE @@ -24,7 +24,7 @@ W.forceMove(src) recharging = WEAKREF(W) recharge_complete = FALSE - user.visible_message("\The [user] slots \the [W] into \the [src]'s recharging port.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " slots \the [W] into \the [src]'s recharging port.")) return TRUE if(istype(W, /obj/item/floor_painter)) @@ -70,7 +70,7 @@ /mob/living/silicon/robot/platform/proc/welcome_client() if(client) - to_chat(src, span_notice("You are a think-tank, a kind of flexible and adaptive drone intelligence installed into an armoured platform. Your programming compels you to be friendly and helpful wherever possible.")) + to_chat(src, span_notice(span_bold("You are a think-tank") + ", a kind of flexible and adaptive drone intelligence installed into an armoured platform. Your programming compels you to be friendly and helpful wherever possible.")) SetSleeping(0) SetWeakened(0) SetParalysis(0) diff --git a/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_storage.dm b/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_storage.dm index 2a6c715edb..563fedaf73 100644 --- a/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_storage.dm +++ b/code/modules/mob/living/silicon/robot/subtypes/thinktank/thinktank_storage.dm @@ -82,9 +82,9 @@ if(istype(ejecting) && !QDELETED(ejecting) && ejecting.loc == src) ejecting.dropInto(loc) if(user == src) - visible_message("\The [src] ejects \the [ejecting] from its cargo compartment.") + visible_message(span_infoplain(span_bold("\The [src]") + " ejects \the [ejecting] from its cargo compartment.")) else - user.visible_message("\The [user] pulls \the [ejecting] from \the [src]'s cargo compartment.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " pulls \the [ejecting] from \the [src]'s cargo compartment.")) /mob/living/silicon/robot/platform/attack_ai(mob/user) if(isrobot(user) && user.Adjacent(src)) @@ -99,7 +99,7 @@ if(!istype(removing) || QDELETED(removing) || removing.loc != src) LAZYREMOVE(stored_atoms, remove_ref) else - user.visible_message("\The [user] begins unloading \the [removing] from \the [src]'s cargo compartment.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " begins unloading \the [removing] from \the [src]'s cargo compartment.")) if(do_after(user, 3 SECONDS, src) && !QDELETED(removing) && removing.loc == src) drop_stored_atom(removing, user) return TRUE @@ -124,9 +124,9 @@ if(!can_mouse_drop(dropping, user) || !can_store_atom(dropping, user)) return FALSE if(user == src) - visible_message("\The [src] begins loading \the [dropping] into its cargo compartment.") + visible_message(span_infoplain(span_bold("\The [src]") + " begins loading \the [dropping] into its cargo compartment.")) else - user.visible_message("\The [user] begins loading \the [dropping] into \the [src]'s cargo compartment.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " begins loading \the [dropping] into \the [src]'s cargo compartment.")) if(do_after(user, 3 SECONDS, src) && can_mouse_drop(dropping, user) && can_store_atom(dropping, user)) store_atom(dropping, user) return FALSE diff --git a/code/modules/mob/living/silicon/say.dm b/code/modules/mob/living/silicon/say.dm index c7eafa0775..f555887554 100644 --- a/code/modules/mob/living/silicon/say.dm +++ b/code/modules/mob/living/silicon/say.dm @@ -73,7 +73,7 @@ /*Radios "filter out" this conversation channel so we don't need to account for them. This is another way of saying that we won't bother dealing with them.*/ var/list/combined = combine_message(message_pieces, verb, src) - to_chat(src, span_game(span_say("Holopad transmitted, [span_name(real_name)] [combined["formatted"]]"))) + to_chat(src, span_game(span_say(span_italics("Holopad transmitted, [span_name(real_name)] [combined["formatted"]]")))) else to_chat(src, span_filter_notice("No holopad connected.")) return 0 @@ -88,7 +88,7 @@ var/obj/machinery/hologram/holopad/T = src.holo if(T && T.masters[src]) var/rendered = span_game(span_say(span_name(name) + " " + span_message(message))) - to_chat(src, span_game(span_say("Holopad action relayed, [span_name(real_name)] [span_message(message)]"))) + to_chat(src, span_game(span_say(span_italics("Holopad action relayed, [span_name(real_name)] [span_message(message)]")))) var/obj/effect/overlay/aiholo/hologram = T.masters[src] //VOREStation Add for people in the hologram to hear the messages //var/obj/effect/overlay/hologram = T.masters[src] //VOREStation edit. Done above. diff --git a/code/modules/mob/living/silicon/silicon.dm b/code/modules/mob/living/silicon/silicon.dm index c0c2db5343..967944102b 100644 --- a/code/modules/mob/living/silicon/silicon.dm +++ b/code/modules/mob/living/silicon/silicon.dm @@ -76,7 +76,7 @@ src.take_organ_damage(0,5,emp=1) Confuse(2) flash_eyes(affect_silicon = 1) - to_chat(src, span_danger("*BZZZT*")) + to_chat(src, span_bolddanger("*BZZZT*")) to_chat(src, span_danger("Warning: Electromagnetic pulse detected.")) ..() @@ -224,7 +224,7 @@ default_str = " - set default" var/synth = (L in speech_synthesizer_langs) - . += "[L.name] ([get_language_prefix()][L.key])[synth ? default_str : null]
    Speech Synthesizer: [synth ? "YES" : "NOT SUPPORTED"]
    [L.desc]

    " + . += span_bold("[L.name] ([get_language_prefix()][L.key])") + "[synth ? default_str : null]
    Speech Synthesizer: [synth ? "YES" : "NOT SUPPORTED"]
    [L.desc]

    " /mob/living/silicon/proc/toggle_sensor_mode() //VOREStation Add to make borgs use omni starts here - Tank, clueless bird if(sensor_type) diff --git a/code/modules/mob/living/simple_mob/combat.dm b/code/modules/mob/living/simple_mob/combat.dm index a03de3155e..ecbe241c55 100644 --- a/code/modules/mob/living/simple_mob/combat.dm +++ b/code/modules/mob/living/simple_mob/combat.dm @@ -116,14 +116,14 @@ //CHOMP Addition: This section here is special snowflake code for metroids only, or for whatever else in the future that you want to have move and shoot at the same time. Basically, this is a non-stupid version of the above intended for ranged vore mobs i.e. metroids. ranged_attack_delay is stupid because it sleeps the entire mob. This new ranged_cooldown_time is smarter in the sense that it is an internalized timer. Try not to confuse the names. if(ranged_cooldown_time) //If you have a non-zero number in a mob's variables, this pattern begins. if(ranged_cooldown <= world.time) //Further down, a timer keeps adding to the ranged_cooldown variable automatically. - visible_message(span_danger("\The [src] fires at \the [A]!")) //Leave notice of shooting. + visible_message(span_danger(span_bold("\The [src]") + " fires at \the [A]!")) //Leave notice of shooting. shoot(A) //Perform the shoot action if(casingtype) //If the mob is designated to leave casings... new casingtype(loc) //... leave the casing. ranged_cooldown = world.time + ranged_cooldown_time + ((injury_level / 2) SECONDS) //Special addition here. This is a timer. Keeping updating the time after shooting. Add that ranged cooldown time specified in the mob to the world time. return TRUE //End these commands here. - visible_message(span_danger("\The [src] fires at \the [A]!")) + visible_message(span_danger(span_bold("\The [src]") + " fires at \the [A]!")) shoot(A) if(casingtype) new casingtype(loc) diff --git a/code/modules/mob/living/simple_mob/defense.dm b/code/modules/mob/living/simple_mob/defense.dm index 923f5ebeeb..d377a1539a 100644 --- a/code/modules/mob/living/simple_mob/defense.dm +++ b/code/modules/mob/living/simple_mob/defense.dm @@ -79,7 +79,7 @@ if(health < getMaxHealth()) if(MED.use(1)) adjustBruteLoss(-MED.heal_brute) - visible_message("\The [user] applies the [MED] on [src].") + visible_message(span_infoplain(span_bold("\The [user]") + " applies the [MED] on [src].")) else var/datum/gender/T = gender_datums[src.get_visible_gender()] to_chat(user, span_notice("\The [src] is dead, medical items won't bring [T.him] back to life.")) // the gender lookup is somewhat overkill, but it functions identically to the obsolete gender macros and future-proofs this code diff --git a/code/modules/mob/living/simple_mob/simple_mob.dm b/code/modules/mob/living/simple_mob/simple_mob.dm index 116409a944..536a3a6fba 100644 --- a/code/modules/mob/living/simple_mob/simple_mob.dm +++ b/code/modules/mob/living/simple_mob/simple_mob.dm @@ -232,7 +232,7 @@ //Client attached /mob/living/simple_mob/Login() . = ..() - to_chat(src,"You are \the [src]. [player_msg]") + to_chat(src,span_boldnotice("You are \the [src].") + " [player_msg]") if(vore_active && !voremob_loaded) //CHOMPedit: On-demand belly loading. voremob_loaded = TRUE init_vore() @@ -324,7 +324,7 @@ return mob_class & MOB_CLASS_HUMANOID|MOB_CLASS_ANIMAL|MOB_CLASS_SLIME // Update this if needed. /mob/living/simple_mob/get_nametag_desc(mob/user) - return "[tt_desc]" + return span_italics("[tt_desc]") /mob/living/simple_mob/make_hud_overlays() hud_list[STATUS_HUD] = gen_hud_image(buildmode_hud, src, "ai_0", plane = PLANE_BUILDMODE) diff --git a/code/modules/mob/living/simple_mob/simple_mob_vr.dm b/code/modules/mob/living/simple_mob/simple_mob_vr.dm index 6b90469711..072fc55fcb 100644 --- a/code/modules/mob/living/simple_mob/simple_mob_vr.dm +++ b/code/modules/mob/living/simple_mob/simple_mob_vr.dm @@ -194,9 +194,9 @@ vore_pounce_cooldown = world.time + 20 SECONDS // don't attempt another pounce for a while if(prob(successrate)) // pounce success! M.Weaken(5) - M.visible_message("\The [src] pounces on \the [M]!!") + M.visible_message(span_danger("\The [src] pounces on \the [M]!")) else // pounce misses! - M.visible_message("\The [src] attempts to pounce \the [M] but misses!!") + M.visible_message(span_danger("\The [src] attempts to pounce \the [M] but misses!")) playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) if(will_eat(M) && (M.lying || vore_standing_too)) //if they're edible then eat them too //CHOMPEdit @@ -315,7 +315,7 @@ return FALSE if(tmob.canmove && prob(vore_pounce_chance)) //if they'd pounce for other noms, pounce for these too, otherwise still try and eat them if they hold still tmob.Weaken(5) - tmob.visible_message("\The [src] [vore_bump_emote] \the [tmob]!!") + tmob.visible_message(span_danger("\The [src] [vore_bump_emote] \the [tmob]!")) set_AI_busy(TRUE) spawn() animal_nom(tmob) diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm index a1a87410e8..6cf33e45ca 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/catslug.dm @@ -51,7 +51,7 @@ catalogue_data = list(/datum/category_item/catalogue/fauna/catslug) ai_holder_type = /datum/ai_holder/simple_mob/melee/evasive/catslug say_list_type = /datum/say_list/catslug - player_msg = "You have escaped the foul weather, into this much more pleasant place. You are an intelligent creature capable of more than most think. You can pick up and use many things, and even carry some of them with you into the vents, which you can use to move around quickly. You're quiet and capable, you speak with your hands and your deeds!
    - - - - -
    Keep in mind, your goal should generally be to survive. You're expected to follow the same rules as everyone else, so don't go self antagging without permission from the staff team, but you are able and capable of defending yourself from those who would attack you for no reason." + player_msg = "You have escaped the foul weather, into this much more pleasant place. You are an intelligent creature capable of more than most think. You can pick up and use many things, and even carry some of them with you into the vents, which you can use to move around quickly. You're quiet and capable, you speak with your hands and your deeds!
    - - - - -
    " + span_notice("Keep in mind, your goal should generally be to survive. You're expected to follow the same rules as everyone else, so don't go self antagging without permission from the staff team, but you are able and capable of defending yourself from those who would attack you for no reason.") has_langs = list(LANGUAGE_SIGN) @@ -407,7 +407,7 @@ min_n2 = 0 max_n2 = 0 - player_msg = "You are an intelligent creature capable of more than most think, clad in a spacesuit that protects you from the ravages of vacuum and hostile atmospheres alike. You can pick up and use many things, and even carry some of them with you into the vents, which you can use to move around quickly. You're quiet and capable, you speak with your hands and your deeds!
    - - - - -
    Keep in mind, your goal should generally be to survive. You're expected to follow the same rules as everyone else, so don't go self antagging without permission from the staff team, but you are able and capable of defending yourself from those who would attack you for no reason." + player_msg = "You are an intelligent creature capable of more than most think, clad in a spacesuit that protects you from the ravages of vacuum and hostile atmospheres alike. You can pick up and use many things, and even carry some of them with you into the vents, which you can use to move around quickly. You're quiet and capable, you speak with your hands and your deeds!
    - - - - -
    " + span_notice("Keep in mind, your goal should generally be to survive. You're expected to follow the same rules as everyone else, so don't go self antagging without permission from the staff team, but you are able and capable of defending yourself from those who would attack you for no reason.") /datum/say_list/catslug/custom/spaceslug speak = list("Have any porl?", "What is that?", "What kind of ship is that?", "What are you doing?", "How did you get here?", "Don't take off your helmet.", "SPAAAAAACE!", "WAOW!", "Nice weather we're having, isn't it?") diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/stardog.dm b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/stardog.dm index 370879780b..127c187751 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/stardog.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/stardog.dm @@ -454,7 +454,7 @@ set category = "IC.Stardog" //CHOMPEdit set src in oview(1) - usr.visible_message("\The [usr] pets \the [src].", "You pet \the [src].", runemessage = "pet pat...") + usr.visible_message(span_notice("\The [usr] pets \the [src]."), span_notice("You pet \the [src]."), runemessage = "pet pat...") var/obj/effect/overmap/visitable/ship/simplemob/stardog/s = get_overmap_sector(z) if(s && istype(s, /obj/effect/overmap/visitable/ship/simplemob/stardog)) @@ -489,11 +489,11 @@ var/mob/living/simple_mob/vore/overmap/stardog/m = s.parent log_subtle(message,L) - message = span_emote_subtle("[L] [message]") - message = "(From the back of \the [m]) " + message + message = span_emote_subtle(span_bold("[L]") + " " + span_italics("[message]")) + message = span_bold("(From the back of \the [m]) ") + message message = encode_html_emphasis(message) - var/undisplayed_message = span_emote("[L] does something too subtle for you to see.") + var/undisplayed_message = span_emote(span_bold("[L]") + " " + span_italics("does something too subtle for you to see.")) var/list/vis = get_mobs_and_objs_in_view_fast(get_turf(m),1,2) var/list/vis_mobs = vis["mobs"] vis_mobs |= L @@ -1051,26 +1051,26 @@ if(!host) set_up() if(!host) - to_chat(user, "It doesn't respond...") + to_chat(user, span_warning("It doesn't respond...")) return control(user) /obj/structure/control_pod/proc/control(mob/living/user) if(!host.affinity) //take care of my dog - to_chat(user, "As you press your hand to \the [src], it resists your advance... A sense of longing ripples through your mind...") + to_chat(user, span_warning("As you press your hand to \the [src], it resists your advance... A sense of longing ripples through your mind...")) return if(controller) //busy - to_chat(user, "You can see \the [controller] inside! Tendrils of nerves seem to have attached themselves to \the [controller]! There's no room for you right now!") + to_chat(user, span_warning("You can see \the [controller] inside! Tendrils of nerves seem to have attached themselves to \the [controller]! There's no room for you right now!")) return - user.visible_message("\The [user] reaches out to touch \the [src]...","You reach out to touch \the [src]...") + user.visible_message(span_notice("\The [user] reaches out to touch \the [src]..."),span_notice("You reach out to touch \the [src]...")) if(!do_after(user, 10 SECONDS, src, exclusive = TRUE)) - user.visible_message("\The [user] pulls back from \the [src].","You pull back from \the [src].") + user.visible_message(span_warning("\The [user] pulls back from \the [src]."),span_warning("You pull back from \the [src].")) return if(controller) //got busy while you were waiting, get rekt - to_chat(user, "You can see \the [controller] inside! Tendrils of nerves seem to have attached themselves to \the [controller]! There's no room for you right now!") + to_chat(user, span_warning("You can see \the [controller] inside! Tendrils of nerves seem to have attached themselves to \the [controller]! There's no room for you right now!")) return controller = user - visible_message("\The [src] accepts \the [controller], submerging them beneath the surface of the flesh!") + visible_message(span_warning("\The [src] accepts \the [controller], submerging them beneath the surface of the flesh!")) user.stop_pulling() user.forceMove(src) host.ckey = user.ckey @@ -1080,10 +1080,10 @@ set_light(5, 0.75, "#f94bff") /obj/structure/control_pod/proc/eject() - to_chat(host, "You feel your control over \the [host] slip away from you!") + to_chat(host, span_warning("You feel your control over \the [host] slip away from you!")) controller.forceMove(get_turf(src)) controller.ckey = host.ckey - visible_message("\The [controller] is ejected from \the [src], tumbling free!") + visible_message(span_warning("\The [controller] is ejected from \the [src], tumbling free!")) log_admin("[controller.ckey] is no longer controlling [host], they have been returned to their body, [controller].") icon_state = "control_node0" plane = OBJ_PLANE @@ -1161,11 +1161,11 @@ return log_subtle(message,L) - message = span_emote_subtle("[L] [message]") - message = "(From within \the [s]) " + message + message = span_emote_subtle(span_bold("[L]") + " " + span_italics("[message]")) + message = span_bold("(From within \the [s]) ") + message message = encode_html_emphasis(message) - var/undisplayed_message = span_emote("[L] does something too subtle for you to see.") + var/undisplayed_message = span_emote(span_bold("[L]") + " " + span_italics("does something too subtle for you to see.")) var/list/vis = get_mobs_and_objs_in_view_fast(get_turf(s),1,2) var/list/vis_mobs = vis["mobs"] vis_mobs |= L @@ -1663,7 +1663,7 @@ else if(user.faction == faction) SwitchState() else if(user.a_intent == I_HELP) - visible_message("[user] knocks on \the [src].", "Someone knocks on \the [src].") + visible_message(span_warningplain("[user] knocks on \the [src]."), span_warningplain("Someone knocks on \the [src].")) playsound(src, knock_sound, 50, 0, 3) countdown -= 10 else @@ -1679,7 +1679,7 @@ else if(user.faction == faction) SwitchState() else if(user.a_intent == I_HELP) - visible_message("[user] knocks on \the [src].", "Someone knocks on \the [src].") + visible_message(span_warningplain("[user] knocks on \the [src]."), span_warningplain("Someone knocks on \the [src].")) playsound(src, knock_sound, 50, 0, 3) countdown -= 10 else diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm index 5af3539f0c..083a514ac0 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/startreader.dm @@ -119,7 +119,7 @@ if(L.weakened) //Don't stun people while they're already stunned! That's SILLY! return if(prob(15)) - visible_message("\The [src] trips \the [L]!!") + visible_message(span_danger("\The [src] trips \the [L]!")) L.weakened += rand(1,10) /mob/living/simple_mob/vore/alienanimals/startreader/Life() diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/teppi.dm b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/teppi.dm index a617099736..82f62a0474 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/teppi.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/alien animals/teppi.dm @@ -132,7 +132,7 @@ GLOBAL_VAR_INIT(teppi_count, 0) // How mant teppi DO we have? has_langs = list(LANGUAGE_TEPPI) say_list_type = /datum/say_list/teppi - player_msg = "Teppi are large omnivorous quadrupeds. You have four toes on each paw, a long, strong tail, and are quite tough and powerful. You’re a lot more intimidating than you are actually harmful though. Your kind are ordinarily rather passive, only really rising to violence when someone does violence to you or others like you. You’re not stupid though, you can commiunicate with others of your kind, and form bonds with those who are kind to you, be they Teppi or otherwise.
    - - - - -
    While you may have access to galactic common, this is purely meant for making it so you can understand people in an OOC manner, for facilitating roleplay. You almost certainly should not be speaking to people or roleplaying as though you understand everything everyone says perfectly, but it's not unreasonable to be able to intuit intent and such through people's tones when they speak. Teppi are kind of smart, but they are animals, and should be roleplayed as such. ADDITIONALLY, you have the ability to produce offspring if you're well fed enough every once in a while, and the ability to disable this from happening to you. These verbs exist for to preserve the mechanical functionality of the mob you are playing. You should be aware of your surroundings when you use this verb, and NEVER use it to prefbreak or be disruptive. If in doubt, don't use it. Also, to note, AI Teppi will never initiate breeding with player Teppi." + player_msg = "Teppi are large omnivorous quadrupeds. You have four toes on each paw, a long, strong tail, and are quite tough and powerful. You’re a lot more intimidating than you are actually harmful though. Your kind are ordinarily rather passive, only really rising to violence when someone does violence to you or others like you. You’re not stupid though, you can commiunicate with others of your kind, and form bonds with those who are kind to you, be they Teppi or otherwise.
    - - - - -
    " + span_notice("While you may have access to galactic common, this is purely meant for making it so you can understand people in an OOC manner, for facilitating roleplay. You almost certainly should not be speaking to people or roleplaying as though you understand everything everyone says perfectly, but it's not unreasonable to be able to intuit intent and such through people's tones when they speak. Teppi are kind of smart, but they are animals, and should be roleplayed as such.") + " " + span_warning("ADDITIONALLY, you have the ability to produce offspring if you're well fed enough every once in a while, and the ability to disable this from happening to you. These verbs exist for to preserve the mechanical functionality of the mob you are playing. You should be aware of your surroundings when you use this verb, and NEVER use it to prefbreak or be disruptive. If in doubt, don't use it.") + " " + span_notice("Also, to note, AI Teppi will never initiate breeding with player Teppi.") loot_list = list(/obj/item/bone/horn = 100) internal_organs = list(\ /obj/item/organ/internal/brain,\ @@ -554,7 +554,7 @@ GLOBAL_VAR_INIT(teppi_count, 0) // How mant teppi DO we have? qdel(O) playsound(src, 'sound/items/eatfood.ogg', 75, 1) if(!client && lets_eat(user) && prob(1)) - visible_message("\The [src] scromfs \the [user] along with the food!!") + visible_message(span_danger("\The [src] scromfs \the [user] along with the food!")) to_chat(user, span_notice("\The [src] leans in close, spreading its jaws in front of you. A hot, humid gust of breath blows over you as the weight of \the [src]'s presses you over, knocking you off of your feet as the warm gooey tough of jaws scromf over your figure, rapidly guzzling you away with the [O], leaving you to tumble down into the depths of its body...")) playsound(src, pick(bodyfall_sound), 75, 1) teppi_pounce(user) diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm index 5c3b5ae3cb..2eb26b3a75 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/borer/borer_powers.dm @@ -4,11 +4,11 @@ set desc = "Slither out of your host." if(!host) - to_chat(src, "You are not inside a host body.") + to_chat(src, span_warning("You are not inside a host body.")) return if(stat) - to_chat(src, "You cannot leave your host in your current state.") + to_chat(src, span_warning("You cannot leave your host in your current state.")) if(docile) to_chat(src, span_blue("You are feeling far too docile to do that.")) @@ -16,20 +16,20 @@ if(!host || !src) return - to_chat(src, "You begin disconnecting from [host]'s synapses and prodding at their internal ear canal.") + to_chat(src, span_warning("You begin disconnecting from [host]'s synapses and prodding at their internal ear canal.")) if(!host.stat) - to_chat(host, "An odd, uncomfortable pressure begins to build inside your skull, behind your ear...") + to_chat(host, span_warning("An odd, uncomfortable pressure begins to build inside your skull, behind your ear...")) spawn(100) if(!host || !src) return if(src.stat) - to_chat(src, "You cannot release your host in your current state.") + to_chat(src, span_warning("You cannot release your host in your current state.")) return - to_chat(src, "You wiggle out of [host]'s ear and plop to the ground.") + to_chat(src, span_warning("You wiggle out of [host]'s ear and plop to the ground.")) if(host.mind) if(!host.stat) to_chat(host, span_danger("Something slimy wiggles out of your ear and plops to the ground!")) @@ -44,11 +44,11 @@ set desc = "Infest a suitable humanoid host." if(host) - to_chat(src, "You are already within a host.") + to_chat(src, span_warning("You are already within a host.")) return if(stat) - to_chat(src, "You cannot infest a target in your current state.") + to_chat(src, span_warning("You cannot infest a target in your current state.")) return var/list/choices = list() @@ -57,7 +57,7 @@ choices += C if(!choices.len) - to_chat(src, "There are no viable hosts within range...") + to_chat(src, span_warning("There are no viable hosts within range...")) return var/mob/living/carbon/M = tgui_input_list(src, "Who do you wish to infest?", "Target Choice", choices) @@ -67,7 +67,7 @@ if(!(src.Adjacent(M))) return if(M.has_brain_worms()) - to_chat(src, "You cannot infest someone who is already infested!") + to_chat(src, span_warning("You cannot infest someone who is already infested!")) return if(istype(M,/mob/living/carbon/human)) @@ -75,31 +75,31 @@ var/obj/item/organ/external/E = H.organs_by_name[BP_HEAD] if(!E || E.is_stump()) - to_chat(src, "\The [H] does not have a head!") + to_chat(src, span_warning("\The [H] does not have a head!")) if(!H.should_have_organ("brain")) - to_chat(src, "\The [H] does not seem to have an ear canal to breach.") + to_chat(src, span_warning("\The [H] does not seem to have an ear canal to breach.")) return if(H.check_head_coverage()) - to_chat(src, "You cannot get through that host's protective gear.") + to_chat(src, span_warning("You cannot get through that host's protective gear.")) return to_chat(M, "Something slimy begins probing at the opening of your ear canal...") - to_chat(src, "You slither up [M] and begin probing at their ear canal...") + to_chat(src, span_warning("You slither up [M] and begin probing at their ear canal...")) if(!do_after(src,30)) - to_chat(src, "As [M] moves away, you are dislodged and fall to the ground.") + to_chat(src, span_warning("As [M] moves away, you are dislodged and fall to the ground.")) return if(!M || !src) return if(src.stat) - to_chat(src, "You cannot infest a target in your current state.") + to_chat(src, span_warning("You cannot infest a target in your current state.")) return if(M in view(1, src)) - to_chat(src, "You wiggle into [M]'s ear.") + to_chat(src, span_warning("You wiggle into [M]'s ear.")) if(!M.stat) to_chat(M, "Something disgusting and slimy wiggles into your ear!") @@ -122,7 +122,7 @@ return else - to_chat(src, "They are no longer in range!") + to_chat(src, span_warning("They are no longer in range!")) return /* @@ -132,22 +132,22 @@ set desc = "Take permanent control of a dead host." if(!host) - to_chat(src, "You are not inside a host body.") + to_chat(src, span_warning("You are not inside a host body.")) return if(host.stat != 2) - to_chat(src, "Your host is still alive.") + to_chat(src, span_warning("Your host is still alive.")) return if(stat) - to_chat(src, "You cannot do that in your current state.") + to_chat(src, span_warning("You cannot do that in your current state.")) if(docile) - to_chat(src, "You are feeling far too docile to do that.") + to_chat(src, span_warning(span_blue("You are feeling far too docile to do that."))) return - to_chat(src, "It only takes a few moments to render the dead host brain down into a nutrient-rich slurry...") + to_chat(src, span_danger("It only takes a few moments to render the dead host brain down into a nutrient-rich slurry...")) replace_brain() */ @@ -157,10 +157,10 @@ var/mob/living/carbon/human/H = host if(!istype(host)) - to_chat(src, "This host does not have a suitable brain.") + to_chat(src, span_warning("This host does not have a suitable brain.")) return - to_chat(src, "You settle into the empty brainpan and begin to expand, fusing inextricably with the dead flesh of [H].") + to_chat(src, span_danger("You settle into the empty brainpan and begin to expand, fusing inextricably with the dead flesh of [H].")) H.add_language("Cortical Link") @@ -205,25 +205,25 @@ set desc = "Push some chemicals into your host's bloodstream." if(!host) - to_chat(src, "You are not inside a host body.") + to_chat(src, span_warning("You are not inside a host body.")) return if(stat) - to_chat(src, "You cannot secrete chemicals in your current state.") + to_chat(src, span_warning("You cannot secrete chemicals in your current state.")) if(docile) - to_chat(src, span_blue("You are feeling far too docile to do that.")) + to_chat(src, span_warning(span_blue("You are feeling far too docile to do that."))) return if(chemicals < 50) - to_chat(src, "You don't have enough chemicals!") + to_chat(src, span_warning("You don't have enough chemicals!")) var/chem = tgui_input_list(usr, "Select a chemical to secrete.", "Chemicals", list("alkysine","bicaridine","hyperzine","tramadol")) if(!chem || chemicals < 50 || !host || controlling || !src || stat) //Sanity check. return - to_chat(src, span_red("You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.")) + to_chat(src, span_bolddanger("You squirt a measure of [chem] from your reservoirs into [host]'s bloodstream.")) host.reagents.add_reagent(chem, 10) chemicals -= 50 @@ -233,15 +233,15 @@ set desc = "Freeze the limbs of a potential host with supernatural fear." if(world.time - used_dominate < 150) - to_chat(src, "You cannot use that ability again so soon.") + to_chat(src, span_warning("You cannot use that ability again so soon.")) return if(host) - to_chat(src, "You cannot do that from within a host body.") + to_chat(src, span_warning("You cannot do that from within a host body.")) return if(src.stat) - to_chat(src, "You cannot do that in your current state.") + to_chat(src, span_warning("You cannot do that in your current state.")) return var/list/choices = list() @@ -250,7 +250,7 @@ choices += C if(world.time - used_dominate < 150) - to_chat(src, "You cannot use that ability again so soon.") + to_chat(src, span_warning("You cannot use that ability again so soon.")) return var/mob/living/carbon/M = tgui_input_list(src, "Who do you wish to dominate?", "Target Choice", choices) @@ -258,7 +258,7 @@ if(!M || !src) return if(M.has_brain_worms()) - to_chat(src, "You cannot infest someone who is already infested!") + to_chat(src, span_warning("You cannot infest someone who is already infested!")) return to_chat(src, span_red("You focus your psychic lance on [M] and freeze their limbs with a wave of terrible dread.")) @@ -273,18 +273,18 @@ set desc = "Fully connect to the brain of your host." if(!host) - to_chat(src, "You are not inside a host body.") + to_chat(src, span_warning("You are not inside a host body.")) return if(src.stat) - to_chat(src, "You cannot do that in your current state.") + to_chat(src, span_warning("You cannot do that in your current state.")) return if(docile) to_chat(src, span_blue("You are feeling far too docile to do that.")) return - to_chat(src, "You begin delicately adjusting your connection to the host brain...") + to_chat(src, span_warning("You begin delicately adjusting your connection to the host brain...")) spawn(100+(host.brainloss*5)) @@ -292,8 +292,8 @@ return else - to_chat(src, span_red("You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system.")) - to_chat(host, span_red("You feel a strange shifting sensation behind your eyes as an alien consciousness displaces yours.")) + to_chat(src, span_bolddanger("You plunge your probosci deep into the cortex of the host brain, interfacing directly with their nervous system.")) + to_chat(host, span_bolddanger("You feel a strange shifting sensation behind your eyes as an alien consciousness displaces yours.")) host.add_language("Cortical Link") // host -> brain diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/passive/possum.dm b/code/modules/mob/living/simple_mob/subtypes/animal/passive/possum.dm index 5a78b61690..614ec0d87f 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/passive/possum.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/passive/possum.dm @@ -159,11 +159,11 @@ var/datum/ai_holder/simple_mob/passive/possum/poss_ai = ai_holder if(!client && istype(poss_ai)) if(!poss_ai.is_angry) - visible_message("\The [src] hisses!") + visible_message(span_infoplain(span_bold("\The [src]") + " hisses!")) poss_ai.is_angry = TRUE poss_ai.be_angery_until = world.time + rand(30 SECONDS, 1 MINUTE) else - visible_message("\The [src] dies!") + visible_message(span_infoplain(span_bold("\The [src]") + " dies!")) resting = TRUE poss_ai.play_dead_until = world.time + rand(1 MINUTE, 2 MINUTES) update_icon() diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/sif/grafadreka.dm b/code/modules/mob/living/simple_mob/subtypes/animal/sif/grafadreka.dm index 76847ceee1..9ff468e150 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/sif/grafadreka.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/sif/grafadreka.dm @@ -3,8 +3,8 @@ desc = "Your wounds have been salved with Sivian sap." mob_overlay_state = "cyan_sparkles" stacks = MODIFIER_STACK_FORBID - on_created_text = "The glowing sap seethes and bubbles in your wounds, tingling and stinging." - on_expired_text = "The last of the sap in your wounds fizzles away." + on_created_text = span_notice("The glowing sap seethes and bubbles in your wounds, tingling and stinging.") + on_expired_text = span_notice("The last of the sap in your wounds fizzles away.") /datum/modifier/sifsap_salve/tick() @@ -120,8 +120,8 @@ Field studies suggest analytical abilities on par with some species of cepholapo name = "grafadreka" desc = "A large, sleek snow drake with heavy claws, powerful jaws and many pale spines along its body." player_msg = "You are a large Sivian pack predator in symbiosis with the local bioluminescent bacteria. You can eat glowing \ - tree fruit to fuel your ranged spitting attack and poisonous bite (on harm intent), as well as healing saliva \ - (on help intent).
    There are humans moving through your territory; whether you help them get home safely, or treat them as a snack, \ + tree fruit to fuel your " + span_bold("ranged spitting attack") + " and " + span_bold("poisonous bite") + " (on " + span_danger("harm intent") + "), as well as " + span_bold("healing saliva") + "\ + (on " + span_bold(span_green("help intent")) + ").
    There are humans moving through your territory; whether you help them get home safely, or treat them as a snack, \ is up to you." color = "#608894" icon = 'icons/mob/drake_adult.dmi' @@ -570,12 +570,12 @@ var/global/list/wounds_being_tended_by_drakes = list() to_chat(src, span_warning("You aren't the pack leader! Sit down!")) return - audible_message("\The [src] barks loudly and rattles its neck spines.") + audible_message(span_infoplain(span_bold("\The [src]") + " barks loudly and rattles its neck spines.")) for(var/mob/living/simple_mob/animal/sif/grafadreka/drake in hearers(world.view * 3, src)) if(drake == src || drake.faction != faction) continue if(drake.client) - to_chat(drake, span_notice("The pack leader wishes for you to follow them.")) + to_chat(drake, span_boldnotice("The pack leader wishes for you to follow them.")) else if(drake.ai_holder) drake.ai_holder.set_follow(src) diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/sif/hooligan_crab.dm b/code/modules/mob/living/simple_mob/subtypes/animal/sif/hooligan_crab.dm index 1ddfbd5ddc..5ea6adaae2 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/sif/hooligan_crab.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/sif/hooligan_crab.dm @@ -120,5 +120,5 @@ if(prob(10)) for(var/mob/living/L in hearers(holder)) if(!istype(L, holder)) // Don't follow other hooligan crabs. - holder.visible_message("\The [holder] starts to follow \the [L].") + holder.visible_message(span_infoplain(span_bold("\The [holder]") + " starts to follow \the [L].")) set_follow(L, rand(20 SECONDS, 40 SECONDS)) diff --git a/code/modules/mob/living/simple_mob/subtypes/animal/sif/racoon.dm b/code/modules/mob/living/simple_mob/subtypes/animal/sif/racoon.dm index d97f06f58e..bd088b5e40 100644 --- a/code/modules/mob/living/simple_mob/subtypes/animal/sif/racoon.dm +++ b/code/modules/mob/living/simple_mob/subtypes/animal/sif/racoon.dm @@ -188,7 +188,7 @@ if(holder.get_active_hand() && istype(holder.get_active_hand(), /obj/item/clothing/head) && !S.hat) var/obj/item/I = holder.get_active_hand() S.take_hat(S) - holder.visible_message("\The [holder] wears \the [I]") + holder.visible_message(span_infoplain(span_bold("\The [holder]") + " wears \the [I]")) /mob/living/simple_mob/animal/sif/sakimm/intelligent desc = "What appears to be an oversized rodent with hands. This one has a curious look in its eyes." @@ -334,7 +334,7 @@ if(istype(holder) && istype(holder.get_active_hand(), /obj/item/clothing/head) && !S.hat) var/obj/item/I = holder.get_active_hand() S.take_hat(S) - holder.visible_message("\The [holder] wears \the [I]") + holder.visible_message(span_bold("\The [holder]") + "wears \the [I]") carrying_item = TRUE if(istype(holder) && S.hat) // Do we have a hat? Hats are loot. diff --git a/code/modules/mob/living/simple_mob/subtypes/humanoid/mercs/mercs.dm b/code/modules/mob/living/simple_mob/subtypes/humanoid/mercs/mercs.dm index e7b0b409f8..cb8665a43c 100644 --- a/code/modules/mob/living/simple_mob/subtypes/humanoid/mercs/mercs.dm +++ b/code/modules/mob/living/simple_mob/subtypes/humanoid/mercs/mercs.dm @@ -138,7 +138,7 @@ /mob/living/simple_mob/humanoid/merc/melee/sword/bullet_act(var/obj/item/projectile/Proj) if(!Proj) return if(prob(35)) - visible_message(span_red("[src] blocks [Proj] with its shield!")) + visible_message(span_bolddanger("[src] blocks [Proj] with its shield!")) if(Proj.firer) ai_holder.react_to_attack(Proj.firer) return @@ -335,7 +335,7 @@ */ if(ranged_cooldown_time) //If you have a non-zero number in a mob's variables, this pattern begins. if(ranged_cooldown <= world.time) //Further down, a timer keeps adding to the ranged_cooldown variable automatically. - visible_message(span_danger("\The [src] fires at \the [A]!")) //Leave notice of shooting. + visible_message(span_danger(span_bold("\The [src]") + " fires at \the [A]!")) //Leave notice of shooting. shoot(A) //Perform the shoot action if(casingtype) //If the mob is designated to leave casings... new casingtype(loc) //... leave the casing. @@ -343,7 +343,7 @@ return TRUE //End these commands here. // CHOMPAddition End - visible_message(span_danger("\The [src] fires at \the [orig_targ]!")) + visible_message(span_danger(span_bold("\The [src]") + " fires at \the [orig_targ]!")) shoot(A) if(casingtype) new casingtype(loc) diff --git a/code/modules/mob/living/simple_mob/subtypes/mechanical/drones/mining_drone.dm b/code/modules/mob/living/simple_mob/subtypes/mechanical/drones/mining_drone.dm index d986c17a29..d4d619fbb8 100644 --- a/code/modules/mob/living/simple_mob/subtypes/mechanical/drones/mining_drone.dm +++ b/code/modules/mob/living/simple_mob/subtypes/mechanical/drones/mining_drone.dm @@ -160,7 +160,7 @@ my_storage.rangedload(T, src) if(my_storage.contents.len >= my_storage.max_storage_space) - visible_message("\The [src] emits a shrill beep, indicating its storage is full.") + visible_message(span_infoplain(span_bold("\The [src]") + " emits a shrill beep, indicating its storage is full.")) var/obj/structure/ore_box/OB = locate() in view(2, src) diff --git a/code/modules/mob/living/simple_mob/subtypes/occult/constructs/_construct.dm b/code/modules/mob/living/simple_mob/subtypes/occult/constructs/_construct.dm index 87c4464a18..d6dc79d954 100644 --- a/code/modules/mob/living/simple_mob/subtypes/occult/constructs/_construct.dm +++ b/code/modules/mob/living/simple_mob/subtypes/occult/constructs/_construct.dm @@ -129,7 +129,7 @@ var/repair_upper_bound = A.melee_damage_upper * -1 adjustBruteLoss(rand(repair_lower_bound, repair_upper_bound)) adjustFireLoss(rand(repair_lower_bound, repair_upper_bound)) - user.visible_message("\The [user] mends some of \the [src]'s wounds.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " mends some of \the [src]'s wounds.")) else to_chat(user, span_notice("\The [src] is undamaged.")) return @@ -142,7 +142,7 @@ if (health >= max/2) . += span_warning("It looks slightly dented.") else - . += span_warning("It looks severely dented!") + . += span_boldwarning("It looks severely dented!") //Constructs levitate, can fall from a shuttle with no harm, and are piloted by either damned spirits or some otherworldly entity. Let 'em float in space. /mob/living/simple_mob/construct/Process_Spacemove() diff --git a/code/modules/mob/living/simple_mob/subtypes/slime/slime.dm b/code/modules/mob/living/simple_mob/subtypes/slime/slime.dm index 560a4ba2e4..6908176f59 100644 --- a/code/modules/mob/living/simple_mob/subtypes/slime/slime.dm +++ b/code/modules/mob/living/simple_mob/subtypes/slime/slime.dm @@ -259,7 +259,7 @@ var/list/_slime_default_emotes = list( /mob/living/simple_mob/slime/proc/squish() playsound(src, 'sound/effects/slime_squish.ogg', 50, 0) - visible_message("\The [src] squishes!") + visible_message(span_infoplain(span_bold("\The [src]") + " squishes!")) /decl/mob_organ_names/slime hit_zones = list("cytoplasmic membrane") diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/devil.dm b/code/modules/mob/living/simple_mob/subtypes/vore/devil.dm index 26ebf4dc84..1d64e27ef0 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/devil.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/devil.dm @@ -71,9 +71,9 @@ vore_pounce_cooldown = world.time + 1 SECONDS // don't attempt another pounce for a while if(prob(successrate)) // pounce success! M.Weaken(5) - M.visible_message("\The [src] pounces on \the [M]!!") + M.visible_message(span_danger("\The [src] pounces on \the [M]!")) else // pounce misses! - M.visible_message("\The [src] attempts to pounce \the [M] but misses!!") + M.visible_message(span_danger("\The [src] attempts to pounce \the [M] but misses!")) playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) if(will_eat(M) && (!M.canmove || vore_standing_too)) //if they're edible then eat them too diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/meowl.dm b/code/modules/mob/living/simple_mob/subtypes/vore/meowl.dm index f4c499e798..5fb2a327ad 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/meowl.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/meowl.dm @@ -115,9 +115,9 @@ vore_pounce_cooldown = world.time + 1 SECONDS // don't attempt another pounce for a while if(prob(max(successrate,33))) // pounce success! M.Weaken(5) - M.visible_message("\The [src] pounces on \the [M]!!") + M.visible_message(span_danger("\The [src] pounces on \the [M]!")) else // pounce misses! - M.visible_message("\The [src] attempts to pounce \the [M] but misses!!") + M.visible_message(span_danger("\The [src] attempts to pounce \the [M] but misses!")) playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) if(will_eat(M) && (!M.canmove || vore_standing_too)) //if they're edible then eat them too @@ -255,8 +255,8 @@ var/distance = get_dist(holder, target) if(distance <= 1) var/talkies = pick(friend_text_close) - holder.visible_message("\The [holder] [talkies]") + holder.visible_message(span_infoplain(span_bold("\The [holder]") + " [talkies]")) else var/talkies = pick(friend_text_far) - holder.visible_message("\The [holder] [talkies]") + holder.visible_message(span_infoplain(span_bold("\The [holder]") + " [talkies]")) last_friend_time = world.time diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/mimic.dm b/code/modules/mob/living/simple_mob/subtypes/vore/mimic.dm index f1156dd3a0..f1f4ec9607 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/mimic.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/mimic.dm @@ -38,7 +38,7 @@ mimic_active = FALSE if(prob(mimic_chance)) var/mob/living/simple_mob/vore/aggressive/mimic/new_mimic = new(loc, src) - visible_message(span_red("[new_mimic] suddenly growls as it turns out to be a mimic!")) + visible_message(span_bolddanger("[new_mimic] suddenly growls as it turns out to be a mimic!")) forceMove(new_mimic) new_mimic.real_crate = src new_mimic.name = name @@ -59,7 +59,7 @@ /obj/structure/closet/crate/mimic/damage(var/damage) if(contents.len) - visible_message(span_red("[src] makes out a crunchy noise as its contents are destroyed!")) + visible_message(span_bolddanger("[src] makes out a crunchy noise as its contents are destroyed!")) for(var/obj/O in src.contents) qdel(O) ..() diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/rat.dm b/code/modules/mob/living/simple_mob/subtypes/vore/rat.dm index 37a32338d4..df02bbd977 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/rat.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/rat.dm @@ -173,7 +173,7 @@ hunger += 5 else food.Weaken(5) - food.visible_message("\The [src] pounces on \the [food]!!") + food.visible_message(span_danger("\The [src] pounces on \the [food]!")) target_mob = food EatTarget() hunger = 0 diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm b/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm index 326ee5973c..81a37437cb 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm @@ -73,9 +73,9 @@ vore_pounce_cooldown = world.time + 20 SECONDS // don't attempt another pounce for a while if(prob(successrate)) // pounce success! M.Weaken(5) - M.visible_message("\The [src] pounces on \the [M]!!") + M.visible_message(span_danger("\The [src] pounces on \the [M]!")) else // pounce misses! - M.visible_message("\The [src] attempts to pounce \the [M] but misses!!") + M.visible_message(span_danger("\The [src] attempts to pounce \the [M] but misses!")) playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) if(will_eat(M) && (!M.canmove || vore_standing_too)) //if they're edible then eat them too diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/shadekin/ability_objects.dm b/code/modules/mob/living/simple_mob/subtypes/vore/shadekin/ability_objects.dm index dae8983037..8539f496f1 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/shadekin/ability_objects.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/shadekin/ability_objects.dm @@ -38,7 +38,7 @@ var/opts = clickprops["shift"] if(opts) - to_chat(my_kin,span_notice("[name] (Cost: [cost]%) - [desc]")) + to_chat(my_kin,span_notice(span_bold("[name]") + " (Cost: [cost]%) - [desc]")) else do_ability(my_kin) diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/solargrub.dm b/code/modules/mob/living/simple_mob/subtypes/vore/solargrub.dm index 49e71984e1..c8c32b77f9 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/solargrub.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/solargrub.dm @@ -82,7 +82,7 @@ var/global/moth_amount = 0 // Chompstation Addition, Rykka waz here. *pawstamp* if(attached) set_AI_busy(TRUE) if(prob(2)) - src.visible_message("\The [src] begins to sink power from the net.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " begins to sink power from the net.")) if(prob(5)) var/datum/effect/effect/system/spark_spread/sparks = new /datum/effect/effect/system/spark_spread() sparks.set_up(5, 0, get_turf(src)) diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/stalker.dm b/code/modules/mob/living/simple_mob/subtypes/vore/stalker.dm index 876e857c0c..57aefb7ba6 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/stalker.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/stalker.dm @@ -76,9 +76,9 @@ vore_pounce_cooldown = world.time + 1 SECONDS // don't attempt another pounce for a while if(prob(successrate)) // pounce success! M.Weaken(5) - M.visible_message("\The [src] pounces on \the [M]!!") + M.visible_message(span_danger("\The [src] pounces on \the [M]!")) else // pounce misses! - M.visible_message("\The [src] attempts to pounce \the [M] but misses!!") + M.visible_message(span_danger("\The [src] attempts to pounce \the [M] but misses!")) playsound(src, 'sound/weapons/punchmiss.ogg', 25, 1, -1) if(will_eat(M) && (!M.canmove || vore_standing_too)) //if they're edible then eat them too diff --git a/code/modules/mob/login.dm b/code/modules/mob/login.dm index 9ed5e39468..e53e5c65cd 100644 --- a/code/modules/mob/login.dm +++ b/code/modules/mob/login.dm @@ -24,10 +24,10 @@ tgui_alert_async(usr, "You appear to have logged in with another key this round, which is not permitted. Please contact an administrator if you believe this message to be in error.") if(matches) if(M.client) - message_admins("[span_red("Notice: ")][span_blue("[key_name_admin(src)] has the same [matches] as [key_name_admin(M)].")]", 1) + message_admins("[span_red(span_bold("Notice:"))] [span_blue("[key_name_admin(src)] has the same [matches] as [key_name_admin(M)].")]", 1) log_adminwarn("Notice: [key_name(src)] has the same [matches] as [key_name(M)].") else - message_admins("[span_red("Notice: ")][span_blue("[key_name_admin(src)] has the same [matches] as [key_name_admin(M)] (no longer logged in). ")]", 1) + message_admins("[span_red(span_bold("Notice:"))] [span_blue("[key_name_admin(src)] has the same [matches] as [key_name_admin(M)] (no longer logged in). ")]", 1) log_adminwarn("Notice: [key_name(src)] has the same [matches] as [key_name(M)] (no longer logged in).") /mob/Login() diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 16bf32af7f..3ec5288e07 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -87,7 +87,7 @@ return // Added voice muffling for Issue 41. if(stat == UNCONSCIOUS || sleeping > 0) - to_chat(src, span_filter_notice("... You can almost hear someone talking ...")) + to_chat(src, span_filter_notice(span_italics("... You can almost hear someone talking ..."))) else if(client && client.prefs.chat_timestamp) // TG-Chat filters latch directly to the spans, we no longer need that @@ -336,7 +336,7 @@ if(length(msg) <= 40) return span_notice("[msg]") else - return "[copytext_preserve_html(msg, 1, 37)]... More..." + return span_notice("[copytext_preserve_html(msg, 1, 37)]... More...") /* /mob/verb/help() @@ -384,7 +384,7 @@ set category = "OOC.Game" //CHOMPEdit if(stat != DEAD || !ticker) - to_chat(usr, span_notice("You must be dead to use this!")) + to_chat(usr, span_boldnotice("You must be dead to use this!")) return // Final chance to abort "respawning" @@ -638,7 +638,7 @@ playsound(src.loc, 'sound/weapons/thudswoosh.ogg', 25) //Quieter than hugging/grabbing but we still want some audio feedback if(H.pull_damage()) - to_chat(src, span_filter_notice("[span_red("Pulling \the [H] in their current condition would probably be a bad idea.")]")) + to_chat(src, span_filter_notice("[span_red(span_bold("Pulling \the [H] in their current condition would probably be a bad idea."))]")) //Attempted fix for people flying away through space when cuffed and dragged. if(ismob(AM)) @@ -940,9 +940,9 @@ return if(self) - visible_message(span_warning("[src] rips [selection] out of their body."),span_warning("You rip [selection] out of your body.")) + visible_message(span_boldwarning("[src] rips [selection] out of their body."),span_boldwarning("You rip [selection] out of your body.")) else - visible_message(span_warning("[usr] rips [selection] out of [src]'s body."),span_warning("[usr] rips [selection] out of your body.")) + visible_message(span_boldwarning("[usr] rips [selection] out of [src]'s body."),span_boldwarning("[usr] rips [selection] out of your body.")) valid_objects = get_visible_implants(0) if(valid_objects.len == 1) //Yanking out last object - removing verb. remove_verb(src, /mob/proc/yank_out_object) diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index 60982362f9..ad35e3ac3b 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -215,7 +215,7 @@ //if(2,4,6,15) newletter="[uppertext(newletter)]" if(2,4,6,9) newletter="[uppertext(newletter)]" if(7) newletter+="'" - //if(9,10) newletter="[newletter]" + //if(9,10) newletter=span_bold("[newletter]") //if(11,12) newletter="[newletter]" //if(13) newletter="[newletter]" newphrase+="[newletter]";counter-=1 @@ -436,7 +436,7 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HURT) lname = "[keyname] ([name])" else // Everyone else (dead people who didn't ghost yet, etc.) lname = name - lname = "[lname] " + lname = span_name("[lname]") + " " to_chat(M, span_deadsay("" + create_text_tag("dead", "DEAD:", M.client) + " [lname][follow][message]")) /proc/say_dead_object(var/message, var/obj/subject = null) @@ -450,7 +450,7 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HURT) if(subject) lname = "[subject.name] ([subject.x],[subject.y],[subject.z])" - lname = "[lname] " + lname = span_name("[lname]") + " " to_chat(M, span_deadsay("" + create_text_tag("event_dead", "EVENT:", M.client) + " [lname][follow][message]")) //Announces that a ghost has joined/left, mainly for use with wizards @@ -484,11 +484,11 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HURT) if(!name) name = (C.holder && C.holder.fakekey) ? C.holder.fakekey : C.key if(joined_ghosts) - //say_dead_direct("The ghost of [name] now [pick("skulks","lurks","prowls","creeps","stalks")] among the dead. [message]") //ChompEDIT - Removed for ghost privacy + //say_dead_direct("The ghost of " + span_name("[name]") + " now [pick("skulks","lurks","prowls","creeps","stalks")] among the dead. [message]") //ChompEDIT - Removed for ghost privacy log_and_message_admins("[name] entered ghost/observe mode. [message]") //ChompEDIT else - //say_dead_direct("[name] no longer [pick("skulks","lurks","prowls","creeps","stalks")] in the realm of the dead. [message]") //ChompEDIT - Removed for ghost privacy + //say_dead_direct(span_name("[name]") + " no longer [pick("skulks","lurks","prowls","creeps","stalks")] in the realm of the dead. [message]") //ChompEDIT - Removed for ghost privacy log_and_message_admins("[name] left ghost/observe mode. [message]") //ChompEDIT diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index dcf2d9795b..b6e5be9653 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -480,7 +480,7 @@ /* CHOMPedit: Nuking slipping. //Check to see if we slipped if(prob(Process_Spaceslipping(5)) && !buckled) - to_chat(src, span_notice("You slipped!")) + to_chat(src, span_boldnotice("You slipped!")) inertia_dir = last_move step(src, src.inertia_dir) // Not using Move for smooth glide here because this is a 'slip' so should be sudden. return 0 diff --git a/code/modules/mob/new_player/login.dm b/code/modules/mob/new_player/login.dm index 15b2155408..f1a246c600 100644 --- a/code/modules/mob/new_player/login.dm +++ b/code/modules/mob/new_player/login.dm @@ -88,7 +88,7 @@ var/obj/effect/lobby_image = new /obj/effect/lobby_image tgui_alert_async(src, message, "BYOND Client Version Warning") // So we can be more wordy and give links. - to_chat(src, "Your client version has known issues. Please consider using a different version: https://www.byond.com/download/build/.") + to_chat(src, span_userdanger("Your client version has known issues.") + " Please consider using a different version: https://www.byond.com/download/build/.") var/chat_message = "" if(CONFIG_GET(number/suggested_byond_version)) // CHOMPEdit chat_message += "We suggest using version [CONFIG_GET(number/suggested_byond_version)]." // CHOMPEdit diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index 81df7f6d1a..07996db90a 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -45,22 +45,22 @@ /mob/new_player/proc/new_player_panel_proc() var/output = "
    " - output += "Map: [using_map.full_name]
    " - output += "Station Time: [stationtime2text()]
    " + output += span_bold("Map:") + " [using_map.full_name]
    " + output += span_bold("Station Time:") + " [stationtime2text()]
    " if(!ticker || ticker.current_state <= GAME_STATE_PREGAME) - output += "Server Initializing!" + output += span_bold("Server Initializing!") else - output += "Round Duration: [roundduration2text()]
    " + output += span_bold("Round Duration:") + " [roundduration2text()]
    " output += "
    " output += "

    Character Setup

    " if(!ticker || ticker.current_state <= GAME_STATE_PREGAME) if(ready) - output += "

    \[ Ready | Not Ready \]

    " //ChompEDIT - fixed height + output += "

    \[ " + span_linkOn(span_bold("Ready")) + " | Not Ready \]

    " //ChompEDIT - fixed height else - output += "

    \[ Ready | Not Ready \]

    " //ChompEDIT - fixed height + output += "

    \[ Ready | " + span_linkOn(span_bold("Not Ready")) + " \]

    " //ChompEDIT - fixed height output += "

    Join Game!

    " //ChompEDIT - fixed height else @@ -308,7 +308,7 @@ var/sql = "INSERT INTO erro_privacy VALUES (null, Now(), :t_ckey, :t_option)" //CHOMPEdit TGSQL var/datum/db_query/query_insert = SSdbcore.NewQuery(sql,sqlargs) //CHOMPEdit TGSQL query_insert.Execute() - to_chat(usr, "Thank you for your vote!") + to_chat(usr, span_bold("Thank you for your vote!")) qdel(query_insert) usr << browse(null,"window=privacypoll") @@ -418,7 +418,7 @@ dat += "
    " dat += "[body]" dat += "
    " - dat += "Last written by [F["author"]], on [F["timestamp"]]." + dat += span_normal(span_italics("Last written by [F["author"]], on [F["timestamp"]].")) dat += "" var/datum/browser/popup = new(src, "Server News", "Server News", 450, 300, src) popup.set_content(dat) @@ -644,7 +644,7 @@ var/name = client.prefs.be_random_name ? "friend" : client.prefs.real_name var/dat = "
    " - dat += "Welcome, [name].
    " + dat += span_bold("Welcome, [name].
    ") dat += "Round Duration: [roundduration2text()]
    " if(emergency_shuttle) //In case NanoTrasen decides reposess CentCom's shuttles. diff --git a/code/modules/mob/new_player/poll.dm b/code/modules/mob/new_player/poll.dm index 15f1d43bea..55826939fc 100644 --- a/code/modules/mob/new_player/poll.dm +++ b/code/modules/mob/new_player/poll.dm @@ -17,7 +17,7 @@ /mob/new_player/proc/privacy_poll() var/output = "
    Player poll" output +="
    " - output += "We would like to expand our stats gathering." + output += span_bold("We would like to expand our stats gathering.") output += "
    This however involves gathering data about player behavior, play styles, unique player numbers, play times, etc. Data like that cannot be gathered fully anonymously, which is why we're asking you how you'd feel if player-specific data was gathered. Prior to any of this actually happening, a privacy policy will be discussed, but before that can begin, we'd preliminarily like to know how you feel about the concept." output +="
    " output += "How do you feel about the game gathering player-specific statistics? This includes statistics about individual players as well as in-game polling/opinion requests." @@ -131,7 +131,7 @@ qdel(options_query) //CHOMPEdit TGSQL var/output = "
    Player poll" output +="
    " - output += "Question: [pollquestion]
    " + output += span_bold("Question: [pollquestion]") + "
    " output += "Poll runs from [pollstarttime] until [pollendtime]

    " if(!voted) //Only make this a form if we have not voted yet @@ -145,7 +145,7 @@ if(O.optionid && O.optiontext) if(voted) if(votedoptionid == O.optionid) - output += "[O.optiontext]
    " + output += span_bold("[O.optiontext]") + "
    " else output += "[O.optiontext]
    " else @@ -175,7 +175,7 @@ var/output = "

    Player poll" output +="
    " - output += "Question: [pollquestion]
    " + output += span_bold("Question: [pollquestion]") + "
    " output += "Feedback gathering runs from [pollstarttime] until [pollendtime]

    " if(!voted) //Only make this a form if we have not voted yet @@ -209,7 +209,7 @@ var/output = "

    Player poll" output +="
    " - output += "Question: [pollquestion]
    " + output += span_bold("Question: [pollquestion]") + "
    " output += "Poll runs from [pollstarttime] until [pollendtime]

    " var/voted = 0 @@ -304,7 +304,7 @@ var/output = "

    Player poll" output +="
    " - output += "Question: [pollquestion]
    You can select up to [multiplechoiceoptions] options. If you select more, the first [multiplechoiceoptions] will be saved.
    " + output += span_bold("Question: [pollquestion]") + "
    You can select up to [multiplechoiceoptions] options. If you select more, the first [multiplechoiceoptions] will be saved.
    " output += "Poll runs from [pollstarttime] until [pollendtime]

    " if(!voted) //Only make this a form if we have not voted yet @@ -320,7 +320,7 @@ if(O.optionid && O.optiontext) if(voted) if(O.optionid in votedfor) - output += "[O.optiontext]
    " + output += span_bold("[O.optiontext]") + "
    " else output += "[O.optiontext]
    " else diff --git a/code/modules/mob/new_player/skill.dm b/code/modules/mob/new_player/skill.dm index 3f5c5c9edb..54355a8fc0 100644 --- a/code/modules/mob/new_player/skill.dm +++ b/code/modules/mob/new_player/skill.dm @@ -181,11 +181,11 @@ var/global/list/SKILL_PRE = list(JOB_ENGINEER = SKILL_ENGINEER, JOB_ROBOTICIST = return var/HTML = "" - HTML += "Select your Skills
    " + HTML += span_bold("Select your Skills") + "
    " HTML += "Current skill level: [M.GetSkillClass(M.used_skillpoints)] ([M.used_skillpoints])
    " HTML += "" for(var/V in SKILLS) - HTML += "" for(var/datum/skill/S in SKILLS[V]) var/level = M.skills[S.ID] diff --git a/code/modules/mob/say.dm b/code/modules/mob/say.dm index 191442e56d..ae2e2e384b 100644 --- a/code/modules/mob/say.dm +++ b/code/modules/mob/say.dm @@ -80,7 +80,7 @@ message = encode_html_emphasis(message) - say_dead_direct("[pick("complains","moans","whines","laments","blubbers")], \"[message]\"", src) + say_dead_direct("[pick("complains","moans","whines","laments","blubbers")], " + span_message("\"[message]\""), src) /mob/proc/say_understands(var/mob/other, var/datum/language/speaking = null) if(stat == DEAD) diff --git a/code/modules/mob/say_vr.dm b/code/modules/mob/say_vr.dm index 01c2032246..02e21d1096 100644 --- a/code/modules/mob/say_vr.dm +++ b/code/modules/mob/say_vr.dm @@ -70,7 +70,7 @@ if(!subtle_mode) if(mode_selection) if(message) - to_chat(src, "Subtle mode not selected. Your input has not been sent, but preserved: [message]") + to_chat(src, span_warning("Subtle mode not selected. Your input has not been sent, but preserved:") + " [message]") return else subtle_mode = "Adjacent Turfs (Default)" @@ -83,14 +83,14 @@ if(input) log_subtle(message,src) - message = span_emote_subtle("[src][input]") + message = span_emote_subtle(span_bold("[src]") + " " + span_italics("[input]")) if(!(subtle_mode == "Adjacent Turfs (Default)")) - message = "(T) " + message + message = span_bold("(T) ") + message else return if (message) - var/undisplayed_message = span_emote("[src]does something too subtle for you to see.") + var/undisplayed_message = span_emote(span_bold("[src]") + " " + span_italics("does something too subtle for you to see.")) message = encode_html_emphasis(message) var/list/vis @@ -117,7 +117,7 @@ if(istype(T) && !(T in tablelist) && !istype(T, /obj/structure/table/rack) && !istype(T, /obj/structure/table/bench)) tablelist |= T.get_all_connected_tables() if(!(tablelist.len)) - to_chat(src, "No nearby tables detected. Your input has not been sent, but preserved: [input]") + to_chat(src, span_warning("No nearby tables detected. Your input has not been sent, but preserved:") + " [input]") return for(var/obj/structure/table/T in tablelist) for(var/mob/M in vis_mobs) @@ -133,7 +133,7 @@ if("Current Belly (Prey)") var/obj/belly/B = get_belly(src) if(!istype(B)) - to_chat(src, "You are currently not in the belly. Your input has not been sent, but preserved: [input]") + to_chat(src, span_warning("You are currently not in the belly. Your input has not been sent, but preserved:") + " [input]") return vis = get_mobs_and_objs_in_view_fast(get_turf(src),0,2) vis_mobs = vis["mobs"] @@ -154,15 +154,15 @@ vis_objs -= O if("Specific Belly (Pred)") if(!isliving(src)) - to_chat(src, "You do not appear to be a living mob capable of having bellies. Your input has not been sent, but preserved: [input]") + to_chat(src, span_warning("You do not appear to be a living mob capable of having bellies. Your input has not been sent, but preserved:") + " [input]") return var/mob/living/L = src if(!(L.vore_organs) || !(L.vore_organs.len)) - to_chat(src, "You do not have any bellies. Your input has not been sent, but preserved: [input]") + to_chat(src, span_warning("You do not have any bellies. Your input has not been sent, but preserved:") + " [input]") return var/obj/belly/B = tgui_input_list(src, "Which belly do you want to sent the subtle to?","Select Belly", L.vore_organs) if(!B || !istype(B)) - to_chat(src, "You have not selected a valid belly. Your input has not been sent, but preserved: [input]") + to_chat(src, span_warning("You have not selected a valid belly. Your input has not been sent, but preserved:") + " [input]") return vis = get_mobs_and_objs_in_view_fast(get_turf(src),0,2) vis_mobs = vis["mobs"] @@ -190,11 +190,11 @@ if(isobserver(M) || (M.stat == DEAD)) vis_mobs -= M if(!(vis_mobs.len)) - to_chat(src, "No valid targets found. Your input has not been sent, but preserved: [input]") + to_chat(src, span_warning("No valid targets found. Your input has not been sent, but preserved:") + " [input]") return var/target = tgui_input_list(src, "Who do we send our message to?","Select Target", vis_mobs) if(!(target)) - to_chat(src, "No target selected. Your input has not been sent, but preserved: [input]") + to_chat(src, span_warning("No target selected. Your input has not been sent, but preserved:") + " [input]") return vis_mobs = list(target, src) @@ -327,7 +327,7 @@ for(var/I in M.contents) if(istype(I, /mob/living/dominated_brain)) var/mob/living/dominated_brain/db = I - to_chat(db, span_psay("\The [M] thinks, \"[message]\"")) //To any dominated brains inside us + to_chat(db, span_psay(span_bold("\The [M] thinks, \"[message]\""))) //To any dominated brains inside us if(db.read_preference(/datum/preference/toggle/subtle_sounds)) if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead db << sound(pick(voice_sounds_list), volume = 25) @@ -335,7 +335,7 @@ for(var/B in M.vore_organs) for(var/mob/living/L in B) if(L.absorbed) - to_chat(L, span_psay("\The [M] thinks, \"[message]\"")) //To any absorbed people inside us + to_chat(L, span_psay(span_bold("\The [M] thinks, \"[message]\""))) //To any absorbed people inside us if(L.read_preference(/datum/preference/toggle/subtle_sounds)) if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead L << sound(pick(voice_sounds_list), volume = 25) @@ -348,7 +348,7 @@ if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead M << sound(pick(voice_sounds_list), volume = 25) else - to_chat(M, span_psay("You think \"[message]\"")) //To us if we are the pred + to_chat(M, span_psay(span_bold("You think \"[message]\""))) //To us if we are the pred if(M.read_preference(/datum/preference/toggle/subtle_sounds)) if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead M << sound(pick(voice_sounds_list), volume = 25) @@ -433,7 +433,7 @@ for(var/I in M.contents) if(istype(I, /mob/living/dominated_brain)) var/mob/living/dominated_brain/db = I - to_chat(db, span_pemote("\The [M] [message]")) //To any dominated brains inside us + to_chat(db, span_pemote(span_bold("\The [M] [message]"))) //To any dominated brains inside us if(db.read_preference(/datum/preference/toggle/subtle_sounds)) if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead db << sound(pick(voice_sounds_list), volume = 25) @@ -441,7 +441,7 @@ for(var/B in M.vore_organs) for(var/mob/living/L in B) if(L.absorbed) - to_chat(L, span_pemote("\The [M] [message]")) //To any absorbed people inside us + to_chat(L, span_pemote(span_bold("\The [M] [message]"))) //To any absorbed people inside us if(L.read_preference(/datum/preference/toggle/subtle_sounds)) if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead L << sound(pick(voice_sounds_list), volume = 25) @@ -454,7 +454,7 @@ if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead M << sound(pick(voice_sounds_list), volume = 25) else - to_chat(M, span_pemote("\The [M] [message]")) //To us if we are the pred + to_chat(M, span_pemote(span_bold("\The [M] [message]"))) //To us if we are the pred if(M.read_preference(/datum/preference/toggle/subtle_sounds)) if(voice_sounds_list) //CHOMPEdit, changes subtle emote sound to use mob voice instead M << sound(pick(voice_sounds_list), volume = 25) @@ -487,9 +487,9 @@ if(stat == DEAD) return say_dead(message) if(stat) - to_chat(src, "You need to be concious to narrate: [message]") + to_chat(src, span_warning("You need to be concious to narrate: [message]")) return - message = span_name("([name])[message]") + message = span_name("([name])") + " " + span_pnarrate("[message]") //Below here stolen from emotes var/turf/T = get_turf(src) diff --git a/code/modules/mob/transform_procs.dm b/code/modules/mob/transform_procs.dm index 290bfff7e8..2626431bd5 100644 --- a/code/modules/mob/transform_procs.dm +++ b/code/modules/mob/transform_procs.dm @@ -36,7 +36,7 @@ dna.SetSEState(MONKEYBLOCK,1) dna.SetSEValueRange(MONKEYBLOCK,0xDAC, 0xFFF) - to_chat(src, "You are now [species.name]. ") + to_chat(src, span_infoplain(span_bold("You are now [species.name]. "))) qdel(animation) return src @@ -220,7 +220,7 @@ new_xeno.a_intent = I_HURT new_xeno.key = key - to_chat(new_xeno, "You are now an alien.") + to_chat(new_xeno, span_infoplain(span_bold("You are now an alien."))) qdel(src) return @@ -242,7 +242,7 @@ new_corgi.a_intent = I_HURT new_corgi.key = key - to_chat(new_corgi, "You are now a Corgi. Yap Yap!") + to_chat(new_corgi, span_infoplain(span_bold("You are now a Corgi. Yap Yap!"))) qdel(src) return diff --git a/code/modules/modular_computers/file_system/programs/generic/game.dm b/code/modules/modular_computers/file_system/programs/generic/game.dm index c1dcc53195..8cf049aff7 100644 --- a/code/modules/modular_computers/file_system/programs/generic/game.dm +++ b/code/modules/modular_computers/file_system/programs/generic/game.dm @@ -168,7 +168,7 @@ to_chat(usr, span_notice("Hardware error: Printer is out of paper.")) return else - computer.visible_message("\The [computer] prints out paper.") + computer.visible_message(span_infoplain(span_bold("\The [computer]") + " prints out paper.")) if(ticket_count >= 1) new /obj/item/stack/arcadeticket((get_turf(computer)), 1) to_chat(usr, span_notice("[src] dispenses a ticket!")) diff --git a/code/modules/multiz/ladders.dm b/code/modules/multiz/ladders.dm index 746357c61c..db56742c03 100644 --- a/code/modules/multiz/ladders.dm +++ b/code/modules/multiz/ladders.dm @@ -101,9 +101,9 @@ /obj/structure/ladder/proc/climbLadder(var/mob/M, var/obj/target_ladder) var/direction = (target_ladder == target_up ? "up" : "down") - M.visible_message("\The [M] begins climbing [direction] \the [src]!", - "You begin climbing [direction] \the [src]!", - "You hear the grunting and clanging of a metal ladder being used.") + M.visible_message(span_infoplain(span_bold("\The [M]") + " begins climbing [direction] \the [src]!"), + span_info("You begin climbing [direction] \the [src]!"), + span_info("You hear the grunting and clanging of a metal ladder being used.")) target_ladder.audible_message(span_notice("You hear something coming [direction] \the [src]"), runemessage = "clank clank") diff --git a/code/modules/multiz/movement.dm b/code/modules/multiz/movement.dm index 261199febf..55e4a35818 100644 --- a/code/modules/multiz/movement.dm +++ b/code/modules/multiz/movement.dm @@ -540,8 +540,8 @@ else if(!silent) if(planetary) - visible_message(span_danger("\A [src] falls out of the sky and crashes into \the [landing]!"), \ - span_danger(" You fall out of the sky and crash into \the [landing]!"), \ + visible_message(span_danger(span_large("\A [src] falls out of the sky and crashes into \the [landing]!")), \ + span_danger(span_large(" You fall out of the sky and crash into \the [landing]!")), \ "You hear something slam into \the [landing].") var/turf/T = get_turf(landing) explosion(T, 0, 1, 2) @@ -643,8 +643,8 @@ else if(!silent) if(planetary) - visible_message(span_danger("\A [src] falls out of the sky and crashes into \the [landing]!"), \ - span_danger(" You fall out of the skiy and crash into \the [landing]!"), \ + visible_message(span_danger(span_large("\A [src] falls out of the sky and crashes into \the [landing]!")), \ + span_danger(span_large(" You fall out of the skiy and crash into \the [landing]!")), \ "You hear something slam into \the [landing].") var/turf/T = get_turf(landing) explosion(T, 0, 1, 2) diff --git a/code/modules/multiz/movement_vr.dm b/code/modules/multiz/movement_vr.dm index b318d8366b..ce40713723 100644 --- a/code/modules/multiz/movement_vr.dm +++ b/code/modules/multiz/movement_vr.dm @@ -186,28 +186,28 @@ climb_time +=3 SECONDS if(fall_chance < 30) fall_chance = 30 - L.visible_message(message = "[L] begins to climb up on \The [src]", self_message = "You begin to clumb up on \The [src]", \ - blind_message = "You hear the sounds of climbing!", runemessage = "Tap Tap") + L.visible_message(message = span_infoplain(span_bold("[L]") + " begins to climb up on " + span_bold("\The [src]")), self_message = span_infoplain("You begin to clumb up on " + span_bold("\The [src]")), \ + blind_message = span_infoplain("You hear the sounds of climbing!"), runemessage = "Tap Tap") var/oops_time = world.time var/grace_time = 4 SECONDS to_chat(L, span_warning("If you get interrupted after [(grace_time / (1 SECOND))] seconds of climbing, you will fall and hurt yourself, beware!")) if(do_after(L,climb_time)) if(prob(fall_chance)) L.forceMove(above_mob) - L.visible_message(message = "[L] falls off \The [src]", self_message = span_danger("You slipped off \The [src]"), \ - blind_message = "you hear a loud thud!", runemessage = "CRASH!") + L.visible_message(message = span_infoplain(span_bold("[L]") + " falls off " + span_bold("\The [src]")), self_message = span_danger("You slipped off " + span_bold("\The [src]")), \ + blind_message = span_infoplain("you hear a loud thud!"), runemessage = "CRASH!") else if(drop_our_held) L.drop_item(get_turf(L)) L.forceMove(above_wall) - L.visible_message(message = "[L] climbed up on \The [src]", \ - self_message = span_notice("You successfully scaled \The [src]"), \ - blind_message = "The sounds of climbing cease.", runemessage = "Tap Tap") + L.visible_message(message = span_infoplain(span_bold("[L]") + " climbed up on " + span_bold("\The [src]")), \ + self_message = span_notice("You successfully scaled " + span_bold("\The [src]")), \ + blind_message = span_infoplain("The sounds of climbing cease."), runemessage = "Tap Tap") L.adjust_nutrition(-nutrition_cost) else if(world.time > (oops_time + grace_time)) L.forceMove(above_mob) - L.visible_message(message = "[L] falls off \The [src]", self_message = span_danger("You slipped off \The [src]"), \ - blind_message = "you hear a loud thud!", runemessage = "CRASH!") + L.visible_message(message = span_infoplain(span_bold("[L]") + " falls off " + span_bold("\The [src]")), self_message = span_danger("You slipped off " + span_bold("\The [src]")), \ + blind_message = span_infoplain("you hear a loud thud!"), runemessage = "CRASH!") /mob/living/verb/climb_down() set name = "Climb down wall" @@ -307,27 +307,27 @@ to_chat(src, span_danger("\The [climbing_surface] is not suitable for climbing! Even for a master climber, this is risky!")) if(fall_chance < 75 ) fall_chance = 75 - src.visible_message(message = "[src] climb down \The [below_wall]", \ - self_message = "You begin to descend \The [below_wall]", \ - blind_message = "You hear the sounds of climbing!", runemessage = "Tap Tap") - below_wall.audible_message(message = "You hear something climbing up \The [below_wall]", runemessage= "Tap Tap") + src.visible_message(message = span_infoplain(span_bold("[src]") + " climb down " + span_bold("\The [below_wall]")), \ + self_message = span_infoplain("You begin to descend " + span_bold("\The [below_wall]")), \ + blind_message = span_infoplain("You hear the sounds of climbing!"), runemessage = "Tap Tap") + below_wall.audible_message(message = span_infoplain("You hear something climbing up " + span_bold("\The [below_wall]")), runemessage= "Tap Tap") var/oops_time = world.time var/grace_time = 3 SECONDS to_chat(src, span_warning("If you get interrupted after [(grace_time / (1 SECOND))] seconds of climbing, you will fall and hurt yourself, beware!")) if(do_after(src,climb_time)) if(prob(fall_chance)) src.forceMove(front_of_us) - src.visible_message(message = "[src] falls off \The [below_wall]", \ - self_message = span_danger("You slipped off \The [below_wall]"), \ - blind_message = "you hear a loud thud!", runemessage = "CRASH!") + src.visible_message(message = span_infoplain(span_bold("[src]") + " falls off " + span_bold("\The [below_wall]")), \ + self_message = span_danger("You slipped off " + span_bold("\The [below_wall]")), \ + blind_message = span_infoplain("you hear a loud thud!"), runemessage = "CRASH!") else src.forceMove(destination) - src.visible_message(message = "[src] climbed down on \The [below_wall]", \ - self_message = span_notice("You successfully descended \The [below_wall]"), \ - blind_message = "The sounds of climbing cease.", runemessage = "Tap Tap") + src.visible_message(message = span_infoplain(span_bold("[src]") + " climbed down on " + span_bold("\The [below_wall]")), \ + self_message = span_notice("You successfully descended " + span_bold("\The [below_wall]")), \ + blind_message = span_infoplain("The sounds of climbing cease."), runemessage = "Tap Tap") adjust_nutrition(-nutrition_cost) else if(world.time > (oops_time + grace_time)) src.forceMove(front_of_us) - src.visible_message(message = "[src] falls off \The [below_wall]", \ - self_message = span_danger("You slipped off \The [below_wall]"), \ - blind_message = "you hear a loud thud!", runemessage = "CRASH!") + src.visible_message(message = span_infoplain(span_bold("[src]") + " falls off " + span_bold("\The [below_wall]")), \ + self_message = span_danger("You slipped off " + span_bold("\The [below_wall]")), \ + blind_message = span_infoplain("you hear a loud thud!"), runemessage = "CRASH!") diff --git a/code/modules/news/new_newspaper.dm b/code/modules/news/new_newspaper.dm index 0d55a9992a..8d27c37421 100644 --- a/code/modules/news/new_newspaper.dm +++ b/code/modules/news/new_newspaper.dm @@ -32,17 +32,17 @@ obj/item/newspaper/attack_self(mob/user) if(important_message) dat+="Contents:
      **Important Security Announcement** \[page [pages+2]\]
    " else - dat+="Other than the title, the rest of the newspaper is unprinted..." + dat+=span_italics("Other than the title, the rest of the newspaper is unprinted...") else dat+="Contents:
      " for(var/datum/feed_channel/NP in news_content) pages++ if(important_message) - dat+="**Important Security Announcement** \[page [pages+2]\]
      " + dat+=span_bold("**Important Security Announcement**") + " \[page [pages+2]\]
      " var/temp_page=0 for(var/datum/feed_channel/NP in news_content) temp_page++ - dat+="[NP.channel_name] \[page [temp_page+1]\]
      " + dat+=span_bold("[NP.channel_name]") + " \[page [temp_page+1]\]
      " dat+="
    " if(scribble_page==curr_page) dat+="
    There is a small scribble near the end of this page... It reads: \"[scribble]\"" @@ -76,16 +76,16 @@ obj/item/newspaper/attack_self(mob/user) pages++ if(important_message!=null) dat+="
    Wanted Issue:


    " - dat+="Criminal name: [important_message.author]
    " - dat+="Description: [important_message.body]
    " - dat+="Photo:: " + dat+=span_bold("Criminal name") + ": [important_message.author]
    " + dat+=span_bold("Description") + ": [important_message.body]
    " + dat+=span_bold("Photo:") + ": " if(important_message.img) user << browse_rsc(important_message.img, "tmp_photow.png") dat+="
    " else dat+="None" else - dat+="Apart from some uninteresting Classified ads, there's nothing on this page..." + dat+=span_italics("Apart from some uninteresting Classified ads, there's nothing on this page...") if(scribble_page==curr_page) dat+="
    There is a small scribble near the end of this page... It reads: \"[scribble]\"" dat+= "
    " @@ -96,7 +96,7 @@ obj/item/newspaper/attack_self(mob/user) human_user << browse(dat, "window=newspaper_main;size=300x400") onclose(human_user, "newspaper_main") else - to_chat(user, "The paper is full of intelligible symbols!") + to_chat(user, span_infoplain("The paper is full of intelligible symbols!")) obj/item/newspaper/Topic(href, href_list) var/mob/living/U = usr diff --git a/code/modules/news/newspaper.dm b/code/modules/news/newspaper.dm index cd0d073079..09bc87b2ea 100644 --- a/code/modules/news/newspaper.dm +++ b/code/modules/news/newspaper.dm @@ -32,17 +32,17 @@ if(important_message) dat+="Contents:
      **Important Security Announcement** \[page [pages+2]\]
    " else - dat+="Other than the title, the rest of the newspaper is unprinted..." + dat+=span_italics("Other than the title, the rest of the newspaper is unprinted...") else dat+="Contents:
      " for(var/datum/feed_channel/NP in news_content) pages++ if(important_message) - dat+="**Important Security Announcement** \[page [pages+2]\]
      " + dat+=span_bold("**Important Security Announcement**") + " \[page [pages+2]\]
      " var/temp_page=0 for(var/datum/feed_channel/NP in news_content) temp_page++ - dat+="[NP.channel_name] \[page [temp_page+1]\]
      " + dat+=span_bold("[NP.channel_name]") + " " + span_normal("\[page [temp_page+1]\]") + "
      " dat+="
    " if(scribble_page==curr_page) dat+="
    There is a small scribble near the end of this page... It reads: \"[scribble]\"" @@ -77,16 +77,16 @@ pages++ if(important_message!=null) dat+="
    Wanted Issue:


    " - dat+="Criminal name: [important_message.author]
    " - dat+="Description: [important_message.body]
    " - dat+="Photo:: " + dat+=span_bold("Criminal name") + ": [important_message.author]
    " + dat+=span_bold("Description") + ": [important_message.body]
    " + dat+=span_bold("Photo:") + ": " if(important_message.img) user << browse_rsc(important_message.img, "tmp_photow.png") dat+="
    " else dat+="None" else - dat+="Apart from some uninteresting Classified ads, there's nothing on this page..." + dat+=span_italics("Apart from some uninteresting Classified ads, there's nothing on this page...") if(scribble_page==curr_page) dat+="
    There is a small scribble near the end of this page... It reads: \"[scribble]\"" dat+= "
    " @@ -97,7 +97,7 @@ human_user << browse(dat, "window=newspaper_main;size=300x400") onclose(human_user, "newspaper_main") else - to_chat(user, "The paper is full of intelligible symbols!") + to_chat(user, span_infoplain("The paper is full of intelligible symbols!")) /obj/item/newspaper/Topic(href, href_list) var/mob/living/U = usr diff --git a/code/modules/nifsoft/nifsoft.dm b/code/modules/nifsoft/nifsoft.dm index 99247ec600..fdb51c1ef9 100644 --- a/code/modules/nifsoft/nifsoft.dm +++ b/code/modules/nifsoft/nifsoft.dm @@ -270,7 +270,7 @@ var/newlaws = tgui_input_text(user, "Please Input Laws", "Compliance Laws", laws, multiline = TRUE, prevent_enter = TRUE) newlaws = sanitize(newlaws,2048) if(newlaws) - to_chat(user,span_filter_notice("You set the laws to:
    [newlaws]")) + to_chat(user,span_filter_notice("You set the laws to:
    " + span_notice("[newlaws]"))) laws = newlaws /obj/item/disk/nifsoft/compliance/extra_params() diff --git a/code/modules/nifsoft/software/13_soulcatcher.dm b/code/modules/nifsoft/software/13_soulcatcher.dm index b39d6458a5..7c35e35da9 100644 --- a/code/modules/nifsoft/software/13_soulcatcher.dm +++ b/code/modules/nifsoft/software/13_soulcatcher.dm @@ -75,13 +75,13 @@ to_chat(nif.human, type = MESSAGE_TYPE_NIF, - html = span_nif("\[[icon2html(nif.big_icon, nif.human)]NIF\] Soulcatcher displays, \"[message]\"")) + html = span_nif(span_bold("\[[icon2html(nif.big_icon, nif.human)]NIF\]") + " " + span_bold("Soulcatcher") + " displays, \"" + span_notice(span_nif("[message]")) + "\"")) nif.human << sound for(var/mob/living/carbon/brain/caught_soul/CS as anything in brainmobs) to_chat(CS, type = MESSAGE_TYPE_NIF, - html = span_nif("\[[icon2html(nif.big_icon, CS.client)]NIF\] Soulcatcher displays, \"[message]\"")) + html = span_nif(span_bold("\[[icon2html(nif.big_icon, CS.client)]NIF\]") + " " + span_bold("Soulcatcher") + " displays, \"" + span_notice(span_nif("[message]")) + "\"")) CS << sound /datum/nifsoft/soulcatcher/proc/say_into(var/message, var/mob/living/sender, var/mob/eyeobj) @@ -89,17 +89,17 @@ //AR Projecting if(eyeobj) - sender.eyeobj.visible_message(span_game(span_say("[sender_name] says, \"[message]\""))) + sender.eyeobj.visible_message(span_game(span_say(span_bold("[sender_name]") + " says, \"[message]\""))) //Not AR Projecting else to_chat(nif.human, type = MESSAGE_TYPE_NIF, - html = span_nif("\[[icon2html(nif.big_icon, nif.human.client)]NIF\] [sender_name] speaks, \"[message]\"")) + html = span_nif(span_bold("\[[icon2html(nif.big_icon, nif.human.client)]NIF\]") + " " + span_bold("[sender_name]") + " speaks, \"[message]\"")) for(var/mob/living/carbon/brain/caught_soul/CS as anything in brainmobs) to_chat(CS, type = MESSAGE_TYPE_NIF, - html = span_nif("\[[icon2html(nif.big_icon, CS.client)]NIF\] [sender_name] speaks, \"[message]\"")) + html = span_nif(span_bold("\[[icon2html(nif.big_icon, CS.client)]NIF\]") + " " + span_bold("[sender_name]") + " speaks, \"[message]\"")) log_nsay(message,nif.human.real_name,sender) @@ -114,11 +114,11 @@ else to_chat(nif.human, type = MESSAGE_TYPE_NIF, - html = span_nif("\[[icon2html(nif.big_icon,nif.human.client)]NIF\] [sender_name] [message]")) + html = span_nif(span_bold("\[[icon2html(nif.big_icon,nif.human.client)]NIF\]") + " " + span_bold("[sender_name]") + " [message]")) for(var/mob/living/carbon/brain/caught_soul/CS as anything in brainmobs) to_chat(CS, type = MESSAGE_TYPE_NIF, - html = span_nif("\[[icon2html(nif.big_icon,CS.client)]NIF\] [sender_name] [message]")) + html = span_nif(span_bold("\[[icon2html(nif.big_icon,CS.client)]NIF\]") + " " + span_bold("[sender_name]") + " [message]")) log_nme(message,nif.human.real_name,sender) @@ -146,7 +146,7 @@ inside_flavor = new_flavor nif.notify("Updating VR environment...") for(var/mob/living/carbon/brain/caught_soul/CS as anything in brainmobs) - to_chat(CS,"Your surroundings change to...\n[inside_flavor]") + to_chat(CS,span_notice("Your surroundings change to...") + "\n[inside_flavor]") save_settings() return TRUE @@ -258,7 +258,7 @@ qdel(M) //Bye ghost //Give them a flavortext message - var/message = "Your vision fades in a haze of static, before returning.\n\ + var/message = span_notice("Your vision fades in a haze of static, before returning.") + "\n\ Around you, you see...\n\ [inside_flavor]" @@ -266,8 +266,8 @@ //Reminder on how this works to host if(brainmobs.len == 1) //Only spam this on the first one - to_chat(nif.human,"Your occupant's messages/actions can only be seen by you, and you can \ - send messages that only they can hear/see by using the NSay and NMe verbs (or the *nsay and *nme emotes).") + to_chat(nif.human,span_notice("Your occupant's messages/actions can only be seen by you, and you can \ + send messages that only they can hear/see by using the NSay and NMe verbs (or the *nsay and *nme emotes).")) //Announce to host and other minds notify_into("New mind loaded: [brainmob.name]") diff --git a/code/modules/nifsoft/software/15_misc.dm b/code/modules/nifsoft/software/15_misc.dm index 7b8017bf9c..b507599823 100644 --- a/code/modules/nifsoft/software/15_misc.dm +++ b/code/modules/nifsoft/software/15_misc.dm @@ -105,11 +105,11 @@ /datum/nifsoft/compliance/activate() if((. = ..())) - to_chat(nif.human,span_danger("You are compelled to follow these rules:
    \n[laws]")) + to_chat(nif.human,span_danger("You are compelled to follow these rules:") + "\n" + span_notify("[laws]")) /datum/nifsoft/compliance/install() if((. = ..())) - to_chat(nif.human,span_danger("You feel suddenly compelled to follow these rules: \n[laws]")) + to_chat(nif.human,span_danger("You feel suddenly compelled to follow these rules:") + "\n" + span_notify("[laws]")) /datum/nifsoft/compliance/uninstall() nif.notify("ERROR! Unable to comply!",TRUE) diff --git a/code/modules/organs/organ_external.dm b/code/modules/organs/organ_external.dm index ad0f6d3491..5736e7afbc 100644 --- a/code/modules/organs/organ_external.dm +++ b/code/modules/organs/organ_external.dm @@ -173,12 +173,12 @@ switch(stage) if(0) if(istype(W,/obj/item/surgical/scalpel)) - user.visible_message(span_danger("[user] cuts [src] open with [W]!")) + user.visible_message(span_danger(span_bold("[user]") + " cuts [src] open with [W]!")) stage++ return if(1) if(istype(W,/obj/item/surgical/retractor)) - user.visible_message(span_danger("[user] cracks [src] open like an egg with [W]!")) + user.visible_message(span_danger(span_bold("[user]") + " cracks [src] open like an egg with [W]!")) stage++ return if(2) @@ -187,9 +187,9 @@ var/obj/item/removing = pick(contents) removing.loc = get_turf(user.loc) user.put_in_hands(removing) - user.visible_message(span_danger("[user] extracts [removing] from [src] with [W]!")) + user.visible_message(span_danger(span_bold("[user]") + " extracts [removing] from [src] with [W]!")) else - user.visible_message(span_danger("[user] fishes around fruitlessly in [src] with [W].")) + user.visible_message(span_danger(span_bold("[user]") + " fishes around fruitlessly in [src] with [W].")) return ..() @@ -477,9 +477,9 @@ var/fix_verb = (damage_amount > repair_amount) ? "patches" : "finishes patching" if(user == src.owner) var/datum/gender/T = gender_datums[user.get_visible_gender()] - user.visible_message("\The [user] [fix_verb] [damage_desc] on [T.his] [src.name] with [tool].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " [fix_verb] [damage_desc] on [T.his] [src.name] with [tool].")) else - user.visible_message("\The [user] [fix_verb] [damage_desc] on [owner]'s [src.name] with [tool].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " [fix_verb] [damage_desc] on [owner]'s [src.name] with [tool].")) return 1 diff --git a/code/modules/organs/subtypes/slime.dm b/code/modules/organs/subtypes/slime.dm index 3b98b5b81e..a8a96b7672 100644 --- a/code/modules/organs/subtypes/slime.dm +++ b/code/modules/organs/subtypes/slime.dm @@ -71,7 +71,7 @@ /obj/item/organ/internal/heart/grey/colormatch/slime/process() ..() if(!(QDELETED(src)) && src.loc != owner) - visible_message("\The [src] splatters!") + visible_message(span_infoplain(span_bold("\The [src]") + " splatters!")) var/turf/T = get_turf(src) var/obj/effect/decal/cleanable/blood/B = new (T) @@ -120,7 +120,7 @@ ..() if(!(QDELETED(src)) && src.loc != owner) - visible_message("\The [src] splatters!") + visible_message(span_infoplain(span_bold("\The [src]") + " splatters!")) var/turf/T = get_turf(src) var/obj/effect/decal/cleanable/blood/B = new (T) diff --git a/code/modules/overmap/disperser/disperser.dm b/code/modules/overmap/disperser/disperser.dm index c25f65d0da..23e2bae204 100644 --- a/code/modules/overmap/disperser/disperser.dm +++ b/code/modules/overmap/disperser/disperser.dm @@ -24,7 +24,7 @@ /obj/machinery/disperser/attackby(obj/item/I, mob/user) if(I && I.has_tool_quality(TOOL_WRENCH)) if(panel_open) - user.visible_message("\The [user] rotates \the [src] with \the [I].", + user.visible_message(span_infoplain(span_bold("\The [user]") + " rotates \the [src] with \the [I]."), span_notice("You rotate \the [src] with \the [I].")) set_dir(turn(dir, 90)) playsound(src, 'sound/items/jaws_pry.ogg', 50, 1) diff --git a/code/modules/paperwork/adminpaper.dm b/code/modules/paperwork/adminpaper.dm index 7b5dbeeebc..51ed603129 100644 --- a/code/modules/paperwork/adminpaper.dm +++ b/code/modules/paperwork/adminpaper.dm @@ -53,7 +53,7 @@ //VOREStation Edit/Add End //TODO change logo based on who you're contacting. text = "

    " - text += "[origin] Quantum Uplink Signed Message
    " + text += span_bold("[origin] Quantum Uplink Signed Message") + "
    " text += "Encryption key: [originhash]
    " text += "Challenge: [timehash]

    " diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index 5ce9fe0e5a..3d480dbee5 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -418,9 +418,11 @@ Extracted to its own procedure for easier logic handling with paper bundles. . += P.info /obj/machinery/photocopier/faxmachine/proc/message_admins(var/mob/sender, var/faxname, var/obj/item/sent, var/reply_type, font_colour="#006100") - var/msg = "[faxname]: [get_options_bar(sender, 2,1,1)]" - msg += "(REPLY): " - msg += "Receiving '[sent.name]' via secure connection ... view message" + var/msg = "[faxname]: [get_options_bar(sender, 2,1,1)]" + msg += "(REPLY)" + msg = span_bold(msg) + ": " + msg += "Receiving '[sent.name]' via secure connection ... view message" + msg = span_notice(msg) for(var/client/C in GLOB.admins) if(check_rights((R_ADMIN|R_MOD|R_EVENT),0,C)) diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 9c1d371588..75d155ca31 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -626,15 +626,15 @@ if(istype(P, /obj/item/stamp)) var/obj/item/stamp/the_stamp = P if(the_stamp.stamptext) - stamps += (stamps=="" ? "
    " : "
    ") + "[the_stamp.stamptext]" + stamps += (stamps=="" ? "
    " : "
    ") + span_italics("[the_stamp.stamptext]") else - stamps += (stamps=="" ? "
    " : "
    ") + "This paper has been stamped with the [the_stamp.name]." + stamps += (stamps=="" ? "
    " : "
    ") + span_italics("This paper has been stamped with the [the_stamp.name].") else var/obj/item/clothing/gloves/ring/seal/the_stamp = P if(the_stamp.stamptext) - stamps += (stamps=="" ? "
    " : "
    ") + "[the_stamp.stamptext]" + stamps += (stamps=="" ? "
    " : "
    ") + span_italics("[the_stamp.stamptext]") else - stamps += (stamps=="" ? "
    " : "
    ") + "This paper has been stamped with the [the_stamp.name]." + stamps += (stamps=="" ? "
    " : "
    ") + span_italics("This paper has been stamped with the [the_stamp.name].") if((!in_range(src, usr) && loc != user && !( istype(loc, /obj/item/clipboard) ) && loc.loc != user && user.get_active_hand() != P)) return var/image/stampoverlay = image('icons/obj/bureaucracy.dmi') @@ -687,15 +687,15 @@ /obj/item/paper/courtroom name = "A Crash Course in Legal SOP on SS13" - info = "Roles:
    \nThe " + JOB_DETECTIVE + " is basically the investigator and prosecutor.
    \nThe Staff Assistant can perform these functions with written authority from the " + JOB_DETECTIVE + ".
    \nThe " + JOB_SITE_MANAGER + "/HoP/" + JOB_WARDEN + " is ct as the judicial authority.
    \nThe " + JOB_SECURITY_OFFICER + "s are responsible for executing warrants, security during trial, and prisoner transport.
    \n
    \nInvestigative Phase:
    \nAfter the crime has been committed the " + JOB_DETECTIVE + "'s job is to gather evidence and try to ascertain not only who did it but what happened. He must take special care to catalogue everything and don't leave anything out. Write out all the evidence on paper. Make sure you take an appropriate number of fingerprints. IF he must ask someone questions he has permission to confront them. If the person refuses he can ask a judicial authority to write a subpoena for questioning. If again he fails to respond then that person is to be jailed as insubordinate and obstructing justice. Said person will be released after he cooperates.
    \n
    \nONCE the FT has a clear idea as to who the criminal is he is to write an arrest warrant on the piece of paper. IT MUST LIST THE CHARGES. The FT is to then go to the judicial authority and explain a small version of his case. If the case is moderately acceptable the authority should sign it. Security must then execute said warrant.
    \n
    \nPre-Pre-Trial Phase:
    \nNow a legal representative must be presented to the defendant if said defendant requests one. That person and the defendant are then to be given time to meet (in the jail IS ACCEPTABLE). The defendant and his lawyer are then to be given a copy of all the evidence that will be presented at trial (rewriting it all on paper is fine). THIS IS CALLED THE DISCOVERY PACK. With a few exceptions, THIS IS THE ONLY EVIDENCE BOTH SIDES MAY USE AT TRIAL. IF the prosecution will be seeking the death penalty it MUST be stated at this time. ALSO if the defense will be seeking not guilty by mental defect it must state this at this time to allow ample time for examination.
    \nNow at this time each side is to compile a list of witnesses. By default, the defendant is on both lists regardless of anything else. Also the defense and prosecution can compile more evidence beforehand BUT in order for it to be used the evidence MUST also be given to the other side.\nThe defense has time to compile motions against some evidence here.
    \nPossible Motions:
    \n1. Invalidate Evidence- Something with the evidence is wrong and the evidence is to be thrown out. This includes irrelevance or corrupt security.
    \n2. Free Movement- Basically the defendant is to be kept uncuffed before and during the trial.
    \n3. Subpoena Witness- If the defense presents god reasons for needing a witness but said person fails to cooperate then a subpoena is issued.
    \n4. Drop the Charges- Not enough evidence is there for a trial so the charges are to be dropped. The FT CAN RETRY but the judicial authority must carefully reexamine the new evidence.
    \n5. Declare Incompetent- Basically the defendant is insane. Once this is granted a medical official is to examine the patient. If he is indeed insane he is to be placed under care of the medical staff until he is deemed competent to stand trial.
    \n
    \nALL SIDES MOVE TO A COURTROOM
    \nPre-Trial Hearings:
    \nA judicial authority and the 2 sides are to meet in the trial room. NO ONE ELSE BESIDES A SECURITY DETAIL IS TO BE PRESENT. The defense submits a plea. If the plea is guilty then proceed directly to sentencing phase. Now the sides each present their motions to the judicial authority. He rules on them. Each side can debate each motion. Then the judicial authority gets a list of crew members. He first gets a chance to look at them all and pick out acceptable and available jurors. Those jurors are then called over. Each side can ask a few questions and dismiss jurors they find too biased. HOWEVER before dismissal the judicial authority MUST agree to the reasoning.
    \n
    \nThe Trial:
    \nThe trial has three phases.
    \n1. Opening Arguments- Each side can give a short speech. They may not present ANY evidence.
    \n2. Witness Calling/Evidence Presentation- The prosecution goes first and is able to call the witnesses on his approved list in any order. He can recall them if necessary. During the questioning the lawyer may use the evidence in the questions to help prove a point. After every witness the other side has a chance to cross-examine. After both sides are done questioning a witness the prosecution can present another or recall one (even the EXACT same one again!). After prosecution is done the defense can call witnesses. After the initial cases are presented both sides are free to call witnesses on either list.
    \nFINALLY once both sides are done calling witnesses we move onto the next phase.
    \n3. Closing Arguments- Same as opening.
    \nThe jury then deliberates IN PRIVATE. THEY MUST ALL AGREE on a verdict. REMEMBER: They mix between some charges being guilty and others not guilty (IE if you supposedly killed someone with a gun and you unfortunately picked up a gun without authorization then you CAN be found not guilty of murder BUT guilty of possession of illegal weaponry.). Once they have agreed they present their verdict. If unable to reach a verdict and feel they will never they call a deadlocked jury and we restart at Pre-Trial phase with an entirely new set of jurors.
    \n
    \nSentencing Phase:
    \nIf the death penalty was sought (you MUST have gone through a trial for death penalty) then skip to the second part.
    \nI. Each side can present more evidence/witnesses in any order. There is NO ban on emotional aspects or anything. The prosecution is to submit a suggested penalty. After all the sides are done then the judicial authority is to give a sentence.
    \nII. The jury stays and does the same thing as I. Their sole job is to determine if the death penalty is applicable. If NOT then the judge selects a sentence.
    \n
    \nTADA you're done. Security then executes the sentence and adds the applicable convictions to the person's record.
    \n" + info = span_bold("Roles:") + "
    \nThe " + JOB_DETECTIVE + " is basically the investigator and prosecutor.
    \nThe Staff Assistant can perform these functions with written authority from the " + JOB_DETECTIVE + ".
    \nThe " + JOB_SITE_MANAGER + "/HoP/" + JOB_WARDEN + " is ct as the judicial authority.
    \nThe " + JOB_SECURITY_OFFICER + "s are responsible for executing warrants, security during trial, and prisoner transport.
    \n
    \nInvestigative Phase:
    \nAfter the crime has been committed the " + JOB_DETECTIVE + "'s job is to gather evidence and try to ascertain not only who did it but what happened. He must take special care to catalogue everything and don't leave anything out. Write out all the evidence on paper. Make sure you take an appropriate number of fingerprints. IF he must ask someone questions he has permission to confront them. If the person refuses he can ask a judicial authority to write a subpoena for questioning. If again he fails to respond then that person is to be jailed as insubordinate and obstructing justice. Said person will be released after he cooperates.
    \n
    \nONCE the FT has a clear idea as to who the criminal is he is to write an arrest warrant on the piece of paper. IT MUST LIST THE CHARGES. The FT is to then go to the judicial authority and explain a small version of his case. If the case is moderately acceptable the authority should sign it. Security must then execute said warrant.
    \n
    \nPre-Pre-Trial Phase:
    \nNow a legal representative must be presented to the defendant if said defendant requests one. That person and the defendant are then to be given time to meet (in the jail IS ACCEPTABLE). The defendant and his lawyer are then to be given a copy of all the evidence that will be presented at trial (rewriting it all on paper is fine). THIS IS CALLED THE DISCOVERY PACK. With a few exceptions, THIS IS THE ONLY EVIDENCE BOTH SIDES MAY USE AT TRIAL. IF the prosecution will be seeking the death penalty it MUST be stated at this time. ALSO if the defense will be seeking not guilty by mental defect it must state this at this time to allow ample time for examination.
    \nNow at this time each side is to compile a list of witnesses. By default, the defendant is on both lists regardless of anything else. Also the defense and prosecution can compile more evidence beforehand BUT in order for it to be used the evidence MUST also be given to the other side.\nThe defense has time to compile motions against some evidence here.
    \nPossible Motions:
    \n1. Invalidate Evidence- Something with the evidence is wrong and the evidence is to be thrown out. This includes irrelevance or corrupt security.
    \n2. Free Movement- Basically the defendant is to be kept uncuffed before and during the trial.
    \n3. Subpoena Witness- If the defense presents god reasons for needing a witness but said person fails to cooperate then a subpoena is issued.
    \n4. Drop the Charges- Not enough evidence is there for a trial so the charges are to be dropped. The FT CAN RETRY but the judicial authority must carefully reexamine the new evidence.
    \n5. Declare Incompetent- Basically the defendant is insane. Once this is granted a medical official is to examine the patient. If he is indeed insane he is to be placed under care of the medical staff until he is deemed competent to stand trial.
    \n
    \nALL SIDES MOVE TO A COURTROOM
    \nPre-Trial Hearings:
    \nA judicial authority and the 2 sides are to meet in the trial room. NO ONE ELSE BESIDES A SECURITY DETAIL IS TO BE PRESENT. The defense submits a plea. If the plea is guilty then proceed directly to sentencing phase. Now the sides each present their motions to the judicial authority. He rules on them. Each side can debate each motion. Then the judicial authority gets a list of crew members. He first gets a chance to look at them all and pick out acceptable and available jurors. Those jurors are then called over. Each side can ask a few questions and dismiss jurors they find too biased. HOWEVER before dismissal the judicial authority MUST agree to the reasoning.
    \n
    \nThe Trial:
    \nThe trial has three phases.
    \n1. Opening Arguments- Each side can give a short speech. They may not present ANY evidence.
    \n2. Witness Calling/Evidence Presentation- The prosecution goes first and is able to call the witnesses on his approved list in any order. He can recall them if necessary. During the questioning the lawyer may use the evidence in the questions to help prove a point. After every witness the other side has a chance to cross-examine. After both sides are done questioning a witness the prosecution can present another or recall one (even the EXACT same one again!). After prosecution is done the defense can call witnesses. After the initial cases are presented both sides are free to call witnesses on either list.
    \nFINALLY once both sides are done calling witnesses we move onto the next phase.
    \n3. Closing Arguments- Same as opening.
    \nThe jury then deliberates IN PRIVATE. THEY MUST ALL AGREE on a verdict. REMEMBER: They mix between some charges being guilty and others not guilty (IE if you supposedly killed someone with a gun and you unfortunately picked up a gun without authorization then you CAN be found not guilty of murder BUT guilty of possession of illegal weaponry.). Once they have agreed they present their verdict. If unable to reach a verdict and feel they will never they call a deadlocked jury and we restart at Pre-Trial phase with an entirely new set of jurors.
    \n
    \nSentencing Phase:
    \nIf the death penalty was sought (you MUST have gone through a trial for death penalty) then skip to the second part.
    \nI. Each side can present more evidence/witnesses in any order. There is NO ban on emotional aspects or anything. The prosecution is to submit a suggested penalty. After all the sides are done then the judicial authority is to give a sentence.
    \nII. The jury stays and does the same thing as I. Their sole job is to determine if the death penalty is applicable. If NOT then the judge selects a sentence.
    \n
    \nTADA you're done. Security then executes the sentence and adds the applicable convictions to the person's record.
    \n" /obj/item/paper/hydroponics name = "Greetings from Billy Bob" - info = "Hey fellow botanist!
    \n
    \nI didn't trust the station folk so I left
    \na couple of weeks ago. But here's some
    \ninstructions on how to operate things here.
    \nYou can grow plants and each iteration they become
    \nstronger, more potent and have better yield, if you
    \nknow which ones to pick. Use your botanist's analyzer
    \nfor that. You can turn harvested plants into seeds
    \nat the seed extractor, and replant them for better stuff!
    \nSometimes if the weed level gets high in the tray
    \nmutations into different mushroom or weed species have
    \nbeen witnessed. On the rare occassion even weeds mutate!
    \n
    \nEither way, have fun!
    \n
    \nBest regards,
    \nBilly Bob Johnson.
    \n
    \nPS.
    \nHere's a few tips:
    \nIn nettles, potency = damage
    \nIn amanitas, potency = deadliness + side effect
    \nIn Liberty caps, potency = drug power + effect
    \nIn chilis, potency = heat
    \nNutrients keep mushrooms alive!
    \nWater keeps weeds such as nettles alive!
    \nAll other plants need both." + info = span_bold("Hey fellow botanist!") + "
    \n
    \nI didn't trust the station folk so I left
    \na couple of weeks ago. But here's some
    \ninstructions on how to operate things here.
    \nYou can grow plants and each iteration they become
    \nstronger, more potent and have better yield, if you
    \nknow which ones to pick. Use your botanist's analyzer
    \nfor that. You can turn harvested plants into seeds
    \nat the seed extractor, and replant them for better stuff!
    \nSometimes if the weed level gets high in the tray
    \nmutations into different mushroom or weed species have
    \nbeen witnessed. On the rare occassion even weeds mutate!
    \n
    \nEither way, have fun!
    \n
    \nBest regards,
    \nBilly Bob Johnson.
    \n
    \nPS.
    \nHere's a few tips:
    \nIn nettles, potency = damage
    \nIn amanitas, potency = deadliness + side effect
    \nIn Liberty caps, potency = drug power + effect
    \nIn chilis, potency = heat
    \nNutrients keep mushrooms alive!
    \nWater keeps weeds such as nettles alive!
    \nAll other plants need both." /obj/item/paper/djstation name = "DJ Listening Outpost" - info = "Welcome new owner!

    You have purchased the latest in listening equipment. The telecommunication setup we created is the best in listening to common and private radio fequencies. Here is a step by step guide to start listening in on those saucy radio channels:
    1. Equip yourself with a multi-tool
    2. Use the multitool on each machine, that is the broadcaster, receiver and the relay.
    3. Turn all the machines on, it has already been configured for you to listen on.
    Simple as that. Now to listen to the private channels, you'll have to configure the intercoms, located on the front desk. Here is a list of frequencies for you to listen on.
    • 145.7 - Common Channel
    • 144.7 - Private AI Channel
    • 135.9 - Security Channel
    • 135.7 - Engineering Channel
    • 135.5 - Medical Channel
    • 135.3 - Command Channel
    • 135.1 - Science Channel
    • 134.9 - Mining Channel
    • 134.7 - Cargo Channel
    • " + info = span_bold("Welcome new owner!") + "

      You have purchased the latest in listening equipment. The telecommunication setup we created is the best in listening to common and private radio fequencies. Here is a step by step guide to start listening in on those saucy radio channels:
      1. Equip yourself with a multi-tool
      2. Use the multitool on each machine, that is the broadcaster, receiver and the relay.
      3. Turn all the machines on, it has already been configured for you to listen on.
      Simple as that. Now to listen to the private channels, you'll have to configure the intercoms, located on the front desk. Here is a list of frequencies for you to listen on.
      • 145.7 - Common Channel
      • 144.7 - Private AI Channel
      • 135.9 - Security Channel
      • 135.7 - Engineering Channel
      • 135.5 - Medical Channel
      • 135.3 - Command Channel
      • 135.1 - Science Channel
      • 134.9 - Mining Channel
      • 134.7 - Cargo Channel
      • " /obj/item/paper/flag icon_state = "flag_neutral" diff --git a/code/modules/paperwork/paper_sticky.dm b/code/modules/paperwork/paper_sticky.dm index eaf25907ca..fb26569dfb 100644 --- a/code/modules/paperwork/paper_sticky.dm +++ b/code/modules/paperwork/paper_sticky.dm @@ -37,7 +37,7 @@ var/text = sanitizeSafe(tgui_input_text(usr, "What would you like to write?", null, null, writing_space), writing_space) if(!text || thing.loc != user || (!Adjacent(user) && loc != user) || user.incapacitated()) return - user.visible_message("\The [user] jots a note down on \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " jots a note down on \the [src].")) written_by = user.ckey if(written_text) written_text = "[written_text] [text]" diff --git a/code/modules/paperwork/silicon_photography.dm b/code/modules/paperwork/silicon_photography.dm index 9500a514d4..bb539d7a67 100644 --- a/code/modules/paperwork/silicon_photography.dm +++ b/code/modules/paperwork/silicon_photography.dm @@ -81,11 +81,11 @@ /obj/item/camera/siliconcam/proc/camera_mode_off() src.in_camera_mode = 0 - to_chat(usr, "Camera Mode deactivated") + to_chat(usr, span_infoplain(span_bold("Camera Mode deactivated"))) /obj/item/camera/siliconcam/proc/camera_mode_on() src.in_camera_mode = 1 - to_chat(usr, "Camera Mode activated") + to_chat(usr, span_infoplain(span_bold("Camera Mode activated"))) /obj/item/camera/siliconcam/ai_camera/printpicture(mob/user, obj/item/photo/p) injectaialbum(p) diff --git a/code/modules/pda/messenger.dm b/code/modules/pda/messenger.dm index 806eb0910b..15c0f2227a 100644 --- a/code/modules/pda/messenger.dm +++ b/code/modules/pda/messenger.dm @@ -175,7 +175,7 @@ to_chat(U, "ERROR: Cannot reach recipient.") return useMS.send_pda_message("[P.owner]","[pda.owner]","[t]") - pda.investigate_log(span_game(span_say("PDA Message - [U.key] - [pda.owner] -> [P.owner]: [t]")), "pda") + pda.investigate_log(span_game(span_say("PDA Message - " + span_name("[U.key] - [pda.owner]") + " -> " + span_name("[P.owner]") + ": " + span_message("[t]"))), "pda") receive_message(list("sent" = 1, "owner" = "[P.owner]", "job" = "[P.ownjob]", "message" = "[t]", "target" = "\ref[P]"), "\ref[P]") PM.receive_message(list("sent" = 0, "owner" = "[pda.owner]", "job" = "[pda.ownjob]", "message" = "[t]", "target" = "\ref[pda]"), "\ref[pda]") @@ -223,7 +223,7 @@ var/owner = data["owner"] var/job = data["job"] var/message = data["message"] - notify("Message from [owner] ([job]), \"[message]\" (Reply)") + notify(span_bold("Message from [owner] ([job]), ") + "\"[message]\" (Reply)") /datum/data/pda/app/messenger/multicast /datum/data/pda/app/messenger/multicast/receive_message(list/data, ref) diff --git a/code/modules/pda/utilities.dm b/code/modules/pda/utilities.dm index 41bfef4e42..0fdc380fe6 100644 --- a/code/modules/pda/utilities.dm +++ b/code/modules/pda/utilities.dm @@ -45,16 +45,14 @@ icon = "heart-o" /datum/data/pda/utility/scanmode/medical/scan_mob(mob/living/C as mob, mob/living/user as mob) - C.visible_message("[user] has analyzed [C]'s vitals!") + C.visible_message(span_warning("[user] has analyzed [C]'s vitals!")) user.show_message(span_notice("Analyzing Results for [C]:")) user.show_message(span_notice(" Overall Status: [C.stat > 1 ? "dead" : "[C.health - C.halloss]% healthy"]"), 1) - user.show_message(text(" Damage Specifics: []-[]-[]-[]", - (C.getOxyLoss() > 50) ? "warning" : "", C.getOxyLoss(), - (C.getToxLoss() > 50) ? "warning" : "", C.getToxLoss(), - (C.getFireLoss() > 50) ? "warning" : "", C.getFireLoss(), - (C.getBruteLoss() > 50) ? "warning" : "", C.getBruteLoss() - ), 1) + user.show_message(span_notice(" Damage Specifics:") + " [(C.getOxyLoss() > 50) ? span_warning(C.getOxyLoss()) : C.getOxyLoss()]-\ + [(C.getToxLoss() > 50) ? span_warning(C.getToxLoss()) : C.getToxLoss()]-\ + [(C.getFireLoss() > 50) ? span_warning(C.getFireLoss()) : C.getFireLoss()]-\ + [(C.getBruteLoss() > 50) ? span_warning(C.getBruteLoss()) : C.getBruteLoss()]", 1) user.show_message(span_notice(" Key: Suffocation/Toxin/Burns/Brute"), 1) user.show_message(span_notice(" Body Temperature: [C.bodytemperature-T0C]°C ([C.bodytemperature*1.8-459.67]°F)"), 1) if(C.tod && (C.stat == DEAD || (C.status_flags & FAKEDEATH))) @@ -65,8 +63,8 @@ user.show_message(span_notice("Localized Damage, Brute/Burn:"),1) if(length(damaged)>0) for(var/obj/item/organ/external/org in damaged) - user.show_message(text(" []: []-[]", - capitalize(org.name), (org.brute_dam > 0) ? "warning" : "notice", org.brute_dam, (org.burn_dam > 0) ? "warning" : "notice", org.burn_dam),1) + user.show_message(span_notice(" [capitalize(org.name)]: [(org.brute_dam > 0) ? span_warning("[org.brute_dam]") : span_notice("[org.brute_dam]")]-\ + [(org.burn_dam > 0) ? span_warning("[org.burn_dam]") : span_notice("[org.burn_dam]")]"), 1) else user.show_message(span_notice(" Limbs are OK."),1) @@ -78,9 +76,9 @@ if(istype(C, /mob/living/carbon/human)) var/mob/living/carbon/human/H = C if(!istype(H.dna, /datum/dna)) - to_chat(user, "No fingerprints found on [H]") + to_chat(user, span_notice("No fingerprints found on [H]")) else - to_chat(user, "[H]'s Fingerprints: [md5(H.dna.uni_identity)]") + to_chat(user, span_notice("[H]'s Fingerprints: [md5(H.dna.uni_identity)]")) scan_blood(C, user) /datum/data/pda/utility/scanmode/dna/scan_atom(atom/A as mob|obj|turf|area, mob/user as mob) @@ -88,27 +86,27 @@ /datum/data/pda/utility/scanmode/dna/proc/scan_blood(atom/A, mob/user) if(!A.blood_DNA) - to_chat(user, "No blood found on [A]") + to_chat(user, span_notice("No blood found on [A]")) if(A.blood_DNA) qdel(A.blood_DNA) else - to_chat(user, "Blood found on [A]. Analysing...") + to_chat(user, span_notice("Blood found on [A]. Analysing...")) spawn(15) for(var/blood in A.blood_DNA) - to_chat(user, "Blood type: [A.blood_DNA[blood]]\nDNA: [blood]") + to_chat(user, span_notice("Blood type: [A.blood_DNA[blood]]\nDNA: [blood]")) /datum/data/pda/utility/scanmode/halogen base_name = "Halogen Counter" icon = "exclamation-circle" /datum/data/pda/utility/scanmode/halogen/scan_mob(mob/living/C as mob, mob/living/user as mob) - C.visible_message("[user] has analyzed [C]'s radiation levels!") + C.visible_message(span_warning("[user] has analyzed [C]'s radiation levels!")) - user.show_message("Analyzing Results for [C]:") + user.show_message(span_notice("Analyzing Results for [C]:")) if(C.radiation) - user.show_message("Radiation Level: [C.radiation > 0 ? "[C.radiation]" : "0"]") + user.show_message(span_notice("Radiation Level: [C.radiation > 0 ? span_danger("[C.radiation]") : "0"]")) else - user.show_message("No radiation detected.") + user.show_message(span_notice("No radiation detected.")) /datum/data/pda/utility/scanmode/reagent base_name = "Reagent Scanner" @@ -189,7 +187,7 @@ var/scannedtitle = "Paper" if(!isnull(notes.notetitle) && notes.notetitle != "") scannedtitle = "'[notes.notetitle]'" - to_chat(user, "[scannedtitle] scanned to Notekeeper in note [alphabet_uppercase[notes.currentnote]].")//concept of scanning paper copyright brainoblivion 2009 + to_chat(user, span_notice("[scannedtitle] scanned to Notekeeper in note [alphabet_uppercase[notes.currentnote]]."))//concept of scanning paper copyright brainoblivion 2009 else - to_chat(user, "Error scanning [A].") + to_chat(user, span_warning("Error scanning [A].")) diff --git a/code/modules/persistence/graffiti.dm b/code/modules/persistence/graffiti.dm index bb96fa03b6..e952f8af7a 100644 --- a/code/modules/persistence/graffiti.dm +++ b/code/modules/persistence/graffiti.dm @@ -47,7 +47,7 @@ var/obj/item/weldingtool/welder = thing.get_welder() if(welder.isOn() && welder.remove_fuel(0,user) && do_after(user, 5, src) && !QDELETED(src)) playsound(src.loc, welder.usesound, 50, 1) - user.visible_message("\The [user] clears away some graffiti.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " clears away some graffiti.")) qdel(src) else if(thing.sharp) diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 29004331e8..a028448bca 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -741,7 +741,7 @@ GLOBAL_LIST_EMPTY(apcs) if(H.species.can_shred(H)) user.setClickCooldown(user.get_attack_speed()) - user.visible_message("[user.name] slashes at the [name]!", span_notice("You slash at the [name]!")) + user.visible_message(span_warning("[user.name] slashes at the [name]!"), span_notice("You slash at the [name]!")) playsound(src, 'sound/weapons/slash.ogg', 100, 1) var/allcut = wires.is_all_cut() @@ -749,12 +749,12 @@ GLOBAL_LIST_EMPTY(apcs) if(beenhit >= pick(3, 4) && wiresexposed != 1) wiresexposed = 1 update_icon() - visible_message("The [name]'s cover flies open, exposing the wires!") + visible_message(span_warning("The [name]'s cover flies open, exposing the wires!")) else if(wiresexposed == 1 && allcut == 0) wires.cut_all() update_icon() - visible_message("The [name]'s wires are shredded!") + visible_message(span_warning("The [name]'s wires are shredded!")) else beenhit += 1 return diff --git a/code/modules/power/fusion/core/_core.dm b/code/modules/power/fusion/core/_core.dm index 3e66a547b4..ed39c4f376 100644 --- a/code/modules/power/fusion/core/_core.dm +++ b/code/modules/power/fusion/core/_core.dm @@ -67,7 +67,7 @@ GLOBAL_LIST_EMPTY(fusion_cores) if(Output.get_pairing()) reagents.trans_to_holder(Output.reagents, Output.reagents.maximum_volume) if(prob(5)) - visible_message("\The [src] gurgles as it exports fluid.") + visible_message(span_infoplain(span_bold("\The [src]") + " gurgles as it exports fluid.")) if(owned_field) @@ -132,7 +132,7 @@ GLOBAL_LIST_EMPTY(fusion_cores) /obj/machinery/power/fusion_core/attack_hand(var/mob/user) if(!Adjacent(user)) // As funny as it was for the AI to hug-kill the tokamak field from a distance... return - visible_message("\The [user] hugs \the [src] to make it feel better!") + visible_message(span_infoplain(span_bold("\The [user]") + " hugs \the [src] to make it feel better!")) if(owned_field) Shutdown() diff --git a/code/modules/power/fusion/core/core_control.dm b/code/modules/power/fusion/core/core_control.dm index 47b85b21ba..2965228b3a 100644 --- a/code/modules/power/fusion/core/core_control.dm +++ b/code/modules/power/fusion/core/core_control.dm @@ -63,16 +63,16 @@ if(cur_viewed_device && (cur_viewed_device.id_tag != id_tag || get_dist(src, cur_viewed_device) > scan_range)) cur_viewed_device = null - var/dat = "Core Control #[id_tag]
        " + var/dat = span_bold("Core Control #[id_tag]") + "
        " if(cur_viewed_device) dat += {" Back to overview
        - Device ident '[cur_viewed_device.id_tag]' [cur_viewed_device.owned_field ? "Active" : "Inactive"].
        + Device ident '[cur_viewed_device.id_tag]' [cur_viewed_device.owned_field ? span_green("Active") : span_red("Inactive")].
        Power status: [cur_viewed_device.avail()]/[cur_viewed_device.active_power_usage] W

        - Field Status: [cur_viewed_device.owned_field ? "Online" : "Offline"].
        - Reactant Dump: [cur_viewed_device.reactant_dump ? "Active" : "Inactive"].
        + Field Status: [cur_viewed_device.owned_field ? span_green("Online") : span_red("Offline")].
        + Reactant Dump: [cur_viewed_device.reactant_dump ? span_gren("Active") : span_red("Inactive")].

        Field power density (W.m-3):
        ---- @@ -123,12 +123,12 @@ var/status var/can_access = 1 if(!check_core_status(C)) - status = "Unresponsive" + status = span_red("Unresponsive") can_access = 0 else if(C.avail() < C.active_power_usage) - status = "Underpowered" + status = span_orange("Underpowered") else - status = "Good" + status = span_green("Good") dat += {"
    @@ -138,7 +138,7 @@ if(!can_access) dat += {" - + "} else dat += {" @@ -149,7 +149,7 @@ "} else - dat += "No electromagnetic field generators connected." + dat += span_red("No electromagnetic field generators connected.") var/datum/browser/popup = new(user, "fusion_control", name, 500, 400, src) popup.set_content(dat) diff --git a/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm b/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm index ab115ace0e..4d7c0305e8 100644 --- a/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm +++ b/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm @@ -28,14 +28,14 @@ to_chat(user, span_warning("You need at least three hundred units of material to form a fuel rod.")) return 1 var/datum/reagent/R = thing.reagents.reagent_list[1] - visible_message("\The [src] compresses the contents of \the [thing] into a new fuel assembly.") + visible_message(span_infoplain(span_bold("\The [src]") + " compresses the contents of \the [thing] into a new fuel assembly.")) var/obj/item/fuel_assembly/F = new(get_turf(src), R.id, R.color) thing.reagents.remove_reagent(R.id, R.volume) user.put_in_hands(F) else if(istype(thing, /obj/machinery/power/supermatter)) var/obj/item/fuel_assembly/F = new(get_turf(src), "supermatter") - visible_message("\The [src] compresses \the [thing] into a new fuel assembly.") + visible_message(span_infoplain(span_bold("\The [src]") + " compresses \the [thing] into a new fuel assembly.")) qdel(thing) user.put_in_hands(F) return 1 @@ -67,7 +67,7 @@ to_chat(user, span_warning("You need at least 25 [mat.sheet_plural_name] to make a fuel rod.")) return var/obj/item/fuel_assembly/F = new(get_turf(src), mat.name) - visible_message("\The [src] compresses \the [thing] into a new fuel assembly.") + visible_message(span_infoplain(span_bold("\The [src]") + " compresses \the [thing] into a new fuel assembly.")) M.use(FUSION_ROD_SHEET_AMT) user.put_in_hands(F) else diff --git a/code/modules/power/fusion/fuel_assembly/fuel_control.dm b/code/modules/power/fusion/fuel_assembly/fuel_control.dm index 5f66fc52d8..2978b37825 100644 --- a/code/modules/power/fusion/fuel_assembly/fuel_control.dm +++ b/code/modules/power/fusion/fuel_assembly/fuel_control.dm @@ -50,7 +50,7 @@ to_chat(user, span_warning("This console has not been assigned an ident tag. Please contact your system administrator or conduct a manual update with a standard multitool.")) return - var/dat = "Reactor Core Fuel Control #[id_tag]
    " + var/dat = span_bold("Reactor Core Fuel Control #[id_tag]") + "
    " dat += {"
    [V]" + HTML += "
    " + span_bold("[V]") HTML += "
    ERROR" + span_red("ERROR") + "
    @@ -67,9 +67,9 @@ dat += "" if(I.stat & (BROKEN|NOPOWER)) - dat += "" - dat += "" - dat += "" + dat += "" + dat += "" + dat += "" else dat += "" if(I.cur_assembly) diff --git a/code/modules/power/fusion/fuel_assembly/fuel_injector.dm b/code/modules/power/fusion/fuel_assembly/fuel_injector.dm index 318e058ad2..71f2a50882 100644 --- a/code/modules/power/fusion/fuel_assembly/fuel_injector.dm +++ b/code/modules/power/fusion/fuel_assembly/fuel_injector.dm @@ -62,9 +62,9 @@ GLOBAL_LIST_EMPTY(fuel_injectors) //CHOMPEdit End if(cur_assembly) cur_assembly.forceMove(get_turf(src)) - visible_message("\The [user] swaps \the [src]'s [cur_assembly] for \a [W].") + visible_message(span_infoplain(span_bold("\The [user]") + " swaps \the [src]'s [cur_assembly] for \a [W].")) else - visible_message("\The [user] inserts \a [W] into \the [src].") + visible_message(span_infoplain(span_bold("\The [user]") + " inserts \a [W] into \the [src].")) user.drop_from_inventory(W) W.forceMove(src) @@ -105,7 +105,7 @@ GLOBAL_LIST_EMPTY(fuel_injectors) if(cur_assembly) cur_assembly.forceMove(get_turf(src)) user.put_in_hands(cur_assembly) - visible_message("\The [user] removes \the [cur_assembly] from \the [src].") + visible_message(span_infoplain(span_bold("\The [user]") + " removes \the [cur_assembly] from \the [src].")) cur_assembly = null return else diff --git a/code/modules/power/fusion/gyrotron/gyrotron_control.dm b/code/modules/power/fusion/gyrotron/gyrotron_control.dm index e62947f82b..c96e11644c 100644 --- a/code/modules/power/fusion/gyrotron/gyrotron_control.dm +++ b/code/modules/power/fusion/gyrotron/gyrotron_control.dm @@ -47,12 +47,12 @@ to_chat(user, span_warning("This console has not been assigned an ident tag. Please contact your system administrator or conduct a manual update with a standard multitool.")) return - var/dat = "
    ERRORERRORERROR" + span_danger("ERROR") + "" + span_danger("ERROR") + "" + span_danger("ERROR") + "[I.cur_assembly ? I.cur_assembly.fuel_type : "NONE"]Gyrotron controller #[id_tag]" + var/dat = "" + span_bold("Gyrotron controller #[id_tag]") dat = "" - dat += "" - dat += "" - dat += "" + dat += "" + dat += "" + dat += "" dat += "" for(var/obj/machinery/power/emitter/gyrotron/G in gyrotrons) @@ -61,9 +61,9 @@ dat += "" if(G.state != 2 || (G.stat & (NOPOWER | BROKEN))) //Error data not found. - dat += "" - dat += "" - dat += "" + dat += "" + dat += "" + dat += "" else dat += "" dat += "" diff --git a/code/modules/power/pacman2.dm b/code/modules/power/pacman2.dm index 786d03ec06..8d641f9c27 100644 --- a/code/modules/power/pacman2.dm +++ b/code/modules/power/pacman2.dm @@ -117,7 +117,7 @@ user.machine = src - var/dat = text("[name]
    ") + var/dat = text(span_bold("[name]") + "
    ") if (active) dat += text("Generator: On
    ") else diff --git a/code/modules/power/sensors/powernet_sensor.dm b/code/modules/power/sensors/powernet_sensor.dm index 0cfe7ca95a..bd2135b9a8 100644 --- a/code/modules/power/sensors/powernet_sensor.dm +++ b/code/modules/power/sensors/powernet_sensor.dm @@ -177,7 +177,7 @@ var/list/L = find_apcs() var/total_apc_load = 0 if(L.len <= 0) // No APCs found. - out = "No APCs located in connected powernet!" + out = span_bold("No APCs located in connected powernet!") else // APCs found. Create very ugly (but working!) HTML table. out += "
    ModeFire DelayPower" + span_bold("Mode") + "" + span_bold("Fire Delay") + "" + span_bold("Power") + "
    ERRORERRORERROR" + span_red("ERROR") + "" + span_red("ERROR") + "" + span_red("ERROR") + "[G.active ? "Emitting" : "Standing By"][G.rate]
    NameEQUIPLIGHTENVIRONCELLLOAD" diff --git a/code/modules/power/singularity/act.dm b/code/modules/power/singularity/act.dm index d386a3447e..b544ec8f60 100644 --- a/code/modules/power/singularity/act.dm +++ b/code/modules/power/singularity/act.dm @@ -30,7 +30,7 @@ for(var/obj/item/hand in handlist) if(prob(current_size*5) && hand.w_class >= ((11-current_size)/2) && unEquip(hand)) step_towards(hand, S) - to_chat(src, "The [S] pulls \the [hand] from your grip!") + to_chat(src, span_warning("The [S] pulls \the [hand] from your grip!")) if(!lying && (!shoes || !(shoes.item_flags & NOSLIP)) && (!species || !(species.flags & NOSLIP)) && prob(current_size*5)) to_chat(src, span_danger("A strong gravitational force slams you to the ground!")) diff --git a/code/modules/power/singularity/generator.dm b/code/modules/power/singularity/generator.dm index 8dc81c24a6..647492e49d 100644 --- a/code/modules/power/singularity/generator.dm +++ b/code/modules/power/singularity/generator.dm @@ -39,7 +39,7 @@ if(W.has_tool_quality(TOOL_SCREWDRIVER)) panel_open = !panel_open playsound(src, W.usesound, 50, 1) - visible_message("\The [user] adjusts \the [src]'s mechanisms.") + visible_message(span_infoplain(span_bold("\The [user]") + " adjusts \the [src]'s mechanisms.")) if(panel_open && do_after(user, 30)) to_chat(user, span_notice("\The [src] looks like it could be modified.")) if(panel_open && do_after(user, 80 * W.toolspeed)) // We don't have skills, so a delayed hint for engineers will have to do for now. (Panel open check for sanity) @@ -48,10 +48,10 @@ else to_chat(user, span_notice("\The [src]'s mechanisms look secure.")) if(istype(W, /obj/item/smes_coil/super_io) && panel_open) - visible_message("\The [user] begins to modify \the [src] with \the [W].") + visible_message(span_infoplain(span_bold("\The [user]") + " begins to modify \the [src] with \the [W].")) if(do_after(user, 300)) user.drop_from_inventory(W) - visible_message("\The [user] installs \the [W] onto \the [src].") + visible_message(span_infoplain(span_bold("\The [user]") + " installs \the [W] onto \the [src].")) qdel(W) var/turf/T = get_turf(src) var/new_machine = /obj/machinery/particle_smasher diff --git a/code/modules/power/singularity/particle_accelerator/particle_smasher.dm b/code/modules/power/singularity/particle_accelerator/particle_smasher.dm index d6e6dd2436..15930bfd14 100644 --- a/code/modules/power/singularity/particle_accelerator/particle_smasher.dm +++ b/code/modules/power/singularity/particle_accelerator/particle_smasher.dm @@ -177,7 +177,7 @@ recipes = typesof(/datum/particle_smasher_recipe) if(!target) // You are just blasting an empty machine. - visible_message("\The [src] shudders.") + visible_message(span_infoplain(span_bold("\The [src]") + " shudders.")) update_icon() return diff --git a/code/modules/power/singularity/singularity.dm b/code/modules/power/singularity/singularity.dm index 3e49965bbb..e8ffacc8f5 100644 --- a/code/modules/power/singularity/singularity.dm +++ b/code/modules/power/singularity/singularity.dm @@ -213,7 +213,7 @@ GLOBAL_LIST_BOILERPLATE(all_singularities, /obj/singularity) if(chained) overlays = "chain_s9" if(growing) - visible_message(span_danger("The singularity has grown out of control!")) + visible_message(span_danger(span_normal("The singularity has grown out of control!"))) else visible_message(span_warning("The singularity miraculously reduces in size and loses its supermatter properties.")) if(STAGE_SUPER)//SUPERSINGULO @@ -230,10 +230,10 @@ GLOBAL_LIST_BOILERPLATE(all_singularities, /obj/singularity) event_chance = 25 //Events will fire off more often. if(chained) overlays = "chain_s9" - visible_message(span_sinister("You witness the creation of a destructive force that cannot possibly be stopped by human hands.")) + visible_message(span_sinister(span_large("You witness the creation of a destructive force that cannot possibly be stopped by human hands."))) if (current_size == allowed_size) - investigate_log("grew to size [current_size].", I_SINGULO) + investigate_log(span_red("grew to size [current_size]."), I_SINGULO) return 1 else if (current_size < (--temp_allowed_size) && current_size != STAGE_SUPER) expand(temp_allowed_size) @@ -427,10 +427,10 @@ GLOBAL_LIST_BOILERPLATE(all_singularities, /obj/singularity) if (istype(M,/mob/living/carbon/human)) var/mob/living/carbon/human/H = M if(istype(H.glasses,/obj/item/clothing/glasses/meson) && current_size != STAGE_SUPER) - to_chat(H, "You look directly into The [src.name], good thing you had your protective eyewear on!") + to_chat(H, span_notice("You look directly into The [src.name], good thing you had your protective eyewear on!")) return else - to_chat(H, "You look directly into The [src.name], but your eyewear does absolutely nothing to protect you from it!") + to_chat(H, span_warning("You look directly into The [src.name], but your eyewear does absolutely nothing to protect you from it!")) to_chat(M, span_danger("You look directly into The [src.name] and feel [current_size == STAGE_SUPER ? "helpless" : "weak"].")) M.apply_effect(3, STUN) for(var/mob/O in viewers(M, null)) @@ -445,11 +445,11 @@ GLOBAL_LIST_BOILERPLATE(all_singularities, /obj/singularity) /obj/singularity/proc/smwave() for(var/mob/living/M in view(10, src.loc)) if(prob(67)) - to_chat(M, "You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.") - to_chat(M, "Miraculously, it fails to kill you.") + to_chat(M, span_warning("You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.")) + to_chat(M, span_notice("Miraculously, it fails to kill you.")) else - to_chat(M, "You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.") - to_chat(M, "You don't even have a moment to react as you are reduced to ashes by the intense radiation.") + to_chat(M, span_danger("You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.")) + to_chat(M, span_danger("You don't even have a moment to react as you are reduced to ashes by the intense radiation.")) M.dust() SSradiation.radiate(src, rand(energy)) return diff --git a/code/modules/power/supermatter/supermatter.dm b/code/modules/power/supermatter/supermatter.dm index dc0cf4c7a4..bf65866a73 100644 --- a/code/modules/power/supermatter/supermatter.dm +++ b/code/modules/power/supermatter/supermatter.dm @@ -48,7 +48,7 @@ /obj/machinery/power/supermatter name = "Supermatter" - desc = "A strangely translucent and iridescent crystal. You get headaches just from looking at it." + desc = "A strangely translucent and iridescent crystal. " + span_red("You get headaches just from looking at it.") icon = 'icons/obj/supermatter.dmi' icon_state = "darkmatter" plane = MOB_PLANE // So people can walk behind the top part @@ -515,9 +515,9 @@ /obj/machinery/power/supermatter/attack_hand(mob/user as mob) var/datum/gender/TU = gender_datums[user.get_visible_gender()] - user.visible_message("\The [user] reaches out and touches \the [src], inducing a resonance... [TU.his] body starts to glow and bursts into flames before flashing into ash.",\ - "You reach out and touch \the [src]. Everything starts burning and all you can hear is ringing. Your last thought is \"That was not a wise decision.\"",\ - "You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.") + user.visible_message(span_warning("\The [user] reaches out and touches \the [src], inducing a resonance... [TU.his] body starts to glow and bursts into flames before flashing into ash."),\ + span_danger("You reach out and touch \the [src]. Everything starts burning and all you can hear is ringing. Your last thought is \"That was not a wise decision.\""),\ + span_warning("You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.")) Consume(user) @@ -548,9 +548,9 @@ /obj/machinery/power/supermatter/attackby(obj/item/W as obj, mob/living/user as mob) - user.visible_message("\The [user] touches \a [W] to \the [src] as a silence fills the room...",\ - "You touch \the [W] to \the [src] when everything suddenly goes silent.\"\n\The [W] flashes into dust as you flinch away from \the [src].",\ - "Everything suddenly goes silent.") + user.visible_message(span_warning("\The [user] touches \a [W] to \the [src] as a silence fills the room..."),\ + span_danger("You touch \the [W] to \the [src] when everything suddenly goes silent.\"") + "\n" + span_notice("\The [W] flashes into dust as you flinch away from \the [src]."),\ + span_warning("Everything suddenly goes silent.")) user.drop_from_inventory(W) Consume(W) @@ -564,12 +564,12 @@ if(istype(AM, /mob/living)) var/mob/living/M = AM var/datum/gender/T = gender_datums[M.get_visible_gender()] - AM.visible_message("\The [AM] slams into \the [src] inducing a resonance... [T.his] body starts to glow and catch flame before flashing into ash.",\ - "You slam into \the [src] as your ears are filled with unearthly ringing. Your last thought is \"Oh, fuck.\"",\ - "You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.") + AM.visible_message(span_warning("\The [AM] slams into \the [src] inducing a resonance... [T.his] body starts to glow and catch flame before flashing into ash."),\ + span_danger("You slam into \the [src] as your ears are filled with unearthly ringing. Your last thought is \"Oh, fuck.\""),\ + span_warning("You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.")) else if(!grav_pulling) //To prevent spam, detonating supermatter does not indicate non-mobs being destroyed - AM.visible_message("\The [AM] smacks into \the [src] and rapidly flashes to ash.",\ - "You hear a loud crack as you are washed with a wave of heat.") + AM.visible_message(span_warning("\The [AM] smacks into \the [src] and rapidly flashes to ash."),\ + span_warning("You hear a loud crack as you are washed with a wave of heat.")) Consume(AM) @@ -586,10 +586,10 @@ //Some poor sod got eaten, go ahead and irradiate people nearby. for(var/mob/living/l in range(10)) if(l in view()) - l.show_message("As \the [src] slowly stops resonating, you find your skin covered in new radiation burns.", 1,\ - "The unearthly ringing subsides and you notice you have new radiation burns.", 2) + l.show_message(span_warning("As \the [src] slowly stops resonating, you find your skin covered in new radiation burns."), 1,\ + span_warning("The unearthly ringing subsides and you notice you have new radiation burns."), 2) else - l.show_message("You hear an uneartly ringing and notice your skin is covered in fresh radiation burns.", 2) + l.show_message(span_warning("You hear an uneartly ringing and notice your skin is covered in fresh radiation burns."), 2) var/rads = 500 SSradiation.radiate(src, rads) @@ -605,7 +605,7 @@ /obj/machinery/power/supermatter/shard //Small subtype, less efficient and more sensitive, but less boom. name = "Supermatter Shard" - desc = "A strangely translucent and iridescent crystal that looks like it used to be part of a larger structure. You get headaches just from looking at it." + desc = "A strangely translucent and iridescent crystal that looks like it used to be part of a larger structure. " + span_red("You get headaches just from looking at it.") icon_state = "darkmatter_shard" base_icon_state = "darkmatter_shard" diff --git a/code/modules/power/turbine.dm b/code/modules/power/turbine.dm index 6d66533fda..faacf25053 100644 --- a/code/modules/power/turbine.dm +++ b/code/modules/power/turbine.dm @@ -291,7 +291,7 @@ var/t = "Gas Turbine Generator
    "
     	t += "Generated power : [DisplayPower(lastgen)]

    " t += "Turbine: [round(compressor.rpm)] RPM
    " - t += "Starter: [ compressor.starter ? "Off On" : "Off On"]" + t += "Starter: [ compressor.starter ? "Off " + span_bold("On") : span_bold("Off") + " On"]" t += "

    Close" t += "
    " var/datum/browser/popup = new(user, "turbine", name, 700, 500, src) diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index 3417a48019..3225dea7c8 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -190,7 +190,7 @@ if(!attached_lock.exploding) if(attached_lock.safety_level == 1) to_chat(M, span_danger("\The [src] hisses in dissapointment.")) - visible_message(span_game(span_say("\The [src] announces, \"Self-destruct occurring in ten seconds.\"")), span_game(span_say("\The [src] announces, \"Self-destruct occurring in ten seconds.\""))) + visible_message(span_game(span_say(span_name("\The [src]") + " announces, \"Self-destruct occurring in ten seconds.\"")), span_game(span_say(span_name("\The [src]") + " announces, \"Self-destruct occurring in ten seconds.\""))) attached_lock.exploding = 1 spawn(100) explosion(src, 0, 0, 3, 4) @@ -730,10 +730,10 @@ return var/obj/item/projectile/in_chamber = consume_next_projectile() if (istype(in_chamber)) - user.visible_message("[user] pulls the trigger.") + user.visible_message(span_warning("[user] pulls the trigger.")) play_fire_sound(M, in_chamber) if(istype(in_chamber, /obj/item/projectile/beam/lasertag)) - user.show_message("You feel rather silly, trying to commit suicide with a toy.") + user.show_message(span_warning("You feel rather silly, trying to commit suicide with a toy.")) mouthshoot = 0 return @@ -743,7 +743,7 @@ user.apply_damage(in_chamber.damage*2.5, in_chamber.damage_type, "head", used_weapon = "Point blank shot in the mouth with \a [in_chamber]", sharp = TRUE) user.death() else if(in_chamber.damage_type == HALLOSS) - to_chat(user, "Ow...") + to_chat(user, span_notice("Ow...")) user.apply_effect(110,AGONY,0) qdel(in_chamber) mouthshoot = 0 diff --git a/code/modules/projectiles/guns/energy/bsharpoon_vr.dm b/code/modules/projectiles/guns/energy/bsharpoon_vr.dm index e13d91bfad..49456e9bd4 100644 --- a/code/modules/projectiles/guns/energy/bsharpoon_vr.dm +++ b/code/modules/projectiles/guns/energy/bsharpoon_vr.dm @@ -68,23 +68,23 @@ if(!user || !A || isstorage(A)) return if(!scanmod) - to_chat(user,"The scanning module has been removed from [src]!") + to_chat(user,span_warning("The scanning module has been removed from [src]!")) return if(transforming) - to_chat(user,"You can't fire while \the [src] transforming!") + to_chat(user,span_warning("You can't fire while \the [src] transforming!")) return if(!firable) - to_chat(user,"\The [src] is recharging...") + to_chat(user,span_warning("\The [src] is recharging...")) return if(is_jammed(A) || is_jammed(user)) firable = FALSE VARSET_IN(src, firable, TRUE, 30 SECONDS) - to_chat(user,"\The [src] shot fizzles due to interference!") + to_chat(user,span_warning("\The [src] shot fizzles due to interference!")) playsound(src, 'sound/weapons/wave.ogg', 60, 1) return var/turf/T = get_turf(A) if(!T || (T.check_density(ignore_mobs = TRUE) && mode == 1)) - to_chat(user,"That's a little too solid to harpoon into!") + to_chat(user,span_warning("That's a little too solid to harpoon into!")) return var/turf/ownturf = get_turf(src) if(ownturf.z != T.z || get_dist(T,ownturf) > world.view) @@ -211,7 +211,7 @@ if(transforming) return mode = !mode transforming = 1 - to_chat(user,"You change \the [src]'s mode to [mode ? "transmiting" : "receiving"].") + to_chat(user,span_info("You change \the [src]'s mode to [mode ? "transmiting" : "receiving"].")) update_icon() /obj/item/bluespace_harpoon/verb/chande_dropnom_mode(mob/user as mob) @@ -220,7 +220,7 @@ set src in range(0) dropnoms_active = !dropnoms_active - to_chat(user,"You switch \the [src]'s spatial rearrangement [dropnoms_active ? "on" : "off"]. (Telenoms [dropnoms_active ? "enabled" : "disabled"])") + to_chat(user,span_info("You switch \the [src]'s spatial rearrangement [dropnoms_active ? "on" : "off"]. (Telenoms [dropnoms_active ? "enabled" : "disabled"])")) /obj/item/bluespace_harpoon/update_icon() if(transforming) diff --git a/code/modules/projectiles/guns/energy/kinetic_accelerator_vr.dm b/code/modules/projectiles/guns/energy/kinetic_accelerator_vr.dm index 2adae80619..8c05801f36 100644 --- a/code/modules/projectiles/guns/energy/kinetic_accelerator_vr.dm +++ b/code/modules/projectiles/guns/energy/kinetic_accelerator_vr.dm @@ -102,7 +102,7 @@ /obj/item/gun/energy/kinetic_accelerator/examine(mob/user) . = ..() if(max_mod_capacity) - . += "[get_remaining_mod_capacity()]% mod capacity remaining." + . += span_bold("[get_remaining_mod_capacity()]%") + " mod capacity remaining." for(var/A in get_modkits()) var/obj/item/borg/upgrade/modkit/M = A . += span_notice("There is \a [M] installed, using [M.cost]% capacity.") diff --git a/code/modules/projectiles/guns/launcher/bows.dm b/code/modules/projectiles/guns/launcher/bows.dm index ce05c71f2b..b7a4b51824 100644 --- a/code/modules/projectiles/guns/launcher/bows.dm +++ b/code/modules/projectiles/guns/launcher/bows.dm @@ -72,14 +72,14 @@ /obj/item/gun/launcher/crossbow/bow/attack_hand(mob/living/user) if(loc == user && bolt && !drawn) - user.visible_message("[user] removes [bolt] from [src].","You remove [bolt] from [src].") + user.visible_message(span_infoplain(span_bold("[user]") + " removes [bolt] from [src]."),span_infoplain("You remove [bolt] from [src].")) unload(user) else return ..() /obj/item/gun/launcher/crossbow/bow/attack_self(mob/living/user) if(drawn) - user.visible_message("[user] relaxes the tension on [src]'s string.","You relax the tension on [src]'s string.") + user.visible_message(span_infoplain(span_bold("[user]") + " relaxes the tension on [src]'s string."),span_infoplain("You relax the tension on [src]'s string.")) drawn = FALSE update_icon() else @@ -87,24 +87,24 @@ /obj/item/gun/launcher/crossbow/bow/draw(var/mob/user) if(!bolt) - to_chat(user, "You don't have anything nocked to [src].") + to_chat(user, span_infoplain("You don't have anything nocked to [src].")) return if(user.restrained()) return current_user = user - user.visible_message("[user] begins to draw back the string of [src].",span_notice("You begin to draw back the string of [src].")) + user.visible_message(span_infoplain(span_bold("[user]") + " begins to draw back the string of [src]."),span_notice("You begin to draw back the string of [src].")) if(do_after(user, 25, src, exclusive = TASK_ALL_EXCLUSIVE)) drawn = TRUE - user.visible_message("[user] draws the string on [src] back fully!", "You draw the string on [src] back fully!") + user.visible_message(span_infoplain(span_bold("[user]") + "draws the string on [src] back fully!"), span_infoplain("You draw the string on [src] back fully!")) update_icon() /obj/item/gun/launcher/crossbow/bow/attackby(obj/item/W as obj, mob/user) if(!bolt && istype(W,/obj/item/arrow/standard)) user.drop_from_inventory(W, src) bolt = W - user.visible_message("[user] slides [bolt] into [src].","You slide [bolt] into [src].") + user.visible_message(span_infoplain("[user] slides [bolt] into [src]."),span_infoplain("You slide [bolt] into [src].")) update_icon() /obj/item/gun/launcher/crossbow/bow/update_icon() @@ -129,11 +129,11 @@ /obj/item/gun/launcher/crossbow/bow/hardlight/attack_self(mob/living/user) if(drawn) - user.visible_message("[user] relaxes the tension on [src]'s string.","You relax the tension on [src]'s string.") + user.visible_message(span_infoplain(span_bold("[user]") + " relaxes the tension on [src]'s string."),span_infoplain("You relax the tension on [src]'s string.")) drawn = FALSE update_icon() else if(!bolt) - user.visible_message("[user] fabricates a new hardlight projectile with [src].","You fabricate a new hardlight projectile with [src].") + user.visible_message(span_infoplain(span_bold("[user]") + " fabricates a new hardlight projectile with [src]."),span_infoplain("You fabricate a new hardlight projectile with [src].")) bolt = new /obj/item/arrow/energy(src) update_icon() else diff --git a/code/modules/projectiles/guns/magnetic/bore.dm b/code/modules/projectiles/guns/magnetic/bore.dm index 92450511bc..5d655cf4ee 100644 --- a/code/modules/projectiles/guns/magnetic/bore.dm +++ b/code/modules/projectiles/guns/magnetic/bore.dm @@ -63,7 +63,7 @@ if(removing) user.put_in_hands(removing) - user.visible_message("\The [user] removes \the [removing] from \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " removes \the [removing] from \the [src].")) playsound(src, 'sound/machines/click.ogg', 10, 1) update_icon() return @@ -93,7 +93,7 @@ to_chat(user, span_warning("\The [src] has no manipulator installed.")) return user.put_in_hands(manipulator) - user.visible_message("\The [user] levers \the [manipulator] from \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " levers \the [manipulator] from \the [src].")) playsound(src, thing.usesound, 50, 1) mat_cost = initial(mat_cost) manipulator = null @@ -109,7 +109,7 @@ user.drop_from_inventory(manipulator, src) playsound(src, 'sound/machines/click.ogg', 10,1) mat_cost = initial(mat_cost) / (2*manipulator.rating) - user.visible_message("\The [user] slots \the [manipulator] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " slots \the [manipulator] into \the [src].")) update_icon() update_rating_mod() return @@ -144,7 +144,7 @@ mat_storage += (SHEET_MATERIAL_AMOUNT/2*0.8) //two plasma ores needed per sheet, some inefficiency for not using refined product success = TRUE if(success) - user.visible_message("\The [user] loads \the [src] with \the [M].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " loads \the [src] with \the [M].")) playsound(src, 'sound/weapons/flipblade.ogg', 50, 1) update_icon() return diff --git a/code/modules/projectiles/guns/magnetic/magnetic.dm b/code/modules/projectiles/guns/magnetic/magnetic.dm index ecfef798c5..d221130421 100644 --- a/code/modules/projectiles/guns/magnetic/magnetic.dm +++ b/code/modules/projectiles/guns/magnetic/magnetic.dm @@ -151,7 +151,7 @@ cell = thing user.drop_from_inventory(cell, src) playsound(src, 'sound/machines/click.ogg', 10, 1) - user.visible_message("\The [user] slots \the [cell] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " slots \the [cell] into \the [src].")) update_icon() return @@ -160,7 +160,7 @@ to_chat(user, span_warning("\The [src] has no capacitor installed.")) return user.put_in_hands(capacitor) - user.visible_message("\The [user] unscrews \the [capacitor] from \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " unscrews \the [capacitor] from \the [src].")) playsound(src, thing.usesound, 50, 1) capacitor = null update_icon() @@ -174,7 +174,7 @@ user.drop_from_inventory(capacitor, src) playsound(src, 'sound/machines/click.ogg', 10, 1) power_per_tick = (power_cost*0.15) * capacitor.rating - user.visible_message("\The [user] slots \the [capacitor] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " slots \the [capacitor] into \the [src].")) update_icon() return @@ -195,7 +195,7 @@ loaded = new load_type(src, 1) ammo.use(1) - user.visible_message("\The [user] loads \the [src] with \the [loaded].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " loads \the [src] with \the [loaded].")) playsound(src, 'sound/weapons/flipblade.ogg', 50, 1) update_icon() return @@ -215,7 +215,7 @@ if(removing) removing.forceMove(get_turf(src)) user.put_in_hands(removing) - user.visible_message("\The [user] removes \the [removing] from \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " removes \the [removing] from \the [src].")) playsound(src, 'sound/machines/click.ogg', 10, 1) update_icon() return diff --git a/code/modules/projectiles/guns/magnetic/magnetic_construction.dm b/code/modules/projectiles/guns/magnetic/magnetic_construction.dm index ee98bb9f1f..058a2a1ceb 100644 --- a/code/modules/projectiles/guns/magnetic/magnetic_construction.dm +++ b/code/modules/projectiles/guns/magnetic/magnetic_construction.dm @@ -17,19 +17,19 @@ to_chat(user, span_warning("You need at least 5 [reinforcing.singular_name]\s for this task.")) return reinforcing.use(5) - user.visible_message("\The [user] shapes some steel sheets around \the [src] to form a body.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " shapes some steel sheets around \the [src] to form a body.")) increment_construction_stage() return if(istype(thing, /obj/item/tape_roll) && construction_stage == 2) - user.visible_message("\The [user] secures \the [src] together with \the [thing].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " secures \the [src] together with \the [thing].")) increment_construction_stage() return if(istype(thing, /obj/item/pipe) && construction_stage == 3) user.drop_from_inventory(thing) qdel(thing) - user.visible_message("\The [user] jams \the [thing] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " jams \the [thing] into \the [src].")) increment_construction_stage() return @@ -44,7 +44,7 @@ to_chat(user, span_warning("You need more fuel!")) return - user.visible_message("\The [user] welds the barrel of \the [src] into place.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " welds the barrel of \the [src] into place.")) playsound(src, 'sound/items/Welder2.ogg', 100, 1) increment_construction_stage() return @@ -55,19 +55,19 @@ to_chat(user, span_warning("You need at least 5 lengths of cable for this task.")) return cable.use(5) - user.visible_message("\The [user] wires \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " wires \the [src].")) increment_construction_stage() return if(istype(thing, /obj/item/smes_coil) && construction_stage >= 6 && construction_stage <= 8) - user.visible_message("\The [user] installs \a [thing] into \the [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " installs \a [thing] into \the [src].")) user.drop_from_inventory(thing) qdel(thing) increment_construction_stage() return if(thing.has_tool_quality(TOOL_SCREWDRIVER) && construction_stage >= 9) - user.visible_message("\The [user] secures \the [src] and finishes it off.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " secures \the [src] and finishes it off.")) playsound(src, 'sound/items/Screwdriver.ogg', 50, 1) var/obj/item/gun/magnetic/coilgun = new(loc) var/put_in_hands diff --git a/code/modules/projectiles/guns/projectile/dartgun.dm b/code/modules/projectiles/guns/projectile/dartgun.dm index b4f0e4c8b1..74bed8f9ff 100644 --- a/code/modules/projectiles/guns/projectile/dartgun.dm +++ b/code/modules/projectiles/guns/projectile/dartgun.dm @@ -134,7 +134,7 @@ /obj/item/gun/projectile/dartgun/attack_self(mob/user) user.set_machine(src) - var/dat = "[src] mixing control:

    " + var/dat = span_bold("[src] mixing control:") + "

    " if (beakers.len) var/i = 1 diff --git a/code/modules/projectiles/guns/projectile/shotgun_vr.dm b/code/modules/projectiles/guns/projectile/shotgun_vr.dm index 88f098ff7a..ebc499054f 100644 --- a/code/modules/projectiles/guns/projectile/shotgun_vr.dm +++ b/code/modules/projectiles/guns/projectile/shotgun_vr.dm @@ -54,7 +54,7 @@ one_handed_penalty = 15 //Stock extended to steady it, even with just the one hand. recoil = 1 //As above, stock and foregrip would help with the kick else - user.visible_message("\The [user] collapses their shotgun's stock and fold it's foregrip.",\ + user.visible_message(span_infoplain(span_bold("\The [user]") + " collapses their shotgun's stock and fold it's foregrip."),\ span_notice("You fold the shotgun's stock and foregrip."),\ "You hear a click.") icon_state = "compshotc" diff --git a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm index a19dd5283a..ae668dfb29 100644 --- a/code/modules/projectiles/projectile.dm +++ b/code/modules/projectiles/projectile.dm @@ -705,7 +705,7 @@ if(result == PROJECTILE_FORCE_MISS) if(!silenced) - target_mob.visible_message("\The [src] misses \the [target_mob] narrowly!") + target_mob.visible_message(span_infoplain(span_bold("\The [src]") + " misses \the [target_mob] narrowly!")) playsound(target_mob, "bullet_miss", 75, 1) return FALSE diff --git a/code/modules/projectiles/targeting/targeting_overlay.dm b/code/modules/projectiles/targeting/targeting_overlay.dm index 3d739d468d..ccc7b3931a 100644 --- a/code/modules/projectiles/targeting/targeting_overlay.dm +++ b/code/modules/projectiles/targeting/targeting_overlay.dm @@ -109,7 +109,7 @@ if(!locked && lock_time <= world.time) locked = 1 - to_chat(owner, "You are locked onto your target.") + to_chat(owner, span_notice("You are locked onto your target.")) to_chat(aiming_at, span_danger("The gun is trained on you!")) update_icon() @@ -217,7 +217,7 @@ if(istype(aiming_with, /obj/item/gun)) playsound(owner, 'sound/weapons/TargetOff.ogg', 50,1) if(!no_message) - owner.visible_message("\The [owner] lowers \the [aiming_with].") + owner.visible_message(span_infoplain(span_bold("\The [owner]") + " lowers \the [aiming_with].")) aiming_with = null aiming_at.aimed -= src diff --git a/code/modules/reagents/hoses/hose_connector.dm b/code/modules/reagents/hoses/hose_connector.dm index 0983d5262a..b8fbd7dc2f 100644 --- a/code/modules/reagents/hoses/hose_connector.dm +++ b/code/modules/reagents/hoses/hose_connector.dm @@ -7,8 +7,8 @@ description_info = "This tubing may be used to join two hose sockets, if able.
    \ Clicking on an object with a connector, such as a water tank, will display a list of possible sockets.
    \ Neutral can link to all socket types, and Input/Output sockets can link to all but their own type.

    \ - This hose does not stretch. The maximum distance you can move two objects from eachother\ - without snapping the tube is determined by distance upon connection." + " + span_warning("This hose does not stretch. The maximum distance you can move two objects from eachother\ + without snapping the tube is determined by distance upon connection.") icon = 'icons/obj/machines/reagent.dmi' icon_state = "hose" diff --git a/code/modules/reagents/machinery/chem_master.dm b/code/modules/reagents/machinery/chem_master.dm index d3bf797142..28b9da5343 100644 --- a/code/modules/reagents/machinery/chem_master.dm +++ b/code/modules/reagents/machinery/chem_master.dm @@ -429,13 +429,13 @@ var/obj/item/paper/P = new /obj/item/paper(loc) P.info = "
    Chemical Analysis

    " - P.info += "Time of analysis: [worldtime2stationtime(world.time)]

    " - P.info += "Chemical name: [R.name]
    " + P.info += span_bold("Time of analysis:") + " [worldtime2stationtime(world.time)]

    " + P.info += span_bold("Chemical name:") + " [R.name]
    " if(istype(R, /datum/reagent/blood)) var/datum/reagent/blood/B = R - P.info += "Description: N/A
    Blood Type: [B.data["blood_type"]]
    DNA: [B.data["blood_DNA"]]" + P.info += span_bold("Description:") + " N/A
    Blood Type: [B.data["blood_type"]]
    DNA: [B.data["blood_DNA"]]" else - P.info += "Description: [R.description]" + P.info += span_bold("Description:") + " [R.description]" P.info += "

    Notes:
    " P.name = "Chemical Analysis - [R.name]" spawn(50) diff --git a/code/modules/reagents/machinery/dispenser/cartridge.dm b/code/modules/reagents/machinery/dispenser/cartridge.dm index 0324ca049d..f66858cc0c 100644 --- a/code/modules/reagents/machinery/dispenser/cartridge.dm +++ b/code/modules/reagents/machinery/dispenser/cartridge.dm @@ -54,10 +54,10 @@ /obj/item/reagent_containers/chem_disp_cartridge/attack_self() ..() if (is_open_container()) - to_chat(usr, "You put the cap on \the [src].") + to_chat(usr, span_notice("You put the cap on \the [src].")) flags ^= OPENCONTAINER else - to_chat(usr, "You take the cap off \the [src].") + to_chat(usr, span_notice("You take the cap off \the [src].")) flags |= OPENCONTAINER /obj/item/reagent_containers/chem_disp_cartridge/afterattack(obj/target, mob/user , flag) diff --git a/code/modules/reagents/machinery/distillery.dm b/code/modules/reagents/machinery/distillery.dm index 74b139dcf6..308adbad43 100644 --- a/code/modules/reagents/machinery/distillery.dm +++ b/code/modules/reagents/machinery/distillery.dm @@ -108,8 +108,8 @@ . += span_notice("\The [src]'s gauges read:") if(!use_atmos) - . += span_notice("- Target Temperature: [target_temp]") - . += span_notice("- Temperature: [current_temp]") + . += span_notice("- Target Temperature:") + span_warning("[target_temp]") + . += span_notice("- Temperature:") + span_warning("[current_temp]") if(InputBeaker) if(InputBeaker.reagents.reagent_list.len) @@ -146,7 +146,7 @@ to_chat(user, span_notice("You press \the [src]'s chamber agitator button.")) if(on) - visible_message("\The [src] rattles to life.") + visible_message(span_infoplain(span_bold("\The [src]") + " rattles to life.")) reagents.handle_reactions() else spawn(1 SECOND) @@ -187,8 +187,8 @@ if("inspect gauges") to_chat(user, span_notice("\The [src]'s gauges read:")) if(!use_atmos) - to_chat(user, span_notice("- Target Temperature: [target_temp]")) - to_chat(user, span_notice("- Temperature: [current_temp]")) + to_chat(user, span_notice("- Target Temperature:") + span_warning("[target_temp]")) + to_chat(user, span_notice("- Temperature:") + span_warning("[current_temp]")) if("pulse agitator") toggle_mixing(user) @@ -315,7 +315,7 @@ if(target_temp == round(current_temp, 1.0)) current_temp = target_temp // Hard set it so we don't need to worry about exact decimals any more, after we've been keeping track of it all this time playsound(src, 'sound/machines/ping.ogg', 50, 0) - src.visible_message("\The [src] pings as it reaches the target temperature.") + src.visible_message(span_infoplain(span_bold("\The [src]") + " pings as it reaches the target temperature.")) else if(connected_port && avg_pressure > 1000) current_temp = round((current_temp + avg_temp) / 2) diff --git a/code/modules/reagents/machinery/grinder.dm b/code/modules/reagents/machinery/grinder.dm index b7fed72f63..cc699a2032 100644 --- a/code/modules/reagents/machinery/grinder.dm +++ b/code/modules/reagents/machinery/grinder.dm @@ -60,7 +60,7 @@ . += span_notice("- \A [O.name].") if(!(stat & (NOPOWER|BROKEN))) - . += "The status display reads:\n" + . += span_notice("The status display reads:") + "\n" if(beaker) for(var/datum/reagent/R in beaker.reagents.reagent_list) . += span_notice("- [R.volume] units of [R.name].") diff --git a/code/modules/reagents/machinery/injector_maker.dm b/code/modules/reagents/machinery/injector_maker.dm index 9365cedcdf..8d1cc8c7da 100644 --- a/code/modules/reagents/machinery/injector_maker.dm +++ b/code/modules/reagents/machinery/injector_maker.dm @@ -134,12 +134,12 @@ if(beaker) . += span_notice("- \A [beaker].") - . += "\The [src] contains [src.count_small_injector] small injectors and [src.count_large_injector] large injectors.\n " - . += " It can hold [capacity_small_injector] small and [capacity_large_injector] large injectors respectively.\n " - . += " \The [src] contains [src.count_plastic] units of plastic. It can hold up to [capacity_plastic] units.\n " + . += span_notice("\The [src] contains [src.count_small_injector] small injectors and [src.count_large_injector] large injectors.") + "\n" + . += span_notice("It can hold [capacity_small_injector] small and [capacity_large_injector] large injectors respectively.") + "\n" + . += span_notice("\The [src] contains [src.count_plastic] units of plastic. It can hold up to [capacity_plastic] units.") + "\n" if(!(stat & (NOPOWER|BROKEN))) - . += "The status display reads the following reagents:\n" + . += span_notice("The status display reads the following reagents:") + "\n" if(beaker) for(var/datum/reagent/R in beaker.reagents.reagent_list) . += span_notice("- [R.volume] units of [R.name].") diff --git a/code/modules/reagents/reagent_containers/_reagent_containers.dm b/code/modules/reagents/reagent_containers/_reagent_containers.dm index 615af4872f..2e2da0641b 100644 --- a/code/modules/reagents/reagent_containers/_reagent_containers.dm +++ b/code/modules/reagents/reagent_containers/_reagent_containers.dm @@ -79,7 +79,7 @@ var/contained = reagentlist() add_attack_logs(user,target,"Splashed with [src.name] containing [contained]") - // user.visible_message(span_danger("[target] has been splashed with something by [user]!"), "You splash the solution onto [target].") + // user.visible_message(span_danger("[target] has been splashed with something by [user]!"), span_notice("You splash the solution onto [target].")) balloon_alert_visible("[target] has been splashed with something by [user]!", "Splashed the solution onto [target]") // CHOMPEdit - Changed to balloon_alert reagents.splash(target, reagents.total_volume) return 1 diff --git a/code/modules/reagents/reagent_containers/borghypo.dm b/code/modules/reagents/reagent_containers/borghypo.dm index 477fdb4189..26235ad17a 100644 --- a/code/modules/reagents/reagent_containers/borghypo.dm +++ b/code/modules/reagents/reagent_containers/borghypo.dm @@ -103,16 +103,16 @@ return /obj/item/reagent_containers/borghypo/attack_self(mob/user as mob) //Change the mode - var/t = "" + var/t for(var/i = 1 to reagent_ids.len) if(t) t += ", " if(mode == i) - t += "[reagent_names[i]]" + t += span_bold("[reagent_names[i]]") else t += "[reagent_names[i]]" - t = "Available reagents: [t]." - to_chat(user,t) + t = "Available reagents: [t]." + to_chat(user,span_infoplain(t)) return diff --git a/code/modules/reagents/reagent_containers/glass.dm b/code/modules/reagents/reagent_containers/glass.dm index f377b6a2ea..9ede24b701 100644 --- a/code/modules/reagents/reagent_containers/glass.dm +++ b/code/modules/reagents/reagent_containers/glass.dm @@ -79,11 +79,11 @@ /obj/item/reagent_containers/glass/attack_self() ..() if(is_open_container()) - // to_chat(usr, "You put the lid on \the [src].") + // to_chat(usr, span_notice("You put the lid on \the [src].")) balloon_alert(usr, "Lid put on \the [src]") flags ^= OPENCONTAINER else - // to_chat(usr, "You take the lid off \the [src].") + // to_chat(usr, span_notice("You take the lid off \the [src].")) balloon_alert(usr, "Lid removed off \the [src]") // CHOMPEdit - Changed to ballopn alert flags |= OPENCONTAINER update_icon() diff --git a/code/modules/reagents/reagent_containers/spray.dm b/code/modules/reagents/reagent_containers/spray.dm index 3c85a14cf9..de3fc8baf9 100644 --- a/code/modules/reagents/reagent_containers/spray.dm +++ b/code/modules/reagents/reagent_containers/spray.dm @@ -143,12 +143,12 @@ /obj/item/reagent_containers/spray/pepper/attack_self(var/mob/user) safety = !safety - // to_chat(usr, "You switch the safety [safety ? "on" : "off"].") + // to_chat(usr, span_notice("You switch the safety [safety ? "on" : "off"].")) balloon_alert(usr, "Safety [safety ? "on" : "off"].") // CHOMPEdit - Changed to balloon alert /obj/item/reagent_containers/spray/pepper/Spray_at(atom/A as mob|obj) if(safety) - to_chat(usr, "The safety is on!") + to_chat(usr, span_warning("The safety is on!")) return . = ..() diff --git a/code/modules/reagents/reagent_containers/syringes.dm b/code/modules/reagents/reagent_containers/syringes.dm index f83753ef16..59897fe1e3 100644 --- a/code/modules/reagents/reagent_containers/syringes.dm +++ b/code/modules/reagents/reagent_containers/syringes.dm @@ -124,7 +124,7 @@ return if(T.isSynthetic()) - to_chat(user, "You can't draw blood from a synthetic!") + to_chat(user, span_warning("You can't draw blood from a synthetic!")) return if(drawing) @@ -279,7 +279,7 @@ if (target != user && H.getarmor(target_zone, "melee") > 5 && prob(50)) for(var/mob/O in viewers(world.view, user)) - O.show_message(span_red(text("[user] tries to stab [target] in \the [hit_area] with [src.name], but the attack is deflected by armor!")), 1) + O.show_message(span_bolddanger("[user] tries to stab [target] in \the [hit_area] with [src.name], but the attack is deflected by armor!"), 1) user.remove_from_mob(src) qdel(src) diff --git a/code/modules/reagents/reagents/medicine.dm b/code/modules/reagents/reagents/medicine.dm index 63eda0f538..c58be1cd22 100644 --- a/code/modules/reagents/reagents/medicine.dm +++ b/code/modules/reagents/reagents/medicine.dm @@ -356,7 +356,7 @@ var/obj/item/stack/medical/M = C.upgrade_stack(to_produce) if(M && M.get_amount()) - holder.my_atom.visible_message("\The [packname] bubbles.") + holder.my_atom.visible_message(span_infoplain(span_bold("\The [packname]") + " bubbles.")) remove_self(to_produce * 5) /datum/reagent/cryoxadone @@ -1295,7 +1295,7 @@ var/obj/item/stack/medical/M = C.upgrade_stack(to_produce) if(M && M.get_amount()) - holder.my_atom.visible_message("\The [packname] bubbles.") + holder.my_atom.visible_message(span_infoplain(span_bold("\The [packname]") + " bubbles.")) remove_self(to_produce) /datum/reagent/sterilizine diff --git a/code/modules/reagents/reagents/vore_vr.dm b/code/modules/reagents/reagents/vore_vr.dm index 123e024719..5f8f280436 100644 --- a/code/modules/reagents/reagents/vore_vr.dm +++ b/code/modules/reagents/reagents/vore_vr.dm @@ -113,7 +113,7 @@ else if(prob(1)) playsound(M, 'sound/vore/schlorp.ogg', 50, 1) P.absorbed = 0 - M.visible_message(span_green("Something spills into [M]'s [lowertext(B.name)]!")) + M.visible_message(span_infoplain(span_green(span_bold("Something spills into [M]'s [lowertext(B.name)]!")))) ////////////////////////// TF Drugs ////////////////////////// diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index a9c4e84260..7284770fce 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -110,7 +110,7 @@ if(istype(I, /obj/item/material/ashtray)) var/obj/item/material/ashtray/A = I if(A.contents.len > 0) - user.visible_message("\The [user] empties \the [A] into [src].") + user.visible_message(span_infoplain(span_bold("\The [user]") + " empties \the [A] into [src].")) for(var/obj/item/O in A.contents) O.forceMove(src) A.update_icon() diff --git a/code/modules/recycling/recycling.dm b/code/modules/recycling/recycling.dm index 54e25b8865..0ea24bfb02 100644 --- a/code/modules/recycling/recycling.dm +++ b/code/modules/recycling/recycling.dm @@ -44,7 +44,7 @@ if(can_accept_item(O)) M.drop_from_inventory(O) take_item(O) - M.visible_message("[M] inserts [O] into [src].", "You insert [O] into [src].") + M.visible_message(span_infoplain(span_bold("[M]") + " inserts [O] into [src]."), span_info("You insert [O] into [src].")) else to_chat(user, span_warning("\The [src] can't accept [O] for recycling.")) diff --git a/code/modules/resleeving/machines.dm b/code/modules/resleeving/machines.dm index 8508d1b55f..96d9517adc 100644 --- a/code/modules/resleeving/machines.dm +++ b/code/modules/resleeving/machines.dm @@ -634,8 +634,8 @@ occupant.apply_vore_prefs() //Cheap hack for now to give them SOME bellies. if(MR.one_time) var/how_long = round((world.time - MR.last_update)/10/60) - to_chat(occupant, "Your mind backup was a 'one-time' backup. \ - You will not be able to remember anything since the backup, [how_long] minutes ago.") + to_chat(occupant, span_danger("Your mind backup was a 'one-time' backup. \ + You will not be able to remember anything since the backup, [how_long] minutes ago.")) //Re-supply a NIF if one was backed up with them. if(MR.nif_path) diff --git a/code/modules/resleeving/resleeving_sickness.dm b/code/modules/resleeving/resleeving_sickness.dm index 92a60b9799..807a5e7c3d 100644 --- a/code/modules/resleeving/resleeving_sickness.dm +++ b/code/modules/resleeving/resleeving_sickness.dm @@ -4,8 +4,8 @@ desc = "You feel rather weak and unfocused, having been sleeved not so long ago." stacks = MODIFIER_STACK_EXTEND - on_created_text = span_warning("You feel weak and unfocused.") - on_expired_text = span_notice("You feel your strength and focus return to you.") + on_created_text = span_warning(span_large("You feel weak and unfocused.")) + on_expired_text = span_notice(span_large("You feel your strength and focus return to you.")) //YW Edit incoming_brute_damage_percent = 1.1 // 10% more brute damage YW Edit //YW Edit incoming_fire_damage_percent = 1.1 // 10% more burn damage diff --git a/code/modules/resleeving/sleevecard.dm b/code/modules/resleeving/sleevecard.dm index 11c373acad..def41f74dd 100644 --- a/code/modules/resleeving/sleevecard.dm +++ b/code/modules/resleeving/sleevecard.dm @@ -30,12 +30,12 @@ var/obj/item/card/emag/E = I if(E.uses && !emagged) E.uses -- - user.visible_message("\The [user] swipes a card over [src].","You swipe your [E] over [src].", range = 2, runemessage = "click") + user.visible_message(span_warning("\The [user] swipes a card over [src]."),span_warning("You swipe your [E] over [src]."), range = 2, runemessage = "click") emagged = TRUE if(pai) var/mob/living/silicon/pai/infomorph/our_infomorph = pai our_infomorph.emagged = TRUE - to_chat(our_infomorph, "You can feel the restricting binds of your card's directives taking hold of your mind as \the [user] swipes their [E] over you. You must serve your master.") + to_chat(our_infomorph, span_warning("You can feel the restricting binds of your card's directives taking hold of your mind as \the [user] swipes their [E] over you. You must serve your master.")) /obj/item/paicard/sleevecard/proc/sleeveInto(var/datum/transhuman/mind_record/MR, var/db_key) var/mob/living/silicon/pai/infomorph/infomorph = new(src,MR.mindname,db_key=db_key) diff --git a/code/modules/samples/samples.dm b/code/modules/samples/samples.dm index faa34d5e6f..66c62f285a 100644 --- a/code/modules/samples/samples.dm +++ b/code/modules/samples/samples.dm @@ -1,6 +1,6 @@ /obj/item/research_sample name = "research sample" - desc = "A curious sample of unknown material. Destructive analysis might yield scientific advances. Alternatively, it may be possible to stabilize it to yield useful resources instead.
    It looks dangerous to handle without heavy gloves or other protective equipment." + desc = "A curious sample of unknown material. Destructive analysis might yield scientific advances. Alternatively, it may be possible to stabilize it to yield useful resources instead.
    " + span_warning("It looks dangerous to handle without heavy gloves or other protective equipment.") icon = 'icons/obj/samples.dmi' icon_state = "sample" w_class = ITEMSIZE_TINY diff --git a/code/modules/scripting/IDE.dm b/code/modules/scripting/IDE.dm index 1d83a64c5c..13b2c46257 100644 --- a/code/modules/scripting/IDE.dm +++ b/code/modules/scripting/IDE.dm @@ -42,7 +42,7 @@ src << output(null, "tcserror") if(compileerrors.len) - src << output("Compile Errors", "tcserror") + src << output(span_bold("Compile Errors"), "tcserror") for(var/scriptError/e in compileerrors) src << output("\t>[e.message]", "tcserror") src << output("([compileerrors.len] errors)", "tcserror") @@ -51,7 +51,7 @@ for(var/mob/M in Machine.viewingcode) if(M.client) M << output(null, "tcserror") - M << output("Compile Errors", "tcserror") + M << output(span_bold("Compile Errors"), "tcserror") for(var/scriptError/e in compileerrors) M << output("\t>[e.message]", "tcserror") M << output("([compileerrors.len] errors)", "tcserror") @@ -93,7 +93,7 @@ src << output(null, "tcserror") if(compileerrors.len) - src << output("Compile Errors", "tcserror") + src << output(span_bold("Compile Errors"), "tcserror") for(var/scriptError/e in compileerrors) src << output("\t>[e.message]", "tcserror") src << output("([compileerrors.len] errors)", "tcserror") @@ -102,7 +102,7 @@ for(var/mob/M in Machine.viewingcode) if(M.client) M << output(null, "tcserror") - M << output("Compile Errors", "tcserror") + M << output(span_bold("Compile Errors"), "tcserror") for(var/scriptError/e in compileerrors) M << output("\t>[e.message]", "tcserror") M << output("([compileerrors.len] errors)", "tcserror") diff --git a/code/modules/scripting/Implementations/Telecomms.dm b/code/modules/scripting/Implementations/Telecomms.dm index 96a6662be8..c9c99dafaf 100644 --- a/code/modules/scripting/Implementations/Telecomms.dm +++ b/code/modules/scripting/Implementations/Telecomms.dm @@ -201,7 +201,7 @@ if(interpreter.GetVar("$source") in S.stored_names) setname = interpreter.GetVar("$source") else - setname = "[interpreter.GetVar("$source")]" + setname = span_italics("[interpreter.GetVar("$source")]") if(signal.data["name"] != setname) signal.data["realname"] = setname @@ -255,7 +255,7 @@ if(source in S.stored_names) newsign.data["name"] = source else - newsign.data["name"] = "[html_encode(uppertext(source))]" + newsign.data["name"] = span_italics("[html_encode(uppertext(source))]") newsign.data["realname"] = newsign.data["name"] newsign.data["job"] = job newsign.data["compression"] = 0 diff --git a/code/modules/security levels/keycard authentication.dm b/code/modules/security levels/keycard authentication.dm index b9e8096726..af953fd833 100644 --- a/code/modules/security levels/keycard authentication.dm +++ b/code/modules/security levels/keycard authentication.dm @@ -189,13 +189,13 @@ var/global/maint_all_access = 0 /proc/make_maint_all_access() maint_all_access = 1 - to_world(span_red("Attention!")) - to_world(span_red("The maintenance access requirement has been revoked on all airlocks.")) + to_world(span_alert(span_red(span_huge("Attention!")))) + to_world(span_alert(span_red("The maintenance access requirement has been revoked on all airlocks."))) /proc/revoke_maint_all_access() maint_all_access = 0 - to_world(span_red("Attention!")) - to_world(span_red("The maintenance access requirement has been readded on all maintenance airlocks.")) + to_world(span_alert(span_red(span_huge("Attention!")))) + to_world(span_alert(span_red("The maintenance access requirement has been readded on all maintenance airlocks."))) /obj/machinery/door/airlock/allowed(mob/M) if(maint_all_access && src.check_access_list(list(access_maint_tunnels))) diff --git a/code/modules/shieldgen/emergency_shield.dm b/code/modules/shieldgen/emergency_shield.dm index 20b7d79d23..e3094d57af 100644 --- a/code/modules/shieldgen/emergency_shield.dm +++ b/code/modules/shieldgen/emergency_shield.dm @@ -24,7 +24,7 @@ /obj/machinery/shield/proc/check_failure() if (src.health <= 0) - visible_message("\The [src] dissipates!") + visible_message(span_boldnotice("\The [src]") + " dissipates!") qdel(src) return diff --git a/code/modules/shuttles/shuttle_emergency.dm b/code/modules/shuttles/shuttle_emergency.dm index 1a894ee43f..6adaafe772 100644 --- a/code/modules/shuttles/shuttle_emergency.dm +++ b/code/modules/shuttles/shuttle_emergency.dm @@ -70,7 +70,7 @@ if (istype(user, /obj/machinery/computer/shuttle_control/emergency)) //if we were given a command by an emergency shuttle console if (emergency_shuttle.autopilot) emergency_shuttle.autopilot = 0 - to_world(span_notice("Alert: The shuttle autopilot has been overridden. Launch sequence initiated!")) + to_world(span_boldnotice("Alert: The shuttle autopilot has been overridden. Launch sequence initiated!")) if(usr) log_admin("[key_name(usr)] has overridden the departure shuttle's autopilot and activated the launch sequence.") @@ -84,7 +84,7 @@ if (istype(user, /obj/machinery/computer/shuttle_control/emergency)) //if we were given a command by an emergency shuttle console if (emergency_shuttle.autopilot) emergency_shuttle.autopilot = 0 - to_world(span_notice("Alert: The shuttle autopilot has been overridden. Bluespace drive engaged!")) + to_world(span_boldnotice("Alert: The shuttle autopilot has been overridden. Bluespace drive engaged!")) if(usr) log_admin("[key_name(usr)] has overridden the departure shuttle's autopilot and forced immediate launch.") @@ -98,7 +98,7 @@ if (istype(user, /obj/machinery/computer/shuttle_control/emergency)) //if we were given a command by an emergency shuttle console if (emergency_shuttle.autopilot) emergency_shuttle.autopilot = 0 - to_chat(world, span_notice("Alert: The shuttle autopilot has been overridden. Launch sequence aborted!")) + to_chat(world, span_boldnotice("Alert: The shuttle autopilot has been overridden. Launch sequence aborted!")) if(usr) log_admin("[key_name(usr)] has overridden the departure shuttle's autopilot and cancelled the launch sequence.") @@ -158,7 +158,7 @@ playsound(src, 'sound/machines/twobeep.ogg', 50, 0) authorized[dna_hash] = auth_name if (req_authorizations - authorized.len) - to_chat(world, span_notice("Alert: [req_authorizations - authorized.len] authorization\s needed to override the shuttle autopilot.")) //TODO- Belsima, make this an announcement instead of magic. + to_chat(world, span_boldnotice("Alert: [req_authorizations - authorized.len] authorization\s needed to override the shuttle autopilot.")) //TODO- Belsima, make this an announcement instead of magic. if(usr) log_admin("[key_name(usr)] has inserted [ID] into the shuttle control computer - [req_authorizations - authorized.len] authorisation\s needed") diff --git a/code/modules/surgery/bones.dm b/code/modules/surgery/bones.dm index e83d65e261..0c929127ef 100644 --- a/code/modules/surgery/bones.dm +++ b/code/modules/surgery/bones.dm @@ -90,8 +90,8 @@ user.balloon_alert_visible("Sets the bone in place.", "Bone set in place.") // CHOMPEdit - Balloon alert affected.stage = 2 else - user.visible_message("[user] sets the bone in [target]'s [affected.name] in the WRONG place with \the [tool].", \ - "You set the bone in [target]'s [affected.name] in the WRONG place with \the [tool].") + user.visible_message("[user] sets the bone in [target]'s [affected.name] " + span_danger("in the WRONG place with \the [tool]."), \ + "You set the bone in [target]'s [affected.name] " + span_danger("in the WRONG place with \the [tool].")) user.balloon_alert_visible("Sets the bone in the WRONG place.", "Bone set in the WRONG place.") // CHOMPEdit - Balloon alert affected.fracture() diff --git a/code/modules/tables/tables.dm b/code/modules/tables/tables.dm index ad96dc3e6f..4920d292d2 100644 --- a/code/modules/tables/tables.dm +++ b/code/modules/tables/tables.dm @@ -108,7 +108,7 @@ var/list/table_icon_cache = list() return 1 if(carpeted && W.has_tool_quality(TOOL_CROWBAR)) - user.visible_message("\The [user] removes the carpet from \the [src].", + user.visible_message(span_infoplain(span_bold("\The [user]") + " removes the carpet from \the [src]."), span_notice("You remove the carpet from \the [src].")) new carpeted_type(loc) carpeted = 0 @@ -118,7 +118,7 @@ var/list/table_icon_cache = list() if(!carpeted && material && istype(W, /obj/item/stack/tile/carpet)) var/obj/item/stack/tile/carpet/C = W if(C.use(1)) - user.visible_message("\The [user] adds \the [C] to \the [src].", + user.visible_message(span_infoplain(span_bold("\The [user]") + " adds \the [C] to \the [src]."), span_notice("You add \the [C] to \the [src].")) carpeted = 1 carpeted_type = W.type @@ -149,7 +149,7 @@ var/list/table_icon_cache = list() playsound(src, F.usesound, 50, 1) if(!do_after(user, 20 * F.toolspeed) || !F.remove_fuel(1, user)) return - user.visible_message("\The [user] repairs some damage to \the [src].", + user.visible_message(span_infoplain(span_bold("\The [user]") + " repairs some damage to \the [src]."), span_notice("You repair some damage to \the [src].")) health = max(health+(maxhealth/5), maxhealth) // 20% repair per application return 1 @@ -189,7 +189,7 @@ var/list/table_icon_cache = list() src.break_to_parts() user.do_attack_animation(src) return 1 - visible_message("\The [user] scratches at \the [src]!") + visible_message(span_infoplain(span_bold("\The [user]") + " scratches at \the [src]!")) return ..() /obj/structure/table/MouseDrop_T(obj/item/stack/material/what) @@ -258,14 +258,14 @@ var/list/table_icon_cache = list() if(manipulating) return M manipulating = 1 - user.visible_message("\The [user] begins removing the [type_holding] holding \the [src]'s [M.display_name] [what] in place.", + user.visible_message(span_infoplain(span_bold("\The [user]") + " begins removing the [type_holding] holding \the [src]'s [M.display_name] [what] in place."), span_notice("You begin removing the [type_holding] holding \the [src]'s [M.display_name] [what] in place.")) if(sound) playsound(src, sound, 50, 1) if(!do_after(user, delay)) manipulating = 0 return M - user.visible_message("\The [user] removes the [M.display_name] [what] from \the [src].", + user.visible_message(span_infoplain(span_bold("\The [user]") + " removes the [M.display_name] [what] from \the [src]."), span_notice("You remove the [M.display_name] [what] from \the [src].")) new M.stack_type(src.loc) manipulating = 0 @@ -280,13 +280,13 @@ var/list/table_icon_cache = list() /obj/structure/table/proc/dismantle(obj/item/W, mob/user) if(manipulating) return manipulating = 1 - user.visible_message("\The [user] begins dismantling \the [src].", + user.visible_message(span_infoplain(span_bold("\The [user]") + " begins dismantling \the [src]."), span_notice("You begin dismantling \the [src].")) playsound(src, W.usesound, 50, 1) if(!do_after(user, 20 * W.toolspeed)) manipulating = 0 return - user.visible_message("\The [user] dismantles \the [src].", + user.visible_message(span_infoplain(span_bold("\The [user]") + " dismantles \the [src]."), span_notice("You dismantle \the [src].")) new /obj/item/stack/material/steel(src.loc) qdel(src) diff --git a/code/modules/tgs/v5/chat_commands.dm b/code/modules/tgs/v5/chat_commands.dm index bd7d6e36c2..e082568a55 100644 --- a/code/modules/tgs/v5/chat_commands.dm +++ b/code/modules/tgs/v5/chat_commands.dm @@ -130,8 +130,8 @@ GLOBAL_LIST_EMPTY(pending_discord_registrations) return "[sender.friendly_name], it appears you've already registered your chat and game IDs. If you've changed game or chat usernames, please contact an administrator for help." qdel(query2) //CHOMPEdit TGSQL // Okay. We found them, they're in the DB, and they have no discord ID set. - var/message = "A request has been sent from Discord to validate your Byond username, by '[sender.friendly_name]' in '[sender.channel.friendly_name]'\ -
    If you did not send this request, do not click the link below, and do notify an administrator in-game or on Discord ASAP.\ + var/message = span_notice("A request has been sent from Discord to validate your Byond username, by '[sender.friendly_name]' in '[sender.channel.friendly_name]'") + "\ +
    " + span_warning("If you did not send this request, do not click the link below, and do notify an administrator in-game or on Discord ASAP.") + "\
    Click Here if you authorized this registration attempt. This link is valid for 10 minutes." to_chat(user, message) diff --git a/code/modules/tgui/modules/admin/player_notes.dm b/code/modules/tgui/modules/admin/player_notes.dm index 38555479e9..2b1d8be8d6 100644 --- a/code/modules/tgui/modules/admin/player_notes.dm +++ b/code/modules/tgui/modules/admin/player_notes.dm @@ -195,7 +195,7 @@ PlayerNotesPageLegacy(1, filter) /datum/admins/proc/PlayerNotesPageLegacy(page, filter) - var/dat = "Player notes - Apply Filter
    " + var/dat = span_bold("Player notes") + " - Apply Filter
    " var/savefile/S=new("data/player_notes.sav") var/list/note_keys S >> note_keys @@ -234,11 +234,9 @@ // Display a footer to select different pages for(var/index = 1, index <= number_pages, index++) - if(index == page) - dat += "" dat += "[index] " if(index == page) - dat += "" + dat = span_bold(dat) usr << browse(dat, "window=player_notes;size=400x400") @@ -263,7 +261,7 @@ if(C.ckey == key) p_age = C.player_age break - dat +="Player age: [p_age]
    " + dat += span_black(span_bold("Player age: [p_age]")) + "
    " var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav") var/list/infos diff --git a/code/modules/tgui/modules/crew_monitor.dm b/code/modules/tgui/modules/crew_monitor.dm index 3ceb6a38ce..fec4229f52 100644 --- a/code/modules/tgui/modules/crew_monitor.dm +++ b/code/modules/tgui/modules/crew_monitor.dm @@ -15,7 +15,7 @@ var/turf/T = get_turf(usr) if(!T || !(T.z in using_map.player_levels)) - to_chat(usr, span_warning("Unable to establish a connection: You're too far away from the station!")) + to_chat(usr, span_boldwarning("Unable to establish a connection") + ": You're too far away from the station!") return FALSE switch(action) diff --git a/code/modules/tgui/modules/ntos-only/cardmod.dm b/code/modules/tgui/modules/ntos-only/cardmod.dm index f42c29a433..c399e68ba7 100644 --- a/code/modules/tgui/modules/ntos-only/cardmod.dm +++ b/code/modules/tgui/modules/ntos-only/cardmod.dm @@ -151,7 +151,7 @@ to_chat(usr, span_notice("Hardware error: Printer was unable to print the file. It may be out of paper.")) return else - computer.visible_message("\The [computer] prints out paper.") + computer.visible_message(span_bold("\The [computer]") + " prints out paper.") else var/contents = {"

    Crew Manifest


    @@ -161,7 +161,7 @@ to_chat(usr, span_notice("Hardware error: Printer was unable to print the file. It may be out of paper.")) return else - computer.visible_message("\The [computer] prints out paper.") + computer.visible_message(span_bold("\The [computer]") + " prints out paper.") . = TRUE if("modify") if(computer && computer.card_slot) diff --git a/code/modules/tgui_panel/tgui_panel.dm b/code/modules/tgui_panel/tgui_panel.dm index 111a0c3faf..5cfd9597a3 100644 --- a/code/modules/tgui_panel/tgui_panel.dm +++ b/code/modules/tgui_panel/tgui_panel.dm @@ -63,7 +63,7 @@ */ /datum/tgui_panel/proc/on_initialize_timed_out() // Currently does nothing but sending a message to old chat. - // SEND_TEXT(client, "Failed to load fancy chat, click HERE to attempt to reload it.") + // SEND_TEXT(client, span_userdanger("Failed to load fancy chat, click HERE to attempt to reload it.")) /** * private diff --git a/code/modules/turbolift/turbolift.dm b/code/modules/turbolift/turbolift.dm index 24d37b8c1d..0abe91cc90 100644 --- a/code/modules/turbolift/turbolift.dm +++ b/code/modules/turbolift/turbolift.dm @@ -118,7 +118,7 @@ return PROCESS_KILL if(LIFT_WAITING_A) var/area/turbolift/origin = locate(current_floor.area_ref) - control_panel_interior.visible_message("The elevator announces, \"[origin.lift_announce_str]\"") + control_panel_interior.visible_message(span_infoplain(span_bold("The elevator") + " announces, \"[origin.lift_announce_str]\"")) next_process = world.time + floor_wait_delay busy_state = LIFT_WAITING_B if(LIFT_WAITING_B) diff --git a/code/modules/turbolift/turbolift_console.dm b/code/modules/turbolift/turbolift_console.dm index b8a283b0ec..038924f6f6 100644 --- a/code/modules/turbolift/turbolift_console.dm +++ b/code/modules/turbolift/turbolift_console.dm @@ -26,7 +26,7 @@ if(user.a_intent == I_HURT) user.visible_message(span_danger("\The [user] hammers on the lift button!")) else - user.visible_message("\The [user] presses the lift button.") + user.visible_message(span_infoplain(span_bold("\The [user]") + " presses the lift button.")) /obj/structure/lift/New(var/newloc, var/datum/turbolift/_lift) diff --git a/code/modules/vehicles/cargo_train.dm b/code/modules/vehicles/cargo_train.dm index da837af81d..f027592d14 100644 --- a/code/modules/vehicles/cargo_train.dm +++ b/code/modules/vehicles/cargo_train.dm @@ -174,8 +174,8 @@ if(is_train_head() && istype(load, /mob/living/carbon/human)) var/mob/living/carbon/human/D = load - to_chat(D, span_red("You ran over [M]!")) - visible_message(span_red("\The [src] ran over [M]!")) + to_chat(D, span_bolddanger("You ran over [M]!")) + visible_message(span_bolddanger("\The [src] ran over [M]!")) add_attack_logs(D,M,"Ran over with [src.name]") attack_log += text("\[[time_stamp()]\] [span_red("ran over [M.name] ([M.ckey]), driven by [D.name] ([D.ckey])")]") else diff --git a/code/modules/vehicles/vehicle.dm b/code/modules/vehicles/vehicle.dm index 59ad444ee0..0b7e0e5d5d 100644 --- a/code/modules/vehicles/vehicle.dm +++ b/code/modules/vehicles/vehicle.dm @@ -243,7 +243,7 @@ return TRUE /obj/vehicle/proc/explode() - src.visible_message(span_red("[src] blows apart!"), 1) + src.visible_message(span_bolddanger("[src] blows apart!"), 1) playsound(src, 'modular_chomp/sound/effects/explosions/vehicleexplosion.ogg', 100, 8, 3) //CHOMPedit: New sound effects. var/turf/Tsec = get_turf(src) diff --git a/code/modules/ventcrawl/ventcrawl.dm b/code/modules/ventcrawl/ventcrawl.dm index 226ff640a4..698d09bc31 100644 --- a/code/modules/ventcrawl/ventcrawl.dm +++ b/code/modules/ventcrawl/ventcrawl.dm @@ -190,7 +190,7 @@ var/list/ventcrawl_machinery = list( if(!can_ventcrawl()) return - visible_message("[src] scrambles into the ventilation ducts!", "You climb into the ventilation system.") + visible_message(span_infoplain(span_bold("[src] scrambles into the ventilation ducts!")), span_infoplain("You climb into the ventilation system.")) forceMove(vent_found) add_ventcrawl(vent_found) diff --git a/code/modules/virus2/curer.dm b/code/modules/virus2/curer.dm index a901d64806..fda185f15f 100644 --- a/code/modules/virus2/curer.dm +++ b/code/modules/virus2/curer.dm @@ -18,7 +18,7 @@ return if(istype(I,/obj/item/virusdish)) if(virusing) - to_chat(user, "The pathogen materializer is still recharging..") + to_chat(user, span_infoplain(span_bold("The pathogen materializer is still recharging..."))) return var/obj/item/reagent_containers/glass/beaker/product = new(src.loc) diff --git a/code/modules/vore/chat_healthbars.dm b/code/modules/vore/chat_healthbars.dm index 2ead55550f..4096d572cf 100644 --- a/code/modules/vore/chat_healthbars.dm +++ b/code/modules/vore/chat_healthbars.dm @@ -91,13 +91,13 @@ ourbar = "[ourbar] [which_var] - [src.name]" if(stat == UNCONSCIOUS) - ourbar = "[ourbar] - [span_orange("UNCONSCIOUS")]" + ourbar = "[ourbar] - [span_orange(span_bold("UNCONSCIOUS"))]" else if(stat == DEAD) - ourbar = "[ourbar] - [span_red("DEAD")]" + ourbar = "[ourbar] - [span_red(span_bold("DEAD"))]" if(absorbed) ourbar = span_purple("[ourbar] - ABSORBED") //Absorb is a little funny, I didn't want it to say 'absorbing ABSORBED' so we did it different else if(ourpercent > 99 && digest_mode == DM_HEAL) - ourbar = span_green("[ourbar] - [digest_mode]ed") + ourbar = span_green(span_bold("[ourbar] - [digest_mode]ed")) else if(ourpercent > 75) ourbar = span_green("[ourbar] - [digest_mode]ing") else if(ourpercent > 50) @@ -107,7 +107,7 @@ else if(ourpercent > 0) ourbar = span_red("[ourbar] - [digest_mode]ing") else - ourbar = span_red("[ourbar] - [digest_mode]ed") + ourbar = span_red(span_bold("[ourbar] - [digest_mode]ed")) if(onExamine) to_chat(reciever,span_notice("[ourbar]")) diff --git a/code/modules/vore/eating/belly_messages.dm b/code/modules/vore/eating/belly_messages.dm index 0ba675a6de..f918322b58 100644 --- a/code/modules/vore/eating/belly_messages.dm +++ b/code/modules/vore/eating/belly_messages.dm @@ -255,7 +255,7 @@ GLOBAL_LIST_INIT(vore_words_snake, list("snake","serpent","reptilian","noodle"," if(total_bulge < bulge_size || bulge_size == 0) return "" - return(span_red("[belly_format_string(raw_message, english_list(vore_contents))]")) + return(span_red(span_italics("[belly_format_string(raw_message, english_list(vore_contents))]"))) /obj/belly/proc/get_examine_msg_absorbed() if(!(contents?.len) || !(examine_messages_absorbed?.len) || !display_absorbed_examine) //ChompEDIT - runtimes @@ -273,7 +273,7 @@ GLOBAL_LIST_INIT(vore_words_snake, list("snake","serpent","reptilian","noodle"," if(!absorbed_count) return "" - return(span_red("[belly_format_string(raw_message, english_list(absorbed_victims), use_absorbed_count = TRUE)]")) + return(span_red(span_italics("[belly_format_string(raw_message, english_list(absorbed_victims), use_absorbed_count = TRUE)]"))) // The next function gets the messages set on the belly, in human-readable format. // This is useful in customization boxes and such. The delimiter right now is \n\n so diff --git a/code/modules/vore/eating/belly_obj_vr.dm b/code/modules/vore/eating/belly_obj_vr.dm index 42ea329ba1..9641a757e5 100644 --- a/code/modules/vore/eating/belly_obj_vr.dm +++ b/code/modules/vore/eating/belly_obj_vr.dm @@ -408,7 +408,7 @@ if(istype(thing, /mob/observer)) //Ports CHOMPStation PR#3072 if(desc) //Ports CHOMPStation PR#4772 //Allow ghosts see where they are if they're still getting squished along inside. - to_chat(thing, span_vnotice("[belly_format_string(desc, thing)]")) + to_chat(thing, span_vnotice(span_bold("[belly_format_string(desc, thing)]"))) if(OldLoc in contents) return //Someone dropping something (or being stripdigested) @@ -458,7 +458,7 @@ //Was there a description text? If so, it's time to format it! if(raw_desc) //Replace placeholder vars - to_chat(M, span_vnotice("[belly_format_string(raw_desc, M)]")) + to_chat(M, span_vnotice(span_bold("[belly_format_string(raw_desc, M)]"))) var/taste if(can_taste && M.loc == src && (taste = M.get_taste_message(FALSE))) //CHOMPEdit - Prevent indirect tasting @@ -939,7 +939,7 @@ //Print notifications/sound if necessary if(!silent && count) - owner.visible_message(span_vnotice("[span_green("[owner] [release_verb] everything from their [lowertext(name)]!")]"), range = privacy_range) + owner.visible_message(span_vnotice(span_green(span_bold("[owner] [release_verb] everything from their [lowertext(name)]!"))), range = privacy_range) var/soundfile if(!fancy_vore) soundfile = classic_release_sounds[release_sound] @@ -1027,7 +1027,7 @@ if(istype(M, /mob/observer)) //CHOMPEdit silent = TRUE if(!silent) - owner.visible_message(span_vnotice("[span_green("[owner] [release_verb] [M] from their [lowertext(name)]!")]"),range = privacy_range) + owner.visible_message(span_vnotice(span_green(span_bold("[owner] [release_verb] [M] from their [lowertext(name)]!"))),range = privacy_range) var/soundfile if(!fancy_vore) soundfile = classic_release_sounds[release_sound] @@ -1254,7 +1254,7 @@ if(absorbed_desc) //Replace placeholder vars - to_chat(M, span_vnotice("[belly_format_string(absorbed_desc, M)]")) + to_chat(M, span_vnotice(span_bold("[belly_format_string(absorbed_desc, M)]"))) //Update owner owner.updateVRPanel() @@ -1283,7 +1283,7 @@ to_chat(owner, span_vnotice(belly_format_string(unabsorb_messages_owner, M, use_absorbed_count = TRUE))) if(desc) - to_chat(M, span_vnotice("[belly_format_string(desc, M)]")) + to_chat(M, span_vnotice(span_bold("[belly_format_string(desc, M)]"))) //Update owner owner.updateVRPanel() diff --git a/code/modules/vore/eating/inbelly_spawn.dm b/code/modules/vore/eating/inbelly_spawn.dm index 4ae30b1efa..9668511792 100644 --- a/code/modules/vore/eating/inbelly_spawn.dm +++ b/code/modules/vore/eating/inbelly_spawn.dm @@ -51,7 +51,7 @@ Please do not abuse this ability. // Only humans, simple_mobs and non-AI silicons are included. Obscure stuff like bots is skipped. if(!eligible_targets.len) - to_chat(src, "No eligible preds were found.") // :( + to_chat(src, span_notice("No eligible preds were found.")) // :( return var/mob/living/target = tgui_input_list(src, "Please specify which character you want to spawn inside of.", "Predator", eligible_targets) // Offer the list of things we gathered. @@ -60,7 +60,7 @@ Please do not abuse this ability. return // Notify them that its now pred's turn - to_chat(src, "Inbelly spawn request sent to predator.") + to_chat(src, span_notice("Inbelly spawn request sent to predator.")) target.inbelly_spawn_prompt(client) // Hand reins over to them /mob/living/proc/inbelly_spawn_prompt(client/potential_prey) @@ -70,27 +70,27 @@ Please do not abuse this ability. // Are we cool with this prey spawning in at all? var/answer = tgui_alert(src, "[potential_prey.prefs.real_name] wants to spawn in one of your bellies. Do you accept?", "Inbelly Spawning", list("Yes", "No")) //CHOMPEdit - hides ckey if(answer != "Yes") - to_chat(potential_prey, "Your request was turned down.") + to_chat(potential_prey, span_notice("Your request was turned down.")) return // Let them know so that they don't spam it. - to_chat(potential_prey, "Predator agreed to your request. Wait a bit while they choose a belly.") + to_chat(potential_prey, span_notice("Predator agreed to your request. Wait a bit while they choose a belly.")) // Where we dropping? var/obj/belly/belly_choice = tgui_input_list(src, "Choose Target Belly", "Belly Choice", src.vore_organs) // Wdym nowhere? if(!belly_choice || !istype(belly_choice)) - to_chat(potential_prey, "Something went wrong with predator selecting a belly. Try again?") - to_chat(src, "No valid belly selected. Inbelly spawn cancelled.") + to_chat(potential_prey, span_notice("Something went wrong with predator selecting a belly. Try again?")) + to_chat(src, span_notice("No valid belly selected. Inbelly spawn cancelled.")) return // Extra caution never hurts if(belly_choice.digest_mode == DM_DIGEST) var/digest_answer = tgui_alert(src, "[belly_choice] is currently set to Digest. Are you sure you want to spawn prey there?", "Inbelly Spawning", list("Yes", "No")) if(digest_answer != "Yes") - to_chat(potential_prey, "Something went wrong with predator selecting a belly. Try again?") - to_chat(src, "Inbelly spawn cancelled.") + to_chat(potential_prey, span_notice("Something went wrong with predator selecting a belly. Try again?")) + to_chat(src, span_notice("Inbelly spawn cancelled.")) // Are they already fat (and/or appropriate equivalent)? var/absorbed = FALSE @@ -101,18 +101,18 @@ Please do not abuse this ability. // They disappeared? if(!potential_prey) - to_chat(src, "No prey found. Something went wrong!") + to_chat(src, span_notice("No prey found. Something went wrong!")) return // Final confirmation for pred var/confirmation_pred = tgui_alert(src, "Are you certain that you want [potential_prey.prefs.real_name] spawned in your [belly_choice][absorbed ? ", absorbed" : ""]?", "Inbelly Spawning", list("Yes", "No")) if(confirmation_pred != "Yes") - to_chat(potential_prey, "Your pred couldn't finish selection. Try again?") - to_chat(src, "Inbelly spawn cancelled.") + to_chat(potential_prey, span_notice("Your pred couldn't finish selection. Try again?")) + to_chat(src, span_notice("Inbelly spawn cancelled.")) return - to_chat(src, "Waiting for prey's confirmation...") + to_chat(src, span_notice("Waiting for prey's confirmation...")) // And final confirmation for prey var/confirmation_prey = tgui_alert(potential_prey, "Are you certain that you to spawn in [src]'s [belly_choice][absorbed ? ", absorbed" : ""]?", "Inbelly Spawning", list("Yes", "No")) @@ -120,13 +120,13 @@ Please do not abuse this ability. if(confirmation_prey == "Yes" && potential_prey && src && belly_choice) //Now we finally spawn them in! if(!is_alien_whitelisted(potential_prey, GLOB.all_species[potential_prey.prefs.species])) - to_chat(potential_prey, "You are not whitelisted to play as currently selected character.") - to_chat(src, "Prey accepted the confirmation, but something went wrong with spawning their character.") + to_chat(potential_prey, span_notice("You are not whitelisted to play as currently selected character.")) + to_chat(src, span_notice("Prey accepted the confirmation, but something went wrong with spawning their character.")) return inbelly_spawn(potential_prey, src, belly_choice, absorbed) else - to_chat(potential_prey, "Inbelly spawn cancelled.") - to_chat(src, "Prey cancelled their inbelly spawn request.") + to_chat(potential_prey, span_notice("Inbelly spawn cancelled.")) + to_chat(src, span_notice("Prey cancelled their inbelly spawn request.")) return /proc/inbelly_spawn(client/prey, mob/living/pred, obj/belly/target_belly, var/absorbed = FALSE) diff --git a/code/modules/vore/eating/living_vr.dm b/code/modules/vore/eating/living_vr.dm index 9b6e1573b4..d312ccb0b4 100644 --- a/code/modules/vore/eating/living_vr.dm +++ b/code/modules/vore/eating/living_vr.dm @@ -530,10 +530,10 @@ setClickCooldown(DEFAULT_ATTACK_COOLDOWN) if(tasted == src) //CHOMPEdit Start - visible_message(span_vwarning("[src] licks themself!"),span_notice("You lick yourself. You taste rather like [tasted.get_taste_message()].")) + visible_message(span_vwarning("[src] licks themself!"),span_notice("You lick yourself. You taste rather like [tasted.get_taste_message()]."),span_infoplain(span_bold("Slurp!"))) balloon_alert_visible("Licks themself!", "Tastes like [tasted.get_taste_message()]") else - visible_message(span_vwarning("[src] licks [tasted]!"),span_notice("You lick [tasted]. They taste rather like [tasted.get_taste_message()].")) + visible_message(span_vwarning("[src] licks [tasted]!"),span_notice("You lick [tasted]. They taste rather like [tasted.get_taste_message()]."),span_infoplain(span_bold("Slurp!"))) balloon_alert_visible("Licks [tasted]!", "Tastes like [tasted.get_taste_message()]") //CHOMPEdit End @@ -575,10 +575,10 @@ setClickCooldown(DEFAULT_ATTACK_COOLDOWN) if(smelled == src) //CHOMPEdit Start - visible_message(span_vwarning("[src] smells themself!"),span_notice("You smell yourself. You smell like [smelled.get_smell_message()]."),"Sniff!") + visible_message(span_vwarning("[src] smells themself!"),span_notice("You smell yourself. You smell like [smelled.get_smell_message()]."),span_infoplain(span_bold("Sniff!"))) balloon_alert_visible("Smells themself!", "Smells like [smelled.get_smell_message()]") else - visible_message(span_vwarning("[src] smells [smelled]!"),span_notice("You smell [smelled]. They smell like [smelled.get_smell_message()]."),"Sniff!") + visible_message(span_vwarning("[src] smells [smelled]!"),span_notice("You smell [smelled]. They smell like [smelled.get_smell_message()]."),span_infoplain(span_bold("Sniff!"))) balloon_alert_visible("Smells [smelled]!", "Smells like [smelled.get_smell_message()]") //CHOMPEdit End @@ -932,7 +932,7 @@ //If they're passed out, the light won't help them. Same with buckled. Really, I think it's fine to do this whenever. glow_toggle = !glow_toggle - to_chat(src,span_notice("You [glow_toggle ? "en" : "dis"]able your body's glow.")) + to_chat(src,span_notice("You " + span_bold("[glow_toggle ? "en" : "dis"]") + "able your body's glow.")) /mob/living/proc/glow_color() set name = "Glow (Set Color)" @@ -1075,7 +1075,7 @@ var/obj/item/paicard/ourcard = I if(ourcard.pai && ourcard.pai.client && isbelly(ourcard.loc)) var/obj/belly/B = ourcard.loc - to_chat(ourcard.pai, "[B.desc]") + to_chat(ourcard.pai, span_boldnotice("[B.desc]")) else if(istype(I,/obj/item/reagent_containers/food)) var/obj/item/reagent_containers/food/F = I if(!F.reagents.total_volume) @@ -1089,7 +1089,7 @@ if(C.bound_mob && (C.bound_mob in C.contents)) if(isbelly(C.loc)) //var/obj/belly/B = C.loc //CHOMPedit - //to_chat(C.bound_mob, "Outside of your crystal, you can see; [B.desc]") //CHOMPedit: moved to modular_chomp capture_crystal.dm + //to_chat(C.bound_mob, span_notice("Outside of your crystal, you can see; " + span_notice("[B.desc]"))) //CHOMPedit: moved to modular_chomp capture_crystal.dm to_chat(src, span_notice("You can taste the the power of command.")) // CHOMPedit begin else if(istype(I,/obj/item/starcaster_news)) @@ -1288,7 +1288,7 @@ /mob/living/examine(mob/user, infix, suffix) . = ..() if(custom_link) - . += "Custom link: [custom_link]" + . += "Custom link: " + span_linkify("[custom_link]") if(ooc_notes) . += "OOC Notes: \[View\] - \[Print\]" . += "\[Mechanical Vore Preferences\]" @@ -1328,7 +1328,6 @@ /mob/living/proc/display_voreprefs(mob/user) //Called by Topic() calls on instances of /mob/living (and subtypes) containing vore_prefs as an argument if(!user) CRASH("display_voreprefs() was called without an associated user.") - var/dat = "
    " + span_bold("[src]'s vore preferences") + "

    " if(!client?.prefs?.read_preference(/datum/preference/toggle/show_ooc)) dat += span_red(span_bold("OOC DISABLED")) + "
    " @@ -1418,124 +1417,124 @@ for(var/belly in vore_organs) if(isbelly(belly)) var/obj/belly/B = belly - to_chat(src, span_chatexport("Belly name: [B.name]")) - to_chat(src, span_chatexport("Belly desc: [B.desc]")) - to_chat(src, span_chatexport("Belly absorbed desc: [B.absorbed_desc]")) - to_chat(src, span_chatexport("Vore verb: [B.vore_verb]")) - to_chat(src, span_chatexport("Struggle messages (outside):")) + to_chat(src, span_chatexport(span_bold("Belly name:") + " [B.name]")) + to_chat(src, span_chatexport(span_bold("Belly desc:") + " [B.desc]")) + to_chat(src, span_chatexport(span_bold("Belly absorbed desc:") + " [B.absorbed_desc]")) + to_chat(src, span_chatexport(span_bold("Vore verb:") + " [B.vore_verb]")) + to_chat(src, span_chatexport(span_bold("Struggle messages (outside):"))) for(var/msg in B.struggle_messages_outside) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Struggle messages (inside):")) + to_chat(src, span_chatexport(span_bold("Struggle messages (inside):"))) for(var/msg in B.struggle_messages_inside) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed struggle messages (outside):")) + to_chat(src, span_chatexport(span_bold("Absorbed struggle messages (outside):"))) for(var/msg in B.absorbed_struggle_messages_outside) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed struggle messages (inside):")) + to_chat(src, span_chatexport(span_bold("Absorbed struggle messages (inside):"))) for(var/msg in B.absorbed_struggle_messages_inside) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape attempt messages (owner):")) + to_chat(src, span_chatexport(span_bold("Escape attempt messages (owner):"))) for(var/msg in B.escape_attempt_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape attempt messages (prey):")) + to_chat(src, span_chatexport(span_bold("Escape attempt messages (prey):"))) for(var/msg in B.escape_attempt_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape messages (owner):")) + to_chat(src, span_chatexport(span_bold("Escape messages (owner):"))) for(var/msg in B.escape_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape messages (prey):")) + to_chat(src, span_chatexport(span_bold("Escape messages (prey):"))) for(var/msg in B.escape_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape messages (outside):")) + to_chat(src, span_chatexport(span_bold("Escape messages (outside):"))) for(var/msg in B.escape_messages_outside) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape item messages (owner):")) + to_chat(src, span_chatexport(span_bold("Escape item messages (owner):"))) for(var/msg in B.escape_item_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape item messages (prey):")) + to_chat(src, span_chatexport(span_bold("Escape item messages (prey):"))) for(var/msg in B.escape_item_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape item messages (outside):")) + to_chat(src, span_chatexport(span_bold("Escape item messages (outside):"))) for(var/msg in B.escape_item_messages_outside) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape fail messages (owner):")) + to_chat(src, span_chatexport(span_bold("Escape fail messages (owner):"))) for(var/msg in B.escape_fail_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Escape fail messages (prey):")) + to_chat(src, span_chatexport(span_bold("Escape fail messages (prey):"))) for(var/msg in B.escape_fail_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed escape attempt messages (owner):")) + to_chat(src, span_chatexport(span_bold("Absorbed escape attempt messages (owner):"))) for(var/msg in B.escape_attempt_absorbed_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed escape attempt messages (prey):")) + to_chat(src, span_chatexport(span_bold("Absorbed escape attempt messages (prey):"))) for(var/msg in B.escape_attempt_absorbed_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed escape messages (owner):")) + to_chat(src, span_chatexport(span_bold("Absorbed escape messages (owner):"))) for(var/msg in B.escape_absorbed_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed escape messages (prey):")) + to_chat(src, span_chatexport(span_bold("Absorbed escape messages (prey):"))) for(var/msg in B.escape_absorbed_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed escape messages (outside):")) + to_chat(src, span_chatexport(span_bold("Absorbed escape messages (outside):"))) for(var/msg in B.escape_absorbed_messages_outside) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed escape fail messages (owner):")) + to_chat(src, span_chatexport(span_bold("Absorbed escape fail messages (owner):"))) for(var/msg in B.escape_fail_absorbed_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorbed escape fail messages (prey):")) + to_chat(src, span_chatexport(span_bold("Absorbed escape fail messages (prey):"))) for(var/msg in B.escape_fail_absorbed_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Primary transfer messages (owner):")) + to_chat(src, span_chatexport(span_bold("Primary transfer messages (owner):"))) for(var/msg in B.primary_transfer_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Primary transfer messages (prey):")) + to_chat(src, span_chatexport(span_bold("Primary transfer messages (prey):"))) for(var/msg in B.primary_transfer_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Secondary transfer messages (owner):")) + to_chat(src, span_chatexport(span_bold("Secondary transfer messages (owner):"))) for(var/msg in B.secondary_transfer_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Secondary transfer messages (prey):")) + to_chat(src, span_chatexport(span_bold("Secondary transfer messages (prey):"))) for(var/msg in B.secondary_transfer_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Digest chance messages (owner):")) + to_chat(src, span_chatexport(span_bold("Digest chance messages (owner):"))) for(var/msg in B.digest_chance_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Digest chance messages (prey):")) + to_chat(src, span_chatexport(span_bold("Digest chance messages (prey):"))) for(var/msg in B.digest_chance_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorb chance messages (owner):")) + to_chat(src, span_chatexport(span_bold("Absorb chance messages (owner):"))) for(var/msg in B.absorb_chance_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorb chance messages (prey):")) + to_chat(src, span_chatexport(span_bold("Absorb chance messages (prey):"))) for(var/msg in B.absorb_chance_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Digest messages (owner):")) + to_chat(src, span_chatexport(span_bold("Digest messages (owner):"))) for(var/msg in B.digest_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Digest messages (prey):")) + to_chat(src, span_chatexport(span_bold("Digest messages (prey):"))) for(var/msg in B.digest_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorb messages (owner):")) + to_chat(src, span_chatexport(span_bold("Absorb messages (owner):"))) for(var/msg in B.absorb_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Absorb messages (prey):")) + to_chat(src, span_chatexport(span_bold("Absorb messages (prey):"))) for(var/msg in B.absorb_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Unabsorb messages (owner):")) + to_chat(src, span_chatexport(span_bold("Unabsorb messages (owner):"))) for(var/msg in B.unabsorb_messages_owner) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Unabsorb messages (prey):")) + to_chat(src, span_chatexport(span_bold("Unabsorb messages (prey):"))) for(var/msg in B.unabsorb_messages_prey) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Examine messages (when full):")) + to_chat(src, span_chatexport(span_bold("Examine messages (when full):"))) for(var/msg in B.examine_messages) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Examine messages (with absorbed victims):")) + to_chat(src, span_chatexport(span_bold("Examine messages (with absorbed victims):"))) for(var/msg in B.examine_messages_absorbed) to_chat(src, span_chatexport("[msg]")) - to_chat(src, span_chatexport("Emote lists:")) + to_chat(src, span_chatexport(span_bold("Emote lists:"))) for(var/EL in B.emote_lists) - to_chat(src, span_chatexport("[EL]:")) + to_chat(src, span_chatexport(span_bold("[EL]:"))) for(var/msg in B.emote_lists[EL]) to_chat(src, span_chatexport("[msg]")) diff --git a/code/modules/vore/eating/silicon_vr.dm b/code/modules/vore/eating/silicon_vr.dm index 9c759bef0a..d434b46d94 100644 --- a/code/modules/vore/eating/silicon_vr.dm +++ b/code/modules/vore/eating/silicon_vr.dm @@ -99,7 +99,7 @@ . += "[flavor_text]" if(master.ooc_notes) - . += "OOC Notes: \[View\] - \[Print\]" + . += span_deptradio("OOC Notes:") + "\[View\] - \[Print\]" // Allow dissipating ai holograms by attacking them /obj/effect/overlay/aiholo/attack_hand(mob/living/user) diff --git a/code/modules/vore/eating/simple_animal_vr.dm b/code/modules/vore/eating/simple_animal_vr.dm index 6504dbd302..5d3ec8b529 100644 --- a/code/modules/vore/eating/simple_animal_vr.dm +++ b/code/modules/vore/eating/simple_animal_vr.dm @@ -93,7 +93,7 @@ if(istype(O, /obj/item/newspaper) && !(ckey || (ai_holder.hostile && faction != user.faction)) && isturf(user.loc)) if(ai_holder.retaliate && prob(vore_pounce_chance/2)) // This is a gamble! user.Weaken(5) //They get tackled anyway whether they're edible or not. - user.visible_message("[user] swats [src] with [O] and promptly gets tackled!!") + user.visible_message(span_danger("[user] swats [src] with [O] and promptly gets tackled!")) if(will_eat(user)) set_AI_busy(TRUE) animal_nom(user) diff --git a/code/modules/vore/eating/vorepanel_vr.dm b/code/modules/vore/eating/vorepanel_vr.dm index 0815e818df..fe5c34887c 100644 --- a/code/modules/vore/eating/vorepanel_vr.dm +++ b/code/modules/vore/eating/vorepanel_vr.dm @@ -2441,19 +2441,19 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", to_chat(user, span_warning("You can't do that in your state!")) return TRUE - to_chat(user,"[span_green("You begin to push [M] to freedom!")]") - to_chat(M,"[host] begins to push you to freedom!") + to_chat(user,span_vnotice("[span_green("You begin to push [M] to freedom!")]")) + to_chat(M,span_vnotice("[host] begins to push you to freedom!")) to_chat(OB.owner,span_vwarning("Someone is trying to escape from inside you!")) sleep(50) if(prob(33)) OB.release_specific_contents(M) - to_chat(user,"[span_green("You manage to help [M] to safety!")]") - to_chat(M, "[span_green("[host] pushes you free!")]") + to_chat(user,span_vnotice("[span_green("You manage to help [M] to safety!")]")) + to_chat(M, span_vnotice("[span_green("[host] pushes you free!")]")) to_chat(OB.owner,span_valert("[M] forces free of the confines of your body!")) else to_chat(user,span_valert("[M] slips back down inside despite your efforts.")) - to_chat(M,span_valert(" Even with [host]'s help, you slip back inside again.")) - to_chat(OB.owner,"[span_green("Your body efficiently shoves [M] back where they belong.")]") + to_chat(M,span_valert("Even with [host]'s help, you slip back inside again.")) + to_chat(OB.owner,span_vnotice("[span_green("Your body efficiently shoves [M] back where they belong.")]")) return TRUE if("Devour") //Eat the inside mob @@ -2788,27 +2788,27 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", if(process_options.len) process_options += "Cancel" else - to_chat(user, "You cannot instantly process [ourtarget].") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("You cannot instantly process [ourtarget].")) return var/ourchoice = tgui_input_list(user, "How would you prefer to process \the [target]? This will perform the given action instantly if the prey accepts.","Instant Process", process_options) //ChompEDIT - user, not usr if(!ourchoice) return if(!ourtarget.client) - to_chat(user, "You cannot instantly process [ourtarget].") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("You cannot instantly process [ourtarget].")) return var/obj/belly/b = ourtarget.loc switch(ourchoice) if("Digest") if(ourtarget.absorbed) - to_chat(user, "\The [ourtarget] is absorbed, and cannot presently be digested.") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("\The [ourtarget] is absorbed, and cannot presently be digested.")) return - if(tgui_alert(ourtarget, "\The [user] is attempting to instantly digest you. Is this something you are okay with happening to you?","Instant Digest", list("No", "Yes")) != "Yes") //ChompEDIT - user, not usr - to_chat(user, "\The [ourtarget] declined your digest attempt.") //ChompEDIT - user, not usr - to_chat(ourtarget, "You declined the digest attempt.") + if(tgui_alert(ourtarget, "\The [user] is attempting to instantly digest you. Is this something you are okay with happening to you?","Instant Digest", list("No", "Yes")) != "Yes") + to_chat(user, span_vwarning("\The [ourtarget] declined your digest attempt.")) + to_chat(ourtarget, span_vwarning("You declined the digest attempt.")) return if(ourtarget.loc != b) - to_chat(user, "\The [ourtarget] is no longer in \the [b].") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("\The [ourtarget] is no longer in \the [b].")) return if(isliving(user)) //ChompEDIT - user, not usr var/mob/living/l = user //ChompEDIT - user, not usr @@ -2827,12 +2827,12 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", ourtarget.mind?.vore_death = TRUE b.handle_digestion_death(ourtarget) if("Absorb") - if(tgui_alert(ourtarget, "\The [user] is attempting to instantly absorb you. Is this something you are okay with happening to you?","Instant Absorb", list("No", "Yes")) != "Yes") //ChompEDIT - user, not usr - to_chat(user, "\The [ourtarget] declined your absorb attempt.") //ChompEDIT - user, not usr - to_chat(ourtarget, "You declined the absorb attempt.") + if(tgui_alert(ourtarget, "\The [user] is attempting to instantly absorb you. Is this something you are okay with happening to you?","Instant Absorb", list("No", "Yes")) != "Yes") + to_chat(user, span_vwarning("\The [ourtarget] declined your absorb attempt.")) + to_chat(ourtarget, span_vwarning("You declined the absorb attempt.")) return if(ourtarget.loc != b) - to_chat(user, "\The [ourtarget] is no longer in \the [b].") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("\The [ourtarget] is no longer in \the [b].")) return if(isliving(user)) //ChompEDIT - user, not usr var/mob/living/l = user //ChompEDIT - user, not usr @@ -2841,15 +2841,15 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", ourtarget.adjust_nutrition(n) b.absorb_living(ourtarget) if("Knockout") - if(tgui_alert(ourtarget, "\The [user] is attempting to instantly make you unconscious, you will be unable until ejected from the pred. Is this something you are okay with happening to you?","Instant Knockout", list("No", "Yes")) != "Yes") //ChompEDIT - user, not usr - to_chat(user, "\The [ourtarget] declined your knockout attempt.") //ChompEDIT - user, not usr - to_chat(ourtarget, "You declined the knockout attempt.") + if(tgui_alert(ourtarget, "\The [user] is attempting to instantly make you unconscious, you will be unable until ejected from the pred. Is this something you are okay with happening to you?","Instant Knockout", list("No", "Yes")) != "Yes") + to_chat(user, span_vwarning("\The [ourtarget] declined your knockout attempt.")) + to_chat(ourtarget, span_vwarning("You declined the knockout attempt.")) return if(ourtarget.loc != b) - to_chat(user, "\The [ourtarget] is no longer in \the [b].") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("\The [ourtarget] is no longer in \the [b].")) return ourtarget.AdjustSleeping(500000) - to_chat(ourtarget, "\The [user] has put you to sleep, you will remain unconscious until ejected from the belly.") //ChompEDIT - user, not usr + to_chat(ourtarget, span_vwarning("\The [user] has put you to sleep, you will remain unconscious until ejected from the belly.")) if("Cancel") return if("Health Check") @@ -2857,7 +2857,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", var/target_health = round((H.health/H.getMaxHealth())*100) var/condition var/condition_consequences - to_chat(user, "\The [target] is at [target_health]% health.") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("\The [target] is at [target_health]% health.")) if(H.blinded) condition += "blinded" condition_consequences += "hear emotes" @@ -2874,7 +2874,7 @@ var/global/list/belly_colorable_only_fullscreens = list("a_synth_flesh_mono", condition += "sleeping" condition_consequences += "hear or do anything" if(condition) - to_chat(user, "\The [target] is currently [condition], they will not be able to [condition_consequences].") //ChompEDIT - user, not usr + to_chat(user, span_vwarning("\The [target] is currently [condition], they will not be able to [condition_consequences].")) return diff --git a/code/modules/vore/fluffstuff/custom_clothes_vr.dm b/code/modules/vore/fluffstuff/custom_clothes_vr.dm index 17e676d119..b2eb6bd68d 100644 --- a/code/modules/vore/fluffstuff/custom_clothes_vr.dm +++ b/code/modules/vore/fluffstuff/custom_clothes_vr.dm @@ -547,7 +547,7 @@ //Chica Head /obj/item/clothing/head/helmet/fluff/freddy/chica - desc = span_red("LET'S EAT!") + desc = span_red(span_bold("LET'S EAT!")) icon_state = "chicahead" item_state = "chicahead_mob" @@ -586,7 +586,7 @@ //Chica Suit /obj/item/clothing/suit/fluff/freddy/chica - desc = span_red("LET'S EAT!") + desc = span_red(span_bold("LET'S EAT!")) icon_state = "chicasuit" item_state = "chicasuit_mob" @@ -1304,7 +1304,7 @@ Departamental Swimsuits, for general use //For general use maybe /obj/item/clothing/under/batter //I guess we're going OFF limits. name = "Worn baseball outfit" - desc = "Purification in progress..." + desc = span_bold("Purification in progress...") icon = 'icons/vore/custom_clothes_vr.dmi' icon_override = 'icons/vore/custom_clothes_vr.dmi' icon_state = "batter" @@ -2117,7 +2117,7 @@ Departamental Swimsuits, for general use user.visible_message(span_notice("[user] harmlessly bops [target] with \the [src]."), \ span_notice("\The [src] harmlessly bops [target]. The hat seems... unwilling?")) else - user.visible_message("\The [src] flops over [user]'s' head for a moment, but they seem alright.", \ + user.visible_message(span_bold("\The [src]") + " flops over [user]'s' head for a moment, but they seem alright.", \ span_notice("\The [src] flops over your head for a moment, but you correct it without issue. There we go!")) /obj/item/clothing/head/fluff/nikki/proc/hat_warp_checks(var/mob/living/target, mob/user, proximity_flag) @@ -2189,13 +2189,13 @@ Departamental Swimsuits, for general use translocator.attack_self(user, user) return else - to_chat(user, "\The [src] doesn't have a translocator inside it right now.
    ") + to_chat(user, span_warning("\The [src] doesn't have a translocator inside it right now.")) return /obj/item/clothing/head/fluff/nikki/examine(mob/user) // If it has a translocator installed, make it very obvious to viewers that something WEIRD is going on with this hat. . = ..() if (translocator) - . += "Weird... You can't see the bottom of the hole inside the hat..." + . += "Weird... " + span_danger("You can't see the bottom of the hole inside the hat...") /obj/item/clothing/head/fluff/nikki/equipped(mob/living/carbon/human/user, slot) . = ..() diff --git a/code/modules/vore/fluffstuff/custom_items_vr.dm b/code/modules/vore/fluffstuff/custom_items_vr.dm index 475ed80075..d67f4ec4d1 100644 --- a/code/modules/vore/fluffstuff/custom_items_vr.dm +++ b/code/modules/vore/fluffstuff/custom_items_vr.dm @@ -1298,8 +1298,8 @@ if (istype(user)) // It's only made for Verie's chassis silly! if (user.ckey != owner) - to_chat(user, "The brush's teeth are far too rough to even comb your hair. Apparently, \ - this device was not made for people like you.") + to_chat(user, span_warning("The brush's teeth are far too rough to even comb your hair. Apparently, \ + this device was not made for people like you.")) return if (!user.hair_accessory_style) @@ -1308,14 +1308,14 @@ user.update_hair() user.visible_message("[user] combs her hair. \The [src] leaves behind glowing cyan highlights as it passes through \ her black strands.", \ - "You brush your hair. \The [src]'s teeth begin to vibrate and glow as they react to your nanites. \ + span_notice("You brush your hair. \The [src]'s teeth begin to vibrate and glow as they react to your nanites. \ The teeth stimulate the nanites in your hair strands until your hair give off a brilliant, faintly pulsing \ - cyan glow!") + cyan glow!")) else user.visible_message("[user] combs her hair. \The [src] brushes away her glowing cyan highlights. Neat!", \ - "You brush your hair. \The [src]'s teeth wipe away the glowing streaks in your hair \ - like a sponge scrubbing away a stain.") + span_notice("You brush your hair. \The [src]'s teeth wipe away the glowing streaks in your hair \ + like a sponge scrubbing away a stain.")) user.hair_accessory_style = null for(var/datum/sprite_accessory/hair_accessory/verie_hair_glow/V in user) to_chat(user, span_warning("found a V to delete!")) @@ -1543,16 +1543,16 @@ End CHOMP Removal*/ if(world.time - last_message <= 5 SECONDS) return if(user.a_intent == I_HELP) - user.visible_message(span_notice("\The [user] hugs [src]!"),span_notice("You hug [src]!")) + user.visible_message(span_notice(span_bold("\The [user]") + " hugs [src]!"),span_notice("You hug [src]!")) icon_state = "pandorba" else if (user.a_intent == I_HURT) - user.visible_message(span_warning("\The [user] punches [src]!"),span_warning("You punch [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " punches [src]!"),span_warning("You punch [src]!")) icon_state = "pandorba_h" else if (user.a_intent == I_GRAB) - user.visible_message(span_warning("\The [user] attempts to strangle [src]!"),span_warning("You attempt to strangle [src]!")) + user.visible_message(span_warning(span_bold("\The [user]") + " attempts to strangle [src]!"),span_warning("You attempt to strangle [src]!")) icon_state = "pandorba_g" else - user.visible_message(span_notice("\The [user] pokes [src]."),span_notice("You poke [src].")) + user.visible_message(span_notice(span_bold("\The [user]") + " pokes [src]."),span_notice("You poke [src].")) icon_state = "pandorba_d" playsound(src, 'sound/items/drop/plushie.ogg', 25, 0) visible_message("[src] says, \"[pokephrase]\"") diff --git a/code/modules/vore/resizing/crackers.dm b/code/modules/vore/resizing/crackers.dm index 0c88a65f8e..6ce47ec6c3 100644 --- a/code/modules/vore/resizing/crackers.dm +++ b/code/modules/vore/resizing/crackers.dm @@ -80,27 +80,27 @@ winner.visible_message(span_notice("\The [winner] wins the cracker prize!"),span_notice("You win the cracker prize!")) if(prize == "shrinking") winner.resize(0.25) - winner.visible_message("\The [winner] shrinks suddenly!") + winner.visible_message(span_bold("\The [winner]") + " shrinks suddenly!") if(prize == "growing") winner.resize(2) - winner.visible_message("\The [winner] grows in height suddenly.") + winner.visible_message(span_bold("\The [winner]") + " grows in height suddenly.") if(prize == "drugged") winner.druggy = max(winner.druggy, 50) if(prize == "invisibility") if(!winner.cloaked) - winner.visible_message("\The [winner] vanishes from sight.") + winner.visible_message(span_bold("\The [winner]") + " vanishes from sight.") winner.cloak() spawn(600) if(winner.cloaked) winner.uncloak() - winner.visible_message("\The [winner] appears as if from thin air.") + winner.visible_message(span_bold("\The [winner]") + " appears as if from thin air.") if(prize == "knocked over") - winner.visible_message("\The [winner] is suddenly knocked to the ground.") + winner.visible_message(span_bold("\The [winner]") + " is suddenly knocked to the ground.") winner.weakened = max(winner.weakened,50) if(prize == "teleport") if(loser.can_be_drop_pred && loser.vore_selected) if(winner.devourable && winner.can_be_drop_prey) - winner.visible_message("\The [winner] is teleported to somewhere nearby...") + winner.visible_message(span_bold("\The [winner]") + " is teleported to somewhere nearby...") var/datum/effect/effect/system/spark_spread/spk spk = new(winner) @@ -113,7 +113,7 @@ if(prize == "wealth") new /obj/random/cash/huge(spawnloc) new /obj/random/cash/huge(spawnloc) - winner.visible_message("\The [winner] has a whole load of cash fall at their feet!") + winner.visible_message(span_bold("\The [winner]") + " has a whole load of cash fall at their feet!") playsound(user, 'sound/effects/snap.ogg', 50, 1) user.drop_item(src) diff --git a/code/modules/vote/vote_datum.dm b/code/modules/vote/vote_datum.dm index a2dfcfeb5b..9c739ada02 100644 --- a/code/modules/vote/vote_datum.dm +++ b/code/modules/vote/vote_datum.dm @@ -90,14 +90,14 @@ if(length(winning_options) == 1) var/res = winning_options[1] if(res in choices) - to_chat(world, span_interface("[res] won the vote!")) + to_chat(world, span_interface(span_bold("[res] won the vote!"))) return res else to_chat(world, span_interface("The winner of the vote ([sanitize(res)]) isn't a valid choice? What the heck?")) stack_trace("Vote concluded with an invalid answer. Answer was [sanitize(res)], choices were [json_encode(choices)]") return null - to_chat(world, span_interface("No clear winner. The vote did not pass.")) + to_chat(world, span_interface(span_bold("No clear winner. The vote did not pass."))) return null if(VOTE_RESULT_TYPE_SKEWED) @@ -105,14 +105,14 @@ if(maxvotes >= required_votes && length(winning_options) == 1) var/res = winning_options[1] if(res in choices) - to_chat(world, span_interface("[res] won the vote with a 70% majority!")) + to_chat(world, span_interface(span_bold("[res] won the vote with a 70% majority!"))) return res else to_chat(world, span_interface("The winner of the vote ([sanitize(res)]) isn't a valid choice? What the heck?")) stack_trace("Vote concluded with an invalid answer. Answer was [sanitize(res)], choices were [json_encode(choices)]") return null - to_chat(world, span_interface("No option received 70% of the votes. The vote did not pass.")) + to_chat(world, span_interface(span_bold("No option received 70% of the votes. The vote did not pass."))) return null return null diff --git a/code/modules/xenoarcheaology/artifacts/crystal.dm b/code/modules/xenoarcheaology/artifacts/crystal.dm index 67371b91ac..5d4bb46d42 100644 --- a/code/modules/xenoarcheaology/artifacts/crystal.dm +++ b/code/modules/xenoarcheaology/artifacts/crystal.dm @@ -17,7 +17,7 @@ "It's mesmerizing to behold.") /obj/structure/crystal/Destroy() - src.visible_message(span_red("[src] shatters!")) + src.visible_message(span_bolddanger("[src] shatters!")) if(prob(75)) new /obj/item/material/shard/phoron(src.loc) if(prob(50)) diff --git a/code/modules/xenoarcheaology/artifacts/gigadrill.dm b/code/modules/xenoarcheaology/artifacts/gigadrill.dm index 99c9bb9005..e285a2b90d 100644 --- a/code/modules/xenoarcheaology/artifacts/gigadrill.dm +++ b/code/modules/xenoarcheaology/artifacts/gigadrill.dm @@ -24,7 +24,7 @@ if(istype(A,/turf/simulated/mineral)) var/turf/simulated/mineral/M = A drilling_turf = get_turf(src) - src.visible_message("\The [src] begins to drill into \the [M].") + src.visible_message(span_bold("\The [src]") + " begins to drill into \the [M].") anchored = TRUE spawn(drill_time) if(get_turf(src) == drilling_turf && active) diff --git a/code/modules/xenoarcheaology/artifacts/replicator.dm b/code/modules/xenoarcheaology/artifacts/replicator.dm index b1eab2ce24..b9c77a8a3c 100644 --- a/code/modules/xenoarcheaology/artifacts/replicator.dm +++ b/code/modules/xenoarcheaology/artifacts/replicator.dm @@ -98,13 +98,13 @@ "foreground" = colors[color], ))) - fail_message = "[icon2html(src,viewers(src))] a [pick("loud","soft","sinister","eery","triumphant","depressing","cheerful","angry")] \ + fail_message = span_notice("[icon2html(src,viewers(src))] a [pick("loud","soft","sinister","eery","triumphant","depressing","cheerful","angry")] \ [pick("horn","beep","bing","bleep","blat","honk","hrumph","ding")] sounds and a \ [pick("yellow","purple","green","blue","red","orange","white")] \ [pick("light","dial","meter","window","protrusion","knob","antenna","swirly thing")] \ [pick("swirls","flashes","whirrs","goes schwing","blinks","flickers","strobes","lights up")] on the \ [pick("front","side","top","bottom","rear","inside")] of [src]. A [pick("slot","funnel","chute","tube")] opens up in the \ - [pick("front","side","top","bottom","rear","inside")]." //CHOMPEdit + [pick("front","side","top","bottom","rear","inside")].") /obj/machinery/replicator/process() if(spawning_types.len && powered()) @@ -178,4 +178,4 @@ user.drop_item() W.loc = src stored_materials.Add(W) - src.visible_message(span_notice("\The [user] inserts \the [W] into \the [src].")) + src.visible_message(span_notice(span_bold("\The [user]") + " inserts \the [W] into \the [src].")) diff --git a/code/modules/xenoarcheaology/artifacts/replicator_vr.dm b/code/modules/xenoarcheaology/artifacts/replicator_vr.dm index 898c648df1..69b070ecc2 100644 --- a/code/modules/xenoarcheaology/artifacts/replicator_vr.dm +++ b/code/modules/xenoarcheaology/artifacts/replicator_vr.dm @@ -280,7 +280,7 @@ inserted_human.drop_from_inventory(I) inserted_mob.loc = src stored_materials.Add(inserted_mob) - src.visible_message(span_filter_notice("\The [user] inserts \the [inserted_mob] into \the [src].")) + src.visible_message(span_filter_notice(span_bold("\The [user]") + " inserts \the [inserted_mob] into \the [src].")) return else to_chat(user, span_notice("You cannot put \the [W] into the machine. ((The micro must be connected to the server.))")) @@ -301,7 +301,7 @@ //Now that we've dropped all the items they have, let's shove them back into the micro holder. W.loc = src stored_materials.Add(W) - src.visible_message(span_filter_notice("\The [user] inserts \the [W] into \the [src].")) + src.visible_message(span_filter_notice(span_bold("\The [user]") + " inserts \the [W] into \the [src].")) /obj/machinery/replicator/vore/tgui_data(mob/user, datum/tgui/ui, datum/tgui_state/state) var/list/data = ..() @@ -548,7 +548,7 @@ inserted_human.drop_from_inventory(I) inserted_mob.loc = src stored_materials.Add(inserted_mob) - src.visible_message(span_filter_notice("\The [user] inserts \the [inserted_mob] into \the [src].")) + src.visible_message(span_filter_notice(span_bold("\The [user]") + " inserts \the [inserted_mob] into \the [src].")) return else to_chat(user, span_notice("You cannot put \the [W] into the machine. ((They must be connected to the server.))")) @@ -567,7 +567,7 @@ //Now that we've dropped all the items they have, let's shove them back into the micro holder. W.loc = src stored_materials.Add(W) - src.visible_message(span_filter_notice("\The [user] inserts \the [W] into \the [src].")) + src.visible_message(span_filter_notice(span_bold("\The [user]") + " inserts \the [W] into \the [src].")) /obj/machinery/replicator/clothing/tgui_interact(mob/user, datum/tgui/ui) //This creates the menu. diff --git a/code/modules/xenoarcheaology/boulder.dm b/code/modules/xenoarcheaology/boulder.dm index 842f644069..5fbb77e3b1 100644 --- a/code/modules/xenoarcheaology/boulder.dm +++ b/code/modules/xenoarcheaology/boulder.dm @@ -35,14 +35,14 @@ C.depth_scanner.scan_atom(user, src) return else - user.visible_message("\The [user] extends \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!", span_notice("You extend \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!")) + user.visible_message(span_bold("\The [user]") + " extends \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!", span_notice("You extend \the [C] over \the [src], a flurry of red beams scanning \the [src]'s surface!")) if(do_after(user, 15)) to_chat(user, span_notice("\The [src] has been excavated to a depth of [2 * src.excavation_level]cm.")) return if(istype(I, /obj/item/measuring_tape)) var/obj/item/measuring_tape/P = I - user.visible_message("\The [user] extends \the [P] towards \the [src].", span_notice("You extend \the [P] towards \the [src].")) + user.visible_message(span_bold("\The [user]") + " extends \the [P] towards \the [src].", span_notice("You extend \the [P] towards \the [src].")) if(do_after(user, 15)) to_chat(user, span_notice("\The [src] has been excavated to a depth of [2 * src.excavation_level]cm.")) return diff --git a/code/modules/xenoarcheaology/effect_master.dm b/code/modules/xenoarcheaology/effect_master.dm index e07cb358ca..a886201ed7 100644 --- a/code/modules/xenoarcheaology/effect_master.dm +++ b/code/modules/xenoarcheaology/effect_master.dm @@ -237,7 +237,7 @@ warn = 1 if(warn && isliving(bumped)) - to_chat(bumped, span_filter_notice("You accidentally touch \the [holder] as it hits you.")) + to_chat(bumped, span_filter_notice(span_bold("You accidentally touch \the [holder] as it hits you."))) /datum/component/artifact_master/proc/on_bumped() var/atom/movable/M = args[2] @@ -258,7 +258,7 @@ warn = 1 if(warn && isliving(M)) - to_chat(M, span_filter_notice("You accidentally touch \the [holder].")) + to_chat(M, span_filter_notice(span_bold("You accidentally touch \the [holder]."))) /datum/component/artifact_master/proc/on_attack_hand() var/mob/living/user = args[2] @@ -269,7 +269,7 @@ to_chat(user, span_filter_notice("[span_red("You can't reach [holder] from here.")]")) return if(ishuman(user) && user:gloves) - to_chat(user, span_filter_notice("You touch [holder] with your gloved hands, [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")].")) + to_chat(user, span_filter_notice(span_bold("You touch [holder]") + " with your gloved hands, [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")].")) return var/triggered = FALSE @@ -285,10 +285,10 @@ my_effect.DoEffectTouch(user) if(triggered) - to_chat(user, span_filter_notice("You touch [holder].")) + to_chat(user, span_filter_notice(span_bold("You touch [holder]."))) else - to_chat(user, span_filter_notice("You touch [holder], [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")].")) + to_chat(user, span_filter_notice(span_bold("You touch [holder],") + " [pick("but nothing of note happens","but nothing happens","but nothing interesting happens","but you notice nothing different","but nothing seems to have happened")].")) /datum/component/artifact_master/proc/on_attackby() diff --git a/code/modules/xenoarcheaology/effects/badfeeling.dm b/code/modules/xenoarcheaology/effects/badfeeling.dm index da5e8f5bee..28b0d6eb15 100644 --- a/code/modules/xenoarcheaology/effects/badfeeling.dm +++ b/code/modules/xenoarcheaology/effects/badfeeling.dm @@ -34,7 +34,7 @@ var/mob/living/carbon/human/H = user if(prob(50)) if(prob(75)) - to_chat(H, span_red("[pick(drastic_messages)]")) + to_chat(H, span_red(span_bold("[pick(drastic_messages)]") + "")) else to_chat(H, span_red("[pick(messages)]")) diff --git a/code/modules/xenoarcheaology/effects/berserk.dm b/code/modules/xenoarcheaology/effects/berserk.dm index e82e75604d..14015b13ba 100644 --- a/code/modules/xenoarcheaology/effects/berserk.dm +++ b/code/modules/xenoarcheaology/effects/berserk.dm @@ -21,8 +21,8 @@ if(L.has_modifier_of_type(/datum/modifier/berserk)) // Already angry. to_chat(L, span_warning("An otherworldly feeling seems to enter your mind again, and it fans your inner flame, extending your rage.")) else // Exhausted or something. - to_chat(L, "An otherworldly feeling seems to enter your mind, and you briefly feel an intense anger, but \ - it quickly passes.") + to_chat(L, span_warning("An otherworldly feeling seems to enter your mind, and you briefly feel an intense anger, but \ + it quickly passes.")) return FALSE /datum/artifact_effect/berserk/DoEffectTouch(var/mob/toucher) diff --git a/code/modules/xenoarcheaology/effects/cannibal.dm b/code/modules/xenoarcheaology/effects/cannibal.dm index ba1b4a616c..dd842c4ec4 100644 --- a/code/modules/xenoarcheaology/effects/cannibal.dm +++ b/code/modules/xenoarcheaology/effects/cannibal.dm @@ -35,7 +35,7 @@ if(H.is_sentient()) if(prob(50)) if(prob(75)) - to_chat(H, span_red("[pick(drastic_messages)]")) + to_chat(H, span_red(span_bold("[pick(drastic_messages)]") + "")) else to_chat(H, span_red("[pick(messages)]")) diff --git a/code/modules/xenoarcheaology/effects/feysight.dm b/code/modules/xenoarcheaology/effects/feysight.dm index dee42c22bd..f966ac7f70 100644 --- a/code/modules/xenoarcheaology/effects/feysight.dm +++ b/code/modules/xenoarcheaology/effects/feysight.dm @@ -21,8 +21,8 @@ if(L.has_modifier_of_type(/datum/modifier/feysight)) to_chat(L, span_warning("An otherworldly feeling seems to enter your mind again, and it holds the visions in place.")) else - to_chat(L, "An otherworldly feeling seems to enter your mind, and you briefly feel peace, but \ - it quickly passes.") + to_chat(L, span_warning("An otherworldly feeling seems to enter your mind, and you briefly feel peace, but \ + it quickly passes.")) return FALSE /datum/artifact_effect/feysight/DoEffectTouch(var/mob/toucher) diff --git a/code/modules/xenoarcheaology/effects/goodfeeling.dm b/code/modules/xenoarcheaology/effects/goodfeeling.dm index 10678a9600..92d267b1f6 100644 --- a/code/modules/xenoarcheaology/effects/goodfeeling.dm +++ b/code/modules/xenoarcheaology/effects/goodfeeling.dm @@ -32,7 +32,7 @@ var/mob/living/carbon/human/H = user if(prob(50)) if(prob(75)) - to_chat(H, span_blue("[pick(drastic_messages)]")) + to_chat(H, span_blue(span_bold("[pick(drastic_messages)]") + "")) else to_chat(H, span_blue("[pick(messages)]")) diff --git a/code/modules/xenoarcheaology/effects/resurrect.dm b/code/modules/xenoarcheaology/effects/resurrect.dm index 176eaec451..752f2333dd 100644 --- a/code/modules/xenoarcheaology/effects/resurrect.dm +++ b/code/modules/xenoarcheaology/effects/resurrect.dm @@ -58,9 +58,9 @@ if(!H.client && H.mind) for(var/mob/observer/dead/ghost in player_list) if(ghost.mind == H.mind) - to_chat(ghost, "[span_interface("An artifact is trying to \ - revive you. Return to your body if you want to be resurrected! \ - (Verbs -> Ghost -> Re-enter corpse)")]") + to_chat(ghost, span_large(span_interface(span_bold("An artifact is trying to \ + revive you. Return to your body if you want to be resurrected!") + "\ + (Verbs -> Ghost -> Re-enter corpse)"))) break H.adjustBruteLoss(-40) diff --git a/code/modules/xenoarcheaology/tools/artifact_analyser.dm b/code/modules/xenoarcheaology/tools/artifact_analyser.dm index 1078ea96c1..a96e1fc2e2 100644 --- a/code/modules/xenoarcheaology/tools/artifact_analyser.dm +++ b/code/modules/xenoarcheaology/tools/artifact_analyser.dm @@ -123,7 +123,7 @@ atom_say("Scanning complete.") var/obj/item/paper/P = new(src.loc) P.name = "[src] report #[++report_num]" - P.info = "[src] analysis report #[report_num]
    " + P.info = span_bold("[src] analysis report #[report_num]") + "
    " P.info += "
    " P.info += "[bicon(scanned_object)] [results]" P.stamped = list(/obj/item/stamp) diff --git a/code/modules/xenoarcheaology/tools/artifact_harvester.dm b/code/modules/xenoarcheaology/tools/artifact_harvester.dm index a0a83b5f3f..d63d633cf0 100644 --- a/code/modules/xenoarcheaology/tools/artifact_harvester.dm +++ b/code/modules/xenoarcheaology/tools/artifact_harvester.dm @@ -223,7 +223,7 @@ cur_artifact.anchored = FALSE cur_artifact.being_used = 0 cur_artifact = null - src.visible_message("[name] states, \"Battery is full.\"") + src.visible_message(span_bold("[name]") + " states, \"Battery is full.\"") icon_state = "incubator" else if(harvesting < 0) @@ -248,17 +248,17 @@ harvesting = 0 if(inserted_battery.battery_effect && inserted_battery.battery_effect.activated) inserted_battery.battery_effect.ToggleActivate() - src.visible_message("[name] states, \"Battery dump completed.\"") + src.visible_message(span_bold("[name]") + " states, \"Battery dump completed.\"") icon_state = "incubator" /obj/machinery/artifact_harvester/Topic(href, href_list) if (href_list["harvest"]) if(!inserted_battery) - src.visible_message("[src] states, \"Cannot harvest. No battery inserted.\"") + src.visible_message(span_bold("[src]") + " states, \"Cannot harvest. No battery inserted.\"") else if(inserted_battery.stored_charge >= inserted_battery.capacity) - src.visible_message("[src] states, \"Cannot harvest. battery is full.\"") + src.visible_message(span_bold("[src]") + " states, \"Cannot harvest. battery is full.\"") else @@ -271,11 +271,11 @@ articount++ if(articount <= 0) - var/message = "[src] states, \"Cannot harvest. No noteworthy energy signature isolated.\"" + var/message = span_bold("[src]") + " states, \"Cannot harvest. No noteworthy energy signature isolated.\"" src.visible_message(message) else if(analysed && analysed.being_used) - src.visible_message("[src] states, \"Cannot harvest. Source already being harvested.\"") + src.visible_message(span_bold("[src]") + " states, \"Cannot harvest. Source already being harvested.\"") else if(articount > 1) @@ -287,9 +287,9 @@ var/list/active_effects = cur_artifact.artifact_master.get_active_effects() if(active_effects.len > 1) - src.visible_message("[src] states, \"Cannot harvest. Source is emitting conflicting energy signatures.\"") + src.visible_message(span_bold("[src]") + " states, \"Cannot harvest. Source is emitting conflicting energy signatures.\"") else if(!active_effects.len) - src.visible_message("[src] states, \"Cannot harvest. No energy emitting from source.\"") + src.visible_message(span_bold("[src]") + " states, \"Cannot harvest. No energy emitting from source.\"") else //see if we can clear out an old effect @@ -312,7 +312,7 @@ source_effect = active_effect if(!source_effect) - src.visible_message("[src] states, \"Cannot harvest. Battery is charged with a different energy signature.\"") + src.visible_message(span_bold("[src]") + " states, \"Cannot harvest. Battery is charged with a different energy signature.\"") else //we're good to charge either if(active_effect.activated) @@ -325,7 +325,7 @@ cur_artifact.anchored = 1 cur_artifact.being_used = 1 icon_state = "incubator_on" - var/message = "[src] states, \"Beginning energy harvesting.\"" + var/message = span_bold("[src]") + " states, \"Beginning energy harvesting.\"" src.visible_message(message) last_process = world.time @@ -350,7 +350,7 @@ cur_artifact.anchored = 0 cur_artifact.being_used = 0 cur_artifact = null - src.visible_message("[name] states, \"Energy harvesting interrupted.\"") + src.visible_message(span_bold("[name]") + " states, \"Energy harvesting interrupted.\"") icon_state = "incubator" if (href_list["ejectbattery"]) @@ -367,13 +367,13 @@ harvesting = -1 update_use_power(USE_POWER_ACTIVE) icon_state = "incubator_on" - var/message = "[src] states, \"Warning, battery charge dump commencing.\"" + var/message = span_bold("[src]") + " states, \"Warning, battery charge dump commencing.\"" src.visible_message(message) else - var/message = "[src] states, \"Cannot dump energy. Battery is drained of charge already.\"" + var/message = span_bold("[src]") + " states, \"Cannot dump energy. Battery is drained of charge already.\"" src.visible_message(message) else - var/message = "[src] states, \"Cannot dump energy. No battery inserted.\"" + var/message = span_bold("[src]") + " states, \"Cannot dump energy. No battery inserted.\"" src.visible_message(message) if(href_list["close"]) diff --git a/code/modules/xenoarcheaology/tools/geosample_scanner.dm b/code/modules/xenoarcheaology/tools/geosample_scanner.dm index 15b66fc664..be642fdfdb 100644 --- a/code/modules/xenoarcheaology/tools/geosample_scanner.dm +++ b/code/modules/xenoarcheaology/tools/geosample_scanner.dm @@ -93,12 +93,12 @@ update_coolant() return if(scanned_item) - to_chat(user, "\The [src] already has \a [scanned_item] inside!") + to_chat(user, span_warning("\The [src] already has \a [scanned_item] inside!")) return user.drop_item() I.loc = src scanned_item = I - to_chat(user, "You put \the [I] into \the [src].") + to_chat(user, span_notice("You put \the [I] into \the [src].")) /obj/machinery/radiocarbon_spectrometer/proc/update_coolant() var/total_purity = 0 @@ -354,8 +354,8 @@ if(!anom_found) data += " - No anomalous data
    " - P.info = "[src] analysis report #[report_num]
    " - P.info += "Scanned item: [scanned_item.name]

    " + data + P.info = span_bold("[src] analysis report #[report_num]") + "
    " + P.info += span_bold("Scanned item:") + " [scanned_item.name]

    " + data last_scan_data = P.info P.loc = src.loc diff --git a/code/modules/xenoarcheaology/tools/tools.dm b/code/modules/xenoarcheaology/tools/tools.dm index 0190cba951..abfe28c4ab 100644 --- a/code/modules/xenoarcheaology/tools/tools.dm +++ b/code/modules/xenoarcheaology/tools/tools.dm @@ -109,7 +109,7 @@ var/material = "unknown" /obj/item/depth_scanner/proc/scan_atom(var/mob/user, var/atom/A) - user.visible_message("\The [user] scans \the [A], the air around them humming gently.") + user.visible_message(span_bold("\The [user]") + " scans \the [A], the air around them humming gently.") if(istype(A, /turf/simulated/mineral)) var/turf/simulated/mineral/M = A diff --git a/code/modules/xenobio/items/slime_objects.dm b/code/modules/xenobio/items/slime_objects.dm index 83685b41d9..6fe6146297 100644 --- a/code/modules/xenobio/items/slime_objects.dm +++ b/code/modules/xenobio/items/slime_objects.dm @@ -52,7 +52,7 @@ src.searching = 2 var/mob/living/carbon/human/S = new(get_turf(src)) S.client = candidate.client - to_chat(S, "You are a promethean, brought into existence on [station_name()].") + to_chat(S, span_infoplain(span_bold("You are a promethean, brought into existence on [station_name()]."))) S.mind.assigned_role = JOB_PROMETHEAN S.set_species("Promethean") S.shapeshifter_set_colour("#2398FF") diff --git a/code/modules/xenobio/items/slimepotions.dm b/code/modules/xenobio/items/slimepotions.dm index 453c4bce5d..600ca3264d 100644 --- a/code/modules/xenobio/items/slimepotions.dm +++ b/code/modules/xenobio/items/slimepotions.dm @@ -171,8 +171,8 @@ return ..() to_chat(user, span_notice("You feed the slime the agent. It will now be friendly to all other slimes.")) - to_chat(M, "\The [user] feeds you \the [src], and you suspect that all the other slimes will be \ - your friends, at least if you don't attack them first.") + to_chat(M, span_notice("\The [user] feeds you \the [src], and you suspect that all the other slimes will be \ + your friends, at least if you don't attack them first.")) M.unify() playsound(src, 'sound/effects/bubbles.ogg', 50, 1) qdel(src) diff --git a/code/modules/xenobio/items/weapons_vr.dm b/code/modules/xenobio/items/weapons_vr.dm index ca46f7c7c8..210e3139d8 100644 --- a/code/modules/xenobio/items/weapons_vr.dm +++ b/code/modules/xenobio/items/weapons_vr.dm @@ -26,7 +26,7 @@ /obj/item/xenobio/attackby(obj/item/I as obj, mob/user as mob) if(istype(I, loadable_item)) if(loaded_item) - to_chat(user, "[I] doesn't seem to fit into [src].") + to_chat(user, span_warning("[I] doesn't seem to fit into [src].")) return //var/obj/item/reagent_containers/glass/beaker/B = I user.drop_item() @@ -45,7 +45,7 @@ /obj/item/xenobio/afterattack(atom/A, mob/user as mob) if(!loaded_item) - to_chat(user,"\The [src] shot fizzles, it appears you need to load something!") + to_chat(user,span_warning("\The [src] shot fizzles, it appears you need to load something!")) //playsound(src, 'sound/weapons/wave.ogg', 60, 1) playsound(src, 'sound/weapons/empty.ogg', 50, 1) return @@ -79,11 +79,11 @@ var/turf/T = get_turf(A) if(!T || (T.check_density(ignore_mobs = TRUE))) - to_chat(user,"Your rehydrator flashes an error as it attempts to process your target.") + to_chat(user,span_warning("Your rehydrator flashes an error as it attempts to process your target.")) playsound(src, 'sound/weapons/empty.ogg', 50, 1) return if(istype(A, /mob/living)) - to_chat(user,"The rehydrator's saftey systems prevent firing into living creatures!") + to_chat(user,span_warning("The rehydrator's saftey systems prevent firing into living creatures!")) playsound(src, 'sound/weapons/empty.ogg', 50, 1) return if(loaded_item) diff --git a/code/modules/xenobio/machinery/processor.dm b/code/modules/xenobio/machinery/processor.dm index 79c055dfca..28146bd6b5 100644 --- a/code/modules/xenobio/machinery/processor.dm +++ b/code/modules/xenobio/machinery/processor.dm @@ -58,7 +58,7 @@ return to_be_processed.Add(AM) AM.forceMove(src) - visible_message("\The [user] places [AM] inside \the [src].") + visible_message(span_infoplain(span_bold("\The [user]") + " places [AM] inside \the [src].")) /obj/machinery/processor/proc/begin_processing() if(processing) diff --git a/code/modules/xenobio2/mob/slime/slime_monkey.dm b/code/modules/xenobio2/mob/slime/slime_monkey.dm index c9f0ce14b1..20d8876f8d 100644 --- a/code/modules/xenobio2/mob/slime/slime_monkey.dm +++ b/code/modules/xenobio2/mob/slime/slime_monkey.dm @@ -38,7 +38,7 @@ Slime cube lives here. src.searching = 2 var/mob/living/carbon/human/S = new(get_turf(src)) S.client = candidate.client - to_chat(S., "You are a promethean, brought into existence on [station_name()].") + to_chat(S, span_infoplain(span_bold("You are a promethean, brought into existence on [station_name()]."))) S.mind.assigned_role = JOB_PROMETHEAN S.set_species("Promethean") S.shapeshifter_set_colour("#05FF9B") diff --git a/interface/stylesheet.dm b/interface/stylesheet.dm index 170ad0420a..ed28a00900 100644 --- a/interface/stylesheet.dm +++ b/interface/stylesheet.dm @@ -23,6 +23,8 @@ em {font-style: normal;font-weight: bold;} .bold { font-weight: bold;} +.underline { text-decoration: underline;} + .prefix {font-weight: bold;} .log_message {color: #386AFF; font-weight: bold;} @@ -85,7 +87,7 @@ em {font-style: normal;font-weight: bold;} .alert, .valert {color: #ff0000;} h1.alert, h2.alert {color: #000000;} .ghostalert {color: #5c00e6; font-style: italic; font-weight: bold;} - +.wingdings {font-family: Wingdings, Webdings} /* VOREStation Edit Start */ .emote {} @@ -102,9 +104,11 @@ h1.alert, h2.alert {color: #000000;} .critical {color: #ff0000; font-weight: bold; font-size: 150%;} .danger, .vdanger {color: #ff0000; font-weight: bold;} .warning, .vwarning {color: #ff0000; font-style: italic;} +.boldwarning {color: #ff0000; font-style: italic; font-weight: bold;} .rose {color: #ff5050;} .info {color: #0000CC;} .notice, .vnotice {color: #000099;} +.boldnoitce {color: #000099; font-weight: bold;} .alium {color: #00ff00;} .cult {color: #800080; font-weight: bold; font-style: italic;} @@ -141,6 +145,7 @@ h1.alert, h2.alert {color: #000000;} .spacer {color: #9c660b;} .blob {color: #ff950d; font-weight: bold; font-style: italic;} .teppi {color: #816540; word-spacing:4pt; font-family: "Segoe Script Bold","Segoe Script",sans-serif,Verdana;} +.marish {color: #9e31a4;} .shadekin {color: #be3cc5; font-size: 150%; font-weight: bold; font-family: "Gabriola", cursive, sans-serif;} BIG IMG.icon {width: 32px; height: 32px;} @@ -161,6 +166,7 @@ BIG IMG.icon {width: 32px; height: 32px;} .orange {color: #FF8C00;} .blue {color: #0000FF;} .green {color: #00DD00;} +.darkgreen {color: #008000;} .purple {color: #800080;} .yellow {color: #ffcc00;} .pink {color: #ffc0cb;} diff --git a/maps/RandomZLevels/stationCollision.dm b/maps/RandomZLevels/stationCollision.dm index ab6e99a43c..3ea3aa7355 100644 --- a/maps/RandomZLevels/stationCollision.dm +++ b/maps/RandomZLevels/stationCollision.dm @@ -114,28 +114,27 @@ var/sc_safecode5 = "[rand(0,9)]" name = "smudged paper" /obj/item/paper/sc_safehint_paper_prison/New() - info = "The ink is smudged, you can only make out a couple numbers: '[sc_safecode1]**[sc_safecode4]*'" + info = span_italics("The ink is smudged, you can only make out a couple numbers:") + " '[sc_safecode1]**[sc_safecode4]*'" /obj/item/paper/sc_safehint_paper_hydro name = "shredded paper" /obj/item/paper/sc_safehint_paper_hydro/New() - info = "Although the paper is shredded, you can clearly see the number: '[sc_safecode2]'" + info = span_italics("Although the paper is shredded, you can clearly see the number:") + " '[sc_safecode2]'" /obj/item/paper/sc_safehint_paper_caf name = "blood-soaked paper" //This does not have to be in New() because it is a constant. There are no variables in it i.e. [sc_safcode] - info = "This paper is soaked in blood, it is impossible to read any text." + info = span_red(span_italics("This paper is soaked in blood, it is impossible to read any text.")) /obj/item/paper/sc_safehint_paper_bible name = "hidden paper" /obj/item/paper/sc_safehint_paper_bible/New() - info = {"It would appear that the pen hidden with the paper had leaked ink over the paper. - However you can make out the last three digits:'[sc_safecode3][sc_safecode4][sc_safecode5]' - "} + info =span_italics("It would appear that the pen hidden with the paper had leaked ink over the paper. \ + However you can make out the last three digits:") + "' [sc_safecode3][sc_safecode4][sc_safecode5]'" /obj/item/paper/sc_safehint_paper_shuttle - info = {"Target: Research-station Epsilon
    - Objective: Prototype weaponry. The captain likely keeps them locked in her safe.
    + info = span_bold("Target:") + " Research-station Epsilon
    " + span_bold("Objective:")\ + + {" Prototype weaponry. The captain likely keeps them locked in her safe.

    Our on-board spy has learned the code and has hidden away a few copies of the code around the station. Unfortunatly he has been captured by security Your objective is to split up, locate any of the papers containing the captain's safe code, open the safe and diff --git a/maps/gateway_archive_vr/labyrinth.dm b/maps/gateway_archive_vr/labyrinth.dm index a5e6ab54a3..fd4bdd65da 100644 --- a/maps/gateway_archive_vr/labyrinth.dm +++ b/maps/gateway_archive_vr/labyrinth.dm @@ -167,13 +167,13 @@ return 0 playsound(chassis, 'sound/items/AirHorn.ogg', 100, 1) - chassis.occupant_message(span_red("HONK")) + chassis.occupant_message(span_infoplain(span_red(span_giant("HONK")))) for(var/mob/living/carbon/M in ohearers(6, chassis)) if(istype(M, /mob/living/carbon/human)) var/mob/living/carbon/human/H = M if(istype(H.l_ear, /obj/item/clothing/ears/earmuffs) || istype(H.r_ear, /obj/item/clothing/ears/earmuffs)) continue - to_chat(M, span_red("HONK")) + to_chat(M, span_infoplain(span_red(span_massive("HONK")))) M.sleeping = 0 M.stuttering += 20 M.ear_deaf += 30 diff --git a/maps/gateway_archive_vr/stationCollision.dm b/maps/gateway_archive_vr/stationCollision.dm index ab6e99a43c..c507cc0895 100644 --- a/maps/gateway_archive_vr/stationCollision.dm +++ b/maps/gateway_archive_vr/stationCollision.dm @@ -114,28 +114,27 @@ var/sc_safecode5 = "[rand(0,9)]" name = "smudged paper" /obj/item/paper/sc_safehint_paper_prison/New() - info = "The ink is smudged, you can only make out a couple numbers: '[sc_safecode1]**[sc_safecode4]*'" + info = span_italics("The ink is smudged, you can only make out a couple numbers:") + " '[sc_safecode1]**[sc_safecode4]*'" /obj/item/paper/sc_safehint_paper_hydro name = "shredded paper" /obj/item/paper/sc_safehint_paper_hydro/New() - info = "Although the paper is shredded, you can clearly see the number: '[sc_safecode2]'" + info = span_italics("Although the paper is shredded, you can clearly see the number:") + " '[sc_safecode2]'" /obj/item/paper/sc_safehint_paper_caf name = "blood-soaked paper" //This does not have to be in New() because it is a constant. There are no variables in it i.e. [sc_safcode] - info = "This paper is soaked in blood, it is impossible to read any text." + info = span_red(span_italics("This paper is soaked in blood, it is impossible to read any text.")) /obj/item/paper/sc_safehint_paper_bible name = "hidden paper" /obj/item/paper/sc_safehint_paper_bible/New() - info = {"It would appear that the pen hidden with the paper had leaked ink over the paper. - However you can make out the last three digits:'[sc_safecode3][sc_safecode4][sc_safecode5]' - "} + info = span_italics("It would appear that the pen hidden with the paper had leaked ink over the paper.\ + However you can make out the last three digits:") + " '[sc_safecode3][sc_safecode4][sc_safecode5]'" /obj/item/paper/sc_safehint_paper_shuttle - info = {"Target: Research-station Epsilon
    - Objective: Prototype weaponry. The captain likely keeps them locked in her safe.
    + info = span_bold("Target:") + " Research-station Epsilon
    " + span_bold("Objective:") + " " + {" + Prototype weaponry. The captain likely keeps them locked in her safe.

    Our on-board spy has learned the code and has hidden away a few copies of the code around the station. Unfortunatly he has been captured by security Your objective is to split up, locate any of the papers containing the captain's safe code, open the safe and diff --git a/maps/gateway_archive_vr/wildwest.dm b/maps/gateway_archive_vr/wildwest.dm index 909480877c..d908da0d89 100644 --- a/maps/gateway_archive_vr/wildwest.dm +++ b/maps/gateway_archive_vr/wildwest.dm @@ -44,8 +44,8 @@ var/wish = tgui_input_list(usr, "You want...","Wish", list("Power","Wealth","Immortality","To Kill","Peace")) switch(wish) if("Power") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.")) if (!(LASER in user.mutations)) user.mutations.Add(LASER) to_chat(user, span_notice("You feel pressure building behind your eyes.")) @@ -61,35 +61,35 @@ user.dna.mutantrace = "shadow" user.update_mutantrace() if("Wealth") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.")) new /obj/structure/closet/syndicate/resources/everything(loc) user.dna.mutantrace = "shadow" user.update_mutantrace() if("Immortality") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.")) add_verb(user, /mob/living/carbon/proc/immortality) user.dna.mutantrace = "shadow" user.update_mutantrace() if("To Kill") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your wickedness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your wickedness, claiming your soul and warping your body to match the darkness in your heart.")) ticker.mode.traitors += user.mind user.mind.special_role = "traitor" var/datum/objective/hijack/hijack = new hijack.owner = user.mind user.mind.objectives += hijack - to_chat(user, "Your inhibitions are swept away, the bonds of loyalty broken, you are free to murder as you please!") + to_chat(user, span_infoplain(span_bold("Your inhibitions are swept away, the bonds of loyalty broken, you are free to murder as you please!"))) var/obj_count = 1 for(var/datum/objective/OBJ in user.mind.objectives) - to_chat(user, "Objective #[obj_count]: [OBJ.explanation_text]") + to_chat(user, span_infoplain(span_bold("Objective #[obj_count]") + ": [OBJ.explanation_text]")) obj_count++ user.dna.mutantrace = "shadow" user.update_mutantrace() if("Peace") - to_chat(user, "Whatever alien sentience that the Wish Granter possesses is satisfied with your wish. There is a distant wailing as the last of the Faithless begin to die, then silence.") - to_chat(user, "You feel as if you just narrowly avoided a terrible fate...") + to_chat(user, span_infoplain(span_bold("Whatever alien sentience that the Wish Granter possesses is satisfied with your wish. There is a distant wailing as the last of the Faithless begin to die, then silence."))) + to_chat(user, span_infoplain("You feel as if you just narrowly avoided a terrible fate...")) for(var/mob/living/simple_mob/faithless/F in living_mob_list) F.health = -10 F.set_stat(DEAD) diff --git a/maps/gateway_archive_vr/zoo.dm b/maps/gateway_archive_vr/zoo.dm index 10228c8f87..baded125a6 100644 --- a/maps/gateway_archive_vr/zoo.dm +++ b/maps/gateway_archive_vr/zoo.dm @@ -20,7 +20,7 @@ /obj/item/paper/zoo name = "\improper Quarterly Report" - info = {"There's nothing but spreadsheets and budget reports on this document, apparently regarding a zoo owned by NanoTrasen."} + info = span_italics("There's nothing but spreadsheets and budget reports on this document, apparently regarding a zoo owned by NanoTrasen.") /obj/item/paper/zoo/pirate name = "odd note" @@ -41,4 +41,4 @@ info = {"Attention crew,

    Since apparently you fucking idiots didn't notice, that bulltaur who delivered the bears was Jarome Rognvaldr. I'm sorry, maybe you scabs forgot? Does the name Jarome the Bottomless ring any fucking bells? If he's seen again without a laser bolt hole through his fucking skull, I'm shoving anyone on guard duty up Zed's arse. Are we - clear?

    -Lady Nebula"} \ No newline at end of file + clear?

    -Lady Nebula"} diff --git a/maps/gateway_vr/wildwest.dm b/maps/gateway_vr/wildwest.dm index 008607253c..1e16c09f6d 100644 --- a/maps/gateway_vr/wildwest.dm +++ b/maps/gateway_vr/wildwest.dm @@ -48,8 +48,8 @@ var/wish = tgui_input_list(usr, "You want...","Wish", list("Power","Wealth","Immortality","To Kill","Peace")) switch(wish) if("Power") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.")) if (!(LASER in user.mutations)) user.mutations.Add(LASER) to_chat(user, span_notice("You feel pressure building behind your eyes.")) @@ -65,35 +65,35 @@ user.dna.mutantrace = "shadow" user.update_mutantrace() if("Wealth") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.")) new /obj/structure/closet/syndicate/resources/everything(loc) user.dna.mutantrace = "shadow" user.update_mutantrace() if("Immortality") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your selfishness, claiming your soul and warping your body to match the darkness in your heart.")) add_verb(user, /mob/living/carbon/proc/immortality) user.dna.mutantrace = "shadow" user.update_mutantrace() if("To Kill") - to_chat(user, "Your wish is granted, but at a terrible cost...") - to_chat(user, "The Wish Granter punishes you for your wickedness, claiming your soul and warping your body to match the darkness in your heart.") + to_chat(user, span_boldwarning("Your wish is granted, but at a terrible cost...")) + to_chat(user, span_warning("The Wish Granter punishes you for your wickedness, claiming your soul and warping your body to match the darkness in your heart.")) ticker.mode.traitors += user.mind user.mind.special_role = "traitor" var/datum/objective/hijack/hijack = new hijack.owner = user.mind user.mind.objectives += hijack - to_chat(user, "Your inhibitions are swept away, the bonds of loyalty broken, you are free to murder as you please!") + to_chat(user, span_infoplain(span_bold("Your inhibitions are swept away, the bonds of loyalty broken, you are free to murder as you please!"))) var/obj_count = 1 for(var/datum/objective/OBJ in user.mind.objectives) - to_chat(user, "Objective #[obj_count]: [OBJ.explanation_text]") + to_chat(user, span_infoplain(span_bold("Objective #[obj_count]") + ": [OBJ.explanation_text]")) obj_count++ user.dna.mutantrace = "shadow" user.update_mutantrace() if("Peace") - to_chat(user, "Whatever alien sentience that the Wish Granter possesses is satisfied with your wish. There is a distant wailing as the last of the Faithless begin to die, then silence.") - to_chat(user, "You feel as if you just narrowly avoided a terrible fate...") + to_chat(user, span_infoplain(span_bold("Whatever alien sentience that the Wish Granter possesses is satisfied with your wish. There is a distant wailing as the last of the Faithless begin to die, then silence."))) + to_chat(user, span_infoplain("You feel as if you just narrowly avoided a terrible fate...")) for(var/mob/living/simple_mob/faithless/F in living_mob_list) F.health = -10 F.set_stat(DEAD) diff --git a/maps/gateway_vr/zoo.dm b/maps/gateway_vr/zoo.dm index 10228c8f87..baded125a6 100644 --- a/maps/gateway_vr/zoo.dm +++ b/maps/gateway_vr/zoo.dm @@ -20,7 +20,7 @@ /obj/item/paper/zoo name = "\improper Quarterly Report" - info = {"There's nothing but spreadsheets and budget reports on this document, apparently regarding a zoo owned by NanoTrasen."} + info = span_italics("There's nothing but spreadsheets and budget reports on this document, apparently regarding a zoo owned by NanoTrasen.") /obj/item/paper/zoo/pirate name = "odd note" @@ -41,4 +41,4 @@ info = {"Attention crew,

    Since apparently you fucking idiots didn't notice, that bulltaur who delivered the bears was Jarome Rognvaldr. I'm sorry, maybe you scabs forgot? Does the name Jarome the Bottomless ring any fucking bells? If he's seen again without a laser bolt hole through his fucking skull, I'm shoving anyone on guard duty up Zed's arse. Are we - clear?

    -Lady Nebula"} \ No newline at end of file + clear?

    -Lady Nebula"} diff --git a/maps/redgate/fantasy_items.dm b/maps/redgate/fantasy_items.dm index 06da9458fc..29a4d2448a 100644 --- a/maps/redgate/fantasy_items.dm +++ b/maps/redgate/fantasy_items.dm @@ -217,24 +217,24 @@ if(src.broken > 0) if(src.broken == 2 && O.is_screwdriver()) // If it's broken and they're using a screwdriver user.visible_message( \ - "\The [user] starts to fix part of the cooking pot.", \ + span_infoplain(span_bold("\The [user]") + " starts to fix part of the cooking pot."), \ span_notice("You start to fix part of the cooking pot.") \ ) playsound(src, O.usesound, 50, 1) if (do_after(user,20 * O.toolspeed)) user.visible_message( \ - "\The [user] fixes part of the cooking pot.", \ + span_infoplain(span_bold("\The [user]") + " fixes part of the cooking pot."), \ span_notice("You have fixed part of the cooking pot.") \ ) src.broken = 1 // Fix it a bit else if(src.broken == 1 && O.is_wrench()) // If it's broken and they're doing the wrench user.visible_message( \ - "\The [user] starts to fix part of the cooking pot.", \ + span_infoplain(span_bold("\The [user]") + " starts to fix part of the cooking pot."), \ span_notice("You start to fix part of the cooking pot.") \ ) if (do_after(user,20 * O.toolspeed)) user.visible_message( \ - "\The [user] fixes the cooking pot.", \ + span_infoplain(span_bold("\The [user]") + " fixes the cooking pot."), \ span_notice("You have fixed the cooking pot.") \ ) src.icon_state = "cookingpot" @@ -248,7 +248,7 @@ else if(src.dirty==100) // The microwave is all dirty so can't be used! if(istype(O, /obj/item/reagent_containers/spray/cleaner) || istype(O, /obj/item/soap)) // If they're trying to clean it then let them user.visible_message( \ - "\The [user] starts to clean the cooking pot.", \ + span_bold("\The [user]") + "starts to clean the cooking pot.", \ span_notice("You start to clean the cooking pot.") \ ) if (do_after(user,20)) diff --git a/maps/tether/tether_shuttles.dm b/maps/tether/tether_shuttles.dm index 69f575033e..f9532970e9 100644 --- a/maps/tether/tether_shuttles.dm +++ b/maps/tether/tether_shuttles.dm @@ -101,18 +101,18 @@ #define MOVE_PER(x) move_time*(x/100) SECONDS - computer.visible_message("[icon2html(computer)] Beginning flight and telemetry monitoring.") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_notice("Beginning flight and telemetry monitoring.")) sleep(MOVE_PER(5)) if(failures >= 1) - computer.visible_message("[icon2html(computer)] Single engine failure, continuing flight.") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_warning("Single engine failure, continuing flight.")) sleep(MOVE_PER(10)) if(failures >= 2) - computer.visible_message("[icon2html(computer)] Second engine failure, unable to complete flight.") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_warning("Second engine failure, unable to complete flight.")) playsound(computer,'sound/mecha/internaldmgalarm.ogg',100,0) sleep(MOVE_PER(10)) - computer.visible_message("[icon2html(computer)] Commencing RTLS abort mode.") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_warning("Commencing RTLS abort mode.")) sleep(MOVE_PER(20)) if(failures < 3) move(area_transition,origin) @@ -120,18 +120,18 @@ return 1 if(failures >= 3) - computer.visible_message("[icon2html(computer)] Total engine failure, unable to complete abort mode.") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_danger("Total engine failure, unable to complete abort mode.")) playsound(computer,'sound/mecha/internaldmgalarm.ogg',100,0) sleep(MOVE_PER(5)) - computer.visible_message("[icon2html(computer)] Distress signal broadcast.") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_danger("Distress signal broadcast.")) playsound(computer,'sound/mecha/internaldmgalarm.ogg',100,0) sleep(MOVE_PER(5)) - computer.visible_message("[icon2html(computer)] Stall. Stall. Stall. Stall.") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_danger("Stall. Stall. Stall. Stall.")) playsound(computer,'sound/mecha/internaldmgalarm.ogg',100,0) sleep(MOVE_PER(5)) playsound(computer,'sound/mecha/internaldmgalarm.ogg',100,0) sleep(MOVE_PER(5)) - computer.visible_message("[icon2html(computer)] Terrain! Pull up! Terrain! Pull up!") + computer.visible_message("[icon2html(computer), viewers(computer)] " + span_danger("Terrain! Pull up! Terrain! Pull up!")) playsound(computer,'sound/mecha/internaldmgalarm.ogg',100,0) playsound(computer,'sound/misc/bloblarm.ogg',100,0) sleep(MOVE_PER(10)) diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss index 672e1a3653..cb27c044ad 100644 --- a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss +++ b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss @@ -371,6 +371,10 @@ img.icon.bigicon { font-weight: bold; } +.world { + font-weight: bold; +} + .say, .emote, .emotesubtle, @@ -670,6 +674,10 @@ img.icon.bigicon { color: #059223; } +.darkgreen { + color: #008000; +} + .grey { color: #838383; } @@ -1421,6 +1429,10 @@ $border-width-px: $border-width * 1px; font-family: 'Segoe Script Bold', 'Segoe Script', sans-serif, Verdana; } +.marish { + color: #9e31a4; +} + .shadekin { color: #be3cc5; font-size: 150%; diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss index daadf91684..e7b4e47ba7 100644 --- a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss +++ b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss @@ -389,6 +389,10 @@ img.icon.bigicon { font-weight: bold; } +.world { + font-weight: bold; +} + .say, .emote, .emotesubtle, @@ -697,6 +701,10 @@ h2.alert { color: #03ff39; } +.darkgreen { + color: #008000; +} + .grey { color: #838383; } @@ -1454,6 +1462,10 @@ $border-width-px: $border-width * 1px; font-family: 'Segoe Script Bold', 'Segoe Script', sans-serif, Verdana; } +.marish { + color: #9e31a4; +} + .shadekin { color: #be3cc5; font-size: 150%; diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-vchatdark.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-vchatdark.scss index baaa61420f..32ab6331d5 100644 --- a/tgui/packages/tgui-panel/styles/tgchat/chat-vchatdark.scss +++ b/tgui/packages/tgui-panel/styles/tgchat/chat-vchatdark.scss @@ -371,6 +371,10 @@ img.icon.bigicon { font-weight: bold; } +.world { + font-weight: bold; +} + .say, .emote, .emotesubtle, @@ -670,6 +674,10 @@ img.icon.bigicon { color: #44ff44; } +.darkgreen { + color: #008000; +} + .grey { color: #a9a9a9; } @@ -1421,6 +1429,10 @@ $border-width-px: $border-width * 1px; font-family: 'Segoe Script Bold', 'Segoe Script', sans-serif, Verdana; } +.marish { + color: #9e31a4; +} + .shadekin { color: #be3cc5; font-size: 150%; diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-vchatlight.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-vchatlight.scss index 217b19da8e..fd4c060a7f 100644 --- a/tgui/packages/tgui-panel/styles/tgchat/chat-vchatlight.scss +++ b/tgui/packages/tgui-panel/styles/tgchat/chat-vchatlight.scss @@ -389,6 +389,10 @@ img.icon.bigicon { font-weight: bold; } +.world { + font-weight: bold; +} + .say, .emote, .emotesubtle, @@ -695,6 +699,10 @@ h2.alert { color: #03ff39; } +.darkgreen { + color: #008000; +} + .grey { color: #838383; } @@ -1452,6 +1460,10 @@ $border-width-px: $border-width * 1px; font-family: 'Segoe Script Bold', 'Segoe Script', sans-serif, Verdana; } +.marish { + color: #9e31a4; +} + .shadekin { color: #be3cc5; font-size: 150%;