Edit Character Button

Allows players to edit their character while playing, and not just
during start-up. Effects won't take place until next round, however.
This commit is contained in:
Ryan784
2016-01-12 17:28:13 -05:00
parent f41819666d
commit 1e31289608
3 changed files with 32 additions and 23 deletions
+12
View File
@@ -87,6 +87,12 @@
if(href_list["warnview"])
warnings_check()
if(href_list["preference"])
if(istype(mob, /mob/new_player))
var/mob/new_player/P = mob
if(P.ready)
return
prefs.process_link(src, href_list)
..() //redirect to hsrc.Topic()
/client/proc/handle_spam_prevention(var/message, var/mute_type)
@@ -333,3 +339,9 @@
'icons/spideros_icons/sos_13.png',
'icons/spideros_icons/sos_14.png'
)
/client/verb/edit_character()
set name = "Edit Character"
set category = "Preferences"
set desc = "Allows you to edit your character and preferences"
prefs.ShowChoices(src)