1
0
Fork 0

Less ugly inventory imgs for buttons

This commit is contained in:
Wuzzy 2017-03-28 01:31:58 +02:00
parent d6f00e28e2
commit 06a874b621
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,8 @@ minetest.register_node("mesecons_button:button_stone_off", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"default_stone.png"}, tiles = {"default_stone.png"},
wield_image = "default_stone.png^[mask:mesecons_button_wield_mask.png", wield_image = "default_stone.png^[mask:mesecons_button_wield_mask.png",
-- FIXME: Use proper 3D inventory image
inventory_image = "default_stone.png^[mask:mesecons_button_wield_mask.png",
wield_scale = { x=1, y=1, z=1}, wield_scale = { x=1, y=1, z=1},
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
@ -65,6 +67,7 @@ minetest.register_node("mesecons_button:button_stone_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"default_stone.png"}, tiles = {"default_stone.png"},
wield_image = "default_stone.png^[mask:mesecons_button_wield_mask.png", wield_image = "default_stone.png^[mask:mesecons_button_wield_mask.png",
inventory_image = "default_stone.png^[mask:mesecons_button_wield_mask.png",
wield_scale = { x=1, y=1, z=0.5}, wield_scale = { x=1, y=1, z=0.5},
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
@ -89,6 +92,7 @@ minetest.register_node("mesecons_button:button_wood_off", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"default_wood.png"}, tiles = {"default_wood.png"},
wield_image = "default_wood.png^[mask:mesecons_button_wield_mask.png", wield_image = "default_wood.png^[mask:mesecons_button_wield_mask.png",
inventory_image = "default_wood.png^[mask:mesecons_button_wield_mask.png",
wield_scale = { x=1, y=1, z=1}, wield_scale = { x=1, y=1, z=1},
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
@ -119,6 +123,7 @@ minetest.register_node("mesecons_button:button_wood_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"default_wood.png"}, tiles = {"default_wood.png"},
wield_image = "default_wood.png^[mask:mesecons_button_wield_mask.png", wield_image = "default_wood.png^[mask:mesecons_button_wield_mask.png",
inventory_image = "default_wood.png^[mask:mesecons_button_wield_mask.png",
wield_scale = { x=1, y=1, z=0.5}, wield_scale = { x=1, y=1, z=0.5},
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",