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-10-30 22:18:41 +00:00
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "scatter",
|
|
|
|
ore = "grounds:clay",
|
|
|
|
wherein = "default:sand",
|
2013-10-30 22:44:07 +00:00
|
|
|
clust_scarcity = 25*25*25,
|
2013-10-30 22:18:41 +00:00
|
|
|
clust_num_ores = 343,
|
|
|
|
clust_size = 7,
|
|
|
|
height_min = -31000,
|
|
|
|
height_max = 64,
|
|
|
|
})
|
|
|
|
|
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")
|