diff --git a/code/modules/mob/living/silicon/examine.dm b/code/modules/mob/living/silicon/examine.dm
index 7de281de5f2..0b997dc5cca 100644
--- a/code/modules/mob/living/silicon/examine.dm
+++ b/code/modules/mob/living/silicon/examine.dm
@@ -4,3 +4,16 @@
. += "[src] has the following laws:"
for(var/law in laws.get_law_list(include_zeroth = TRUE))
. += law
+
+ //SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
+ if(client)
+ var/line
+ if(length(client.prefs.features["silicon_flavor_text"]))
+ var/message = client.prefs.features["silicon_flavor_text"]
+ if(length_char(message) <= 40)
+ line = "[message]"
+ else
+ line = "[copytext_char(message, 1, 37)]... More..."
+ line += " \[OOC\]"
+ . += line
+ //SKYRAT EDIT ADDITION END
diff --git a/code/modules/mob/living/silicon/silicon.dm b/code/modules/mob/living/silicon/silicon.dm
index d5fb7f32e43..4e5928bd14e 100644
--- a/code/modules/mob/living/silicon/silicon.dm
+++ b/code/modules/mob/living/silicon/silicon.dm
@@ -210,6 +210,25 @@
return
to_chat(usr, href_list["printlawtext"])
+ //SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
+ if(href_list["lookup_info"])
+ switch(href_list["lookup_info"])
+ if("ooc_prefs")
+ if(client)
+ var/str = "[src]'s OOC Notes :
ERP : [client.prefs.erp_pref] | Non-Con : [client.prefs.noncon_pref] | Vore : [client.prefs.vore_pref]"
+ str += "
[html_encode(client.prefs.ooc_prefs)]"
+ var/datum/browser/popup = new(usr, "[name]'s ooc info", "[name]'s OOC Information", 500, 200)
+ popup.set_content(text("
[][]", "[name]'s OOC information", replacetext(str, "\n", "
")))
+ popup.open()
+ return
+
+ if("silicon_flavor_text")
+ if(client && length(client.prefs.features["silicon_flavor_text"]))
+ var/datum/browser/popup = new(usr, "[name]'s flavor text", "[name]'s Flavor Text", 500, 200)
+ popup.set_content(text("[][]", "[name]'s flavor text", replacetext(client.prefs.features["silicon_flavor_text"], "\n", "
")))
+ popup.open()
+ return
+ //SKYRAT EDIT ADDITION END
return
/mob/living/silicon/proc/statelaws(force = 0)
diff --git a/modular_skyrat/modules/customization/modules/client/preferences.dm b/modular_skyrat/modules/customization/modules/client/preferences.dm
index 6007640e656..cca0121e9b1 100644
--- a/modular_skyrat/modules/customization/modules/client/preferences.dm
+++ b/modular_skyrat/modules/customization/modules/client/preferences.dm
@@ -385,6 +385,7 @@
dat += "Species Naming:
[(features["custom_species"]) ? features["custom_species"] : "Default"]
"
dat += "Sprite body size:
[(features["body_size"] * 100)]% [show_body_size ? "Hide preview" : "Show preview"]
"
dat += "Flavor Text
"
+ // Carbon flavor text
dat += "Set Examine Text
"
if(length(features["flavor_text"]) <= 40)
if(!length(features["flavor_text"]))
@@ -393,6 +394,18 @@
dat += "[html_encode(features["flavor_text"])]"
else
dat += "[copytext(html_encode(features["flavor_text"]), 1, 40)]..."
+
+ dat += "
"
+
+ // Silicon flavor text
+ dat += "Set Silicon Examine Text
"
+ if(length(features["silicon_flavor_text"]) <= 40)
+ if(!length(features["silicon_flavor_text"]))
+ dat += "\[...\]"
+ else
+ dat += "[html_encode(features["silicon_flavor_text"])]"
+ else
+ dat += "[copytext(html_encode(features["silicon_flavor_text"]), 1, 40)]..."
dat += "OOC Preferences
"
dat += "ERP:[erp_pref] "
@@ -1855,6 +1868,11 @@
if(!isnull(msg))
features["flavor_text"] = strip_html_simple(msg, MAX_FLAVOR_LEN, TRUE)
+ if("silicon_flavor_text")
+ var/msg = input(usr, "Set the flavor text in your 'examine' verb. This is for describing what people can tell by looking at your character.", "Silicon Flavor Text", features["silicon_flavor_text"]) as message|null
+ if(!isnull(msg))
+ features["silicon_flavor_text"] = strip_html_simple(msg, MAX_FLAVOR_LEN, TRUE)
+
if("ooc_prefs")
var/msg = input(usr, "Set your OOC preferences.", "OOC Prefs", ooc_prefs) as message|null
if(!isnull(msg))