Jump to content

Glue recipe


Gamer_62

Recommended Posts

How would i write this so it just adds 3 bones to the cooking pot and not the chemistry station

 

<set xpath="/recipes/recipe[@name=resourceGlue]/ingredient[@name=resourceFemur]/@count">3</set>

 

I did this but didnt work

 

<set xpath="/recipes/recipe[@name=resourceGlue]/craft_tool(@name='toolCookingPot']/ingredient[@name=resourceFemur]/@count">3</set>

Link to comment
Share on other sites

How would i write this so it just adds 3 bones to the cooking pot and not the chemistry station

 

<set xpath="/recipes/recipe[@name=resourceGlue]/ingredient[@name=resourceFemur]/@count">3</set>

 

I did this but didnt work

 

<set xpath="/recipes/recipe[@name=resourceGlue]/craft_tool(@name='toolCookingPot']/ingredient[@name=resourceFemur]/@count">3</set>

 

Try append not set.

Link to comment
Share on other sites

hey I just want to clarify a couple things. I looked in recipes and there are two for making glue

here is the one already there for the cooking pot

 

<recipe name="resourceGlue" count="1" craft_area="campfire" craft_tool="toolCookingPot">

<ingredient name="resourceFemur" count="1"/>

<ingredient name="drinkJarRiverWater" count="1"/>

</recipe>

 

So what are you trying to do? Do you want to change the ingredients? or are you trying to add another recipe?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...