Files
Paradise/code/__DEFINES/dye_keys.dm
Alan 392202d691 Add new sprites and coloring methods for basic jumpsuits. (#31568)
* Add new sprites and coloring methods for basic jumpsuits.

* Move palettes to dye_registry.dm. Add palette keys to jumpskirts.

* Add colored inhands, inventory sprites, icon and palette updates.

* Add jumpskirt item sprite.

* Add prisoner jumpsuit, psychedelic jumpsuit, random jumpskirt.
- Add new sprites for prisoner jumpsuits, skirts, and their rolldowns.
- Generate psychedelic jumpsuit icon in code, using colors it was originally composed of overlayed on the white jumpsuit.
- Add psychedelic jumpskirt, rolldowns, and inhands, since they are now easy to generate.
- Add a subtype for random jumpskirts patterned after random jumpsuits.
- Tweak orange color palette.
- Ensure randomized jumpsuits and skirts get the proper names and descriptions.

* Add dummy psychedelic suit sprites to satisfy linters.

* Attempt dyeing. Cleanup icon states. Update references.
- Moves jumpsuit coloring out of human_update_icons.dm to color.dm and updates dyeing.dm to hopefully enable dyeing. In the current state it only colors object sprites properly.
- Deletes icon states that will no longer be used for each solid color jumpsuit.
- Updates references to old icon states in datacore.dm, character.dm, and chameleon.dm to the white icon with a swapped palette where possible.

* Thanks, linters.

* Thanks, linters. part 2

* Fix dyeing. Add misc prison jumpsuit sprites.

* Dye chameleon jumpsuit when it mimics colored jumpsuit.

* Eliminate chameleon lag by caching jumpsuit icons.

* Add missing keyword args. Thanks, linters.

* Replace resistance flags in black jumpsuit.

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

* Tweak jumpskirt shading on south humans and greys.

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
2026-03-22 22:24:02 +00:00

53 lines
1.6 KiB
Plaintext

#define DYE_REGISTRY_UNDER "under"
#define DYE_REGISTRY_JUMPSKIRT "jumpskirt"
#define DYE_REGISTRY_GLOVES "gloves"
#define DYE_REGISTRY_BANDANA "bandana"
#define DYE_REGISTRY_SHOES "shoes"
#define DYE_REGISTRY_FANNYPACK "fannypack"
#define DYE_REGISTRY_BEANIE "beanie"
#define DYE_REGISTRY_BEDSHEET "bedsheet"
#define DYE_REGISTRY_BOMBER "bomber"
#define DYE_REGISTRY_PLASMAMEN "plasmamen"
#define DYE_REGISTRY_PLASMAMEN_HELMET "plasmamen_helmet"
#define DYE_REGISTRY_SYNDICATE_SUIT "syndicate_suit"
#define DYE_REGISTRY_SYNDICATE_HELMET "syndicate_helmet"
#define DYE_REGISTRY_VOID_SUIT "void_suit"
#define DYE_REGISTRY_VOID_HELMET "void_helmet"
#define DYE_REGISTRY_HEADSCARF "headscarf"
#define DYE_RED "red"
#define DYE_ORANGE "orange"
#define DYE_YELLOW "yellow"
#define DYE_GREEN "green"
#define DYE_BLUE "blue"
#define DYE_PURPLE "purple"
#define DYE_BLACK "black"
#define DYE_WHITE "white"
#define DYE_DARKBLUE "darkblue"
#define DYE_LIGHTBLUE "lightblue"
#define DYE_AQUA "aqua"
#define DYE_BROWN "brown"
#define DYE_LIGHTBROWN "lightbrown"
#define DYE_DARKRED "darkred"
#define DYE_LIGHTRED "lightred"
#define DYE_LIGHTGREEN "lightgreen"
#define DYE_YELLOWGREEN "yellowgreen"
#define DYE_LIGHTPURPLE "lightpurple"
#define DYE_PINK "pink"
#define DYE_GREY "grey"
#define DYE_RAINBOW "rainbow"
#define DYE_MIME "mime"
#define DYE_COSMIC "cosmic"
#define DYE_SYNDICATE "syndicate"
#define DYE_QM "qm"
#define DYE_LAW "law"
#define DYE_CAPTAIN "captain"
#define DYE_HOP "hop"
#define DYE_HOS "hos"
#define DYE_NTREP "ntrep"
#define DYE_CE "ce"
#define DYE_RD "rd"
#define DYE_CMO "cmo"
#define DYE_CLOWN "clown"
#define DYE_CENTCOM "centcom"