[1.3.3071] Allow tainted apparel doesn't work

Started by Sachato, July 25, 2021, 04:11:11 AM

Previous topic - Next topic

Sachato

Hello,

I've found some bug with option in stockpile "*allow tainted apparel". It doesnt work correctly, because whenever i set up my stockpile for ONLY "*allow tainted apparel" my pawns dont have "empty, accessible spot configurated to store it". Moreover, whenever i set up my crematorium for ONLY "*allow tainted apparel", and after using my pawn to work on it i have grayed option "need material".

To be more specified, i picked up all possible apparels and weapons to store/burn with ticked "*allow tainted apparel".

Sachato

I think i figured this bug out...

Apparel have few different states and its mostly isTainted, isBioCoded, isBurnable, and isSmeltable. While trying to throw apparel that is just tainted (no matter if its smaltable or nonsmaltable- i havent cared about that), its needed to choose all those other conditions, because, i can only guess, somewhere in code there is condtion with AND's between each of states. So its impossible to throw items that are JUST tainted. There is need to specify all other states to make it possible to work.

zgrssd

Usually I make a stockpile and uncheck "clean items".

Pheanox

#3
Thanks for the bug report. I've confirmed this is still an issue on the most recent version, I'll ahve the devs look to see if this is intended behavior or something we should be fixing.

Edit:
Upon reconsideration, this is as intended.  These are seperate filters for a reason.  For example a cloth shirt is Burnable, so it has to have 'allow burnable' and 'allow tainted' both checked.  These are two traits that are both encompass full sets.  I will put this on my doc for review though.