star_wars/mods/adv_lightsabers/ores.lua

26 lines
679 B
Lua
Raw Normal View History

2020-07-15 22:07:11 +02:00
--------------------------
-- Advanced Lightsabers --
--------------------------
------- Ver 1.1 ----------
minetest.register_node("adv_lightsabers:kyber_ore", {
description = "Kyber Ore",
tiles = {"default_stone.png^adv_lightsabers_kyber_ore.png"},
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,
})