边缘世界 RimWorld

边缘世界 RimWorld

Material Filter
Senacharim 2020 年 7 月 16 日 上午 3:13
Bug Report
1st, thank you for one of the mods on my "must have" list.

I like the new UI update, but is there no "update the save" transition in there?

It seems to have borked my 10 year colony, spamming the Rimworld_log will null reference exceptions about various filters which have been relocated.
< >
正在显示第 1 - 7 条,共 7 条留言
Senacharim 2020 年 7 月 16 日 上午 3:23 
Update: It appears saving the colony and restarting Rimworld ironed out the 'null reference' issue, but every set filter has been unset. ಠ_ಠ

Needs a search bar, doesn't need "Allow" on every line when an "allowed materials" at the top of the list would accomplish the same. Would be far more useful if sorted alphabetically.

Has some bugs with 'empty lines' appearing for modded materials, but aside from that I guess it's just an annoying bug rather than a save-breaking bug.

Thanks again.
最后由 Senacharim 编辑于; 2020 年 7 月 16 日 上午 3:24
Senacharim 2020 年 7 月 16 日 上午 3:30 
You removed it from crafting bills!!!???!!

Do you know how many things you just broke in my colony?

Advice from an old programmer:

Think VERY HARD before removing a feature--even if you think nobody is using it.

Upgrade a feature, sure. Slightly alter a feature, maybe no big deal.

Remove something without bothering to let anybody know or providing a reasonable alternative? Bad move.
Kami Katze  [开发者] 2020 年 7 月 16 日 上午 7:46 
Oh right, i had to rename the filters to access them more reliably later on, sorry about that.
Only happens with an old save though and you just have to set them again.

Regarding the crafting bills, i didn't really see the sense in showing it there since the usable materials are already listed there anyway (like the recipes at a tailoring bench for example).

The button is shown in the crafting bill for recipes with "specialProducts == SpecialProductType.Smelted", but I will need to change that to something else since it doesn't work for 'Destroy weapon' and stuff like that :/
Kami Katze  [开发者] 2020 年 7 月 16 日 上午 9:41 
btw, you can rename the set filters in your savegame if you want:
old name: "allowSteel"
new name: "MaterialFilter_allowSteel"

I added "MaterialFilter_", just in case some other mod uses the same name somehow.
最后由 Kami Katze 编辑于; 2020 年 7 月 16 日 上午 9:41
Senacharim 2020 年 7 月 16 日 下午 12:09 
That's good thinking on the naming convention, that'll save you trouble going forward.

I mainly used the Material Filter on craft bills for things like "cremate all clothing"--filtered for patchleather and human leather, that sort of thing.

Super useful--until my pawns started destroying all the clothing as of the latest load.

Thank you for the quick reply, apologies as to the rapid fire messages rather than waiting to make a comprehensive post.
Kami Katze  [开发者] 2020 年 7 月 16 日 下午 12:23 
why would you destroy human leather hats? :P

but yeah, i'm gonna fix this soon™, I just need to find out how^^
CrusaderRO 2023 年 6 月 1 日 下午 4:07 
Hi. This might not be a bug, but who knows?!

I'm seeing the material filter windows when clicking the Details for workbench bills (e.g. recycle apparel). Unfortunately, it does not work in this case at all.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50