ZzzSmileYzzZ Posted March 16, 2018 Share Posted March 16, 2018 I would like to change the clawhammer so you have to learn it in order to make them like the crossbow is, but I don't know where to look in the files to make the changes. Can anyone help me out on which file need to be edited to make it work? Cheers, Link to comment Share on other sites More sharing options...
KhaineGB Posted March 16, 2018 Share Posted March 16, 2018 Items.xml. You need to make a schematic item for it. So, as an example... <item id="971" name="clawHammerSchematic"> <!-- NO LONGER USED --> <property name="Extends" value="schematicMaster"/> <property name="CustomIcon" value="schematicMaster"/> <property class="Action1"> <property name="Recipes_to_learn" value="clawHammer"/> <!-- <property name="Skills_to_gain" value="craftSkillTools"/> --> </property> </item> It's actually already in the code but commented out, and makes you learn the schematic instead of the item. EDIT: Oh! and you need to edit loot.xml so it can drop, and traders.xml if you want people to be able to buy it. Link to comment Share on other sites More sharing options...
ZzzSmileYzzZ Posted March 16, 2018 Author Share Posted March 16, 2018 In my items.xml it is not commented out, the only commented out line is ( <!-- NO LONGER USED --> ) as you see in your reply. And still can make the hammer at level 1, assuming I found the forged iron that is. Cheers, Link to comment Share on other sites More sharing options...
KhaineGB Posted March 16, 2018 Share Posted March 16, 2018 Just changed the recipes learned then to the code above and it'll work. Link to comment Share on other sites More sharing options...
ZzzSmileYzzZ Posted March 16, 2018 Author Share Posted March 16, 2018 Ok, now you lost me , can you be more specific. Cheers, Link to comment Share on other sites More sharing options...
ZzzSmileYzzZ Posted March 16, 2018 Author Share Posted March 16, 2018 N/M Got it to work. had to change the code from: <item id="971" name="clawHammerSchematic"> <!-- NO LONGER USED --> <property name="Extends" value="schematicMaster"/> <property name="CustomIcon" value="schematicMaster"/> <property class="Action1"> <property name="Recipes_to_learn" value="clawHammerSchematic"/> <!-- <property name="Skills_to_gain" value="craftSkillTools"/> --> </property> </item> To: <item id="971" name="clawHammerSchematic"> <!-- NO LONGER USED --> <property name="Extends" value="schematicMaster"/> <property name="CustomIcon" value="schematicMaster"/> <property class="Action1"> <property name="Recipes_to_learn" value="clawHammer"/> <!-- <property name="Skills_to_gain" value="craftSkillTools"/> --> </property> </item> And it's work now. Now I need to put it into the loot group, any suggestion? Cheers, Link to comment Share on other sites More sharing options...
KhaineGB Posted March 16, 2018 Share Posted March 16, 2018 I'd just put it under the commonbooks loot group. Then it'll be found anywhere you can find books. Unless you want it to be hard to find, then put it under the rarebooks loot group. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.