Jump to content

Ore Yields


Seraphimus

Recommended Posts

Me and my boyfriend have been playing with the setting pretty high, it's been a lot of fun. Problem is we've reached a point where we basically have time to do nothing but build repair and mine and it's starting to wear on us. so I'm wondering if there is a mod to help me adjust ore yield from mining.

 

That or i think i've found the Right file How would I go about modding it myself?

 

Having trouble wrapping my head around the Xpath tutorial on the wiki

Link to comment
Share on other sites

Find blocks.xml then look for examle at

<block name="terrStone">

and then

<drop event="Harvest" name="resourceRockSmall" count="55" tag="oreWoodHarvest"/>

change count for any number you like.

You can as well add numbers to: <drop event="Destroy" count="0"/> but "harvest" event is enought.

 

<block name="terrOreIron">

<block name="terrOreLead">

<block name="terrOreCoal">

<block name="terrOrePotassiumNitrate">

<block name="terrOreOilDeposit">

<block name="terrOreSilver">

<block name="terrOreGold">

<block name="terrOreDiamond">

Link to comment
Share on other sites

Find blocks.xml then look for examle at

<block name="terrStone">

and then

<drop event="Harvest" name="resourceRockSmall" count="55" tag="oreWoodHarvest"/>

change count for any number you like.

You can as well add numbers to: <drop event="Destroy" count="0"/> but "harvest" event is enought.

 

<block name="terrOreIron">

<block name="terrOreLead">

<block name="terrOreCoal">

<block name="terrOrePotassiumNitrate">

<block name="terrOreOilDeposit">

<block name="terrOreSilver">

<block name="terrOreGold">

<block name="terrOreDiamond">

 

alright that sounds like what I was looking at, I'd kinda like to do an xpath mod for it, so I can just share a mod file with my boyfriend and brother. I found a video tutorial which is helping so far I've got this

<Increased_Ore_Yield>

<set xpath="/blocks/block[@name=terrStone]/drop[@event=Harvest]/@count>80</set>

 

</blocks>

</increased_Ore_yield>

For stone

Would that work or do I need to include the resource rock small in the xpath line

 

Also Thanks a bunch

Link to comment
Share on other sites

<Increased_Ore_Yield>

<set xpath="/blocks/block[@name=terrStone]/drop[@event=Harvest]/@count">80</set>

</Increased_Ore_yield>

 

Fixed a lot of errors and got this now, Still not working yet

 

Edit: Wait got it Forgot to capitalize a y. All good now I can do the rest.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...