Shrinked textures using tinypng. Simplified border texture
BIN
development/arrow_signs_wood.xcf
Normal 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},
|
||||
|
|
Before Width: | Height: | Size: 650 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 193 B |
BIN
textures/arrow_signs_wood.png
Normal file
After Width: | Height: | Size: 318 B |
BIN
textures/arrow_signs_wood_border.png
Normal file
After Width: | Height: | Size: 187 B |
12
wood.lua
|
@ -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"},
|
||||
}
|
||||
|
|