Are you running short on brass in your game? Here’s a way to mine more!

The Pimps have thought of a lot, including adding Copper to the game, they just haven’t had time to enable it yet so I decided to do a little work on their behalf, then I went ahead and added zinc as well since copper+zinc=brass!

So how do you do it? Follow the block changes below and you should be swimming in brass before you know it!

 

<!– In blocks.xml –>

<block id=”23″ name=”copperOre”>
<property name=”Material” value=”copper” /> <!– changed from metal by rongo –>
<property name=”Shape” value=”Terrain” />
<property name=”Mesh” value=”terrain” />
<property name=”Texture” value=”96″ />
<property name=”Weight” value=”96″ /> <!– added by rongo –>
<drop event=”Destroy” name=”copperOre” count=”1″ prob=”1.0″ /> <!– added by rongo –>
<drop event=”Fall” name=”copperOre” /> <!– added by rongo –>
<property name=”DropScale” value=”2″ /> <!– added by rongo –>
</block>

<!– replace existing block 23 with this –>
<block id=”23″ name=”copperOre”>
<property name=”Material” value=”copper” /> <!– changed from metal by rongo –>
<property name=”Shape” value=”Terrain” />
<property name=”Mesh” value=”terrain” />
<property name=”Texture” value=”96″ />
<property name=”Weight” value=”96″ /> <!– added by rongo –>
<drop event=”Destroy” name=”copperOre” count=”1″ prob=”1.0″ /> <!– added by rongo –>
<drop event=”Fall” name=”copperOre” /> <!– added by rongo –>
<property name=”DropScale” value=”2″ /> <!– added by rongo –>
</block>

<!– in items.xml add the following, making sure your IDs are unique! –>

<item id=”748″ name=”ingotZinc”>
<property name=”Meshfile” value=”Items/Crafting/ingotLead” />
<property name=”Material” value=”zinc” />
<property name=”HoldType” value=”21″ />
<property name=”Weight” value=”48″ />
<property name=”CustomIcon” value=”ingotLead” />
<property name=”CustomIconTint” value=”bac4c8″ />
<property name=”Group” value=”Resources” />
<property class=”Preview”>
<property name=”Zoom” value=”10″ />
<property name=”Pos” value=”0,-0.2″ />
<property name=”Rot” value=”90,45,0″ />
</property>
</item>

<item id=”749″ name=”IngotMoldZinc”>
<property name=”Meshfile” value=”Items/Crafting/mold” />
<property name=”Material” value=”metal” />
<property name=”HoldType” value=”21″ />
<property name=”Stacknumber” value=”1″ />
<property name=”CustomIcon” value=”IngotMoldLead” />
<property name=”CustomIconTint” value=”bac4c8″ />
<property name=”MoldTarget” value=”ingotZinc” />
<property name=”Group” value=”Forging/Molds” />
<property class=”Preview”>
<property name=”Zoom” value=”18″ />
<property name=”Pos” value=”0.1,0″ />
<property name=”Rot” value=”10,-45,0″ />
</property>
</item>

<item id=”750″ name=”crucible”>
<property name=”Meshfile” value=”Items/Crafting/clay_bowl” />
<property name=”Material” value=”organic” />
<property name=”HoldType” value=”3″ />
<property name=”Group” value=”Resources” />
<property name=”CustomIcon” value=”bowl” />
<property name=”CustomIconTint” value=”bac4c8″ />
<property class=”Preview”>
<property name=”Zoom” value=”30″ />
<property name=”Pos” value=”0,-0.03″ />
<property name=”Rot” value=”90,45,0″ />
</property>
</item>

<!– replace the following items in items.xml with these nodes –>

<item id=”101″ name=”ingotCopper”>
<property name=”Meshfile” value=”Items/Crafting/ingotCopper” />
<property name=”Material” value=”copper” />
<property name=”HoldType” value=”21″ />
<property name=”Weight” value=”48″ /> <!– added by Rongo –>
<property name=”Group” value=”Resources” />
<property class=”Preview”>
<property name=”Zoom” value=”10″ />
<property name=”Pos” value=”0,-0.2″ />
<property name=”Rot” value=”90,45,0″ />
</property>
</item>
<item id=”327″ name=”IngotMoldCopper”>
<property name=”Meshfile” value=”Items/Crafting/mold” />
<property name=”Material” value=”copper” /> <!– changed by Rongo –>
<property name=”HoldType” value=”21″ />
<property name=”Stacknumber” value=”1″ />
<property name=”MoldTarget” value=”ingotCopper” />
<property name=”Group” value=”Forging/Molds” />
<property class=”Preview”>
<property name=”Zoom” value=”18″ />
<property name=”Pos” value=”0.1,0″ />
<property name=”Rot” value=”10,-45,0″ />
</property>
</item>

<!– add the following recipes to recipes.xml –>

<recipe name=”ingotBrass” count=”1″ scrapable=”False” craft_area=”campfire” craft_tool=”crucible” craft_time=”20″ craft_exp_gain=”2″ learn_exp_gain=”20″ >
<ingredient name=”ingotCopper” count=”1″/>
<ingredient name=”ingotZinc” count=”1″/>
</recipe>

<recipe name=”crucible” count=”1″ scrapable=”False” craft_time=”20″ craft_exp_gain=”2″ learn_exp_gain=”20″ >
<ingredient name=”clayLump” count=”1″ grid=”-1, 0″/>
<ingredient name=”clayLump” count=”1″ grid=”1, 0″/>
<ingredient name=”clayLump” count=”1″ grid=”0, -1″/>
<ingredient name=”scrapIron” count=”1″ grid=”2, 0″/>
</recipe>

<!– add the following in materials.xml, doesn’t matter where –>
<material id=”copper”>
<property name=”damage_category” value=”metal” />
<property name=”surface_category” value=”metal” />
<property name=”forge_category” value=”copper” />
<property name=”Hardness” type=”float” value=”1″ />
<property name=”stepsound” value=”metal” />
<property name=”stability_glue” value=”320″ />
<property name=”Mass” type=”int” value=”20″ />
</material>
<material id=”zinc”>
<property name=”damage_category” value=”metal” />
<property name=”surface_category” value=”metal” />
<property name=”forge_category” value=”zinc” />
<property name=”Hardness” type=”float” value=”1″ />
<property name=”stepsound” value=”metal” />
<property name=”stability_glue” value=”320″ />
<property name=”Mass” type=”int” value=”20″ />
</material>

<!– finally, in biomes.xml, for every biome you want ore, you’ll add a copperOre and zincOre line like in the example below
note that i’ve changed the value of rwgGenerationType to ‘all’ so that ore spawns in the caves AND in the ground, your choice
–>
<layers>
<layer filluptorg=”60″ blockname=”water” />
<layer depth=”1″ blockname=”snow” />
<layer depth=”3″ blockname=”dirt” >
<resource blockname=”clay” prob=”0.2″ />
</layer>
<layer depth=”20″ blockname=”stone” >
<resource blockname=”copperOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”zincOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”ironOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”coalOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”potassiumNitrate” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”leadOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”gravel” cluster=”2″ prob=”0.1″ rwgGenerationType=”all” />
</layer>
<layer depth=”20″ blockname=”stone” >
<resource blockname=”copperOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”zincOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”coalOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”leadOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”potassiumNitrate” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”ironOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”gravel” cluster=”2″ prob=”0.1″ rwgGenerationType=”all” />
</layer>
<layer depth=”20″ blockname=”stone” >
<resource blockname=”copperOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”zincOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”leadOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”potassiumNitrate” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”ironOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”coalOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />
<resource blockname=”gravel” cluster=”2″ prob=”0.1″ rwgGenerationType=”all” />
</layer>
<layer depth=”*” blockname=”stone” >
<resource blockname=”ironOre” cluster=”1″ prob=”0.1″ rwgGenerationType=”all” />

</layer>
<layer depth=”3″ blockname=”bedrock” />
</layers>

About

Oldschool gamer. Professional developer by day, gamer by night. I try to keep myself young through lots and lots and lots of game playing. So far I've been successful.

3 thoughts on “Are you running short on brass in your game? Here’s a way to mine more!

  1. Noticed some of the code was not posted.
    Well I manage to get mine but someone else might have issues will post I remembered was not posted.

    In blocks

    </block

    In recipes

    </recipe

  2. Noticed some of the code was not posted.

    Seems issues posting the code.

    The block for zincOre was not posted
    In recipes the molds for copper ingot and zinc ingot

Leave a Reply

more stuf?