Skip to content

Commit be24306

Browse files
committed
immersive text
1 parent 5585dd7 commit be24306

File tree

20 files changed

+106
-89
lines changed

20 files changed

+106
-89
lines changed

code/__DEFINES/_span.dm

+2
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@
116116
#define span_suppradio(str) ("<span class='suppradio'>" + str + "</span>")
117117
#define span_subtle(str) ("<span class='subtle'>" + str + "</span>")
118118
#define span_syndradio(str) ("<span class='syndradio'>" + str + "</span>")
119+
#define span_system(str) ("<span class='system'>" + str + "</span>")
120+
#define span_systemfont(str) ("<span class='systemfont'>" + str + "</span>")
119121
#define span_tape_recorder(str) ("<span class='tape_recorder'>" + str + "</span>")
120122
#define span_tinynotice(str) ("<span class='tinynotice'>" + str + "</span>")
121123
#define span_tinynoticeital(str) ("<span class='tinynoticeital'>" + str + "</span>")

code/__HELPERS/html.dm

+3
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@
3333
#define CHAT_TAG(img) "<img class='chat_tag' src='[img]'>"
3434
/// Radio tag image embed, see chat_tags.dm
3535
#define RADIO_TAG(img)"<img class='radio_tag' src='[img]'>"
36+
37+
/proc/systemtext(text)
38+
return span_system("<b>SYSTEM:</b> [text]")

code/__HELPERS/roundend.dm

+2-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@
216216
/datum/controller/subsystem/ticker/proc/declare_completion()
217217
set waitfor = FALSE
218218

219-
to_chat(world, "<span class='infoplain'><BR><BR><BR><span class='big bold'>The round has ended.</span></span>")
219+
to_chat(world, "<hr>")
220+
to_chat(world, span_big(systemtext("The round has ended.")))
220221
log_game("The round has ended.")
221222

222223
for(var/datum/callback/roundend_callbacks as anything in round_end_events)

code/controllers/master.dm

+3-3
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
220220
init_stage_completed = 0
221221
var/mc_started = FALSE
222222

223-
to_chat(world, span_boldannounce("Initializing subsystems..."))
223+
to_chat(world, systemtext("Initializing subsystems..."))
224224

225225
var/list/stage_sorted_subsystems = new(INITSTAGE_MAX)
226226
for (var/i in 1 to INITSTAGE_MAX)
@@ -248,7 +248,7 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
248248
current_initializing_subsystem = subsystem
249249

250250
if(GLOB.is_debug_server)
251-
to_chat(world, span_boldnotice("Initializing [subsystem.name]..."))
251+
to_chat(world, systemtext(span_notice("Initializing [subsystem.name]...")))
252252

253253
SStitle.set_game_status_text(sub_text = "Initializing [subsystem.name]")
254254

@@ -270,7 +270,7 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
270270

271271

272272
var/msg = "Initializations complete within [time] second[time == 1 ? "" : "s"]!"
273-
to_chat(world, span_boldannounce("[msg]"))
273+
to_chat(world, systemtext("[msg]"))
274274
log_world(msg)
275275
SStitle.set_game_status_text("Ready to Play")
276276

code/controllers/subsystem.dm

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@
275275
initialized = TRUE
276276
SEND_SIGNAL(src, COMSIG_SUBSYSTEM_POST_INITIALIZE, start_timeofday)
277277
var/time = (REALTIMEOFDAY - start_timeofday) / 10
278-
var/msg = "Initialized [name] subsystem within [time] second[time == 1 ? "" : "s"]!"
278+
var/msg = "Initialized [name] subsystem within [time] second[time == 1 ? "" : "s"]."
279279
if(GLOB.is_debug_server)
280-
to_chat(world, span_debug("[msg]"))
280+
to_chat(world, systemtext("[msg]"))
281281
log_world(msg)
282282
return time
283283

code/controllers/subsystem/airmachines.dm

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ SUBSYSTEM_DEF(airmachines)
2525

2626
/datum/controller/subsystem/airmachines/Initialize(timeofday)
2727
var/starttime = REALTIMEOFDAY
28-
to_chat(world, span_debug("Airmachines: Setting up atmospheric machinery..."))
28+
to_chat(world, systemtext("Airmachines: Setting up atmospheric machinery..."))
2929
setup_atmos_machinery()
30-
to_chat(world, span_debug("Airmachines: Airmachine setup completed in [(REALTIMEOFDAY- starttime) / 10] seconds!"))
30+
to_chat(world, systemtext("Airmachines: Airmachine setup completed in [(REALTIMEOFDAY- starttime) / 10] seconds!"))
3131
starttime = REALTIMEOFDAY
32-
to_chat(world, span_debug("Airmachines: Creating pipenets..."))
32+
to_chat(world, systemtext("Airmachines: Creating pipenets..."))
3333
setup_pipenets()
34-
to_chat(world, span_debug("Airmachines: Pipenet creation completed in [(REALTIMEOFDAY- starttime) / 10] seconds!"))
34+
to_chat(world, systemtext("Airmachines: Pipenet creation completed in [(REALTIMEOFDAY- starttime) / 10] seconds!"))
3535
return ..()
3636

3737
/datum/controller/subsystem/airmachines/stat_entry(msg)

code/controllers/subsystem/codex.dm

+26-26
Original file line numberDiff line numberDiff line change
@@ -355,34 +355,34 @@ SUBSYSTEM_DEF(codex)
355355
/datum/controller/subsystem/codex/proc/prepare_search_database(drop_existing = FALSE)
356356
if(GLOB.is_debug_server && !FORCE_CODEX_DATABASE)
357357
index_disabled = TRUE
358-
to_chat(world, span_debug("Codex: Debug server detected. DB operation disabled. See _compile_options.dm."))
358+
to_chat(world, systemtext("Codex: Debug server detected. DB operation disabled. See _compile_options.dm."))
359359
log_world("Codex: Codex DB generation Skipped")
360360
return
361361
#if FORCE_CODEX_DATABASE == TRUE
362-
to_chat(world, span_debug("Codex: Debug server detected. Override flag set, Dropping and regenerating index."))
362+
to_chat(world, systemtext("Codex: Debug server detected. Override flag set, Dropping and regenerating index."))
363363
log_world("Codex: Codex DB generation forced by compile flag.")
364364
drop_existing = TRUE
365365
#endif
366366
if(index_disabled)
367367
message_admins("Codex DB Indexing has been disabled, This doesn't seem right. Bailing.")
368368
CRASH("Attempted to prepare search database, but codex index was disabled.")
369369
if(drop_existing)
370-
to_chat(world, span_debug("Codex: Deleting old index..."))
370+
to_chat(world, systemtext("Codex: Deleting old index..."))
371371
//Check if we've already opened one this round, if so, get rid of it.
372372
if(codex_index)
373373
log_world("Codex: Deleting old index file.")
374374
del(codex_index)
375375
fdel(CODEX_SEARCH_INDEX_FILE)
376376
else
377-
to_chat(world, span_debug("Codex: Preparing Search Database"))
377+
to_chat(world, systemtext("Codex: Preparing Search Database"))
378378
log_world("Codex: Preparing Search Database")
379379

380380
index_generating = TRUE
381381
if(!rustg_file_exists(CODEX_SEARCH_INDEX_FILE))
382382
if(!drop_existing)
383-
to_chat(world, span_debug("Codex: Database missing, building..."))
383+
to_chat(world, systemtext("Codex: Database missing, building..."))
384384
else
385-
to_chat(world, span_debug("Codex: Building new database..."))
385+
to_chat(world, systemtext("Codex: Building new database..."))
386386
create_db()
387387
build_db_index()
388388

@@ -393,47 +393,47 @@ SUBSYSTEM_DEF(codex)
393393
if(!cursor.Execute(codex_index))
394394
index_disabled = TRUE
395395
can_fire = FALSE
396-
to_chat(world, span_debug("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]"))
396+
to_chat(world, systemtext("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]"))
397397
CRASH("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]")
398398

399399
cursor.NextRow()
400400
var/list/revline = cursor.GetRowData()
401401
var/db_serial = revline["revision"]
402402
if(db_serial != GLOB.revdata.commit)
403403
if(db_serial == CODEX_SERIAL_FALLBACK)
404-
to_chat(world, span_debug("Codex: Fallback Database Serial detected. Data may be inaccurate or out of date."))
404+
to_chat(world, systemtext("Codex: Fallback Database Serial detected. Data may be inaccurate or out of date."))
405405
else
406406
if(drop_existing)
407407
CRASH("Codex DB generation issue. Freshly generated index serial is bad. Is: [db_serial] | Expected: [GLOB.revdata.commit]")
408-
to_chat(world, span_debug("Codex: Database out of date, Rebuilding..."))
408+
to_chat(world, systemtext("Codex: Database out of date, Rebuilding..."))
409409
prepare_search_database(TRUE) //recursiveness funny,,
410410
return
411411

412412
if(!drop_existing)
413413
//Loading an old database, we need to flush the dynamic cache.
414-
to_chat(world, span_debug("Codex: Flushing Dynamic Index"))
414+
to_chat(world, systemtext("Codex: Flushing Dynamic Index"))
415415
cursor.Add("DELETE FROM dynamic_codex_entries") // Without a where, this is functionally TRUNCATE
416416
if(!cursor.Execute(codex_index))
417-
to_chat(world, span_debug("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]"))
417+
to_chat(world, systemtext("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]"))
418418
CRASH("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]")
419419

420420

421421
index_generating = FALSE //The database is now in a safe stuff for us to begin processing dynamic entries.
422422

423423

424424
if(drop_existing)
425-
to_chat(world, span_debug("Codex: Collation complete.\nCodex: Index ready."))
425+
to_chat(world, systemtext("Codex: Collation complete.\nCodex: Index ready."))
426426
else
427-
to_chat(world, span_debug("Codex: Database Serial validated.\nCodex: Loading complete."))
427+
to_chat(world, systemtext("Codex: Database Serial validated.\nCodex: Loading complete."))
428428

429429
/datum/controller/subsystem/codex/proc/create_db()
430430
// No index? Make one.
431431

432-
to_chat(world, span_debug("Codex: Writing new database file..."))
432+
to_chat(world, systemtext("Codex: Writing new database file..."))
433433
//We explicitly store the DB in the root directory, so that TGS builds wipe it.
434434
codex_index = new(CODEX_SEARCH_INDEX_FILE)
435435

436-
to_chat(world, span_debug("Codex: Writing Schema (1/3): Metadata"))
436+
to_chat(world, systemtext("Codex: Writing Schema (1/3): Metadata"))
437437
/// Holds the revision the index was compiled for. If it's different then live, we need to regenerate the index.
438438
var/static/create_info_schema = {"
439439
CREATE TABLE "_info" (
@@ -444,10 +444,10 @@ SUBSYSTEM_DEF(codex)
444444
var/database/query/init_cursor = new(create_info_schema)
445445

446446
if(!init_cursor.Execute(codex_index))
447-
to_chat(world, span_debug("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
447+
to_chat(world, systemtext("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
448448
CRASH("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]")
449449

450-
to_chat(world, span_debug("Codex: Writing Schema (2/3): Baked Index"))
450+
to_chat(world, systemtext("Codex: Writing Schema (2/3): Baked Index"))
451451
// Holds all codex entries to enable accelerated text search.
452452
var/static/create_codex_schema = {"
453453
CREATE TABLE "codex_entries" (
@@ -460,10 +460,10 @@ SUBSYSTEM_DEF(codex)
460460

461461
init_cursor.Add(create_codex_schema)
462462
if(!init_cursor.Execute(codex_index))
463-
to_chat(world, span_debug("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
463+
to_chat(world, systemtext("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
464464
CRASH("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]")
465465

466-
to_chat(world, span_debug("Codex: Writing Schema (3/3): Dynamic Index"))
466+
to_chat(world, systemtext("Codex: Writing Schema (3/3): Dynamic Index"))
467467
// Holds all dynamic codex entries to enable accelerated text search.
468468
var/static/create_dynamic_codex_schema = {"
469469
CREATE TABLE "dynamic_codex_entries" (
@@ -476,7 +476,7 @@ SUBSYSTEM_DEF(codex)
476476

477477
init_cursor.Add(create_dynamic_codex_schema)
478478
if(!init_cursor.Execute(codex_index))
479-
to_chat(world, span_debug("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
479+
to_chat(world, systemtext("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
480480
CRASH("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]")
481481

482482

@@ -485,19 +485,19 @@ SUBSYSTEM_DEF(codex)
485485
if(!revid) //zip download, you're on your own pissboy, The serial is special and the database will never regenerate.
486486
revid = CODEX_SERIAL_FALLBACK
487487

488-
to_chat(world, span_debug("Codex: Schema complete, Writing serial..."))
488+
to_chat(world, systemtext("Codex: Schema complete, Writing serial..."))
489489
//Insert the revision header.
490490
init_cursor.Add("INSERT INTO _info (revision) VALUES (?)", revid)
491491
if(!init_cursor.Execute(codex_index))
492-
to_chat(world, span_debug("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
492+
to_chat(world, systemtext("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]"))
493493
CRASH("Codex: ABORTING! Database error: [init_cursor.Error()] | [init_cursor.ErrorMsg()]")
494494

495495
/datum/controller/subsystem/codex/proc/build_db_index()
496-
to_chat(world, span_debug("Codex: Building search index."))
496+
to_chat(world, systemtext("Codex: Building search index."))
497497

498498
var/database/query/cursor = new
499499
var/total_entries = length(all_entries)
500-
to_chat(world, span_debug("\tCodex: Collating [total_entries] records..."))
500+
to_chat(world, systemtext("\tCodex: Collating [total_entries] records..."))
501501
var/record_id = 0 //Counter for debugging.
502502
for(var/datum/codex_entry/entry as anything in all_entries)
503503
cursor.Add(
@@ -509,12 +509,12 @@ SUBSYSTEM_DEF(codex)
509509
)
510510

511511
if(!cursor.Execute(codex_index))
512-
to_chat(world, span_debug("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]"))
512+
to_chat(world, systemtext("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]"))
513513
CRASH("Codex: ABORTING! Database error: [cursor.Error()] | [cursor.ErrorMsg()]")
514514

515515
record_id++
516516
if((!(record_id % 100)) || (record_id == total_entries))
517-
to_chat(world, span_debug("\tCodex: [record_id]/[total_entries]..."))
517+
to_chat(world, systemtext("\tCodex: [record_id]/[total_entries]..."))
518518

519519
CHECK_TICK //We'd deadlock the server otherwise.
520520

code/controllers/subsystem/mapping.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ Used by the AI doomsday and the self-destruct nuke.
293293
z_list = SSmapping.z_list
294294
multiz_levels = SSmapping.multiz_levels
295295

296-
#define INIT_ANNOUNCE(X) to_chat(world, span_debug("[X]")); log_world(X)
296+
#define INIT_ANNOUNCE(X) to_chat(world, systemtext("[X]")); log_world(X)
297297
/datum/controller/subsystem/mapping/proc/LoadGroup(list/errorList, name, path, files, list/traits, list/default_traits, silent = FALSE)
298298
. = list()
299299
var/start_time = REALTIMEOFDAY

code/controllers/subsystem/ticker.dm

+9-7
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,11 @@ SUBSYSTEM_DEF(ticker)
131131
if(GAME_STATE_STARTUP)
132132
if(Master.initializations_finished_with_no_players_logged_in)
133133
start_at = world.time + (CONFIG_GET(number/lobby_countdown) * 10)
134+
134135
for(var/client/C in GLOB.clients)
135136
window_flash(C, ignorepref = TRUE) //let them know lobby has opened up.
136-
to_chat(world, span_notice("<b>Welcome to [station_name()]!</b>"))
137+
to_chat(C, systemtext("WELCOME, [uppertext(C.ckey)]"))
138+
137139
var/newround_staple = CONFIG_GET(string/chat_newgame_staple)
138140
send2chat("New round starting on [SSmapping.config.map_name][newround_staple ? ", [newround_staple]" : null]!", CONFIG_GET(string/chat_announce_new_game))
139141
current_state = GAME_STATE_PREGAME
@@ -228,7 +230,7 @@ SUBSYSTEM_DEF(ticker)
228230

229231

230232
/datum/controller/subsystem/ticker/proc/setup()
231-
to_chat(world, span_boldannounce("Starting game..."))
233+
to_chat(world, systemtext("Starting game..."))
232234
var/init_start = world.timeofday
233235

234236
ready_players = list() // This needs to be reset every setup, incase the gamemode fails to start.
@@ -241,7 +243,7 @@ SUBSYSTEM_DEF(ticker)
241243
if(!initialize_gamemode())
242244
return FALSE
243245

244-
to_chat(world, span_boldannounce("The gamemode is: [get_mode_name()]."))
246+
to_chat(world, systemtext("The gamemode is: [get_mode_name()]."))
245247
if(mode_display_name)
246248
message_admins("The real gamemode is: [get_mode_name(TRUE)].")
247249
to_chat(world, "<br><hr><br>")
@@ -650,10 +652,10 @@ SUBSYSTEM_DEF(ticker)
650652

651653
var/skip_delay = check_rights()
652654
if(delay_end && !skip_delay)
653-
to_chat(world, span_boldannounce("An admin has delayed the round end."))
655+
to_chat(world, systemtext("An admin has delayed the round end."))
654656
return
655657

656-
to_chat(world, span_boldannounce("Rebooting World in [DisplayTimeText(delay)]. [reason]"))
658+
to_chat(world, systemtext("Rebooting World in [DisplayTimeText(delay)]. [reason]"))
657659

658660
var/roll_credits_in = CONFIG_GET(number/eor_credits_delay) * 10
659661
if(roll_credits)
@@ -667,7 +669,7 @@ SUBSYSTEM_DEF(ticker)
667669
sleep(delay - (world.time - start_wait))
668670

669671
if(delay_end && !skip_delay)
670-
to_chat(world, span_boldannounce("Reboot was cancelled by an admin."))
672+
to_chat(world, systemtext("Reboot was cancelled by an admin."))
671673
return
672674
if(end_string)
673675
end_state = end_string
@@ -679,7 +681,7 @@ SUBSYSTEM_DEF(ticker)
679681
else if(gamelogloc)
680682
to_chat(world, span_info("Round logs can be located <a href=\"[gamelogloc]\">at this website!</a>"))
681683

682-
log_game(span_boldannounce("Rebooting World. [reason]"))
684+
log_game(systemtext("Rebooting World. [reason]"))
683685

684686
world.Reboot()
685687

code/controllers/subsystem/vote.dm

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@ SUBSYSTEM_DEF(vote)
129129
initiator = initiator_key
130130
started_time = REALTIMEOFDAY
131131

132-
var/text = "[capitalize(current_vote.name)] vote started by [initiator || "CentCom"]."
132+
var/text = "[capitalize(current_vote.name)] vote started by [initiator || "server"]."
133133

134134
log_vote(text)
135135

136136
var/vp = CONFIG_GET(number/vote_period)
137-
to_chat(world, "\n<span class='infoplain'><font color='purple'><b>[text]</b>\nType <b>vote</b> or click <a href='byond://winset?command=vote'>here</a> to place your votes.\nYou have [DisplayTimeText(vp)] to vote.</font></span>")
137+
to_chat(world, "\n[systemtext("<font color='purple'><b>[text]</b>\nType <b>vote</b> or click <a href='byond://winset?command=vote'>here</a> to place your votes.\nYou have [DisplayTimeText(vp)] to vote.</font>")]")
138138

139139
time_remaining = round(vp/10)
140140
for(var/client/C in GLOB.clients)

code/controllers/subsystem/zas.dm

+5-5
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ SUBSYSTEM_DEF(zas)
170170
settings = zas_settings
171171
gas_data = xgm_gas_data
172172

173-
to_chat(world, span_debug("ZAS: Processing Geometry..."))
173+
to_chat(world, systemtext("ZAS: Processing Geometry..."))
174174

175175
var/simulated_turf_count = 0
176176

@@ -185,18 +185,18 @@ SUBSYSTEM_DEF(zas)
185185
SStitle.set_game_status_text(sub_text = "Propagating atmospheric zones")
186186
stoplag()
187187

188-
to_chat(world, span_debug("ZAS:\n - Total Simulated Turfs: [simulated_turf_count]\n - Total Zones: [zones.len]\n - Total Edges: [edges.len]\n - Total Active Edges: [active_edges.len ? "<span class='danger'>[active_edges.len]</span>" : "None"]\n - Total Unsimulated Turfs: [world.maxx*world.maxy*world.maxz - simulated_turf_count]"))
188+
to_chat(world, systemtext("ZAS:\n - Total Simulated Turfs: [simulated_turf_count]\n - Total Zones: [zones.len]\n - Total Edges: [edges.len]\n - Total Active Edges: [active_edges.len ? "<span class='danger'>[active_edges.len]</span>" : "None"]\n - Total Unsimulated Turfs: [world.maxx*world.maxy*world.maxz - simulated_turf_count]"))
189189

190-
to_chat(world, span_debug("ZAS: Geometry processing completed in [(REALTIMEOFDAY - starttime)/10] seconds!"))
190+
to_chat(world, systemtext("ZAS: Geometry processing completed in [(REALTIMEOFDAY - starttime)/10] seconds!"))
191191

192192
if (simulate)
193-
to_chat(world, span_debug("ZAS: Firing once..."))
193+
to_chat(world, systemtext("ZAS: Firing once..."))
194194

195195
SStitle.set_game_status_text(sub_text = "Settling air")
196196
starttime = REALTIMEOFDAY
197197
fire(FALSE, TRUE)
198198

199-
to_chat(world, span_debug("ZAS: Air settling completed in [(REALTIMEOFDAY - starttime)/10] seconds!"))
199+
to_chat(world, systemtext("ZAS: Air settling completed in [(REALTIMEOFDAY - starttime)/10] seconds!"))
200200

201201
..(timeofday)
202202

code/game/sound.dm

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@
190190
SEND_SOUND(src, sound(SSticker.login_music.path, repeat = 0, wait = 0, volume = vol, channel = CHANNEL_LOBBYMUSIC)) // MAD JAMS
191191

192192
UNTIL(SSticker.current_state >= GAME_STATE_PREGAME)
193-
to_chat(src, span_greenannounce("Now Playing: <i>[SSticker.login_music.name]</i>[SSticker.login_music.author ? " by [SSticker.login_music.author]" : ""]"))
193+
to_chat(src, systemtext("Now Playing: <i>[SSticker.login_music.name]</i>[SSticker.login_music.author ? " by [SSticker.login_music.author]" : ""]"))
194194

195195
/client/proc/playcreditsmusic(vol = 85)
196196
SEND_SOUND(src, sound(SSticker.credits_music.path, repeat = 0, wait = 0, volume = vol, channel = CHANNEL_LOBBYMUSIC))
197-
to_chat(src, span_greenannounce("Now Playing: <i>[SSticker.credits_music.name]</i>[SSticker.credits_music.author ? " by [SSticker.credits_music.author]" : ""]"))
197+
to_chat(src, systemtext("Now Playing: <i>[SSticker.credits_music.name]</i>[SSticker.credits_music.author ? " by [SSticker.credits_music.author]" : ""]"))
198198

199199
/proc/get_rand_frequency()
200200
return rand(32000, 55000) //Frequency stuff only works with 45kbps oggs.

code/game/world.dm

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ GLOBAL_VAR(restart_counter)
279279
if (usr)
280280
log_admin("[key_name(usr)] Has requested an immediate world restart via client side debugging tools")
281281
message_admins("[key_name_admin(usr)] Has requested an immediate world restart via client side debugging tools")
282-
to_chat(world, span_boldannounce("Rebooting World immediately due to host request."))
282+
to_chat(world, systemtext("Rebooting World immediately due to host request."))
283283
else
284-
to_chat(world, span_boldannounce("Rebooting world..."))
284+
to_chat(world, systemtext("Rebooting world..."))
285285
Master.Shutdown() //run SS shutdowns
286286

287287
#ifdef UNIT_TESTS

0 commit comments

Comments
 (0)