treetap, rubber, caoutchouc added
authorMaciej Kasatkin <mk@realbadangel.pl>
Sun, 23 Sep 2012 20:58:20 +0000 (22:58 +0200)
committerMaciej Kasatkin <mk@realbadangel.pl>
Sun, 23 Sep 2012 20:58:20 +0000 (22:58 +0200)
textures/technic_caouthouc.png [new file with mode: 0644]
textures/technic_lv_cable.png
textures/technic_lv_cable_wield.png
textures/technic_mv_cable.png [new file with mode: 0644]
textures/technic_mv_cable_wield.png [new file with mode: 0644]
textures/technic_rubber.png [new file with mode: 0644]
tree_tap.lua

diff --git a/textures/technic_caouthouc.png b/textures/technic_caouthouc.png
new file mode 100644 (file)
index 0000000..7fbbe64
Binary files /dev/null and b/textures/technic_caouthouc.png differ
index 6155c3201065c6951aa069547c9a1420675b8516..87076c990b3c3a0e4f3b89837f4b74fdb57985cd 100644 (file)
Binary files a/textures/technic_lv_cable.png and b/textures/technic_lv_cable.png differ
index eb8abe2dd844a126b7bdf51b7e36425fb09ec24d..c4ada0413a09f450f85dd383b5ff885e6d84580f 100644 (file)
Binary files a/textures/technic_lv_cable_wield.png and b/textures/technic_lv_cable_wield.png differ
diff --git a/textures/technic_mv_cable.png b/textures/technic_mv_cable.png
new file mode 100644 (file)
index 0000000..f049e39
Binary files /dev/null and b/textures/technic_mv_cable.png differ
diff --git a/textures/technic_mv_cable_wield.png b/textures/technic_mv_cable_wield.png
new file mode 100644 (file)
index 0000000..aca9fd4
Binary files /dev/null and b/textures/technic_mv_cable_wield.png differ
diff --git a/textures/technic_rubber.png b/textures/technic_rubber.png
new file mode 100644 (file)
index 0000000..9ed4a9d
Binary files /dev/null and b/textures/technic_rubber.png differ
index 6c5a012faa717e078b06759185c98f616339a37c..92c56b0511b95d597273546e845ed93454b9c1ef 100644 (file)
@@ -3,12 +3,12 @@
             inventory_image = "technic_tree_tap.png",
             on_use = function(itemstack,user,pointed_thing)
                     if pointed_thing.type~="node" then return end
-                    if user:get_inventory():room_for_item("main",ItemStack("technic:raw_rubber")) then
+                    if user:get_inventory():room_for_item("main",ItemStack("technic:caouthouc")) then
                             local pos=minetest.get_pointed_thing_position(pointed_thing,above)
                             local node=minetest.env:get_node(pos)
                             local node_name=node.name
                             if node_name == "farming:rubber_tree_full" then
-                                    user:get_inventory():add_item("main",ItemStack("technic:raw_rubber"))
+                                    user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
                                     minetest.env:set_node(pos,node)
                                     local item=itemstack:to_table()
                                     local item_wear=tonumber((item["wear"]))
             },
     })
      
-    minetest.register_craftitem("technic:raw_rubber", {
-            description = "Raw Rubber",
-            inventory_image = "technic_raw_rubber.png",
+    minetest.register_craftitem("technic:caouthouc", {
+            description = "Caouthouc",
+            inventory_image = "technic_caouthouc.png",
     })
      
     minetest.register_craft({
             type = "cooking",
             output = "technic:rubber",
-            recipe = "technic:raw_rubber",
+            recipe = "technic:caouthouc",
     })
      
     minetest.register_craftitem("technic:rubber", {