Shrinked textures using tinypng. Simplified border texture

This commit is contained in:
addi 2016-07-23 06:30:46 +02:00
parent 95d45d7e62
commit 5e27234790
10 changed files with 12 additions and 16 deletions

Binary file not shown.

View File

@ -9,14 +9,14 @@ minetest.register_node("arrow_signs:shared_locked", {
drawtype = "nodebox",
node_box = arrow_signs.nodebox,
selection_box = arrow_signs.selection_box,
tiles = {"arrow_sign_border_left.png","arrow_sign_border_right.png","arrow_sign_border_up.png","arrow_sign_border_down.png","arrow_sign.png","arrow_sign.png"},
inventory_image = "arrow_sign.png",
wield_image = "arrow_sign.png",
tiles = {"arrow_signs_wood.png^arrow_signs_wood_border.png"},
inventory_image = "arrow_signs_wood.png",
wield_image = "arrow_signs_wood.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = false,
groups = {choppy=2,dig_immediate=2,sign_locked=1},
groups = {choppy = 2, oddly_breakable_by_hand = 3 },
legacy_wallmounted = true,
on_place = function(itemstack, placer, pointed_thing)
@ -24,6 +24,7 @@ minetest.register_node("arrow_signs:shared_locked", {
locks:lock_set_owner( pointed_thing.above, placer, "Shared locked sign");
return itemstack
end,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
-- prepare the lock of the sign
@ -34,11 +35,6 @@ minetest.register_node("arrow_signs:shared_locked", {
"button_exit[6.3,3.2;1.7,0.7;locks_sent_input;Proceed]" );
end,
after_place_node = function(pos, placer)
locks:lock_set_owner( pos, placer, "Shared locked sign" );
end,
can_dig = function(pos,player)
return locks:lock_allow_dig( pos, player );
end,
@ -79,7 +75,7 @@ minetest.register_craft({
--Redefinition
minetest.register_lbm({
name = "arrow_signs:replace_old_shared_locked",
nodenames = {"arrow_signs:shared_locked_right", "'arrow_signs:shared_locked_left", "arrow_signs:shared_locked_up", "arrow_signs:shared_locked_down"},
nodenames = {"arrow_signs:shared_locked_right", "arrow_signs:shared_locked_left", "arrow_signs:shared_locked_up", "arrow_signs:shared_locked_down"},
action = function(pos, node)
local convert_facedir={
["arrow_signs:shared_locked_right"]={6,4,5,11,16,14},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

View File

@ -6,18 +6,18 @@
]]
minetest.register_node("arrow_signs:wall", {
description = "Arrow signs",
description = "Arrow sign",
drawtype = "nodebox",
node_box = arrow_signs.nodebox,
selection_box = arrow_signs.selection_box,
tiles = {"arrow_sign_border_left.png","arrow_sign_border_right.png","arrow_sign_border_up.png","arrow_sign_border_down.png","arrow_sign.png","arrow_sign.png"},
inventory_image = "arrow_sign.png",
wield_image = "arrow_sign.png",
tiles = {"arrow_signs_wood.png^arrow_signs_wood_border.png"},
inventory_image = "arrow_signs_wood.png",
wield_image = "arrow_signs_wood.png",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = false,
groups = {choppy=2,dig_immediate=2,sign=1},
groups = {choppy = 2, flammable = 2, oddly_breakable_by_hand = 3},
sounds = default.node_sound_defaults(),
on_place = arrow_signs.on_place,
on_construct = function(pos)
@ -37,7 +37,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "default:sign_wall",
output = "default:sign_wall_wood",
recipe = {
{"arrow_signs:wall"},
}