RimWorld

RimWorld

30 ratings
Colored Leather And Wool
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
2.596 MB
Apr 6, 2024 @ 9:32am
Feb 11 @ 2:44pm
14 Change Notes ( view )

Subscribe to download
Colored Leather And Wool

In 1 collection by cyanobot
Cyanobot Plays - Graphics
77 items
Description
WARNING:
The "Disable stacking different colors together" setting leads to disappearing resources when building (not crafting) using multiple different colored stacks of a textile.
I've implemented a workaround that I believe fixes this. Please keep me informed, and if you're not willing to take the risk of odd stacking behaviour, I advise you keep "Disable stacking" toggled off.

Makes wool and leather match the color of the animal they are harvested from.

A setting toggles leather between the direct colour of the animal and a browner, desaturated "tanned" version of the skin colour.

Also included is a setting that makes leather and textiles only stack if they are the same color, for those who really want to see the collection of different coloured things they have killed. It's kind of impractical in actual gameplay.

Patches included for the following mods:

Further, patches are not necessary (works automatically) for the following:

Piebald (white-and-color patched) animals, or any other texture making heavy use of masks, may produce slightly odd results (leathers paler or darker than they should be). I've done my best.

With thanks to:
  • wep of wepfont.com for Atmospheric font
  • Microsoft PowerToys[github.com] (freeware), for its Color Picker tool
  • the authors of all the amazing animal mods above

Links:
[github.com]
[cyanobotcodes.tumblr.com]
[ko-fi.com]
17 Comments
cyanobot  [author] Jan 20 @ 8:12am 
I've implemented a workaround for the stacking issue that doesn't require me to poke around in the complex edifice that is the hauling AI.

I'm not totally sure it's watertight so please keep an eye on it if you're using "Disable stacking", but it's working in testing.
cyanobot  [author] Jan 14 @ 9:50am 
@daz_ian
Update:
The good news is I can replicate your issue, which means I stand a chance of fixing it. The bad news is that the problem is probably somewhere deep in the hauling AI, which is complicated and currently not a topic I understand.

Essentially I believe the logic that decides what else they should try to pick up en route does not actually check the AllowStackWith logic, so things go wrong when they try to add the new stack to the stack they're holding.

I'm going to keep looking into this but it may be a while before I can fix it.
cyanobot  [author] Dec 30, 2024 @ 3:40am 
@daz_ian
Oh, weird. Crafting with multiple colors has worked fine in my test setups (if a little unpredictably, as the item color is inherited from the "first" stack, not the majority). I'll look into it, thank you for the report.
daz_ian Dec 28, 2024 @ 8:12am 
When disallowing stacking different colors, I saw ingredients vanish when a pawn picked up a second color.

I put down a blueprint for an alpaca wool bedroll and told a pawn to build it. He picked up one stack of wool, and then he tried to pick up some of another stack (it happened to be a different color), and then everything picked up immediately vanished.

Changing the option to allow stacking different colors fixed the issue.

https://gist.github.com/HugsLibRecordKeeper/bff154ee16b2dc07e941028611156bb7
Bleeding Eyes Mcgee Jul 27, 2024 @ 9:57am 
I forgot i had this installed, so seeing it work with biotech: mammalia was a nice surprise. Good work!
cyanobot  [author] Apr 21, 2024 @ 6:51am 
@Bleeding Eyes Mcgee
So I actually can't get the rapid coat growth gene working in 1.5 at all, so I can't troubleshoot this at the moment. I'll keep looking into it.
Bleeding Eyes Mcgee Apr 13, 2024 @ 9:25am 
I just realized i should have also mentioned that it works fine for animals, it's just colonists that aren't working
Bleeding Eyes Mcgee Apr 11, 2024 @ 3:00pm 
1.5, i should've said that from the start, sorry
cyanobot  [author] Apr 11, 2024 @ 2:46pm 
Hmm. 1.4 or 1.5?
Bleeding Eyes Mcgee Apr 11, 2024 @ 1:25pm 
@cyanobot
Doesn't seem to be working for me, wool comes out white despite the colonist having black hair. No other sources of wool in my colony, so it's not an issue with stacks merging.