-
Posts
212 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Store
Articles
A20 Bugs
A21 Bugs
Events
Posts posted by Grue
-
-
A17.2 Vanilla gas is 600 not 1000 so depending on which version and what changes have been made one of these should work.
Yes thank you, but accidentally typed in the wrong amount.
Am I correct that this pair or recipes would do and undo correctly?
<set xpath="/recipes/recipe[@name='ammoGasCan'][@count='600']/@count">1200</set>
<set xpath="/recipes/recipe[@name='oilBarrel']/ingredient[@name='ammoGasCan']/@count">1200</set>
I might have done something wrong, It still seems to be using 600 units of gas both ways in the recipe.
0 -
Question, there are two recipes for gas but I only want to change one of them, so that the oilBarrel recipe makes 1200 gas instead of 600. How do I target the correct one to make my alterations?
Vanilla code:
<recipe name="ammoGasCan" count="100" craft_area="chemistryStation" tags="learnable"> <ingredient name="resourceOilShale" count="12"/> </recipe> <recipe name="ammoGasCan" count="600" craft_exp_gain="0" craft_time="5" always_unlocked="true"> <ingredient name="oilBarrel" count="1"/> </recipe>
0 -
I am trying to add a large denomination casino token to store large piles of tokens.
It adds the new token and associated recipes to stack and unstack your tokens.
I can get the new item to add correctly to items.xml, but I cannot figure out how to make it add a name and description in the Localization.txt.
(edit: I know can do it manually, but I am trying to get it all self contained.)
Is that even possible with an xpath modlet?
0
XPath Modding Explanation Thread
in Tutorials & Guides
Posted · Edited by Grue (see edit history)
The recipes were unchanged in the exported configs.
Edit: Found the problem-- I left the "s" off the end of recipes in the mod xml