Jump to content

Custom Recipes seem to crash server without logs.


Turtlicious

Recommended Posts

Looks like some errors in your recipes.xml

 

First:

 

<recipe name="partsPumpShotgun_stockShort" count="1" craft_area="forge" craft_tool="calipers" material_based="true">
   <ingredient name="unit_iron" count="300"/>
   <ingredient name="unit_clay" count="50"/>
</recipe></recipe>

 

You have one too many closing tags. It should be:

 

<recipe name="partsPumpShotgun_stockShort" count="1" craft_area="forge" craft_tool="calipers" material_based="true">
   <ingredient name="unit_iron" count="300"/>
   <ingredient name="unit_clay" count="50"/>
</recipe>

 

 

Second, typo on the name, remove the '0' :

 

<recipe name="partsMP50_parts" count="1" craft_area="forge" craft_tool="calipers" material_based="true">
   <ingredient name="unit_iron" count="400"/>
   <ingredient name="unit_clay" count="100"/>
</recipe>

 

Should be:

 

<recipe name="partsMP5_parts" count="1" craft_area="forge" craft_tool="calipers" material_based="true">
   <ingredient name="unit_iron" count="400"/>
   <ingredient name="unit_clay" count="100"/>
</recipe>

 

 

Thirdly, depends on whether you have uncommented the calipers item from the items.xml file which was removed a while back. But the forge doesn't use calipers anymore so you either need to change the tool to crucible or alter the ui xml file to include the calipers.

 

Also, just noticed one of the recipes, shotgun stock, requires wood and forged iron and they don't go into a forge so you won't be able to craft it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...