From: Maciej Kasatkin Date: Mon, 29 Oct 2012 03:58:14 +0000 (+0100) Subject: update X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=54d6c27a063d59d4a21061760201a2815f8f0573;p=zefram%2Fminetest%2Ftechnic.git update --- diff --git a/items.lua b/items.lua index fe479a7..5f460f5 100644 --- a/items.lua +++ b/items.lua @@ -95,5 +95,48 @@ inventory_image = minetest.inventorycube("technic_diamond_block_red.png", "techn tool_capabilities = {load=0,max_drop_level=0, groupcaps={fleshy={times={}, uses=10000, maxlevel=0}}}}) +minetest.register_craftitem( "technic:fine_copper_wire", { + description = "Fine Copper Wire", + inventory_image = "technic_fine_copper_wire.png", + on_place_on_ground = minetest.craftitem_place_item, +}) + +minetest.register_craft({ + output = 'technic:fine_copper_wire 2', + recipe = { + {'', 'moreores:copper_ingot', ''}, + {'', 'moreores:copper_ingot', ''}, + {'', 'moreores:copper_ingot', ''}, + } +}) + +minetest.register_craftitem( "technic:copper_coil", { + description = "Copper Coil", + inventory_image = "technic_copper_coil.png", + on_place_on_ground = minetest.craftitem_place_item, +}) + +minetest.register_craft({ + output = 'technic:copper_coil 1', + recipe = { + {'technic:fine_copper_wire', 'default:steel_ingot', 'technic:fine_copper_wire'}, + {'default:steel_ingot', '', 'default:steel_ingot'}, + {'technic:fine_copper_wire', 'default:steel_ingot', 'technic:fine_copper_wire'}, + } +}) +minetest.register_craftitem( "technic:motor", { + description = "Electric Motor", + inventory_image = "technic_motor.png", + on_place_on_ground = minetest.craftitem_place_item, +}) + +minetest.register_craft({ + output = 'technic:motor', + recipe = { + {'default:steel_ingot', 'technic:copper_coil', 'default:steel_ingot'}, + {'default:steel_ingot', 'technic:copper_coil', 'default:steel_ingot'}, + {'default:steel_ingot', 'moreores:copper_ingot', 'default:steel_ingot'}, + } +}) diff --git a/textures/technic_copper_coil.png b/textures/technic_copper_coil.png new file mode 100644 index 0000000..db6db1a Binary files /dev/null and b/textures/technic_copper_coil.png differ diff --git a/textures/technic_fine_copper_wire.png b/textures/technic_fine_copper_wire.png new file mode 100644 index 0000000..36e2ed6 Binary files /dev/null and b/textures/technic_fine_copper_wire.png differ diff --git a/textures/technic_motor.png b/textures/technic_motor.png new file mode 100644 index 0000000..77d4b91 Binary files /dev/null and b/textures/technic_motor.png differ