• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Altering count on recipes

teinedraig

Refugee
I have been playing around with modlets and I changed the below to try and gain two arrow heads from the forge. There are no errors on load or warnings but the forge still only outputs one arrow head.

Does 7d2d no longer use he count for output and just provide one regardless?

<set xpath="/recipes/recipe[@name=resourceArrowHeadIron]/@count">5</set>

 
I have been playing around with modlets and I changed the below to try and gain two arrow heads from the forge. There are no errors on load or warnings but the forge still only outputs one arrow head.
Does 7d2d no longer use he count for output and just provide one regardless?

<set xpath="/recipes/recipe[@name=resourceArrowHeadIron]/@count">5</set>
Code is correct and working. I tested it just in case. Make sure your directory structure is correct. Also make sure the file name is identical to the one you are modifying. Which in this case is recipes. So your file should be called recipes.xml with the xpath code.

 
Code is correct and working. I tested it just in case. Make sure your directory structure is correct. Also make sure the file name is identical to the one you are modifying. Which in this case is recipes. So your file should be called recipes.xml with the xpath code.
That was it, I had a spelling mistake - sigh.

Thank you all for the help and feedback :)

 
Back
Top