mirror of
https://github.com/Dragonop/claycrafter.git
synced 2024-11-22 15:23:48 +01:00
Minor adjustments and notes
This commit is contained in:
parent
240c0fd283
commit
ccaaf14107
44
init.lua
44
init.lua
@ -1,20 +1,7 @@
|
|||||||
--the claycrafter is supposed to be some sort of furnace
|
-- 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.
|
-- 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
|
--Compressed dirt
|
||||||
minetest.register_node("claycrafter:compressed_dirt", {
|
minetest.register_node("claycrafter:compressed_dirt", {
|
||||||
@ -22,12 +9,13 @@ minetest.register_node("claycrafter:compressed_dirt", {
|
|||||||
tiles = {"claycrafter_compressed_dirt.png"},
|
tiles = {"claycrafter_compressed_dirt.png"},
|
||||||
groups = {crumbly = 1, oddly_breakable_by_hand = 1}
|
groups = {crumbly = 1, oddly_breakable_by_hand = 1}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "claycrafter:compressed_dirt",
|
output = "claycrafter:compressed_dirt",
|
||||||
recipe = {
|
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({
|
minetest.register_craft({
|
||||||
output = "claycrafter:glass_of_water 8",
|
output = "claycrafter:glass_of_water 8",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"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", "bucket:bucket_water", "vessels:drinking_glass"},
|
||||||
{"vessels:drinking_glass", "vessels:drinking_glass", "vessels:drinking_glass"}
|
{"vessels:drinking_glass", "vessels:drinking_glass", "vessels:drinking_glass"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"bucket:bucket_water", "bucket:bucket_empty"},
|
{"bucket:bucket_water", "bucket:bucket_empty"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -62,10 +50,16 @@ minetest.register_craft({
|
|||||||
output = "default:clay 4",
|
output = "default:clay 4",
|
||||||
recipe = {"claycrafter:compressed_dirt", "claycrafter:glass_of_water"},
|
recipe = {"claycrafter:compressed_dirt", "claycrafter:glass_of_water"},
|
||||||
replacements = {
|
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({
|
minetest.register_craft({
|
||||||
type = "h2o", -- normal, cooking,or fuel only
|
type = "h2o", -- normal, cooking,or fuel only
|
||||||
|
Loading…
Reference in New Issue
Block a user