Fix genital layering

Ensures butts are layered in front of uniforms, but behind hands. Fixes belly changes from fix-hiding-butt.
This commit is contained in:
haha26
2021-08-04 00:12:17 -04:00
parent f2a1ebff33
commit c07263a2ac
3 changed files with 7 additions and 7 deletions
@@ -8,7 +8,7 @@
w_class = 3
size = 0
var/statuscheck = FALSE
shape = "round"
shape = "Pair"
masturbation_verb = "massage"
can_masturbate_with = FALSE
can_climax = FALSE
@@ -472,7 +472,7 @@
if(G.slot == "anus") //we have a different size system
genital_overlay.icon = 'hyperstation/icons/obj/genitals/butt.dmi'
genital_overlay.icon_state = "butt_[size]"
genital_overlay.layer = -FRONT_MUTATIONS_LAYER
genital_overlay.layer = -ID_LAYER //in front of suit, behind bellies.
colourcode = "butt_color"
if(use_skintones) //butts are forced a colour, either skin tones, or main colour. how ever, mutants use a darker version, because of their body tone.
genital_overlay.color = "#[skintone2hex(H.skin_tone)]"