mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
Custom Accessory Fix (#12721)
This commit is contained in:
@@ -32,7 +32,9 @@
|
|||||||
if(!inv_overlay || force)
|
if(!inv_overlay || force)
|
||||||
var/tmp_icon_state = "[overlay_state? "[overlay_state]" : "[icon_state]"]"
|
var/tmp_icon_state = "[overlay_state? "[overlay_state]" : "[icon_state]"]"
|
||||||
if(icon_override)
|
if(icon_override)
|
||||||
if("[tmp_icon_state]_tie" in icon_states(icon_override))
|
if(contained_sprite)
|
||||||
|
tmp_icon_state = "[tmp_icon_state]_w"
|
||||||
|
else if("[tmp_icon_state]_tie" in icon_states(icon_override))
|
||||||
tmp_icon_state = "[tmp_icon_state]_tie"
|
tmp_icon_state = "[tmp_icon_state]_tie"
|
||||||
else if(contained_sprite)
|
else if(contained_sprite)
|
||||||
tmp_icon_state = "[tmp_icon_state]_w"
|
tmp_icon_state = "[tmp_icon_state]_w"
|
||||||
@@ -58,7 +60,9 @@
|
|||||||
if(!accessory_mob_overlay || force)
|
if(!accessory_mob_overlay || force)
|
||||||
var/tmp_icon_state = "[overlay_state? "[overlay_state]" : "[icon_state]"]"
|
var/tmp_icon_state = "[overlay_state? "[overlay_state]" : "[icon_state]"]"
|
||||||
if(icon_override)
|
if(icon_override)
|
||||||
if("[tmp_icon_state]_mob" in icon_states(I))
|
if(contained_sprite)
|
||||||
|
tmp_icon_state = "[src.item_state][WORN_UNDER]"
|
||||||
|
else if("[tmp_icon_state]_mob" in icon_states(I))
|
||||||
tmp_icon_state = "[tmp_icon_state]_mob"
|
tmp_icon_state = "[tmp_icon_state]_mob"
|
||||||
else if(contained_sprite)
|
else if(contained_sprite)
|
||||||
tmp_icon_state = "[src.item_state][WORN_UNDER]"
|
tmp_icon_state = "[src.item_state][WORN_UNDER]"
|
||||||
|
|||||||
@@ -546,6 +546,7 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon = 'icons/obj/custom_items/rifler_holster.dmi'
|
icon = 'icons/obj/custom_items/rifler_holster.dmi'
|
||||||
icon_override = 'icons/obj/custom_items/rifler_holster.dmi'
|
icon_override = 'icons/obj/custom_items/rifler_holster.dmi'
|
||||||
icon_state = "rifler_holster"
|
icon_state = "rifler_holster"
|
||||||
|
contained_sprite = TRUE
|
||||||
|
|
||||||
|
|
||||||
/obj/item/storage/backpack/satchel/fluff/xerius_bag //Tote Bag - Shiur'izzi Xerius - witchebells
|
/obj/item/storage/backpack/satchel/fluff/xerius_bag //Tote Bag - Shiur'izzi Xerius - witchebells
|
||||||
@@ -566,7 +567,6 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon_state = "make_poncho"
|
icon_state = "make_poncho"
|
||||||
item_state = "make_poncho"
|
item_state = "make_poncho"
|
||||||
contained_sprite = TRUE
|
contained_sprite = TRUE
|
||||||
icon_override = FALSE
|
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/under/fluff/aegis_uniform //Hephaestus Experimental Projector - Sovereign Aegis - itanimulli
|
/obj/item/clothing/under/fluff/aegis_uniform //Hephaestus Experimental Projector - Sovereign Aegis - itanimulli
|
||||||
@@ -621,7 +621,7 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon = 'icons/obj/custom_items/klavdiya_amulet.dmi'
|
icon = 'icons/obj/custom_items/klavdiya_amulet.dmi'
|
||||||
icon_override = 'icons/obj/custom_items/klavdiya_amulet.dmi'
|
icon_override = 'icons/obj/custom_items/klavdiya_amulet.dmi'
|
||||||
icon_state = "klavdiya_amulet"
|
icon_state = "klavdiya_amulet"
|
||||||
|
contained_sprite = TRUE
|
||||||
|
|
||||||
/obj/item/clothing/gloves/fluff/lunea_gloves //Spark Gloves - Lunea Discata - tishinastalker
|
/obj/item/clothing/gloves/fluff/lunea_gloves //Spark Gloves - Lunea Discata - tishinastalker
|
||||||
name = "spark gloves"
|
name = "spark gloves"
|
||||||
@@ -961,7 +961,6 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon_state = "djar_cape"
|
icon_state = "djar_cape"
|
||||||
item_state = "djar_cape"
|
item_state = "djar_cape"
|
||||||
contained_sprite = TRUE
|
contained_sprite = TRUE
|
||||||
icon_override = FALSE
|
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/suit/chaplain_hoodie/fluff/hidemichi_robes //Zen Monk Robes - Yoshihama Hidemichi - dobhranthedruid
|
/obj/item/clothing/suit/chaplain_hoodie/fluff/hidemichi_robes //Zen Monk Robes - Yoshihama Hidemichi - dobhranthedruid
|
||||||
@@ -1030,7 +1029,6 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon_state = "resolve_poncho"
|
icon_state = "resolve_poncho"
|
||||||
item_state = "resolve_poncho"
|
item_state = "resolve_poncho"
|
||||||
contained_sprite = TRUE
|
contained_sprite = TRUE
|
||||||
icon_override = FALSE
|
|
||||||
|
|
||||||
|
|
||||||
/obj/item/fluff/tokash_spear //Ancestral Spear - Suvek Tokash - evandorf
|
/obj/item/fluff/tokash_spear //Ancestral Spear - Suvek Tokash - evandorf
|
||||||
@@ -1186,7 +1184,6 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon_state = "ioraks_cape"
|
icon_state = "ioraks_cape"
|
||||||
item_state = "ioraks_cape"
|
item_state = "ioraks_cape"
|
||||||
contained_sprite = TRUE
|
contained_sprite = TRUE
|
||||||
icon_override = FALSE
|
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/suit/storage/fluff/strauss_jacket //Custom Firesuit - Lena Strauss - oddbomber3768
|
/obj/item/clothing/suit/storage/fluff/strauss_jacket //Custom Firesuit - Lena Strauss - oddbomber3768
|
||||||
@@ -1590,7 +1587,6 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon_state = "ozuha_cape"
|
icon_state = "ozuha_cape"
|
||||||
item_state = "ozuha_cape"
|
item_state = "ozuha_cape"
|
||||||
contained_sprite = TRUE
|
contained_sprite = TRUE
|
||||||
icon_override = FALSE
|
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/suit/storage/fluff/ulmari_coat //Aut'akh Medical Coat - Ulmari Jukal'za - soultheif96
|
/obj/item/clothing/suit/storage/fluff/ulmari_coat //Aut'akh Medical Coat - Ulmari Jukal'za - soultheif96
|
||||||
@@ -1829,7 +1825,6 @@ All custom items with worn sprites must follow the contained sprite system: http
|
|||||||
icon_state = "amos_vest"
|
icon_state = "amos_vest"
|
||||||
item_state = "amos_vest"
|
item_state = "amos_vest"
|
||||||
contained_sprite = TRUE
|
contained_sprite = TRUE
|
||||||
icon_override = FALSE
|
|
||||||
|
|
||||||
|
|
||||||
/obj/item/clothing/head/fluff/rhasdrimara_veil //Noble Adhomai Veil - Rhasdrimara Rhanmrero'Arhanja - chanterelle
|
/obj/item/clothing/head/fluff/rhasdrimara_veil //Noble Adhomai Veil - Rhasdrimara Rhanmrero'Arhanja - chanterelle
|
||||||
|
|||||||
6
html/changelogs/geeves-fix_custom_accessories.yml
Normal file
6
html/changelogs/geeves-fix_custom_accessories.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
author: Geeves
|
||||||
|
|
||||||
|
delete-after: True
|
||||||
|
|
||||||
|
changes:
|
||||||
|
- bugfix: "Fixed some custom accessories not displaying correctly."
|
||||||
Reference in New Issue
Block a user