Add block of coal

This commit is contained in:
Wuzzy 2017-01-04 11:44:55 +01:00
parent 97b00fbdc2
commit 621273fc45
2 changed files with 44 additions and 13 deletions

View File

@ -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({ minetest.register_craft({
output = 'default:steelblock', output = 'default:steelblock',
recipe = { recipe = {
@ -696,6 +712,24 @@ minetest.register_craft({
-- Fuels -- 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({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "group:tree", recipe = "group:tree",
@ -735,7 +769,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "default:chest", recipe = "default:chest",
burntime = 30, burntime = 15,
}) })
minetest.register_craft({ minetest.register_craft({
@ -744,18 +778,6 @@ minetest.register_craft({
burntime = 5, 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 --Temporary
-- --

View File

@ -1580,6 +1580,15 @@ minetest.register_node("default:mossycobble", {
sounds = default.node_sound_stone_defaults(), 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", { minetest.register_node("default:steelblock", {
description = "Block of Iron", description = "Block of Iron",
tiles = {"default_steel_block.png"}, tiles = {"default_steel_block.png"},