mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Added Raw Ore Block Smelting Recipe
Added Raw Ore Block Smelting. Also fixed the whitespace in the raw ore init file.
This commit is contained in:
parent
b2a73f26d7
commit
40d993764b
1 changed files with 44 additions and 37 deletions
|
@ -8,7 +8,7 @@ local function register_raw_ore(description, n)
|
|||
description = ("Raw "..description),
|
||||
_doc_items_longdesc = ("Raw "..ore..". Mine a"..n.." "..ore.." ore to get it."),
|
||||
inventory_image = texture..".png",
|
||||
groups = { craftitem = 1 },
|
||||
groups = { craftitem = 1, blast_furnace_smeltable = 1 },
|
||||
})
|
||||
|
||||
minetest.register_node(raw_ingot.."_block", {
|
||||
|
@ -16,7 +16,7 @@ local function register_raw_ore(description, n)
|
|||
_doc_items_longdesc = ("A block of raw "..ore.." is mostly a decorative block but also useful as a compact storage of raw "..ore.."."),
|
||||
tiles = { texture.."_block.png" },
|
||||
is_ground_content = false,
|
||||
groups = { pickaxey = 2, building_block = 1 },
|
||||
groups = { pickaxey = 2, building_block = 1, blast_furnace_smeltable = 1 },
|
||||
sounds = mcl_sounds.node_sound_metal_defaults(),
|
||||
_mcl_blast_resistance = 6,
|
||||
_mcl_hardness = 5,
|
||||
|
@ -38,6 +38,13 @@ local function register_raw_ore(description, n)
|
|||
cooktime = 10,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mcl_core:"..ore.."block",
|
||||
recipe = raw_ingot.."_block",
|
||||
cooktime = 20,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = raw_ingot.." 9",
|
||||
recipe = {
|
||||
|
|
Loading…
Reference in a new issue