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 /init.lua | |
parent | bd0a241e5362684ffce89c5b963f762bc4aaa09f (diff) |
better inv image
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 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", |