summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-10-29 04:58:14 +0100
committerMaciej Kasatkin <mk@realbadangel.pl>2012-10-29 04:58:14 +0100
commit54d6c27a063d59d4a21061760201a2815f8f0573 (patch)
tree0cfc228bc884d93d55b7ec1f48ace002edf17e9b
parent335061997ed8b16b43b297b103cf0787f30ccda4 (diff)
update
-rw-r--r--items.lua43
-rw-r--r--textures/technic_copper_coil.pngbin0 -> 2447 bytes
-rw-r--r--textures/technic_fine_copper_wire.pngbin0 -> 1814 bytes
-rw-r--r--textures/technic_motor.pngbin0 -> 2517 bytes
4 files changed, 43 insertions, 0 deletions
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
--- /dev/null
+++ b/textures/technic_copper_coil.png
Binary files differ
diff --git a/textures/technic_fine_copper_wire.png b/textures/technic_fine_copper_wire.png
new file mode 100644
index 0000000..36e2ed6
--- /dev/null
+++ b/textures/technic_fine_copper_wire.png
Binary files differ
diff --git a/textures/technic_motor.png b/textures/technic_motor.png
new file mode 100644
index 0000000..77d4b91
--- /dev/null
+++ b/textures/technic_motor.png
Binary files differ