forked from mrkubax10/industrialtest
Uranium metal fixes
This commit is contained in:
27
minerals.lua
27
minerals.lua
@@ -14,4 +14,29 @@
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
industrialtest.registerMetal("uranium","Uranium",4,4)
|
||||
if industrialtest.mtgAvailable then
|
||||
industrialtest.registerMetal("uranium","Uranium",3)
|
||||
minetest.register_ore({
|
||||
ore_type="scatter",
|
||||
ore="industrialtest:stone_with_uranium",
|
||||
wherein="default:stone",
|
||||
clust_scarcity=7*7*7,
|
||||
clust_num_ores=3,
|
||||
clust_size=3,
|
||||
y_max=-128,
|
||||
y_min=-31000
|
||||
})
|
||||
elseif industrialtest.mclAvailable then
|
||||
industrialtest.registerMetal("uranium","Uranium",4,4,4,4,5,5)
|
||||
local stonelike={"mcl_core:stone","mcl_core:diorite","mcl_core:andesite","mcl_core:granite"}
|
||||
minetest.register_ore({
|
||||
ore_type="scatter",
|
||||
ore="industrialtest:stone_with_uranium",
|
||||
wherein=stonelike,
|
||||
clust_scarcity=7*7*7,
|
||||
clust_num_ores=3,
|
||||
clust_size=3,
|
||||
y_max=mcl_worlds.layer_to_y(20),
|
||||
y_min=mcl_vars.mg_overworld_min
|
||||
})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user