realtest_mt5/mods/grounds/init.lua

34 lines
833 B
Lua

minetest.register_craftitem("grounds:clay_lump", {
description = "Clay Lump",
inventory_image = "grounds_clay_lump.png"
})
minetest.register_craft({
type = "cooking",
output = "default:clay_brick",
recipe = "grounds:clay_lump",
})
minetest.register_node("grounds:clay", {
description = "Clay",
tiles = {"default_sand.png^grounds_clay.png"},
is_ground_content = true,
groups = {crumbly=3},
drop = 'default:clay_lump 4',
sounds = default.node_sound_sand_defaults(),
})
minetest.register_ore({
ore_type = "scatter",
ore = "grounds:clay",
wherein = "default:sand",
clust_scarcity = 25*25*25,
clust_num_ores = 343,
clust_size = 7,
y_min = -31000,
y_max = 64,
})
dofile(minetest.get_modpath("grounds").."/dirt.lua")
dofile(minetest.get_modpath("grounds").."/stone.lua")