balanced solution
parent
e4ccab6161
commit
c644d12c8b
1
init.lua
1
init.lua
|
@ -9,6 +9,7 @@ planetoids = {
|
|||
|
||||
local MP = minetest.get_modpath("planetoids")
|
||||
|
||||
dofile(MP.."/stone.lua")
|
||||
dofile(MP.."/ores.lua")
|
||||
dofile(MP.."/mapgen_oreplanet.lua")
|
||||
dofile(MP.."/mapgen.lua")
|
||||
|
|
18
ores.lua
18
ores.lua
|
@ -1,23 +1,13 @@
|
|||
local has_technic_mod = minetest.get_modpath("technic")
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "default:stone_with_coal",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 24 * 24 * 24,
|
||||
clust_num_ores = 27,
|
||||
clust_size = 6,
|
||||
y_max = planetoids.maxy,
|
||||
y_min = planetoids.miny,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "default:stone_with_iron",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 24 * 24 * 24,
|
||||
clust_num_ores = 27,
|
||||
clust_size = 6,
|
||||
clust_num_ores = 62,
|
||||
clust_size = 12,
|
||||
y_max = planetoids.maxy,
|
||||
y_min = planetoids.miny,
|
||||
})
|
||||
|
@ -66,10 +56,9 @@ minetest.register_ore({
|
|||
y_min = planetoids.miny,
|
||||
})
|
||||
|
||||
if has_technic_mod then
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "technic:chernobylite_block",
|
||||
ore = "planetoids:radioactive_stone",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 8 * 8 * 8,
|
||||
clust_num_ores = 9,
|
||||
|
@ -79,4 +68,3 @@ if has_technic_mod then
|
|||
})
|
||||
|
||||
|
||||
end
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
minetest.register_node("planetoids:radioactive_stone", {
|
||||
description = "Stone (radioactive)",
|
||||
tiles = {"default_stone.png^[colorize:#005500:100"},
|
||||
groups = {cracky = 3, stone = 1, radioactive = 4},
|
||||
drop = 'default:cobble',
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
Loading…
Reference in New Issue