This commit is contained in:
kevinz000
2019-12-15 00:06:11 -07:00
parent 8e97b0e331
commit 4970675467
6 changed files with 98 additions and 1 deletions
+3
View File
@@ -21,6 +21,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/last_ip
var/last_id
var/mutable_appearance/custom_holoform
var/last_custom_holoform = 0
//Cooldowns for saving/loading. These are four are all separate due to loading code calling these one after another
var/saveprefcooldown
var/loadprefcooldown
@@ -0,0 +1,18 @@
/client/verb/clear_custom_holoform()
set naame = "Clear Custom Holoform"
set desc = "Clear your current custom holoform"
prefs?.custom_holoform = null
to_chat(src, "<span class='boldnotice'>Holoform removed.</span>")
/client/verb/set_custom_holoform()
set name = "Set Custom Holoform"
set desc = "Set your custom holoform using your current preferences slot and a specified set of gear."
if(prefs.last_custom_holoform < world.time + CUSTOM_HOLOFORM_DELAY)
to_chat(src, "<span class='warning'>You are attempting to change custom holoforms too fast!</span>")
var/mutable_appearance/new_holoform = user_interface_custom_holoform(src)
if(new_holoform)
prefs.custom_holoform = new_holoform
prefs.last_custom_holoform = world.time
to_chat(src, "<span class='boldnotice'>Holoform set.</span>")
-1
View File
@@ -47,7 +47,6 @@
//Add a "exclude" string to do the opposite, making it only only species listed that can't wear it.
//You append this to clothing objects.
/obj/item/clothing/Initialize()
. = ..()
if(CHECK_BITFIELD(clothing_flags, VOICEBOX_TOGGLABLE))