Fixed naming bug with latex
authorMaciej Kasatkin <mk@realbadangel.pl>
Sat, 20 Oct 2012 03:50:57 +0000 (05:50 +0200)
committerMaciej Kasatkin <mk@realbadangel.pl>
Sat, 20 Oct 2012 03:50:57 +0000 (05:50 +0200)
tree_tap.lua

index 9061cea08666e65a4160d284afb5f93f4d8647d2..76f50eff6ee7e50c09f9e48e56268710e1f6f8e8 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:caouthouc")) then
+                    if user:get_inventory():room_for_item("main",ItemStack("technic:raw_latex")) 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_plus:rubber_tree_full" then
-                                    user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
+                                    user:get_inventory():add_item("main",ItemStack("technic:raw_latex"))
                                     minetest.env:set_node(pos,node)
                                     local item=itemstack:to_table()
                                     local item_wear=tonumber((item["wear"]))