diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index 24139f54cf..94e4a92b9b 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -349,6 +349,22 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = 'default:coalblock', + recipe = { + {'default:coal_lump', 'default:coal_lump', 'default:coal_lump'}, + {'default:coal_lump', 'default:coal_lump', 'default:coal_lump'}, + {'default:coal_lump', 'default:coal_lump', 'default:coal_lump'}, + } +}) + +minetest.register_craft({ + output = 'default:coal_lump 9', + recipe = { + {'default:coalblock'}, + } +}) + minetest.register_craft({ output = 'default:steelblock', recipe = { @@ -696,6 +712,24 @@ minetest.register_craft({ -- Fuels -- +minetest.register_craft({ + type = "fuel", + recipe = "default:coalblock", + burntime = 800, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:coal_lump", + burntime = 80, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:charcoal_lump", + burntime = 80, +}) + minetest.register_craft({ type = "fuel", recipe = "group:tree", @@ -735,7 +769,7 @@ minetest.register_craft({ minetest.register_craft({ type = "fuel", recipe = "default:chest", - burntime = 30, + burntime = 15, }) minetest.register_craft({ @@ -744,18 +778,6 @@ minetest.register_craft({ burntime = 5, }) -minetest.register_craft({ - type = "fuel", - recipe = "default:coal_lump", - burntime = 80, -}) - -minetest.register_craft({ - type = "fuel", - recipe = "default:charcoal_lump", - burntime = 80, -}) - -- --Temporary -- diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 89220c6c33..7f6520eda0 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -1580,6 +1580,15 @@ minetest.register_node("default:mossycobble", { sounds = default.node_sound_stone_defaults(), }) +minetest.register_node("default:coalblock", { + description = "Block of Coal", + tiles = {"default_coal_block.png"}, + is_ground_content = true, + stack_max = 64, + groups = {cracky=2}, + sounds = default.node_sound_stone_defaults(), +}) + minetest.register_node("default:steelblock", { description = "Block of Iron", tiles = {"default_steel_block.png"},