mirror of
https://github.com/FalloutCollaborationProject/FCP-Wasteland-Food.git
synced 2026-07-27 17:03:34 -07:00
Add ingredient filters to wasteland meal recipe
Introduce fixed and default ingredient filters to the abstract FCP_CookWastelandMealBase recipe. The filters restrict ingredients to FoodRaw, disallow plant-only foods via a special filter, and block certain categories/things (EggsUnfertilized, Meat_Human, Meat_Megaspider, InsectJelly). Meat_Twisted is also disallowed conditionally with a MayRequire attribute for Anomaly compatibility. This tightens allowed inputs and improves balance/compatibility for wasteland meals.
This commit is contained in:
@@ -6,6 +6,28 @@
|
||||
<!-- Base Recipe -->
|
||||
|
||||
<RecipeDef Name="FCP_CookWastelandMealBase" Abstract="True">
|
||||
<fixedIngredientFilter>
|
||||
<categories>
|
||||
<li>FoodRaw</li>
|
||||
</categories>
|
||||
<specialFiltersToDisallow>
|
||||
<li>AllowPlantFood</li>
|
||||
</specialFiltersToDisallow>
|
||||
</fixedIngredientFilter>
|
||||
<defaultIngredientFilter>
|
||||
<categories>
|
||||
<li>FoodRaw</li>
|
||||
</categories>
|
||||
<disallowedCategories>
|
||||
<li>EggsUnfertilized</li>
|
||||
</disallowedCategories>
|
||||
<disallowedThingDefs>
|
||||
<li>Meat_Human</li>
|
||||
<li>Meat_Megaspider</li>
|
||||
<li>InsectJelly</li>
|
||||
<li MayRequire="Ludeon.RimWorld.Anomaly">Meat_Twisted</li>
|
||||
</disallowedThingDefs>
|
||||
</defaultIngredientFilter>
|
||||
<workSpeedStat>CookSpeed</workSpeedStat>
|
||||
<effectWorking>Cook</effectWorking>
|
||||
<soundWorking>Recipe_CookMeal</soundWorking>
|
||||
|
||||
Reference in New Issue
Block a user