summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 9bd78a6..b98646c 100644
--- a/init.lua
+++ b/init.lua
@@ -52,6 +52,8 @@ local frametypes = {
},
}
+
+
for material, modname in pairs(materials) do
if minetest.get_modpath(modname) then
@@ -73,7 +75,7 @@ for material, modname in pairs(materials) do
drawtype = "mesh",
mesh = f.model,
tiles = {texture},
- inventory_image = texture .. "^" .. f.node .. ".png",
+ inventory_image = "(" .. texture .. "^" .. f.node .. ".png^of.png)^[makealpha:0,0,0",
wield_image = texture .. "^" .. f.node .. ".png",
paramtype = "light",
paramtype2 = "facedir",