Ludeon Forums

RimWorld => Releases => Mods => Outdated => Topic started by: user19990313 on September 16, 2017, 04:15:56 AM

Title: [A17]StuffFilter - aka the Super Filter!
Post by: user19990313 on September 16, 2017, 04:15:56 AM
StuffFilter - aka the Super Filter!
For A17b(build 1557)

[Hotfix01]  Fixed an init bug when an item belongs to multiple resource categories.

Description
Adding extra filters for the vanilla ones, filtration now will concern the stuff (if any) of an item.
Now you can allow or disallow weapons, apparels or meals with specific stuff configured in the extra filters.

Features
You will be able to :
-Distinguish weapons or apparels by stuff
-Melt weapons / recycle/mending apparels made from specific stuff
-Store veggie simple meal here, and non-veggie there
-Designate foods / apparels for prisoners (should put a stockpile in the prison first)
-Copy filter settings between two stuff filters

Well, I'm trying to compress my description... I think this one is short enough.


HowTo:
1.Load this mod after Core
2.Find a vanilla filter, for example stockpile filter or bill filter
3.Click "AdvFltr" button next to the allow/disallow buttons, then configure the extra filter!

Enjoy!

PS
PS. This might be the best implementation for this idea, (or you can try completely re-weaving the dll and KO all other dll mods), I did my best to optimize it, but there might be still some performance wicks. Marking a specific stuff as disallowed results in several more comparisons each tick than marking it as allowed. Well these performance wicks are still too small to be sensed if you don't have over 30 stockpiles.
In short, allow all and untick useless stuff in the stuff filter will be better than disallow all and tick useful ones.
PS2. Cannot distinguish sculptures. (Performance concerns)


Other
Compatibility:
No known mod conflict yet.
Installation:
Add this mod any time you like.
Remove this mod any time you like.Please disable all extra Stuff Filters first!(All AdvFltr button are "Off")
You don't have to create a new game.
License(brief):
-Can anyone copy and distribute your mod?
-You can download or recommend this mod, but You must inform the author of your intention and get the permit from the author in advance if you are going to upload this mod onto other websites.

-Can modpack makers include your mod in their modpack?
-Whatever,as long as you don't remove <author /> tag.

-Can other modders make derivative mods based on yours?
-No,because there's really nothing to derive :P

Languages
English & Chinese Simplified

Author:
user19990313

Note for all translators
Hi there, if you are going to translate this mod, please also translate the Steam description text given in the download link, and do not mess up the formatting markers in square brackets  ;D

Download:

via DropBox (https://www.dropbox.com/sh/m48vs508jtb86sh/AACJ5aIjsh7c9e_-2BQMz8mQa?dl=0)

or subscribe at Steam Workshop (http://steamcommunity.com/sharedfiles/filedetails/?id=1136218178) :P


--------------------
Why not pick up some of my mods here?Maybe they could make your gaming experience better!

[A17]RuntimeGC In-Game Cleaner (https://ludeon.com/forums/index.php?topic=33484.0)

[A17]AntiAutoUnload-Keeps your inventory! (http://ludeon.com/forums/index.php?topic=32926)

[A17]MyLostHead - Draw heads for the head-less! (http://ludeon.com/forums/index.php?topic=33414)
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: Sam Gray on September 16, 2017, 08:54:49 AM
OMG you are an angel sent from heaven!
I was just wondering yesterday that it would be very nice if we could filter apparel and other thing by their stuff.
Thank you very much.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: BlackSmokeDMax on September 16, 2017, 09:01:05 AM
Great! Thanks so much! Looks like another step down the road towards  Dwarf Fortress, which is a good thing!
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: SpaceDorf on September 16, 2017, 09:06:42 AM
I allready have all your other mods and I added this one too :)

This is beyond useful.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: faltonico on September 16, 2017, 10:15:04 AM
You did it again! Great idea!.
As i don't have any A17 colonies at the moment, would you please tell me if this is compatible with Rimworld Search Agency (http://steamcommunity.com/sharedfiles/filedetails/?id=726479594)?.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: user19990313 on September 16, 2017, 10:16:28 AM
New Hotfix 01 : Fixed an init bug when an item belongs to multiple resource categories

Please download the latest version :D
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: faltonico on September 16, 2017, 10:20:40 AM
Outright ignored xD
Thanks anyway!
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: user19990313 on September 16, 2017, 10:21:31 AM
Quote from: faltonico on September 16, 2017, 10:15:04 AM
You did it again! Great idea!.
As i don't have any A17 colonies at the moment, would you please tell me if this is compatible with Rimworld Search Agency (http://steamcommunity.com/sharedfiles/filedetails/?id=726479594)?.
I don't know...Well, I only modified the mechanism inside the light gray box of the vanilla filters, if the search engine is outside it, that would be okay; if it's inside the gray box,there will be conflicts.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: faltonico on September 16, 2017, 10:39:41 AM
I think it might not be from what you say,
Time to do a new colony and test then!
Thanks!
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: DukeAl on September 17, 2017, 11:22:32 PM
Hi, nice mod.
As for RSA, they are using the same space and are conflicting. StuffFilter blocks the space where the search box would be no matter the load order.
Still, thank you for the mod. Will have to decide which one to use.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: faltonico on September 18, 2017, 12:22:42 AM
Quote from: DukeAl on September 17, 2017, 11:22:32 PM
Hi, nice mod.
As for RSA, they are using the same space and are conflicting. StuffFilter blocks the space where the search box would be no matter the load order.
Still, thank you for the mod. Will have to decide which one to use.
Ugh... bummer.
You can't have it all, i guess.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: user19990313 on September 18, 2017, 02:03:06 AM
Quote from: faltonico on September 18, 2017, 12:22:42 AM
Quote from: DukeAl on September 17, 2017, 11:22:32 PM
Hi, nice mod.
As for RSA, they are using the same space and are conflicting. StuffFilter blocks the space where the search box would be no matter the load order.
Still, thank you for the mod. Will have to decide which one to use.
Ugh... bummer.
You can't have it all, i guess.
Well the two mod are injecting the same function, so clearly they couldn't work together.
Maybe I'll consider an integration after asking the author of rw search :P
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: sirgzu on September 19, 2017, 12:02:40 AM
Quote from: user19990313 on September 18, 2017, 02:03:06 AM
Well the two mod are injecting the same function, so clearly they couldn't work together.
Maybe I'll consider an integration after asking the author of rw search :P
That would be great, both mods bring great QoL in very complementary ways.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: LiteEmUp on September 19, 2017, 02:58:42 AM
does this have the option to select filter for deadman gear and non deadman???

this would really help me on sorting out gear that i keep for my colonists and gear for salvaging
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: sirgzu on September 19, 2017, 03:32:03 AM
Quote from: LiteEmUp on September 19, 2017, 02:58:42 AM
does this have the option to select filter for deadman gear and non deadman???

this would really help me on sorting out gear that i keep for my colonists and gear for salvaging
This mod has it but it's hidden the apparel top category:
https://ludeon.com/forums/index.php?topic=28678.0
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: user19990313 on September 19, 2017, 07:11:37 AM
Quote from: sirgzu on September 19, 2017, 03:32:03 AM
Quote from: LiteEmUp on September 19, 2017, 02:58:42 AM
does this have the option to select filter for deadman gear and non deadman???

this would really help me on sorting out gear that i keep for my colonists and gear for salvaging
This mod has it but it's hidden the apparel top category:
https://ludeon.com/forums/index.php?topic=28678.0
Yes you can distinguish dead man's apparels with that, and you just tick it in the vanilla filter and it will work  :P Don't have to config it in stuff filter.
Title: Re: [A17]StuffFilter - aka the Super Filter!
Post by: Vane on March 24, 2018, 02:25:24 PM
Is there an update for this for B18?