mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 10:02:28 +00:00
Fixed them! (#11090)
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
. = ..()
|
||||
if(build_from_parts)
|
||||
cut_overlays()
|
||||
add_overlay(overlay_image(icon, "[icon_state]_[worn_overlay]", flags=RESET_COLOR)) //add the overlay w/o coloration of the original sprite
|
||||
add_overlay(overlay_image(icon, worn_overlay, flags=RESET_COLOR)) //add the overlay w/o coloration of the original sprite
|
||||
|
||||
/obj/item/clothing/accessory/proc/get_inv_overlay()
|
||||
if(!mob_overlay)
|
||||
@@ -44,7 +44,7 @@
|
||||
inv_overlay.color = color
|
||||
if(build_from_parts)
|
||||
inv_overlay.cut_overlays()
|
||||
inv_overlay.add_overlay(overlay_image(I, "[icon_state]_[worn_overlay]", flags=RESET_COLOR)) //add the overlay w/o coloration of the original sprite
|
||||
inv_overlay.add_overlay(overlay_image(I, worn_overlay, flags=RESET_COLOR)) //add the overlay w/o coloration of the original sprite
|
||||
return inv_overlay
|
||||
|
||||
/obj/item/clothing/accessory/proc/get_mob_overlay()
|
||||
@@ -61,7 +61,7 @@
|
||||
mob_overlay.color = color
|
||||
if(build_from_parts)
|
||||
mob_overlay.cut_overlays()
|
||||
mob_overlay.add_overlay(overlay_image(I, "[icon_state]_[worn_overlay]", flags=RESET_COLOR)) //add the overlay w/o coloration of the original sprite
|
||||
mob_overlay.add_overlay(overlay_image(I, worn_overlay, flags=RESET_COLOR)) //add the overlay w/o coloration of the original sprite
|
||||
mob_overlay.appearance_flags = RESET_ALPHA
|
||||
return mob_overlay
|
||||
|
||||
|
||||
Reference in New Issue
Block a user