Wardens can alt-click-reskin their gloves to match their formal attire (#94382)

## About The Pull Request

Adds an alt-click skin to the Kaza Ruk gloves which match their formal
attire

<img width="113" height="231" alt="image"
src="https://github.com/user-attachments/assets/5f64d09e-a294-423e-b723-bb094ad49fef"
/>

No new sprites, all it does is apply a color matrix

## Why It's Good For The Game

The only thing that keeps me from taking the formal attire for a spin is
that the gloves don't match.
This is already theoretically possibly by just getting a spray can, but
I figured it could just be an alt-click thing. Seems appropriate.

## Changelog

🆑 Melbert
add: Wardens can alt-click-reskin their Kaza Ruk gloves to match their
formal attire
/🆑
This commit is contained in:
MrMelbert
2025-12-09 13:51:07 -07:00
committed by GitHub
parent 682a03bcbb
commit c423d938d3
2 changed files with 41 additions and 2 deletions
+8 -2
View File
@@ -62,6 +62,13 @@
var/obj/item/item_clear_from = clear_from
RESET_INITIAL_IF_SET(item_clear_from, inhand_icon_state, new_icon_state)
/// Gets a preview image for this skin based on the given atom's icon and icon_state
/datum/atom_skin/proc/get_preview_icon(atom/for_atom)
return image(
icon = new_icon || for_atom.icon,
icon_state = new_icon_state || for_atom.icon_state,
)
/**
* ### Reskinnable atoms
*
@@ -173,8 +180,7 @@
var/list/items = list()
for(var/reskin_name, reskin_typepath in get_skins_by_name())
var/datum/atom_skin/reskin = GLOB.atom_skins[reskin_typepath]
items[reskin_name] = image(icon = reskin.new_icon || atom_parent.icon, icon_state = reskin.new_icon_state || atom_parent.icon_state)
items[reskin_name] = GLOB.atom_skins[reskin_typepath].get_preview_icon(atom_parent)
sort_list(items)