2016-01-23 17:37:15 +01:00
|
|
|
-- Compressed dirt
|
2016-01-13 05:04:18 +01:00
|
|
|
minetest.register_node("claycrafter:compressed_dirt", {
|
|
|
|
description = "Compressed Dirt",
|
|
|
|
tiles = {"claycrafter_compressed_dirt.png"},
|
|
|
|
groups = {crumbly = 1, oddly_breakable_by_hand = 1}
|
|
|
|
})
|
2016-01-23 17:37:15 +01:00
|
|
|
-- Crafts
|
2016-01-13 05:04:18 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "claycrafter:compressed_dirt",
|
|
|
|
recipe = {
|
2016-01-17 21:30:50 +01:00
|
|
|
{"default:dirt", "default:dirt", "default:dirt"},
|
|
|
|
{"default:dirt", "default:dirt", "default:dirt"},
|
|
|
|
{"default:dirt", "default:dirt", "default:dirt"}
|
2016-01-13 05:04:18 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "claycrafter:glass_of_water 8",
|
|
|
|
recipe = {
|
2016-01-17 21:30:50 +01:00
|
|
|
{"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"}
|
|
|
|
},
|
2016-01-13 05:04:18 +01:00
|
|
|
replacements = {
|
2016-01-17 21:30:50 +01:00
|
|
|
{"bucket:bucket_water", "bucket:bucket_empty"},
|
2016-01-13 05:04:18 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-01-18 06:43:07 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "claycrafter:claycrafter",
|
|
|
|
recipe = {
|
|
|
|
{"group:wood", "default:steel_ingot", "group:wood"},
|
|
|
|
{"group:wood", "default:glass", "group:wood"},
|
2016-01-19 14:32:03 +01:00
|
|
|
{"default:stick", "bucket:bucket_water", "default:stick"}
|
2016-01-18 06:43:07 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-01-19 14:32:03 +01:00
|
|
|
|
2016-01-17 13:23:02 +01:00
|
|
|
dofile(minetest.get_modpath("claycrafter") .. "/claycrafter.lua")
|
2016-01-23 17:37:15 +01:00
|
|
|
dofile(minetest.get_modpath("claycrafter") .. "/glass_of_water.lua")
|