WHAT IF WE FIXED EVERYTHING IN ONE COMMIT
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
*******************************************/
|
||||
/datum/sprite_accessory/xeno_tail
|
||||
icon = 'modular_citadel/icons/mob/xeno_parts_greyscale.dmi'
|
||||
mutant_part_string = "tail"
|
||||
mutant_part_string = "xenotail"
|
||||
relevant_layers = list(BODY_BEHIND_LAYER, BODY_FRONT_LAYER)
|
||||
|
||||
/datum/sprite_accessory/xeno_tail/is_not_visible(var/mob/living/carbon/human/H, var/tauric)
|
||||
@@ -46,7 +46,7 @@
|
||||
*******************************************/
|
||||
/datum/sprite_accessory/xeno_head
|
||||
icon = 'modular_citadel/icons/mob/xeno_parts_greyscale.dmi'
|
||||
mutant_part_string = "xhead"
|
||||
mutant_part_string = "xenohead"
|
||||
relevant_layers = list(BODY_ADJ_LAYER)
|
||||
|
||||
/datum/sprite_accessory/xeno_head/is_not_visible(var/mob/living/carbon/human/H, var/tauric)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/datum/sprite_accessory/body_markings
|
||||
icon = 'icons/mob/mutant_bodyparts.dmi'
|
||||
relevant_layers = list(BODY_ADJ_LAYER)
|
||||
mutant_part_string = "bodymarkings"
|
||||
mutant_part_string = "body_markings"
|
||||
|
||||
/datum/sprite_accessory/body_markings/none
|
||||
name = "None"
|
||||
@@ -49,7 +49,7 @@
|
||||
gender_specific = 0
|
||||
icon = 'modular_citadel/icons/mob/mam_markings.dmi'
|
||||
recommended_species = list("mammal", "xeno", "slimeperson", "podweak")
|
||||
mutant_part_string = "bodymarkings"
|
||||
mutant_part_string = "mam_body_markings"
|
||||
matrixed_sections = MATRIX_ALL
|
||||
|
||||
/datum/sprite_accessory/mam_body_markings/none
|
||||
@@ -234,6 +234,7 @@
|
||||
icon = 'icons/mob/wings.dmi'
|
||||
color_src = 0
|
||||
relevant_layers = list(BODY_FRONT_LAYER)
|
||||
mutant_part_string = "insect_fluff"
|
||||
|
||||
/datum/sprite_accessory/insect_fluff/is_not_visible(var/mob/living/carbon/human/H, var/tauric)
|
||||
return (!H.dna.features["insect_fluff"] || H.dna.features["insect_fluff"] == "None" || H.wear_suit && (H.wear_suit.flags_inv & HIDEJUMPSUIT))
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
/datum/sprite_accessory/ears/mam_ears
|
||||
icon = 'modular_citadel/icons/mob/mam_ears.dmi'
|
||||
color_src = MATRIXED
|
||||
mutant_part_string = "ears"
|
||||
mutant_part_string = "mam_ears"
|
||||
relevant_layers = list(BODY_BEHIND_LAYER, BODY_ADJ_LAYER, BODY_FRONT_LAYER)
|
||||
|
||||
/datum/sprite_accessory/ears/mam_ears/is_not_visible(var/mob/living/carbon/human/H, var/tauric)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/datum/sprite_accessory/snouts
|
||||
icon = 'icons/mob/mutant_bodyparts.dmi'
|
||||
mutant_part_string = "snout"
|
||||
mutant_part_string = "snouts"
|
||||
relevant_layers = list(BODY_ADJ_LAYER, BODY_FRONT_LAYER)
|
||||
|
||||
/datum/sprite_accessory/snouts/is_not_visible(var/mob/living/carbon/human/H, var/tauric)
|
||||
@@ -153,7 +153,7 @@
|
||||
color_src = MATRIXED
|
||||
icon = 'modular_citadel/icons/mob/mam_snouts.dmi'
|
||||
recommended_species = list("mammal", "slimeperson", "insect", "podweak", "lizard")
|
||||
mutant_part_string = "snout"
|
||||
mutant_part_string = "mam_snouts"
|
||||
relevant_layers = list(BODY_ADJ_LAYER, BODY_FRONT_LAYER)
|
||||
|
||||
/datum/sprite_accessory/snouts/mam_snouts/is_not_visible(var/mob/living/carbon/human/H, var/tauric)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/datum/sprite_accessory/tails
|
||||
icon = 'icons/mob/mutant_bodyparts.dmi'
|
||||
mutant_part_string = "tail"
|
||||
mutant_part_string = "tails"
|
||||
relevant_layers = list(BODY_BEHIND_LAYER, BODY_FRONT_LAYER)
|
||||
|
||||
/datum/sprite_accessory/tails/is_not_visible(var/mob/living/carbon/human/H, var/tauric)
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
/datum/sprite_accessory/tails_animated
|
||||
icon = 'icons/mob/mutant_bodyparts.dmi'
|
||||
mutant_part_string = "tail" //keep this the same, ALWAYS, this is incredibly important for colouring!
|
||||
mutant_part_string = "tails" //keep this the same, ALWAYS, this is incredibly important for colouring!
|
||||
relevant_layers = list(BODY_BEHIND_LAYER, BODY_FRONT_LAYER)
|
||||
|
||||
/******************************************
|
||||
|
||||
@@ -773,6 +773,13 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
||||
var/primary_string = advanced_color_system ? "[S.mutant_part_string]_primary" : "mcolor"
|
||||
var/secondary_string = advanced_color_system ? "[S.mutant_part_string]_secondary" : "mcolor2"
|
||||
var/tertiary_string = advanced_color_system ? "[S.mutant_part_string]_tertiary" : "mcolor3"
|
||||
//failsafe: if there's no value for any of these, set it to white
|
||||
if(!H.dna.features[primary_string])
|
||||
H.dna.features[primary_string] = "FFFFFF"
|
||||
if(!H.dna.features[secondary_string])
|
||||
H.dna.features[secondary_string] = "FFFFFF"
|
||||
if(!H.dna.features[tertiary_string])
|
||||
H.dna.features[tertiary_string] = "FFFFFF"
|
||||
|
||||
if(!husk)
|
||||
if(!forced_colour)
|
||||
@@ -797,9 +804,18 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
||||
|
||||
if(MATRIXED)
|
||||
var/list/accessory_colorlist = list()
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("[H.dna.features[primary_string]]00")
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("[H.dna.features[secondary_string]]00")
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("[H.dna.features[tertiary_string]]00")
|
||||
if(S.matrixed_sections == MATRIX_RED || S.matrixed_sections == MATRIX_RED_GREEN || S.matrixed_sections == MATRIX_RED_BLUE || S.matrixed_sections == MATRIX_ALL)
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("[H.dna.features[primary_string]]00")
|
||||
else
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("00000000")
|
||||
if(S.matrixed_sections == MATRIX_GREEN || S.matrixed_sections == MATRIX_RED_GREEN || S.matrixed_sections == MATRIX_GREEN_BLUE || S.matrixed_sections == MATRIX_ALL)
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("[H.dna.features[secondary_string]]00")
|
||||
else
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("00000000")
|
||||
if(S.matrixed_sections == MATRIX_BLUE || S.matrixed_sections == MATRIX_RED_BLUE || S.matrixed_sections == MATRIX_GREEN_BLUE || S.matrixed_sections == MATRIX_ALL)
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("[H.dna.features[tertiary_string]]00")
|
||||
else
|
||||
accessory_colorlist += husk ? ReadRGB("#a3a3a3") : ReadRGB("00000000")
|
||||
accessory_colorlist += husk ? list(0, 0, 0) : list(0, 0, 0, hair_alpha)
|
||||
for(var/index in 1 to accessory_colorlist.len)
|
||||
accessory_colorlist[index] /= 255
|
||||
|
||||
Reference in New Issue
Block a user