HerrKingsley Posted January 5, 2019 Share Posted January 5, 2019 So Im Changing the purpose of magazines a bit. And I wanted to make them scrapable into a new material "attributeNotes" I made a new material based on Mpaper in materal.xml <material id="MresourceAttributeNotePerception"> <property name="damage_category" value="cloth"/> <property name="surface_category" value="cloth"/> <property name="forge_category" value="paper"/> <property name="Hardness" type="float" value="1"/> <property name="stepsound" value="wood"/> <property name="stability_glue" value="20"/> <property name="Mass" type="int" value="5"/> <property name="MaxDamage" value="1"/> <property name="Experience" value="1"/> </material> And I did an new Item in items.xml Also based on resourcePaper <item name="resourceAttributeNotePerception"> <!-- scrap material --> <property name="HoldType" value="45"/> <property name="Meshfile" value="Items/Misc/sackPrefab"/> <property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab"/> <property name="CustomIcon" value="resourcePaper"/> <property name="CustomIconTint" value="#85C1E9"/> <property name="Material" value="MresourceAttributeNotePerception"/> <property name="Stacknumber" value="250"/> <!-- STK resource --> <property name="FuelValue" value="1"/> <property name="Weight" value="1"/> <property name="EconomicValue" value="20"/> <property name="EconomicBundleSize" value="1"/> <property name="Group" value="Resources"/> </item> And connected it to a Perk Magazine <item name="resourceAttributeNotePerception"> <!-- scrap material --> <property name="HoldType" value="45"/> <property name="Meshfile" value="Items/Misc/sackPrefab"/> <property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab"/> <property name="CustomIcon" value="resourcePaper"/> <property name="CustomIconTint" value="#85C1E9"/> <property name="Material" value="MresourceAttributeNotePerception"/> <property name="Stacknumber" value="250"/> <!-- STK resource --> <property name="FuelValue" value="1"/> <property name="Weight" value="1"/> <property name="EconomicValue" value="20"/> <property name="EconomicBundleSize" value="1"/> <property name="Group" value="Resources"/> </item> But the magazine still scraps in to regular paper!!! What am I doing wrong? Link to comment Share on other sites More sharing options...
Telric Posted January 5, 2019 Share Posted January 5, 2019 Pretty sure the forge category is what determines what is gotten when an item is scrapped. You still have it as paper in your new material. Link to comment Share on other sites More sharing options...
HerrKingsley Posted January 5, 2019 Author Share Posted January 5, 2019 Yeah I tried to change that to: MresourceAttributeNotePerception But then the scrap option was removed. Also there is no Item/Id called just "paper" in Material or Items Link to comment Share on other sites More sharing options...
Khelldon Posted January 5, 2019 Share Posted January 5, 2019 Yeah I tried to change that to: MresourceAttributeNotePerception But then the scrap option was removed. Also there is no Item/Id called just "paper" in Material or Items Define scrap materials in recipes.xml under "scrap materials" Link to comment Share on other sites More sharing options...
HerrKingsley Posted January 6, 2019 Author Share Posted January 6, 2019 Thank you it worked. I just changed <property name="forge_category" value="paper"/> to <property name="forge_category" value="resourceAttributeNotePerception"/> And it works like a charm. Full RGN skill tree Link to comment Share on other sites More sharing options...
Khelldon Posted January 6, 2019 Share Posted January 6, 2019 Nice, glad you got it working :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.