Ore spawn rates

monoanemo81
New member
 
Posts: 2
Joined: Thu Oct 03, 2019 16:10

Ore spawn rates

by monoanemo81 » Thu Oct 03, 2019 17:57

I've been trying to figure out how to change the spawn rates for ores. All I've found are discussions about making new ores through mods. Any help would be nice.
 

User avatar
sfan5
Moderator
 
Posts: 3816
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

Re: Ore spawn rates

by sfan5 » Thu Oct 03, 2019 19:09

Ore registration happens here in minetest_game:
https://github.com/minetest/minetest_ga ... n.lua#L413
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Wuzzy
Member
 
Posts: 3628
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Ore spawn rates

by Wuzzy » Thu Oct 03, 2019 19:16

Ore registration happens here in minetest_game:
https://github.com/minetest/minetest_ga ... n.lua#L413


Translation: You cannot change ore spawn rates unless you're a programmer or you know someone who will code it for you.
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
paramat
Developer
 
Posts: 3455
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: Ore spawn rates

by paramat » Thu Oct 03, 2019 22:34

Yes, the ore documentation needs examples as it is very difficult to work out how to format a registration for a particular ore. I'll make a note ...
 

monoanemo81
New member
 
Posts: 2
Joined: Thu Oct 03, 2019 16:10
 


Return to General Discussion



Who is online

Users browsing this forum: No registered users and 27 guests