Hello, I'm trying to change the output of normal scrapping (nothing relating to forges which I found here but that doesn't really help me a lot) but I'm getting more confused by the second.
I want skillbooks to scrap into an item called "book" (don't worry about icons, ill fix that later) which are then supposed to be scrappable into paper.
what my current code does, is letting me scrap any skillbook into a "book" item but those don't have any scrap option anymore.
if I change the material of the book item to paper, than skillbooks aren't scrappable anymore, my books are scrappable into paper, but for some reason paper scraps into books.
i need help. my brain hurts.
my current files :
recipes.xml :
<configs>
<append xpath="/recipes">
<recipe name="resourceBook" count="1" tooltip="ttScrapMetalBrass" always_unlocked="true" tags="salvageScrap"> <wildcard_forge_category /> </recipe>
</append>
</configs>
items.xml:
<configs>
<append xpath="/items">
<item name="resourceBook">
<property name="CustomIcon" value="meleeWpnClubT1BaseballBat"/>
<property name="HoldType" value="45"/>
<property name="Meshfile" value="#Other/Items?Misc/sackPrefab.prefab"/>
<property name="DropMeshfile" value="#Other/Items?Misc/sack_droppedPrefab.prefab"/>
<property name="Material" value="Mbook"/>
<property name="Stacknumber" value="10"/> <!-- STK resource -->
<property name="FuelValue" value="50"/>
<property name="Weight" value="50"/>
<property name="EconomicValue" value="50"/>
<property name="EconomicBundleSize" value="1"/>
<property name="Group" value="Resources,Chemicals,CFChemicals"/>
<property name="CraftingIngredientTime" value=".5"/>
</item>
</append>
<setattribute xpath="/items/item[@name='schematicMaster']/property[@name='Material']" name="value">Mbook</setattribute>
<setattribute xpath="/items/item[@name='schematicMaster']/property[@name='Weight']" name="value">100</setattribute>
</configs>
materials.xml:
<configs>
<append xpath="/materials">
<material id="Mbook">
<property name="damage_category" value="cloth"/>
<property name="surface_category" value="cloth"/>
<property name="forge_category" value="book"/>
<property name="Hardness" type="float" value="1"/>
<property name="stepsound" value="wood"/>
<property name="stability_glue" value="20"/>
<property name="Mass" type="int" value="1"/>
<property name="MaxDamage" value="1"/>
<property name="Experience" value="2"/>
</material>
</append>
</configs>