1
0
mirror of https://github.com/Dragonop/claycrafter.git synced 2024-11-13 05:40:41 +01:00

Minor adjustments and notes

This commit is contained in:
James Stevenson 2016-01-17 15:30:50 -05:00
parent 240c0fd283
commit ccaaf14107

View File

@ -1,20 +1,7 @@
--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.
-- 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_top.png",
"claycrafter_claycrafter_bottom.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}
})
--]]
--Compressed dirt
minetest.register_node("claycrafter:compressed_dirt", {
@ -22,12 +9,13 @@ minetest.register_node("claycrafter: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"},
{"default:dirt", "default:dirt", "default:dirt"},
{"default:dirt", "default:dirt", "default:dirt"},
{"default:dirt", "default:dirt", "default:dirt"}
}
})
@ -47,12 +35,12 @@ minetest.register_craftitem("claycrafter:glass_of_water", {
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"}
},
{"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"},
{"bucket:bucket_water", "bucket:bucket_empty"},
}
})
@ -62,10 +50,16 @@ minetest.register_craft({
output = "default:clay 4",
recipe = {"claycrafter:compressed_dirt", "claycrafter:glass_of_water"},
replacements = {
{"claycrafter:glass_of_water", "vessels:drinking_glass"},
{"claycrafter:glass_of_water", "vessels:drinking_glass"},
}
})
-- Keeping this here for reference
-- As there are two ways a regular furnace gets fuel time
-- One, fron a craft recipe like this with "fuel" or "cooking"
-- type, and second from the fuel item group rating.
-- Block comment follows
--[[
minetest.register_craft({
type = "h2o", -- normal, cooking,or fuel only