RimWorld

RimWorld

[FSF] Complex Jobs (Legacy Version)
This topic has been locked
Hades 24 Nov, 2019 @ 5:03am
Mod compatibility
Hi FSF,

The compatibility issue I have with my mod (Rimworld Farming) is that when your mod is enabled they pawns can't be assigned to make compost.

The defs for the recipe is here... any ideas on what might be causing the issue with your mod?

My mod page is:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1718638765

<RecipeDef>
<defName>RF_MakeCompost</defName>
<label>make compost</label>
<description>Gather materials to compost.</description>
<jobString>Making compost.</jobString>
<allowMixingIngredients>true</allowMixingIngredients>
<ingredientValueGetterClass>IngredientValueGetter_Nutrition</ingredientValueGetterClass>
<requiredGiverWorkType>Cooking</requiredGiverWorkType>
<researchPrerequisite>RF_Composting</researchPrerequisite>
<workAmount>200</workAmount>
<workSpeedStat>CookSpeed</workSpeedStat>
<workSkill>Cooking</workSkill>
<effectWorking>ButcherFlesh</effectWorking>
<soundWorking>Recipe_ButcherCorpseFlesh</soundWorking>
<ingredients>
<li>
<filter>
<categories>
<li>FoodRaw</li>
<li>PlantFoodRaw</li>
</categories>
</filter>
<count>0.25</count>
</li>
</ingredients>
<fixedIngredientFilter>
<categories>
<li>FoodRaw</li>
<li>PlantFoodRaw</li>
</categories>
</fixedIngredientFilter>
<defaultIngredientFilter>
<categories>
<li>FoodRaw</li>
</categories>
<disallowedCategories>
<li>EggsFertilized</li>
</disallowedCategories>
</defaultIngredientFilter>
<products>
<RF_Compost>1</RF_Compost>
</products>
<recipeUsers>
<li>CraftingSpot</li>
<li>ButcherSpot</li>
<li>TableButcher</li>
</recipeUsers>
</RecipeDef>
Last edited by Hades; 24 Nov, 2019 @ 5:07am
< >
Showing 1-4 of 4 comments
FrozenSnowFox  [developer] 24 Nov, 2019 @ 12:32pm 
Without trying your mod I'd say it looks like the worktype not matching. My mod adds a new job Butchering which uses the work type FSFButcher for handling bills at the butcher table and butcher spot but your recipe is looking for the work type Cooking. I can patch that easily enough to make it compatible. However you also have crafting spot listed as a possible crafting bench. Now even in vanilla the crafting spot uses crafting for its work type not cooking. Since it's also got a mismatched work type it should also not work correctly.

Now from looking at several vanilla recipes I don't think worktype is actually required? Some recipes have it and others don't. The butchering recipes don't list a worktype and neither do a bunch of the misc production recipes. Since the benches themselves need a worktype to do a bill I'm not sure why the worktype is listed on some recipes. I THINK removing the field <requiredGiverWorkType> should fix the issue without causing problems.

If not I'll have to patch it myself although I would recommend you double check the crafting spot without a colonist assigned to cooking. Since its the exact same issue it shouldn't work at the crafting spot either even in vanilla.
Hades 24 Nov, 2019 @ 2:21pm 
Thanks for the solid reply. I will try out those suggestions and see how it goes,
Hades 25 Nov, 2019 @ 5:49am 
You were right... removing the field <requiredGiverWorkType> fixed the issue for both vanilla, with your mod... and with the 15 other mods that I typically play with.

Uploading the patch now for my mod. Thanks again.

P.S. I also use your mod... was taking a break from Rimworld so wasn't really sure why it stopped working now.
Last edited by Hades; 25 Nov, 2019 @ 5:52am
FrozenSnowFox  [developer] 25 Nov, 2019 @ 12:02pm 
Glad to hear that fixed it and its working properly now.
< >
Showing 1-4 of 4 comments
Per page: 1530 50