Actually test-fixed taur suits this time

This commit is contained in:
Poojawa
2018-11-10 00:23:42 -06:00
parent 13cb1d1c8a
commit f03cd4c852
2 changed files with 19 additions and 14 deletions

View File

@@ -47,9 +47,12 @@
center = TRUE
dimension_x = 64
*/
else
taurmode = NOT_TAURIC
H.update_inv_wear_suit()
else
taurmode = NOT_TAURIC
if(tauric == TRUE)
center = FALSE
dimension_x = 32
H.update_inv_wear_suit()
/obj/item/clothing/suit/worn_overlays(isinhands = FALSE)

View File

@@ -374,22 +374,24 @@ There are several things that need to be remembered:
if(hud_used.inventory_shown)
client.screen += wear_suit
update_observer_view(wear_suit,1)
if(S.mutantrace_variation) //All suits unless otherwise noted are snowflake'd, so let's ensure they're getting the override.
if(S.tauric) //Are we a suit with tauric mode possible?
if(S.mutantrace_variation) //Just make sure we've got this checked too
if(S.taurmode == NOT_TAURIC && S.adjusted == ALT_STYLE) //are we not a taur, but we have Digitigrade legs? Run this check first, then.
S.alternate_worn_icon = 'modular_citadel/icons/mob/suit_digi.dmi'
else
S.alternate_worn_icon = null
if(S.tauric == TRUE) //Are we a suit with tauric mode possible?
if(S.taurmode == SNEK_TAURIC)
S.alternate_worn_icon = 'modular_citadel/icons/mob/taur_naga.dmi'
if(S.taurmode == PAW_TAURIC)
S.alternate_worn_icon = 'modular_citadel/icons/mob/taur_canine.dmi'
if(S.taurmode == NOT_TAURIC)
if(S.taurmode == NOT_TAURIC && S.adjusted == ALT_STYLE)
S.alternate_worn_icon = 'modular_citadel/icons/mob/suit_digi.dmi'
else if(S.taurmode == NOT_TAURIC && S.adjusted == NORMAL_STYLE)
S.alternate_worn_icon = null
else //let's clear the icon override just in case.
S.alternate_worn_icon = null
if(S.adjusted == ALT_STYLE) //Do we have Digitigrade legs?
S.alternate_worn_icon = 'modular_citadel/icons/mob/suit_digi.dmi'
else //We don't have anything special, but let's clear the icon again just in case.
S.alternate_worn_icon = null
overlays_standing[SUIT_LAYER] = S.build_worn_icon(state = wear_suit.icon_state, default_layer = SUIT_LAYER, default_icon_file = ((wear_suit.alternate_worn_icon) ? S.alternate_worn_icon : 'icons/mob/suit.dmi'))
var/mutable_appearance/suit_overlay = overlays_standing[SUIT_LAYER]