[MOD] Random Ore

Post Reply
User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

[MOD] Random Ore

by Nubelite » Post

Download: Click Here

Note: there is no need for pics because this mode uses the default stone texture you are using for all ores in the ground, except for mese. the ores in your inventory remain the same.

this mod replaces all ore, except mese, with stone. You then mine any stone and you will receive ore. The type of ore depends on the depth of your person. The deeper you go the more ore you have the chance to get. No more looking for the right pieces, dig freely.

Ores:
for example coal starts at a depth of 5 and ends at -75. so you can only get coal between those depths. But at a depth of -10 you have a chance to get 2 coal per stone. and at -20 4 coal. after -75 you can no longer receive coal from stone. There is some overlap of the ores.

Cobble:
Also this mod reduces the amount of cobble you get from stone as well. it has a rarity of 5. You still get a nice size amount, just not so much you cant find a place to put it.

Mese:
Mese is not affected by this mod. Mainly since its in ground is the same as the inventory item.

Dependencies:
default
more ores
diamonds
titanium

User avatar
Aqua
Member
Posts: 641
Joined: Wed Aug 22, 2012 09:11
Location: Sydney~Singapore
Contact:

by Aqua » Post

+2 makes it exciting you don't know what you will get. Question: does it depend on those mods or does it support it?
Hi there ^.~

User avatar
sky
Member
Posts: 152
Joined: Tue Oct 16, 2012 11:59
Location: SKY

by sky » Post

this dosent needs a mod just change your ores texure to stone and you have homemade random ores

User avatar
Aqua
Member
Posts: 641
Joined: Wed Aug 22, 2012 09:11
Location: Sydney~Singapore
Contact:

by Aqua » Post

This is different it drops more things the deeper it gets.
Hi there ^.~

User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Post

Aqua wrote:+2 makes it exciting you don't know what you will get. Question: does it depend on those mods or does it support it?
It depends on those mods. It uses a list of ores so if you do not have one of them you will get an unkown item. This can be easily modified.

local oreType = math.random(1,9)
local oreList = {'default:coal_lump','moreores:copper_lump','moreores:tin_lump','default:iron_lump','moreores:silver_lump','moreores:gold_lump','moreores:mithril_lump','diamonds:diamond','titanium:titanium'}

just change the 9 in oreType to the number of ores in oreList. If you wish to add more just add them on, if you want to remove then remove the ore from orelist and change 9 to the number of ores now in the list.

User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Post

sky wrote:this dosent needs a mod just change your ores texure to stone and you have homemade random ores
this mod reduces the number of cobble you receive, and really gives a random ore depending on how far down you go. different ore at different depth and different amounts of ore.

User avatar
playzooki
Member
Posts: 232
Joined: Wed Oct 24, 2012 18:58

by playzooki » Post

I like the less cobblestone. I don't think coal stops at -75, I found it at -996.
bad signature is bad

User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Post

I edited this mod a bit just for my server.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests