Add inventory images for tubes.
authorAnthony <azhang9@gmail.com>
Tue, 19 Mar 2013 02:01:09 +0000 (23:01 -0300)
committerAnthony <azhang9@gmail.com>
Tue, 19 Mar 2013 02:01:09 +0000 (23:01 -0300)
tubes.lua

index 19139a37a527d48a38c7bd038ab7c43fe48171c6..78ff9b5032c3787baef1ea3b527c0826755ed259 100644 (file)
--- a/tubes.lua
+++ b/tubes.lua
@@ -157,7 +157,7 @@ for zp = 0, 1 do
        if tname ~= "000000" then
                tgroups = {snappy=3, tube=1, not_in_creative_inventory=1}
                tubedesc = desc.." ("..tname..")... You hacker, you."
-               iimg=nil
+               iimg=plain_textures[1]
                wscale = {x=1,y=1,z=1}
        else
                tgroups = {snappy=3, tube=1}
@@ -464,4 +464,4 @@ minetest.register_abm({nodenames={"group:sand_tube"},interval=1,chance=1,
        end})
 
 modpath=minetest.get_modpath("pipeworks")
-dofile(modpath.."/teleport_tube.lua")
\ No newline at end of file
+dofile(modpath.."/teleport_tube.lua")