mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 03:49:10 +01:00
Ports Goonchat from Baystation. (#9635)
changes:
rscadd: "Ported a new chat system, Goonchat, that allows for cool things like changing font style, size, spacing, highlighting up to 5 strings in the chat, and DARK MODE."
rscadd: "Repeated chat messages can now get compacted. You can disable this in goonchat settings."
rscadd: "You can change icon style to any font on your system."
tweak: "The game window has been altered a bit to adjust for this."
rscdel: "Removed skin style prefs as they are no longer used."
This commit is contained in:
@@ -339,9 +339,9 @@
|
||||
system_error("Unbraced drill error.")
|
||||
sleep(30)
|
||||
if(!supported) //if you can resolve it manually in three seconds then power to you good-sir.
|
||||
visible_message(SPAN_NOTICE("\icon[src] [src.name] beeps, \"Unbraced drill error automatically corrected. Please brace your drill.\""))
|
||||
visible_message(SPAN_NOTICE("[icon2html(src, viewers(get_turf(src)))] [src.name] beeps, \"Unbraced drill error automatically corrected. Please brace your drill.\""))
|
||||
else
|
||||
visible_message(SPAN_NOTICE("\icon[src] [src.name] beeps, \"Unbraced drill error manually resolved. Operations may resume normally.\""))
|
||||
visible_message(SPAN_NOTICE("[icon2html(src, viewers(get_turf(src)))] [src.name] beeps, \"Unbraced drill error manually resolved. Operations may resume normally.\""))
|
||||
if(supported && panel_open)
|
||||
if(cell)
|
||||
system_error("Unsealed cell fitting error. Volatile cell discharge may occur if not immediately corrected.")
|
||||
@@ -362,7 +362,7 @@
|
||||
component_parts -= cell
|
||||
cell = null
|
||||
else
|
||||
visible_message(SPAN_NOTICE("\icon[src] [src.name] beeps, \"Unsealed cell fitting error manually resolved. Operations may resume normally.\""))
|
||||
visible_message(SPAN_NOTICE("[icon2html(src, viewers(get_turf(src)))] [src.name] beeps, \"Unsealed cell fitting error manually resolved. Operations may resume normally.\""))
|
||||
else
|
||||
to_chat(user, SPAN_NOTICE("\The [src] is unpowered."))
|
||||
update_icon()
|
||||
@@ -412,7 +412,7 @@
|
||||
|
||||
/obj/machinery/mining/drill/proc/system_error(var/error)
|
||||
if(error)
|
||||
visible_message(SPAN_WARNING("\icon[src] <b>[capitalize_first_letters(src.name)]</b> flashes a system warning: \"[error]\"."))
|
||||
visible_message(SPAN_WARNING("[icon2html(src, viewers(get_turf(src)))] <b>[capitalize_first_letters(src.name)]</b> flashes a system warning: \"[error]\"."))
|
||||
current_error = error
|
||||
playsound(get_turf(src), 'sound/machines/warning-buzzer.ogg', 100, 1)
|
||||
need_player_check = TRUE
|
||||
@@ -519,7 +519,7 @@
|
||||
connected.system_error("Unbraced drill error.")
|
||||
sleep(30)
|
||||
if(connected?.active) //if you can resolve it manually in three seconds then power to you good-sir.
|
||||
visible_message(SPAN_NOTICE("\icon[src] [src.name] beeps, \"Unbraced drill error automatically corrected. Please brace your drill.\""))
|
||||
visible_message(SPAN_NOTICE("[icon2html(src, viewers(get_turf(src)))] [src.name] beeps, \"Unbraced drill error automatically corrected. Please brace your drill.\""))
|
||||
else
|
||||
connected.system_error("Unexpected user interface error.")
|
||||
return
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
if(ore_type)
|
||||
metals[ore_type] += T.resources[metal]
|
||||
|
||||
to_chat(user, "\icon[src] [SPAN_NOTICE("The scanner beeps and displays a readout:")]")
|
||||
to_chat(user, "[icon2html(src, user)] [SPAN_NOTICE("The scanner beeps and displays a readout:")]")
|
||||
|
||||
for(var/ore_type in metals)
|
||||
var/result = "no sign"
|
||||
|
||||
@@ -95,15 +95,15 @@
|
||||
if(machine.ores_processing[ore])
|
||||
switch(machine.ores_processing[ore])
|
||||
if(0)
|
||||
dat += "<font color='red'>not processing</font>"
|
||||
dat += "<span class='warning'>not processing</span>"
|
||||
if(1)
|
||||
dat += "<font color='orange'>smelting</font>"
|
||||
if(2)
|
||||
dat += "<font color='blue'>compressing</font>"
|
||||
dat += "<span class='notice'>compressing</span>"
|
||||
if(3)
|
||||
dat += "<font color='gray'>alloying</font>"
|
||||
else
|
||||
dat += "<font color='red'>not processing</font>"
|
||||
dat += "<span class='warning'>not processing</span>"
|
||||
dat += ".</td><td width = 30><a href='?src=\ref[src];toggle_smelting=[ore]'>\[change\]</a></td></tr>"
|
||||
|
||||
dat += "</table><hr>"
|
||||
|
||||
@@ -257,7 +257,7 @@ var/list/mineral_can_smooth_with = list(
|
||||
if(do_after(user,25))
|
||||
if(!istype(src, /turf/simulated/mineral))
|
||||
return
|
||||
to_chat(user, SPAN_NOTICE("\icon[P] \The [src] has been excavated to a depth of [2 * excavation_level]cm."))
|
||||
to_chat(user, SPAN_NOTICE("[icon2html(P, user)] \The [src] has been excavated to a depth of [2 * excavation_level]cm."))
|
||||
return
|
||||
|
||||
if(istype(W, /obj/item/pickaxe) && W.simulated) // Pickaxe offhand is not simulated.
|
||||
|
||||
@@ -61,10 +61,10 @@
|
||||
|
||||
if(!input)
|
||||
dat += text("input connection status: ")
|
||||
dat += text("<b><font color='red'>NOT CONNECTED</font></b><br>")
|
||||
dat += text("<b><span class='warning'>NOT CONNECTED</span></b><br>")
|
||||
if(!output)
|
||||
dat += text("<br>output connection status: ")
|
||||
dat += text("<b><font color='red'>NOT CONNECTED</font></b><br>")
|
||||
dat += text("<b><span class='warning'>NOT CONNECTED</span></b><br>")
|
||||
|
||||
dat += text("<br><font color='#ffcc00'><b>Gold inserted: </b>[amt_gold]</font> ")
|
||||
if(chosen == "gold")
|
||||
|
||||
Reference in New Issue
Block a user