mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-30 16:38:30 +01:00
Modular clothes system updates fix
This commit is contained in:
@@ -6,27 +6,36 @@
|
|||||||
item_color = "chef"
|
item_color = "chef"
|
||||||
alt_covers_chest = TRUE
|
alt_covers_chest = TRUE
|
||||||
|
|
||||||
|
var/mob/living/carbon/U
|
||||||
|
|
||||||
|
/obj/item/clothing/under/rank/chef/modular/equipped(mob/user, slot)
|
||||||
|
if(slot == SLOT_W_UNIFORM)
|
||||||
|
U = user
|
||||||
|
else
|
||||||
|
U = null
|
||||||
|
|
||||||
|
/obj/item/clothing/under/rank/chef/modular/dropped()
|
||||||
|
U = null
|
||||||
|
|
||||||
/obj/item/clothing/under/rank/chef/modular/worn_overlays(isinhands = FALSE)
|
/obj/item/clothing/under/rank/chef/modular/worn_overlays(isinhands = FALSE)
|
||||||
. = list()
|
. = list()
|
||||||
if(!isinhands)
|
var/obj/item/organ/O
|
||||||
var/mob/living/carbon/U = usr
|
var/obj/item/organ/genital/G
|
||||||
var/obj/item/organ/O
|
for(O in U.internal_organs)
|
||||||
var/obj/item/organ/genital/G
|
if(istype(O, /obj/item/organ/genital/belly))
|
||||||
for(O in U.internal_organs)
|
G = O
|
||||||
if(istype(O, /obj/item/organ/genital/belly))
|
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefbelly.dmi', "belly_[G.size]", GENITALS_UNDER_LAYER)
|
||||||
G = O
|
if(istype(O, /obj/item/organ/genital/anus))
|
||||||
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefbelly.dmi', "belly_[G.size]", GENITALS_UNDER_LAYER)
|
G = O
|
||||||
if(istype(O, /obj/item/organ/genital/anus))
|
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefanus.dmi', "butt_[G.size]", GENITALS_FRONT_LAYER)
|
||||||
G = O
|
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefanus.dmi', "butt_[G.size]_NORTH", GENITALS_FRONT_LAYER)
|
||||||
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefanus.dmi', "butt_[G.size]", GENITALS_FRONT_LAYER)
|
if(istype(O, /obj/item/organ/genital/breasts))
|
||||||
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefanus.dmi', "butt_[G.size]_NORTH", GENITALS_FRONT_LAYER)
|
G = O
|
||||||
if(istype(O, /obj/item/organ/genital/breasts))
|
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefbreasts.dmi', "breasts_[G.size]", GENITALS_BEHIND_LAYER) //nearest
|
||||||
G = O
|
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefbreasts.dmi', "breasts_[G.size]_NORTH", BODY_FRONT_LAYER) //farthest
|
||||||
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefbreasts.dmi', "breasts_[G.size]", GENITALS_BEHIND_LAYER) //nearest
|
if(damaged_clothes)
|
||||||
. += mutable_appearance('GainStation13/icons/mob/modclothes/chefbreasts.dmi', "breasts_[G.size]_NORTH", BODY_FRONT_LAYER) //farthest
|
. += mutable_appearance('icons/effects/item_damage.dmi', "damageduniform")
|
||||||
if(damaged_clothes)
|
if(blood_DNA)
|
||||||
. += mutable_appearance('icons/effects/item_damage.dmi', "damageduniform")
|
. += mutable_appearance('icons/effects/blood.dmi', "uniformblood", color = blood_DNA_to_color())
|
||||||
if(blood_DNA)
|
if(accessory_overlay)
|
||||||
. += mutable_appearance('icons/effects/blood.dmi', "uniformblood", color = blood_DNA_to_color())
|
. += accessory_overlay
|
||||||
if(accessory_overlay)
|
|
||||||
. += accessory_overlay
|
|
||||||
|
|||||||
Reference in New Issue
Block a user