mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Fix bandana colors after dyeing. Fix typo. (#31243)
* Fix bandana colors after dyeing. Fix typo. * Thanks, linters!
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user