char coal added, new group -- "coal"

master
Victor Hackeridze 2012-04-05 15:33:54 +06:00
parent 36c7c78541
commit c524be5aed
2 changed files with 28 additions and 0 deletions

View File

@ -1273,6 +1273,7 @@ minetest.register_craftitem("default:book", {
minetest.register_craftitem("default:coal_lump", {
description = "Lump of coal",
inventory_image = "default_coal_lump.png",
groups = {coal = 1}
stack_max = 128,
})

View File

@ -1,3 +1,4 @@
-- stone brick
minetest.register_craft({
output = 'node "moarcraft_rtmmp:stone_brick" 4',
recipe = {
@ -16,9 +17,35 @@ minetest.register_node("moarcraft_rtmmp:stone_brick", {
stack_max = 128,
})
-- steel block fix
minetest.register_craft({
output = 'default:steel_ingot 9',
recipe = {
{ 'default:steel_block'},
}
})
-- char coal
minetest.register_craftitem("moarcraft_rtmmp:char_coal", {
description = "Char coal",
inventory_image = "default_coal_lump.png",
groups = {coal = 1}
stack_max = 128,
})
minetest.register_craft({
type = "fuel",
recipe = "moarcraft_rtmmp:char_coal",
burntime = 40,
})
minetest.register_craft({
type = "cooking",
output = "moarcraft_rtmmp:char_coal",
recipe = "default:wood",
})
minetest.register_craft({
output = 'default:torch 4',
recipe = {
{'default:moarcraft_rtmmp:char_coal'},
{'default:stick'},
}
})