Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Cayprol

#1
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)

<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]