Ludeon Forums

RimWorld => Mods => Help => Topic started by: m1st4x on May 02, 2021, 03:19:32 PM

Title: [XML] Recipe ingredients
Post by: m1st4x on May 02, 2021, 03:19:32 PM
Is it possible to create a (crematory) recipe which allows all ingredients - and just the exceptions are being defined?
Title: Re: [XML] Recipe ingredients
Post by: Canute on May 02, 2021, 04:10:01 PM
Don't you just need to remove at the Recipes_Production.xml ?
      <specialFiltersToDisallow>
        <li>AllowNonSmeltableWeapons</li>
      </specialFiltersToDisallow>

Title: Re: [XML] Recipe ingredients
Post by: m1st4x on May 02, 2021, 04:54:15 PM
The recipe was meant to be for the crematory - sorry...
I want to implement a realistic crematory recipe which allows to destory all items except fire proof materials like stones, metals and so on to be designated by my mod https://github.com/m1st4x/SmeltDesignations/tree/master/Defs/RecipeDefs
Keyword is *Burnable* (https://mc-oofert.github.io/XML.html)
Do you think I can achieve this with the available restrictions? I'm not sure.
Title: Re: [XML] Recipe ingredients
Post by: Canute on May 02, 2021, 05:10:57 PM
BurnWeapon and BurnApparel got a simillar Disallow.
<specialFiltersToDisallow>
<li>AllowNonBurnableApparel</li>
</specialFiltersToDisallow>

Recipes_Cremation.xml