gassem alkier Posted September 27 Share Posted September 27 simple XML mod to craft more Gun Powder that it but it is not working plz help me fix it I'm new to this Link to comment Share on other sites More sharing options...
bdubyah Posted September 27 Share Posted September 27 Doesn't quite work that way. You have 2 options usually, either remove the vanilla recipe and append your new one with it set how you want, or to use xpath to edit certain bits of the vanilla recipe. The second option is almost always the better choice, but can be a little more work. Either way, use this to replace what you have there, but do leave the config bits at the top and bottom. This xpath is a tad more complicated due to the fact there is more than one recipe for gunpowder, but since you seem to want to change the chemistry station one, that's what I did. <set xpath="/recipes/recipe[contains(@name, 'resourceGunPowder') and (contains(@craft_area, 'chemistryStation'))]/@count">8000</set> I would recommend sphereii's thread on Xpath over in the Tutorials section to try and learn some of the basics as well. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now