• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help modding required quantity for recipe

Pandemic

Refugee
Hello guys, enjoying the hell out of Alpha 17. I am trying to change some material quantity requirements for crafting and am perplexed regarding editing the quantity of an item required for a recipe. Back in A 16 you just changed the number in the recipes.xml quick easy and done. For instance, I am changing:

<recipe name="trapSpikesWoodDmg0" count="1">

<ingredient name="resourceWood" count="20"/>

</recipe>

to:

<recipe name="trapSpikesWoodDmg0" count="1">

<ingredient name="resourceWood" count="5"/>

</recipe>

I changed the quantity number on the servers recipes.xml file. When I go to join I get an error message. Can't attach a legible screenshot of the error due to forum screenshot file size limitations. When I change it back to the default quantity, the server loads up fine. I can't figure out where I am going wrong? Thanks in advance for any assistance!

 
I just changed it as you did and I could load a game fine. Weird.

You said "some material quantity requirements" which to me means more than one so if that wasn't the only change you made like guppy said would need full recipes and the changes.

 
Got it working, was a silly mistake on my end uploading to my dedicated server host after all. Thanks you two!

 
Last edited by a moderator:
Was going to say I copied and pasted your file and added it to my game and it worked fine. Glad you got it sorted.

 
Back
Top