brewing/ore.lua

27 lines
556 B
Lua
Raw Permalink Normal View History

2024-08-19 08:34:23 +03:00
minetest.register_node("brewing:magic_ore", {
description = ("Magic Ore"),
tiles = {"default_stone.png^brewing_magic_gem.png"},
groups = {cracky=3, stone=1},
drop = {
max_items = 99,
items = {
{
items = {"brewing:magic_gem"},
rarity = 0,
inherit_color = true,
},
},
},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_ore({
ore_type = "scatter",
ore = "brewing:magic_ore",
wherein = "default:stone",
clust_scarcity = 10*10*10,
clust_num_ores = 5,
clust_size = 5,
y_max = -1024,
y_min = -12288,
})