[XML] Recipe ingredients

Started by m1st4x, May 02, 2021, 03:19:32 PM

Previous topic - Next topic

m1st4x

Is it possible to create a (crematory) recipe which allows all ingredients - and just the exceptions are being defined?

Canute

Don't you just need to remove at the Recipes_Production.xml ?
      <specialFiltersToDisallow>
        <li>AllowNonSmeltableWeapons</li>
      </specialFiltersToDisallow>


m1st4x

#2
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.

Canute

BurnWeapon and BurnApparel got a simillar Disallow.
<specialFiltersToDisallow>
<li>AllowNonBurnableApparel</li>
</specialFiltersToDisallow>

Recipes_Cremation.xml