display_blocks/technic.lua

41 lines
1.1 KiB
Lua
Raw Normal View History

2013-09-04 16:55:03 -07:00
if enable_display_uranium == false then
minetest.register_alias("display_blocks:uranium_dust", "technic:uranium_block")
minetest.register_alias("display_blocks:uranium_block", "technic:uranium_block")
2013-09-06 03:13:55 -07:00
minetest.register_alias("display_blocks:uranium_ore", "technic:mineral_uranium")
2013-09-04 16:55:03 -07:00
end
if technic_uranium_new_ore_gen == true then
2013-09-04 16:55:03 -07:00
minetest.register_ore({
ore_type = "scatter",
2014-05-27 22:12:41 -07:00
ore = "technic:mineral_uranium",
2013-09-04 16:55:03 -07:00
wherein = "default:stone",
clust_scarcity = 20*20*20,
clust_num_ores = 18,
clust_size = 3,
2015-10-23 13:02:36 -07:00
y_min = -3000,
y_max = -2000,
2013-09-04 16:55:03 -07:00
})
minetest.register_ore({
ore_type = "scatter",
2014-05-27 22:12:41 -07:00
ore = "technic:mineral_uranium",
2013-09-04 16:55:03 -07:00
wherein = "default:stone",
clust_scarcity =30*30*30,
clust_num_ores = 40,
clust_size = 4,
2015-10-23 13:02:36 -07:00
y_min = -7000,
y_max = -5000,
2013-09-04 16:55:03 -07:00
})
end
if enable_technic_recipe == true then
minetest.register_craft({
output = 'display_blocks:uranium_base 5',
recipe = {
{'', 'default:mese_crystal_fragment', ''},
{'technic:uranium_block', 'display_blocks:empty_display', 'technic:uranium_block'},
{'', 'technic:uranium_block', ''},
}
})
2014-05-27 22:12:41 -07:00
end