Fix bandana colors after dyeing. Fix typo. (#31243)

* Fix bandana colors after dyeing. Fix typo.

* Thanks, linters!
This commit is contained in:
Alan
2025-12-24 15:20:33 -05:00
committed by GitHub
parent 6d9a04bdb9
commit e7dc0c3cf5
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -52,3 +52,9 @@
if(.)
var/obj/item/target_type = .
color = initial(target_type.color)
/obj/item/clothing/mask/bandana/dye_item(dye_color, dye_key_override)
. = ..()
if(.)
var/obj/item/target_type = .
color = initial(target_type.color)
+1 -1
View File
@@ -393,7 +393,7 @@
var/datum/action/item_action/adjust/act = new(src)
if(loc == user)
act.Grant(user)
to_chat(user, (SPAN_NOTICE("You untie the neckercheif.")))
to_chat(user, (SPAN_NOTICE("You untie the neckerchief.")))
else
icon = 'icons/obj/clothing/neck.dmi'
flags_inv = FALSE
@@ -971,7 +971,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
else
worn_layer = NECK_LAYER
var/mutable_appearance/standing = mutable_appearance(worn_icon, worn_icon_state, layer = -worn_layer)
var/mutable_appearance/standing = mutable_appearance(worn_icon, worn_icon_state, layer = -worn_layer, alpha = neck.alpha, color = neck.color)
overlays_standing[worn_layer] = standing
apply_overlay(worn_layer)