Add smelting recipes for ores

master
Wuzzy 2022-05-03 17:48:31 +02:00
parent 515af675ce
commit 524cfdd9d2
4 changed files with 72 additions and 0 deletions

View File

@ -44,6 +44,55 @@ minetest.register_craft(
cooktime = 6,
})
minetest.register_craft(
{
type = "cooking",
output = "rp_default:lump_copper",
recipe = "rp_default:stone_with_copper",
cooktime = 6,
})
minetest.register_craft(
{
type = "cooking",
output = "rp_default:lump_sulfur",
recipe = "rp_default:stone_with_sulfur",
cooktime = 6,
})
minetest.register_craft(
{
type = "cooking",
output = "rp_default:lump_coal",
recipe = "rp_default:stone_with_coal",
cooktime = 6,
})
minetest.register_craft(
{
type = "cooking",
output = "rp_default:lump_iron",
recipe = "rp_default:stone_with_iron",
cooktime = 6,
})
minetest.register_craft(
{
type = "cooking",
output = "rp_default:lump_tin",
recipe = "rp_default:stone_with_tin",
cooktime = 6,
})
minetest.register_craft(
{
type = "cooking",
output = "rp_default:sheet_graphite",
recipe = "rp_default:stone_with_graphite",
cooktime = 6,
})
-- Metal smelting
minetest.register_craft(

View File

@ -369,6 +369,13 @@ minetest.register_craft(
recipe = "rp_gold:lump_gold",
cooktime = 7,
})
minetest.register_craft(
{
type = "cooking",
output = "rp_gold:lump_gold",
recipe = "rp_gold:stone_with_gold",
cooktime = 6,
})
-- Achievements

View File

@ -247,6 +247,7 @@ minetest.register_craftitem(
stack_max = 10
})
-- Nodes
local check_put = function(pos, listname, index, stack, player)
@ -381,6 +382,14 @@ crafting.register_craft(
}
})
minetest.register_craft(
{
type = "cooking",
output = "rp_jewels:jewel",
recipe = "rp_jewels:jewel_ore",
cooktime = 6,
})
-- Achievements
achievements.register_achievement(

View File

@ -205,6 +205,13 @@ crafting.register_craft(
},
})
minetest.register_craft(
{
type = "cooking",
output = "rp_lumien:crystal_off",
recipe = "rp_lumien:stone_with_lumien",
cooktime = 6,
})
-- Achievements