s
This commit is contained in:
@@ -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>")
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user