ianlee74
New member
I've just started making my first basic mods to the game on my multiplayer server today. I'm having one problem... I wanted to create a recipe for making gas barrels directly from oil shale at the chem station. Everything works as far as being able to make the barrels. However, one thing I can't seem to get right is the prerequisite to have first read the gasCanShematic. I tried adding oilBarrel to the Recipes_to_learn for the gasCanSchematic and that broke my ability to create barrels from gas cans. Here are my changes. Any ideas what I'm doing wrong? To clarify, I want to require the gasCanSchematic for both creation of gas barrels from gas cans (vanilla) and for gas barrels from oil shale.
Thanks!
Ian
Code:
<!-- items.xml -->
<item id="980" name="gasCanSchematic">
<property name="Extends" value="schematicMaster"/>
<property name="EconomicValue" value="500"/>
<property class="Action1">
<property name="Recipes_to_learn" value="gasCan,oilBarrel"/>
<!-- <property name="Skills_to_gain" value="craftSkillScience"/> -->
</property>
</item>
Code:
<!-- recipes.xml -->
<recipe name="oilBarrel" count="1" craft_area="chemistryStation">
<ingredient name="oilShale" count="72"/>
</recipe>
Ian