2020-07-15 22:07:11 +02:00
|
|
|
--------------------------
|
|
|
|
-- Advanced Lightsabers --
|
|
|
|
--------------------------
|
|
|
|
------- Ver 1.1 ----------
|
|
|
|
|
|
|
|
minetest.register_node("adv_lightsabers:kyber_ore", {
|
|
|
|
description = "Kyber Ore",
|
2020-07-22 00:03:11 +02:00
|
|
|
tiles = {"stone.png^kyber_ore.png"},
|
2020-07-15 22:07:11 +02:00
|
|
|
paramtype = "light",
|
|
|
|
groups = {cracky = 1,level = 2},
|
|
|
|
drop = "adv_lightsabers:kyber_crystal",
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
light_source = 3,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "adv_lightsabers:kyber_ore",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 14 * 14 * 14,
|
|
|
|
clust_num_ores = 1,
|
|
|
|
clust_size = 1,
|
|
|
|
y_max = 64,
|
|
|
|
y_min = -1024,
|
|
|
|
})
|
2020-07-16 17:11:42 +02:00
|
|
|
|
|
|
|
minetest.register_node("adv_lightsabers:kyber_ore_black", {
|
|
|
|
description = "Dark Kyber Ore",
|
2020-07-22 00:03:11 +02:00
|
|
|
tiles = {"stone.png^kyber_ore_black.png"},
|
2020-07-16 17:11:42 +02:00
|
|
|
paramtype = "light",
|
|
|
|
groups = {cracky = 1,level = 2},
|
|
|
|
drop = "adv_lightsabers:kyber_crystal_black",
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
light_source = 3,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "adv_lightsabers:kyber_ore_black",
|
|
|
|
wherein = "default:stone",
|
|
|
|
clust_scarcity = 28 * 28 * 28,
|
|
|
|
clust_num_ores = 1,
|
|
|
|
clust_size = 1,
|
|
|
|
y_max = 64,
|
|
|
|
y_min = -1024,
|
|
|
|
})
|