mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 14:53:16 -04:00
242 lines
5.2 KiB
Lua
242 lines
5.2 KiB
Lua
-- Crafting
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:airlock",
|
|
recipe = {
|
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
|
{"default:steel_ingot", "default:mese", "default:steel_ingot"},
|
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:light",
|
|
recipe = {
|
|
{"moontest:light_crystal", "moontest:stone", "moontest:light_crystal"},
|
|
{"moontest:light_crystal", "default:mese_crystal", "moontest:light_crystal"},
|
|
{"moontest:light_crystal", "moontest:stone", "moontest:light_crystal"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:light_stick",
|
|
recipe = {
|
|
{"moontest:light_crystal"},
|
|
{"default:stick"},
|
|
{"default:stick"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:airgen",
|
|
recipe = {
|
|
{"default:steel_ingot", "moontest:waterice", "default:steel_ingot"},
|
|
{"moontest:waterice", "default:mese", "moontest:waterice"},
|
|
{"default:steel_ingot", "moontest:waterice", "default:steel_ingot"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "default:wood",
|
|
recipe = {
|
|
{"moontest:tree"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "default:water_source",
|
|
recipe = {
|
|
{"moontest:waterice"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:hlsource",
|
|
recipe = {
|
|
{"moontest:leaves", "moontest:leaves", "moontest:leaves"},
|
|
{"moontest:leaves", "moontest:waterice", "moontest:leaves"},
|
|
{"moontest:leaves", "moontest:leaves", "moontest:leaves"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:stonebrick 4",
|
|
recipe = {
|
|
{"moontest:stone", "moontest:stone"},
|
|
{"moontest:stone", "moontest:stone"},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "default:furnace",
|
|
recipe = {
|
|
{"moontest:stone", "moontest:stone", "moontest:stone"},
|
|
{"moontest:stone", "", "moontest:stone"},
|
|
{"moontest:stone", "moontest:stone", "moontest:stone"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:stoneslab 4",
|
|
recipe = {
|
|
{"moontest:stone", "moontest:stone"},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:stonestair 4",
|
|
recipe = {
|
|
{"moontest:stone", ""},
|
|
{"moontest:stone", "moontest:stone"},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:helmet",
|
|
recipe = {
|
|
{"default:mese_crystal"},
|
|
{"default:glass"},
|
|
{"default:steel_ingot"},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:lifesupport",
|
|
recipe = {
|
|
{"default:steel_ingot","default:steel_ingot" , "default:steel_ingot"},
|
|
{"default:steel_ingot", "", "default:steel_ingot"},
|
|
{"default:steel_ingot", "default:mese", "default:steel_ingot"},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:spacesuit",
|
|
recipe = {
|
|
{"wool:white", "moontest:helmet", "wool:white"},
|
|
{"", "moontest:lifesupport", ""},
|
|
{"wool:white", "", "wool:white"},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:light 8",
|
|
recipe = {
|
|
{"moontest:glass", "moontest:glass", "moontest:glass"},
|
|
{"moontest:glass", "default:mese", "moontest:glass"},
|
|
{"moontest:glass", "moontest:glass", "moontest:glass"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "moontest:sapling",
|
|
recipe = {
|
|
{"default:mese_crystal"},
|
|
{"default:sapling"},
|
|
}
|
|
})
|
|
|
|
--Tools
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:pick_lunarium',
|
|
recipe = {
|
|
{'moontest:lunarium_ingot', 'moontest:lunarium_ingot', 'moontest:lunarium_ingot'},
|
|
{'', 'group:stick', ''},
|
|
{'', 'group:stick', ''},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:pick_titanium',
|
|
recipe = {
|
|
{'moontest:titanium_ingot', 'moontest:titanium_ingot', 'moontest:titanium_ingot'},
|
|
{'', 'group:stick', ''},
|
|
{'', 'group:stick', ''},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:shovel_lunarium',
|
|
recipe = {
|
|
{'moontest:lunarium_ingot'},
|
|
{'group:stick'},
|
|
{'group:stick'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:shovel_titanium',
|
|
recipe = {
|
|
{'moontest:titanium_ingot'},
|
|
{'group:stick'},
|
|
{'group:stick'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:axe_lunarium',
|
|
recipe = {
|
|
{'moontest:lunarium_ingot', 'moontest:lunarium_ingot'},
|
|
{'moontest:lunarium_ingot', 'group:stick'},
|
|
{'', 'group:stick'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:axe_titanium',
|
|
recipe = {
|
|
{'moontest:titanium_ingot', 'moontest:titanium_ingot'},
|
|
{'moontest:titanium_ingot', 'group:stick'},
|
|
{'', 'group:stick'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:sword_lunarium',
|
|
recipe = {
|
|
{'moontest:lunarium_ingot'},
|
|
{'moontest:lunarium_ingot'},
|
|
{'group:stick'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'moontest:sword_titanium',
|
|
recipe = {
|
|
{'moontest:titanium_ingot'},
|
|
{'moontest:titanium_ingot'},
|
|
{'group:stick'},
|
|
}
|
|
})
|
|
|
|
-- Cooking
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = "moontest:glass",
|
|
recipe = "moontest:dust",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = "moontest:titanium_ingot",
|
|
recipe = "moontest:titanium_lump",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = "moontest:lunarium_ingot",
|
|
recipe = "moontest:lunarium_lump",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "default:mese_crystal",
|
|
burntime = 50,
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "moontest:phosphorus_lump",
|
|
burntime = 50,
|
|
})
|