diff options
| author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-01 01:37:59 +0300 | 
|---|---|---|
| committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-01 01:37:59 +0300 | 
| commit | 25e857f1680e167848326b71b1e17db75d231300 (patch) | |
| tree | 2fac1c6d39e5b77b4d489ad79a319221a980a084 | |
| parent | bd0a241e5362684ffce89c5b963f762bc4aaa09f (diff) | |
better inv image
| -rw-r--r-- | init.lua | 4 | ||||
| -rw-r--r-- | textures/of.png | bin | 0 -> 199 bytes | 
2 files changed, 3 insertions, 1 deletions
@@ -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", diff --git a/textures/of.png b/textures/of.png Binary files differnew file mode 100644 index 0000000..3a226ce --- /dev/null +++ b/textures/of.png  | 
