DEBUG PRINTOUT PAIN: [REF(src)]"
final_print += "[parent] has a total pain of [get_total_pain()]."
final_print += "[parent] has a traumatic shock of [traumatic_shock]."
final_print += "[parent] has a pain modifier of [pain_modifier]."
diff --git a/maplestation_modules/code/game/objects/structures/vital_reader.dm b/maplestation_modules/code/game/objects/structures/vital_reader.dm
index bd29de46dd32..eb0f96532e35 100644
--- a/maplestation_modules/code/game/objects/structures/vital_reader.dm
+++ b/maplestation_modules/code/game/objects/structures/vital_reader.dm
@@ -197,7 +197,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/computer/vitals_reader/no_hand, 32)
var/entire_printout = ""
entire_printout += healthscan(user, patient, mode = /*SCANNER_CONDENSED*/0, advanced = advanced, tochat = FALSE)
entire_printout += chemscan(user, patient, tochat = FALSE)
- to_chat(user, examine_block(entire_printout), trailing_newline = FALSE, type = MESSAGE_TYPE_INFO)
+ to_chat(user, boxed_message(entire_printout), trailing_newline = FALSE, type = MESSAGE_TYPE_INFO)
#define LOWER_BAR_OFFSET -3
diff --git a/maplestation_modules/code/modules/jobs/job_types/stowaway.dm b/maplestation_modules/code/modules/jobs/job_types/stowaway.dm
index bd61ebe8d404..40873b0676a8 100644
--- a/maplestation_modules/code/modules/jobs/job_types/stowaway.dm
+++ b/maplestation_modules/code/modules/jobs/job_types/stowaway.dm
@@ -45,7 +45,7 @@
. = ..()
var/datum/status_effect/backstory/backstory = spawned.apply_status_effect(/datum/status_effect/backstory)
var/backstory_ref = "click here"
- to_chat(player_client, examine_block("\
+ to_chat(player_client, boxed_message("\
[span_boldnotice("You find yourself stown away in [get_area_name(spawned)] on [station_name()].")]\n\
[span_notice("All you have to your name is the clothes on your back, some tools, and a small amount of cash.")]\n\
[span_notice("The crew has no record of your existence.")]\n\
@@ -159,7 +159,7 @@
if(length(backstory_equipment_items) && backstory_equipment)
final_info += span_notice("
Additional equipment: [backstory_equipment]")
- to_chat(owner, examine_block(span_infoplain(final_info)))
+ to_chat(owner, boxed_message(span_infoplain(final_info)))
for(var/thing in backstory_equipment_items)
owner.equip_to_slot_if_possible(new thing(owner.loc), backstory_equipment_items[thing], disable_warning = TRUE, redraw_mob = FALSE, initial = TRUE)
diff --git a/maplestation_modules/code/modules/mob/living/carbon/human/species_types/synth/android_brain.dm b/maplestation_modules/code/modules/mob/living/carbon/human/species_types/synth/android_brain.dm
index babb1fe6fa54..da5b5f852b46 100644
--- a/maplestation_modules/code/modules/mob/living/carbon/human/species_types/synth/android_brain.dm
+++ b/maplestation_modules/code/modules/mob/living/carbon/human/species_types/synth/android_brain.dm
@@ -69,7 +69,7 @@
/obj/item/organ/brain/cybernetic/android/proc/print_laws(top_text = "You are bound by a set of laws")
var/law_msg = "[top_text]:
[jointext(law_datum.get_law_list(include_zeroth = TRUE, render_html = TRUE), "
")]"
- to_chat(owner, examine_block(span_info(law_msg)))
+ to_chat(owner, boxed_message(span_info(law_msg)))
/obj/item/organ/brain/cybernetic/android/proc/on_ion_storm(...)
SIGNAL_HANDLER
diff --git a/maplestation_modules/code/modules/radio_emote_helper/emote_helper.dm b/maplestation_modules/code/modules/radio_emote_helper/emote_helper.dm
index 4e03f9e97c01..054ed6fae769 100644
--- a/maplestation_modules/code/modules/radio_emote_helper/emote_helper.dm
+++ b/maplestation_modules/code/modules/radio_emote_helper/emote_helper.dm
@@ -23,4 +23,4 @@ You can also use this to create a custom \"say emote\" (that is, what your messa
It will automatically insert a comma for you, so you don't need to worry about that.
"}
- to_chat(usr, examine_block("[header]\n[text]"))
+ to_chat(usr, boxed_message("[header]\n[text]"))
diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss
index acac60f1a397..ba4f94320eac 100644
--- a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss
+++ b/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss
@@ -48,6 +48,10 @@ a:visited {
}
}
+.center {
+ text-align: center;
+}
+
/* POPUPS */
.popup {
@@ -793,6 +797,10 @@ em {
font-size: 60%;
}
+.smaller {
+ font-size: 80%;
+}
+
.slightly_smaller {
font-size: 90%;
}
@@ -990,16 +998,70 @@ em {
margin-left: 2.5em;
}
-.examine_block {
- background: hsl(220, 5.3%, 11.2%);
- border: 1px solid hsl(213.6, 37.9%, 74.1%);
- margin: 0.5em;
- padding: 0.5em 0.75em;
-}
-
.tooltip {
font-style: italic;
- border-bottom: 1px dashed #fff;
+ border-bottom: 1px dashed;
+}
+
+.fieldset_legend {
+ position: relative;
+ max-width: 95%;
+ font-size: 120%;
+ padding: 0.2em 0.5em;
+ background: #151515; // Chat background color
+ border: 1px solid;
+ border-color: inherit;
+ border-radius: 0.33em;
+ z-index: 1;
+
+ // "Mask" a half of the border
+ // It very rough but it only possible way i see with IE compat
+ // Replace it with normal mask-image when 516 got stable
+ &:before {
+ content: '';
+ position: absolute;
+ left: 0;
+ height: 1.15em;
+ width: 100%;
+ background: #151515; // Chat background color
+ transform: translateY(-50%) scaleX(1.05);
+ z-index: -1;
+ }
+}
+
+.boxed_message {
+ background: hsl(220, 10%, 10%);
+ border: 1em * calc(1px / 12px) solid;
+ border-left: 1em * calc(4px / 12px) solid;
+ border-color: hsla(220, 40%, 75%, 0.25);
+ margin: 0.5em 0;
+ padding: 0.5em 0.75em;
+ border-radius: 0.33em;
+
+ &.red_box {
+ background: hsl(0, 20%, 10%);
+ border-color: hsla(0, 100%, 50%, 0.5);
+ }
+
+ &.green_box {
+ background: hsl(140, 20%, 10%);
+ border-color: hsla(120, 100%, 50%, 0.5);
+ }
+
+ &.blue_box {
+ background: hsl(220, 20%, 10%);
+ border-color: hsla(225, 90%, 65%, 0.5);
+ }
+
+ &.purple_box {
+ background: hsl(260, 25%, 12.5%);
+ border-color: hsla(260, 100%, 75%, 0.5);
+ }
+
+ hr {
+ margin: 0.5em -0.75em;
+ border-color: inherit;
+ }
}
// Provides a horizontal bar with text in the middle
diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss
index 80e1dfc4cfb1..3b65f451e25f 100644
--- a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss
+++ b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss
@@ -804,6 +804,10 @@ h2.alert {
font-size: 60%;
}
+.smaller {
+ font-size: 80%;
+}
+
.slightly_smaller {
font-size: 90%;
}
@@ -1001,16 +1005,42 @@ h2.alert {
margin-left: 3em;
}
-.examine_block {
- background: hsl(202.5, 44.4%, 96.5%);
- border: 1px solid hsl(215.5, 39.3%, 11%);
- margin: 0.5em;
- padding: 0.5em 0.75em;
-}
-
.tooltip {
font-style: italic;
- border-bottom: 1px dashed #000;
+ border-bottom: 1px dashed;
+}
+
+.fieldset_legend {
+ background: #ffffff; // Chat background color
+
+ &:before {
+ background: #ffffff; // Chat background color
+ }
+}
+
+.boxed_message {
+ background: hsl(220, 100%, 97.5%);
+ border-color: hsla(220, 75%, 25%, 0.5);
+
+ &.red_box {
+ background: hsl(0, 100%, 97.5%);
+ border-color: hsla(0, 100%, 50%, 0.5);
+ }
+
+ &.green_box {
+ background: hsl(140, 100%, 97.5%);
+ border-color: hsl(120, 100%, 33%, 0.5);
+ }
+
+ &.blue_box {
+ background: hsl(220, 100%, 97.5%);
+ border-color: hsla(225, 100%, 50%, 0.5);
+ }
+
+ &.purple_box {
+ background: hsl(260, 100%, 97.5%);
+ border-color: hsla(260, 100%, 50%, 0.5);
+ }
}
// Provides a horizontal bar with text in the middle