I misunderstood the use of <specialFiltersToDisallow>
To disallow certain ingredients or categories of ingredients, simply add <exceptedThingDefs> or <exceptedCategories> within <fixedIngredientFilter>
To learn what categories are available, look into ThingCategories.xml in the Core folder.
Hi all,
I am new to Rimworld modding and coding.
While I was trying to create a practice mod which goal is to add a vegan meal has all similar characteristics of simple meal, I couldn't find a way to get rid of the Allowed Ingredients Menu Categories.(not sure if that's the name)
This will get rid of the Allow rotten option in the menu.
I know the recipe after is defined in the <ingredients> tag, but I would still like to remove Meat listing.
I tried <li>AllowMeatRaw</li> but doesn't work.
[attachment deleted by admin due to age]
To disallow certain ingredients or categories of ingredients, simply add <exceptedThingDefs> or <exceptedCategories> within <fixedIngredientFilter>
To learn what categories are available, look into ThingCategories.xml in the Core folder.
Hi all,
I am new to Rimworld modding and coding.
While I was trying to create a practice mod which goal is to add a vegan meal has all similar characteristics of simple meal, I couldn't find a way to get rid of the Allowed Ingredients Menu Categories.(not sure if that's the name)
Code Select
<fixedIngredientFilter>
<specialFiltersToDisallow>
<li>AllowRotten</li>
</specialFiltersToDisallow>
</fixedIngredientFilter>
This will get rid of the Allow rotten option in the menu.
I know the recipe after is defined in the <ingredients> tag, but I would still like to remove Meat listing.
I tried <li>AllowMeatRaw</li> but doesn't work.
[attachment deleted by admin due to age]