chernobylite blocks

master
NatureFreshMilk 2019-06-28 11:12:30 +02:00
parent 91ee177de8
commit 2450e91b42
3 changed files with 19 additions and 3 deletions

View File

@ -2,7 +2,7 @@ unused_args = false
allow_defined_top = true
globals = {
"mapserver"
"planetoids"
}
read_globals = {

View File

@ -1,3 +1,4 @@
default
vacuum?
planetoidgen?
technic?

View File

@ -1,4 +1,4 @@
local has_technic_mod = minetest.get_modpath("technic")
minetest.register_ore({
ore_type = "scatter",
@ -64,4 +64,19 @@ minetest.register_ore({
clust_size = 6,
y_max = planetoids.maxy,
y_min = planetoids.miny,
})
})
if has_technic_mod then
minetest.register_ore({
ore_type = "scatter",
ore = "technic:chernobylite_block",
wherein = "default:stone",
clust_scarcity = 8 * 8 * 8,
clust_num_ores = 9,
clust_size = 3,
y_max = planetoids.maxy,
y_min = planetoids.miny,
})
end