Fixes worn overlays (#21859)

This commit is contained in:
John Willard
2024-04-12 02:31:41 +00:00
committed by GitHub
parent c1b4cf8ac6
commit b1bf939fd3
21 changed files with 56 additions and 50 deletions

View File

@@ -871,7 +871,7 @@
var/mob/living/carbon/human/C = loc
C.regenerate_icons()
/obj/item/nullrod/staff/worn_overlays(isinhands)
/obj/item/nullrod/staff/worn_overlays(mutable_appearance/standing, isinhands = FALSE, icon_file)
. = ..()
if(isinhands)
. += mutable_appearance('icons/effects/effects.dmi', shield_icon, MOB_LAYER + 0.01)

View File

@@ -389,7 +389,7 @@
filling.color = mix_color_from_reagents(reagents.reagent_list)
add_overlay(filling)
/obj/item/reagent_containers/chemtank/worn_overlays(isinhands = FALSE) //apply chemcolor and level
/obj/item/reagent_containers/chemtank/worn_overlays(mutable_appearance/standing, isinhands = FALSE, icon_file) //apply chemcolor and level
. = ..()
//inhands + reagent_filling
if(!isinhands && reagents.total_volume)