2016-01-15 17:17:40 +01:00
|
|
|
--the claycrafter is supposed to be some sort of furnace
|
|
|
|
--that uses compressed dirt and glasses of water to make clay, it's not needed to use the mod currently.
|
|
|
|
|
|
|
|
minetest.register_node("claycrafter:claycrafter", {
|
|
|
|
description = "Clay crafter",
|
|
|
|
tiles = {
|
|
|
|
"claycrafter_claycrafter_up.png",
|
|
|
|
"claycrafter_claycrafter_down.png",
|
|
|
|
"claycrafter_claycrafter_side.png",
|
|
|
|
"claycrafter_claycrafter_side.png",
|
|
|
|
"claycrafter_claycrafter_back.png",
|
|
|
|
"claycrafter_claycrafter_front.png",
|
|
|
|
},
|
|
|
|
groups = {oddly_breakable_by_hand = 1, choppy = 1}
|
|
|
|
})
|
|
|
|
|
2016-01-13 05:04:18 +01:00
|
|
|
--Compressed dirt
|
|
|
|
minetest.register_node("claycrafter:compressed_dirt", {
|
|
|
|
description = "Compressed Dirt",
|
|
|
|
tiles = {"claycrafter_compressed_dirt.png"},
|
|
|
|
groups = {crumbly = 1, oddly_breakable_by_hand = 1}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "claycrafter:compressed_dirt",
|
|
|
|
recipe = {
|
|
|
|
{"default:dirt", "default:dirt", "default:dirt"},
|
|
|
|
{"default:dirt", "default:dirt", "default:dirt"},
|
|
|
|
{"default:dirt", "default:dirt", "default:dirt"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
--Glass of water
|
|
|
|
minetest.register_craftitem("claycrafter:glass_of_water", {
|
|
|
|
description = "Glass of Water",
|
|
|
|
inventory_image = "claycrafter_glass_of_water.png"
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "claycrafter:glass_of_water 8",
|
|
|
|
recipe = {
|
|
|
|
{"vessels:drinking_glass", "vessels:drinking_glass", "vessels:drinking_glass"},
|
|
|
|
{"vessels:drinking_glass", "bucket:bucket_water", "vessels:drinking_glass"},
|
|
|
|
{"vessels:drinking_glass", "vessels:drinking_glass", "vessels:drinking_glass"}
|
|
|
|
},
|
|
|
|
replacements = {
|
|
|
|
{"bucket:bucket_water", "bucket:bucket_empty"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
--Craft the clay
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "default:clay 4",
|
|
|
|
recipe = {"claycrafter:compressed_dirt", "claycrafter:glass_of_water"},
|
2016-01-13 09:29:55 +01:00
|
|
|
replacements = {
|
|
|
|
{"claycrafter:glass_of_water", "vessels:drinking_glass"},
|
|
|
|
}
|
2016-01-15 16:11:13 +01:00
|
|
|
})
|