mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Quick edit
This commit is contained in:
@@ -140,7 +140,7 @@ datum/preferences/proc/set_biological_gender(var/gender)
|
|||||||
return TOPIC_REFRESH
|
return TOPIC_REFRESH
|
||||||
|
|
||||||
else if(href_list["metadata"])
|
else if(href_list["metadata"])
|
||||||
var/new_metadata = sanitize(input(user, "Enter any information you'd like others to see, such as Roleplay-preferences:", "Game Preference" , html_decode(pref.metadata)) as message, extra = 0) //VOREStation Edit
|
var/new_metadata = sanitize(input(user, "Enter any information you'd like others to see, such as Roleplay-preferences:", "Game Preference" , html_decode(pref.metadata)) as message, MAX_RECORD_LENGTH, extra = 0) //VOREStation Edit
|
||||||
if(new_metadata && CanUseTopic(user))
|
if(new_metadata && CanUseTopic(user))
|
||||||
pref.metadata = new_metadata
|
pref.metadata = new_metadata
|
||||||
return TOPIC_REFRESH
|
return TOPIC_REFRESH
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
switch(href_list["flavor_text"])
|
switch(href_list["flavor_text"])
|
||||||
if("open")
|
if("open")
|
||||||
if("general")
|
if("general")
|
||||||
var/msg = sanitize(input(usr,"Give a general description of your character. This will be shown regardless of clothings.","Flavor Text",html_decode(pref.flavor_texts[href_list["flavor_text"]])) as message, extra = 0) //VOREStation Edit: separating out OOC notes
|
var/msg = sanitize(input(usr,"Give a general description of your character. This will be shown regardless of clothings.","Flavor Text",html_decode(pref.flavor_texts[href_list["flavor_text"]])) as message, MAX_RECORD_LENGTH, extra = 0) //VOREStation Edit: separating out OOC notes
|
||||||
if(CanUseTopic(user))
|
if(CanUseTopic(user))
|
||||||
pref.flavor_texts[href_list["flavor_text"]] = msg
|
pref.flavor_texts[href_list["flavor_text"]] = msg
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user