[likes]
+diff --git a/code/modules/client/preference_setup/general/01_basic.dm b/code/modules/client/preference_setup/general/01_basic.dm
index f9cef82095..fc6e34a251 100644
--- a/code/modules/client/preference_setup/general/01_basic.dm
+++ b/code/modules/client/preference_setup/general/01_basic.dm
@@ -209,11 +209,26 @@
return TOPIC_REFRESH
else if(href_list["metadata"])
- var/new_metadata = strip_html_simple(tgui_input_text(user, "Enter any information you'd like others to see, such as Roleplay-preferences:", "Game Preference" , html_decode(pref.metadata), multiline = TRUE, prevent_enter = TRUE)) //VOREStation Edit
+// var/new_metadata = strip_html_simple(tgui_input_text(user, "Enter any information you'd like others to see, such as Roleplay-preferences:", "Game Preference" , html_decode(pref.metadata), multiline = TRUE, prevent_enter = TRUE)) //VOREStation Edit
+ if(CanUseTopic(user))
+ ooc_notes_window(user)
+// pref.metadata = new_metadata
+ return TOPIC_HANDLED
+ else if(href_list["edit_ooc_notes"])
+ var/new_metadata = strip_html_simple(tgui_input_text(usr, "Enter any information you'd like others to see, such as Roleplay-preferences. This will not be saved permanently unless you click save in the Character Setup panel!", "Game Preference" , html_decode(pref.metadata), multiline = TRUE, prevent_enter = TRUE))
if(new_metadata && CanUseTopic(user))
pref.metadata = new_metadata
- return TOPIC_REFRESH
-
+ ooc_notes_window(usr)
+ else if(href_list["edit_ooc_note_likes"])
+ var/new_metadata = strip_html_simple(tgui_input_text(usr, "Enter any information you'd like others to see relating to your LIKED roleplay preferences. This will not be saved permanently unless you click save in the Character Setup panel!", "Game Preference" , html_decode(pref.metadata_likes), multiline = TRUE, prevent_enter = TRUE))
+ if(new_metadata && CanUseTopic(user))
+ pref.metadata_likes = new_metadata
+ ooc_notes_window(usr)
+ else if(href_list["edit_ooc_note_dislikes"])
+ var/new_metadata = strip_html_simple(tgui_input_text(usr, "Enter any information you'd like others to see relating to your DISLIKED roleplay preferences. This will not be saved permanently unless you click save in the Character Setup panel!", "Game Preference" , html_decode(pref.metadata_dislikes), multiline = TRUE, prevent_enter = TRUE))
+ if(new_metadata && CanUseTopic(user))
+ pref.metadata_dislikes = new_metadata
+ ooc_notes_window(usr)
return ..()
/datum/category_item/player_setup_item/general/basic/proc/get_genders()
@@ -228,3 +243,131 @@
possible_genders = possible_genders.Copy()
possible_genders |= NEUTER
return possible_genders
+
+/datum/category_item/player_setup_item/general/basic/proc/ooc_notes_window(mob/user)
+ //I tried to get it to accept things like emojis and all that, but, it wouldn't do! It would be cool if it did.
+ var/notes = replacetext(html_decode(pref.metadata), "\n", "
")
+ var/likes = replacetext(html_decode(pref.metadata_likes), "\n", "
")
+ var/dislikes = replacetext(html_decode(pref.metadata_dislikes), "\n", "
")
+ var/dat = {"
+
+
+
Save your changes in the character setup!
+ [pref.real_name]'s OOC notes| + Edit + | +
[notes]
+ + + + +| + Edit + | +
[likes]
+| + Edit + | +
[dislikes]
+This only updates your character save file, to update your notes in the round use the Set OOC Metainfo verb!
+ "} + + user << browse("