Camas/mods/default/crafting.lua

218 lines
3.4 KiB
Lua
Raw Normal View History

2015-09-01 17:15:24 +02:00
--
-- Crafting/creation
2015-09-01 17:15:24 +02:00
--
-- Cooking
minetest.register_craft(
2015-10-06 19:10:27 +02:00
{
type = "cooking",
output = "default:torch_weak",
recipe = "default:torch_dead",
cooktime = 1,
})
2015-10-06 19:10:27 +02:00
minetest.register_craft(
2015-10-06 19:10:27 +02:00
{
type = "cooking",
output = "default:torch",
recipe = "default:torch_weak",
cooktime = 4,
})
2015-10-06 19:10:27 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "cooking",
output = "default:glass",
recipe = "default:sand",
cooktime = 3,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "cooking",
output = "default:lump_coal",
recipe = "group:tree",
2015-09-01 17:15:24 +02:00
cooktime = 4,
})
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "cooking",
output = "default:stone",
recipe = "default:cobble",
cooktime = 6,
})
2015-09-01 17:15:24 +02:00
-- Metal smelting
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "cooking",
output = "default:ingot_wrought_iron",
2015-09-01 17:15:24 +02:00
recipe = "default:lump_iron",
cooktime = 3,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
{
type = "cooking",
output = "default:ingot_tin",
recipe = "default:lump_tin",
cooktime = 3,
})
minetest.register_craft(
{
type = "cooking",
output = "default:ingot_copper",
recipe = "default:lump_copper",
cooktime = 3,
})
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "cooking",
output = "default:ingot_bronze",
recipe = "default:lump_bronze",
cooktime = 6,
})
2015-09-01 17:15:24 +02:00
-- Fuels
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "group:leaves",
burntime = 1,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:dry_grass",
burntime = 1,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
{
type = "fuel",
recipe = "default:fern",
burntime = 2,
})
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:papyrus",
burntime = 2,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:ladder",
burntime = 5,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:rope",
burntime = 5,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "group:planks",
burntime = 9,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:torch",
burntime = 7,
})
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "group:sapling",
burntime = 4,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:sign",
burntime = 6,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:cactus",
burntime = 10,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "group:fence",
burntime = 8,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:frame",
burntime = 13,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:reinforced_frame",
burntime = 17,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "group:tree",
burntime = 22,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:chest",
burntime = 25,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-01 17:15:24 +02:00
{
type = "fuel",
recipe = "default:bookshelf",
burntime = 32,
})
2015-09-01 17:15:24 +02:00
minetest.register_craft(
2015-09-24 19:59:16 +02:00
{
type = "fuel",
recipe = "default:lump_coal",
burntime = 20,
})
2015-09-24 19:59:16 +02:00
minetest.register_craft(
2015-09-24 19:59:16 +02:00
{
type = "fuel",
recipe = "default:block_coal",
burntime = 180,
})
2015-09-24 19:59:16 +02:00
default.log("crafting", "loaded")