<recipe name="oilBarrel" count="1" craft_exp_gain="0">
<ingredient name="gasCan" count="600"/>
</recipe>
<recipe name="oilBarrel" count="1" craft_exp_gain="0" [color="#00FF00"]craft_time="20"[/color]>
<ingredient name="gasCan" count="600"/>
</recipe>
Ahh I didn't know craft_time was still a thing, as I noticed it was completly removed from the recipies.xml I figured it was gone entirely. Glad I was wrong, that should fix my problem. Think i'll set it to 2 minutes base with no skill.In the recipes.xml file, find this line (search for 'oilBarrel' should get you there)
To the recipe, add the craft_time property like this:Code:<recipe name="oilBarrel" count="1" craft_exp_gain="0"> <ingredient name="gasCan" count="600"/> </recipe>
This will make gas barrels take 20 seconds to craft without investment into the crafting skills. If you want a different time, just change the value of craft_time property and you're goodCode:<recipe name="oilBarrel" count="1" craft_exp_gain="0" [color="#00FF00"]craft_time="20"[/color]> <ingredient name="gasCan" count="600"/> </recipe>
![]()
The problem with changing the craftIngredientTime property of gasCan in items.xml is that it will change every recipe that uses gas cans that does not specify a craft_time property in recipes.xml, such as rockets and molotovs. Applying the craft_time property in recipes.xml means you only change that one crafting recipe's timer rather than everything that uses the gas cans.![]()
I have a bad habit of wrenching every car I come across once I hit 40 construction tools, so I generally make these barrels on the fly.Depending on your needs, you may be able to take a bite out of your conversion "time" but utilizing the workbench (or several). I always offload my oil barrel creating jobs to my workbenches and just walk away. With multiple queues going, you really cut into the vanilla time.
-Morloc
That's not a bad habit!...that's being obsessively thorough; and I support this way of thinkingI have a bad habit of wrenching every car I come across once I hit 40 construction tools, so I generally make these barrels on the fly.