realtest/mods/grounds/init.lua

23 lines
588 B
Lua
Raw Normal View History

2013-04-22 21:03:02 +06:00
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",
})
2013-10-30 22:00:41 +00:00
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_dirt_defaults(),
})
2013-04-27 00:55:16 +06:00
dofile(minetest.get_modpath("grounds").."/dirt.lua")
2013-10-30 22:00:41 +00:00
dofile(minetest.get_modpath("grounds").."/stone.lua")