边缘世界 RimWorld

边缘世界 RimWorld

Food Sorting
 此主题已被置顶,因此可能具有重要性
kamikadza13  [开发者] 2022 年 4 月 19 日 上午 5:04
Errors/Bugs

< >
正在显示第 1 - 3 条,共 3 条留言
Hanko 2022 年 4 月 24 日 下午 4:00 
[Compatibility]

Good day to you!

The problem I found in my game is that I can't use smoked meat fo make meals (simple, fine or lavish). Smoked meat is proccesed meat from Vanilla Factions Expanded - Medieval. Maybe it has something to do that smoked meat is acceptable for everyone (which i assume is a bug on VFE side). On other note smoked fish can be used as ingredient.

Logs below:
https://gist.github.com/b123a0a8f1d96f7e65b3d87dfe7091ed

Have a great day :)

Edit:
Tested only with VFE - Medieval and Food Sorting and issue was still present. Smoked meat is added to simple meals category when it should be just meat.
最后由 Hanko 编辑于; 2022 年 4 月 24 日 下午 4:15
kamikadza13  [开发者] 2022 年 4 月 25 日 上午 2:18 
Well. For me, smoked meat - it's already meal.
There is three ways to fix it.
1) Replace smoked meat to meat category only

2) Copy smoked meat to meat category AND meat category. (So it will be duplicated)

3) Do nothing and accept the fact that smoked meat - it's already meal ^_^

I can fix that, if required.
最后由 kamikadza13 编辑于; 2022 年 4 月 25 日 上午 2:18
Hanko 2022 年 4 月 25 日 上午 8:34 
引用自 kamikadza13
1) Replace smoked meat to meat category only

For the sake of consistency with smoked fish I decided to move smoked meat to meat category entirely without duplicates.
So I made a thing:

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Factions Expanded - Medieval</li>
</mods>
<match Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFEM_SmokedMeat"]/thingCategories/li/text()</xpath>
<value>
<thingCategories>MeatRaw</thingCategories>
</value>
</match>
</Operation>
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50