Unabashed Unathi Clothes Update: Part 1 (#11840)

This commit is contained in:
Haydizzle
2021-05-08 12:04:23 +02:00
committed by GitHub
parent b5fc9b937a
commit 977bed4596
19 changed files with 419 additions and 139 deletions
@@ -1,5 +1,6 @@
#define GEAR_NO_SELECTION 0
#define GEAR_HAS_COLOR_SELECTION 1
#define GEAR_HAS_NAME_SELECTION 2
#define GEAR_HAS_DESC_SELECTION 4
#define GEAR_HAS_COLOR_ROTATION_SELECTION 8
#define GEAR_HAS_ADDITIONAL_COLOR_SELECTION 2
#define GEAR_HAS_NAME_SELECTION 4
#define GEAR_HAS_DESC_SELECTION 8
#define GEAR_HAS_COLOR_ROTATION_SELECTION 16
@@ -46,6 +46,22 @@ Color adjustment
return
I.color = sanitize_hexcolor(metadata, I.color)
/*
Additional Color adjustment
*/
var/datum/gear_tweak/color/additional/gear_tweak_additional_color = new()
/datum/gear_tweak/color/additional/get_contents(var/metadata)
return "Additional Color: <font color='[metadata]'>&#9899;</font>"
/datum/gear_tweak/color/additional/tweak_item(var/obj/item/I, var/metadata)
if(valid_colors && !(metadata in valid_colors))
return
if(I.vars["additional_color"]) // set var/additional_color = COLOR_GREY on item
I.vars["additional_color"] = metadata
I.update_icon()
/*
Color Rotation adjustment
*/
@@ -294,6 +294,8 @@ var/list/gear_datums = list()
description = initial(O.desc)
if(flags & GEAR_HAS_COLOR_SELECTION)
gear_tweaks += list(gear_tweak_free_color_choice)
if(flags & GEAR_HAS_ADDITIONAL_COLOR_SELECTION)
gear_tweaks += list(gear_tweak_additional_color)
if(flags & GEAR_HAS_NAME_SELECTION)
gear_tweaks += list(gear_tweak_free_name)
if(flags & GEAR_HAS_DESC_SELECTION)
@@ -1,5 +1,7 @@
/datum/gear/suit/unathi_mantle
display_name = "hide mantle selection"
description = "A selection of hide mantles, one for each of the desert, forest, and mountainous \
regions of Moghes. The forest mantle from the coveted Tul is exclusively for nobility these days."
path = /obj/item/clothing/accessory/poncho/unathimantle
cost = 1
whitelisted = list(SPECIES_UNATHI)
@@ -59,7 +61,7 @@
/datum/gear/gloves/unathi_handwraps
display_name = "cloth handwraps"
path = /obj/item/clothing/gloves/handwraps
path = /obj/item/clothing/gloves/unathi
cost = 1
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
@@ -72,9 +74,15 @@
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
/datum/gear/uniform/unathi/himation
display_name = "himation cloak"
path = /obj/item/clothing/under/unathi/himation
cost = 1
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION | GEAR_HAS_ADDITIONAL_COLOR_SELECTION
/datum/gear/head/sinta_ronin
display_name = "straw hat"
path = /obj/item/clothing/head/sinta_ronin
path = /obj/item/clothing/head/unathi
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
@@ -156,6 +164,7 @@
path = /obj/item/clothing/under/unathi/zazali
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_COLOR_SELECTION | GEAR_HAS_ADDITIONAL_COLOR_SELECTION
/datum/gear/uniform/unathi/huytai
display_name = "huytai outfit"
@@ -170,26 +179,27 @@
sort_category = "Xenowear - Unathi"
/datum/gear/suit/unathi/wrapping_head
display_name = "thakh shaman head wrappings"
description = "Head wrappings with a breath mask. Only very traditional Th'akh Shamans would wear these."
path = /obj/item/clothing/mask/gas/wrapping
display_name = "Thakhist head wrappings"
path = /obj/item/clothing/mask/gas/unathi
cost = 1
whitelisted = list(SPECIES_UNATHI)
allowed_roles = list("Chaplain", "Roboticist")
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_DESC_SELECTION
/datum/gear/suit/unathi/wrapping_body
display_name = "thakh shaman body wrappings"
description = "Closed body wrappings. Only very traditional Th'akh Shamans would wear these."
path = /obj/item/clothing/suit/unathi/mantle/wrapping
display_name = "Thakhist body wrappings"
path = /obj/item/clothing/suit/unathi/wrapping
cost = 1
whitelisted = list(SPECIES_UNATHI)
allowed_roles = list("Chaplain", "Roboticist")
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_DESC_SELECTION
/datum/gear/augment/autakh
display_name = "soul anchor"
description = "A rune inscribed mirror or piece of glass placed behind the eyes. Believed to be the 'Window to the Soul' and house the concentrated spirit of an individual."
description = "A rune inscribed mirror or piece of glass placed behind the eyes. Believed to \
be the 'Window to the Soul' and house the concentrated spirit of an individual."
path = /obj/item/organ/internal/anchor
cost = 1
whitelisted = list(SPECIES_UNATHI)
@@ -197,17 +207,20 @@
/datum/gear/augment/autakh/calf_override
display_name = "calf overdrive"
description = "An Aut'akh augment that allows the user to run at high speeds without the cost of stamina, causes damage to the lower body when used."
description = "An Aut'akh augment that allows the user to run at high speeds without the cost \
of stamina, causes damage to the lower body when used."
path = /obj/item/organ/internal/augment/calf_override
/datum/gear/augment/autakh/protein_valve
display_name = "protein breakdown valve"
description = "An aut'akh valve on the chest that releases a dangerous chemical into the stomach, forcing rapid digestion for immediate adrenal stimulation. Causes long-term damage."
description = "An aut'akh valve on the chest that releases a dangerous chemical into the \
stomach, forcing rapid digestion for immediate adrenal stimulation. Causes long-term damage."
path = /obj/item/organ/internal/augment/protein_valve
/datum/gear/augment/autakh/venomous_rest
display_name = "venomous rest implant"
description = "An aut'akh compartment connected to the blood system that administers a traditional Unathi healing agent."
description = "An aut'akh compartment connected to the blood system that administers a \
traditional Unathi healing agent."
path = /obj/item/organ/internal/augment/venomous_rest
/datum/gear/augment/autakh/eyes
@@ -226,4 +239,60 @@
display_name = "shaman staff"
path = /obj/item/cane/shaman
sort_category = "Xenowear - Unathi"
whitelisted = list(SPECIES_UNATHI)
whitelisted = list(SPECIES_UNATHI)
/datum/gear/suit/maxtlatl
display_name = "Thakhist maxtlatl"
path = /obj/item/clothing/accessory/poncho/maxtlatl
cost = 1
whitelisted = list(SPECIES_UNATHI)
allowed_roles = list("Chaplain")
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_DESC_SELECTION
/datum/gear/wrists/maxtlatl
display_name = "Thakhist wristguards"
path = /obj/item/clothing/wrists/unathi/maxtlatl
whitelisted = list(SPECIES_UNATHI)
allowed_roles = list("Chaplain")
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_DESC_SELECTION
/datum/gear/head/maxtlatl
display_name = "Thakhist headgear"
path = /obj/item/clothing/head/unathi/maxtlatl
whitelisted = list(SPECIES_UNATHI)
allowed_roles = list("Chaplain")
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_DESC_SELECTION
/datum/gear/suit/rockstone
display_name = "rockstone cape"
path = /obj/item/clothing/accessory/poncho/rockstone
cost = 1
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION | GEAR_HAS_ADDITIONAL_COLOR_SELECTION
/datum/gear/wrists/noble_bracers
display_name = "jeweled bracers"
path = /obj/item/clothing/wrists/unathi/jeweled
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
/datum/gear/suit/sash
display_name = "gyazo belt"
path = /obj/item/clothing/accessory/unathi
cost = 1
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
/datum/gear/suit/noble_vest
display_name = "jokfar vest"
path = /obj/item/clothing/suit/unathi/jokfar
cost = 1
whitelisted = list(SPECIES_UNATHI)
sort_category = "Xenowear - Unathi"
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION