Jump to content

Zockaholic

Members
  • Posts

    3
  • Joined

  • Last visited

Zockaholic's Achievements

Refugee

Refugee (1/15)

0

Reputation

  1. the xpaths do apply. I can exchange Mbook for Mpaper or any other material and it works.
  2. Hi there, thank you for the formatting tips, I'll use it next time. Im talking about the vanilla books that you can learn. Scrapping them down into books is just something to practice changing the scrap output on (maybe ill make recipes with a book a feather and paint to craft the specific schematics and perk books). I was trying to find out if it is even possible to make these scrap chanins. Maybe I understand something wrong. I'm under the impression that an item has a material and said material tells the game what the item scraps into, but im not even sure how the recipe of the basic resource plays into that. I just played around with it a bit more and I noticed that I might have to play around with the Weight / Mass aswell which makes it even more confusing. What would I have to do, to make any perkbook scrap into 1 book which scraps down into 50 paper ?
  3. 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>
×
×
  • Create New...