renamed caouthouc to raw latex, fix to rubber tree farming
authorMaciej Kasatkin <mk@realbadangel.pl>
Fri, 19 Oct 2012 18:28:52 +0000 (20:28 +0200)
committerMaciej Kasatkin <mk@realbadangel.pl>
Fri, 19 Oct 2012 18:28:52 +0000 (20:28 +0200)
textures/technic_caouthouc.png [deleted file]
textures/technic_raw_latex.png [new file with mode: 0644]
tree_tap.lua

diff --git a/textures/technic_caouthouc.png b/textures/technic_caouthouc.png
deleted file mode 100644 (file)
index 7fbbe64..0000000
Binary files a/textures/technic_caouthouc.png and /dev/null differ
diff --git a/textures/technic_raw_latex.png b/textures/technic_raw_latex.png
new file mode 100644 (file)
index 0000000..7fbbe64
Binary files /dev/null and b/textures/technic_raw_latex.png differ
index 92c56b0511b95d597273546e845ed93454b9c1ef..9061cea08666e65a4160d284afb5f93f4d8647d2 100644 (file)
@@ -7,7 +7,7 @@
                             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
+                            if node_name == "farming_plus:rubber_tree_full" then
                                     user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
                                     minetest.env:set_node(pos,node)
                                     local item=itemstack:to_table()
             },
     })
      
-    minetest.register_craftitem("technic:caouthouc", {
-            description = "Caouthouc",
-            inventory_image = "technic_caouthouc.png",
+    minetest.register_craftitem("technic:raw_latex", {
+            description = "Raw Latex",
+            inventory_image = "technic_raw_latex.png",
     })
      
     minetest.register_craft({
             type = "cooking",
             output = "technic:rubber",
-            recipe = "technic:caouthouc",
+            recipe = "technic:raw_latex",
     })
      
     minetest.register_craftitem("technic:rubber", {