From 94294f0a3f320386f13bdb81dba8231a509f776a Mon Sep 17 00:00:00 2001 From: Yoshax Date: Thu, 2 Mar 2017 12:56:09 +0000 Subject: [PATCH] Colorable loadout items --- .../loadout/loadout_gloves_vr.dm | 16 ++++++++++++++++ .../preference_setup/loadout/loadout_suit_vr.dm | 7 +++++++ code/modules/clothing/gloves/miscellaneous_vr.dm | 7 ++++++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 code/modules/client/preference_setup/loadout/loadout_suit_vr.dm diff --git a/code/modules/client/preference_setup/loadout/loadout_gloves_vr.dm b/code/modules/client/preference_setup/loadout/loadout_gloves_vr.dm index 7e0b35e11d..6ebb5be740 100644 --- a/code/modules/client/preference_setup/loadout/loadout_gloves_vr.dm +++ b/code/modules/client/preference_setup/loadout/loadout_gloves_vr.dm @@ -6,3 +6,19 @@ display_name = "wedding ring, silver" path = /obj/item/clothing/gloves/weddingring/silver +/datum/gear/gloves/colored + display_name = "gloves, colorable" + path = /obj/item/clothing/gloves/color + +/datum/gear/gloves/colored/New() + ..() + gear_tweaks = list(gear_tweak_free_color_choice) + + +/datum/gear/gloves/latex/colorable + display_name = "gloves, latex, colorable" + path = /obj/item/clothing/gloves/latex + +/datum/gear/gloves/latex/colorable/New() + ..() + gear_tweaks = list(gear_tweak_free_color_choice) \ No newline at end of file diff --git a/code/modules/client/preference_setup/loadout/loadout_suit_vr.dm b/code/modules/client/preference_setup/loadout/loadout_suit_vr.dm new file mode 100644 index 0000000000..b20aebe7f4 --- /dev/null +++ b/code/modules/client/preference_setup/loadout/loadout_suit_vr.dm @@ -0,0 +1,7 @@ +/datum/gear/suit/labcoat_colorable + display_name = "labcoat, colorable" + path = /obj/item/clothing/suit/storage/toggle/labcoat + +/datum/gear/suit/labcoat_colorable/New() + ..() + gear_tweaks = list(gear_tweak_free_color_choice) \ No newline at end of file diff --git a/code/modules/clothing/gloves/miscellaneous_vr.dm b/code/modules/clothing/gloves/miscellaneous_vr.dm index 8ae935ab5d..aee86bff27 100644 --- a/code/modules/clothing/gloves/miscellaneous_vr.dm +++ b/code/modules/clothing/gloves/miscellaneous_vr.dm @@ -13,4 +13,9 @@ /obj/item/clothing/gloves/weddingring/silver name = "silver wedding ring" icon_state = "wedring_s" - item_state = "wedring_s" \ No newline at end of file + item_state = "wedring_s" + +/obj/item/clothing/gloves/color + desc = "A pair of gloves, they don't look special in any way." + item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white") + icon_state = "latex"