chernobylite blocks
parent
91ee177de8
commit
2450e91b42
|
@ -2,7 +2,7 @@ unused_args = false
|
|||
allow_defined_top = true
|
||||
|
||||
globals = {
|
||||
"mapserver"
|
||||
"planetoids"
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
default
|
||||
vacuum?
|
||||
planetoidgen?
|
||||
technic?
|
19
ores.lua
19
ores.lua
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue