mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-12 08:18:30 +02:00
Add crafts for frames and templates.
This commit is contained in:
parent
2a54e00677
commit
76879424ae
@ -598,3 +598,59 @@ minetest.register_node("technic:template_motor",{
|
||||
meta:set_string("owner", placer:get_player_name())
|
||||
end,
|
||||
})
|
||||
|
||||
-- Crafts
|
||||
minetest.register_craft({
|
||||
output = 'technic:frame_111111',
|
||||
recipe = {
|
||||
{'', 'default:stick', ''},
|
||||
{'default:stick', 'technic:brass_ingot', 'default:stick'},
|
||||
{'', 'default:stick', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:frame_motor',
|
||||
recipe = {
|
||||
{'', 'technic:frame_111111', ''},
|
||||
{'group:mesecons_conductor_craftable', 'technic:motor', 'group:mesecons_conductor_craftable'},
|
||||
{'', 'technic:frame_111111', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:template 10',
|
||||
recipe = {
|
||||
{'', 'technic:brass_ingot', ''},
|
||||
{'technic:brass_ingot', 'default:mese_crystal', 'technic:brass_ingot'},
|
||||
{'', 'technic:brass_ingot', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:template_replacer',
|
||||
recipe = {{'technic:template'}}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:template',
|
||||
recipe = {{'technic:template_replacer'}}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:template_motor',
|
||||
recipe = {
|
||||
{'', 'technic:template', ''},
|
||||
{'group:mesecons_conductor_craftable', 'technic:motor', 'group:mesecons_conductor_craftable'},
|
||||
{'', 'technic:template', ''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:template_tool',
|
||||
recipe = {
|
||||
{'', 'technic:template', ''},
|
||||
{'default:mese_crystal', 'default:stick', 'default:mese_crystal'},
|
||||
{'', 'default:stick', ''},
|
||||
}
|
||||
})
|
||||
|
@ -46,7 +46,9 @@ local recipes = {
|
||||
{"moreores:tin_lump", "technic:tin_dust 2"},
|
||||
{"technic:chromium_ingot", "technic:chromium_dust 1"},
|
||||
{"technic:chromium_lump", "technic:chromium_dust 2"},
|
||||
{"technic:zinc_ingot", "technic:zinc_dust 1"},
|
||||
{"technic:zinc_lump", "technic:zinc_dust 2"},
|
||||
{"technic:brass_ingot", "technic:brass_dust 1"},
|
||||
}
|
||||
|
||||
if minetest.get_modpath("homedecor") then
|
||||
|
@ -26,6 +26,11 @@ minetest.register_craftitem(":technic:zinc_ingot", {
|
||||
inventory_image = "technic_zinc_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":technic:brass_ingot", {
|
||||
description = "Brass Ingot",
|
||||
inventory_image = "technic_brass_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":technic:stainless_steel_ingot", {
|
||||
description = "Stainless Steel Ingot",
|
||||
inventory_image = "technic_stainless_steel_ingot.png",
|
||||
@ -52,6 +57,7 @@ end
|
||||
register_block("technic:uranium_block", "technic:uranium")
|
||||
register_block("technic:chromium_block", "technic:chromium_ingot")
|
||||
register_block("technic:zinc_block", "technic:zinc_ingot")
|
||||
register_block("technic:brass_block", "technic:brass_ingot")
|
||||
register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot")
|
||||
|
||||
minetest.register_craft({
|
||||
|
Loading…
Reference in New Issue
Block a user