Update nodebox, redefinition, images.
"Sign right" does not stick to the wall...
							
								
								
									
										28
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						@@ -68,22 +68,22 @@ minetest.register_node("arrow_signs:wall", {
 | 
			
		||||
	node_box = {		
 | 
			
		||||
		type = "fixed", 
 | 
			
		||||
		fixed = {
 | 
			
		||||
			{0.25, -0.5, 0.25, -0.5, -0.47, -0.25},
 | 
			
		||||
			{0.3125, -0.5, 0.1875, 0.25, -0.47, -0.1875},
 | 
			
		||||
			{0.3125, -0.5, 0.125, 0.375, -0.47, -0.125},
 | 
			
		||||
			{0.375, -0.5, 0.0625, 0.437, -0.47, -0.0625}
 | 
			
		||||
			{ 0.25, -0.25, 0.5, -0.25, 0.5, 0.47},
 | 
			
		||||
			{ 0.1875, -0.3125, 0.5, -0.1875, -0.25, 0.47},
 | 
			
		||||
			{ 0.125, -0.3125, 0.5, -0.125, -0.375, 0.47},
 | 
			
		||||
			{ 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47}
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed", 
 | 
			
		||||
		fixed = {
 | 
			
		||||
			{0.25, -0.5, 0.25, -0.5, -0.47, -0.25},
 | 
			
		||||
			{0.3125, -0.5, 0.1875, 0.25, -0.47, -0.1875},
 | 
			
		||||
			{0.3125, -0.5, 0.125, 0.375, -0.47, -0.125},
 | 
			
		||||
			{0.375, -0.5, 0.0625, 0.437, -0.47, -0.0625}
 | 
			
		||||
			{ 0.25, -0.25, 0.5, -0.25, 0.5, 0.47},
 | 
			
		||||
			{ 0.1875, -0.3125, 0.5, -0.1875, -0.25, 0.47},
 | 
			
		||||
			{ 0.125, -0.3125, 0.5, -0.125, -0.375, 0.47},
 | 
			
		||||
			{ 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47}
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
	tiles = {"arrow_sign.png", "arrow_sign.png", "arrow_sign_border_right.png", "arrow_sign_border_left.png", "arrow_sign_border_up.png", "arrow_sign_border_down.png" },
 | 
			
		||||
	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",
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
@@ -136,12 +136,12 @@ minetest.register_abm({
 | 
			
		||||
	chance = 1,
 | 
			
		||||
	action = function(pos, node)
 | 
			
		||||
		local convert_facedir={
 | 
			
		||||
			["arrow_signs:wall_right"]={17,15,8,6},
 | 
			
		||||
			["arrow_signs:wall_left"]={19,13,10,4},
 | 
			
		||||
			["arrow_signs:wall_up"]={16,14,11,5},
 | 
			
		||||
			["arrow_signs:wall_down"]={18,12,9,7}
 | 
			
		||||
			["arrow_signs:wall_right"]={6,4,5,11,16,14},
 | 
			
		||||
			["arrow_signs:wall_left"]={8,10,9,7,12,18},
 | 
			
		||||
			["arrow_signs:wall_up"]={15,19,23,21,20,22},
 | 
			
		||||
			["arrow_signs:wall_down"]={17,13,1,3,0,2}
 | 
			
		||||
		}
 | 
			
		||||
		minetest.swap_node(pos, {name="arrow_signs:wall",param2=convert_facedir[node.name][node.param2-1]})
 | 
			
		||||
		minetest.swap_node(pos, {name="arrow_signs:wall",param2=convert_facedir[node.name][node.param2+1]})
 | 
			
		||||
	end,
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -5,22 +5,22 @@ minetest.register_node("arrow_signs:shared_locked", {
 | 
			
		||||
	node_box = {		
 | 
			
		||||
		type = "fixed", 
 | 
			
		||||
		fixed = {
 | 
			
		||||
			{0.25, -0.5, 0.25, -0.5, -0.47, -0.25},
 | 
			
		||||
			{0.3125, -0.5, 0.1875, 0.25, -0.47, -0.1875},
 | 
			
		||||
			{0.3125, -0.5, 0.125, 0.375, -0.47, -0.125},
 | 
			
		||||
			{0.375, -0.5, 0.0625, 0.437, -0.47, -0.0625}
 | 
			
		||||
			{ 0.25, -0.25, 0.5, -0.25, 0.5, 0.47},
 | 
			
		||||
			{ 0.1875, -0.3125, 0.5, -0.1875, -0.25, 0.47},
 | 
			
		||||
			{ 0.125, -0.3125, 0.5, -0.125, -0.375, 0.47},
 | 
			
		||||
			{ 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47}
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed", 
 | 
			
		||||
		fixed = {
 | 
			
		||||
			{0.25, -0.5, 0.25, -0.5, -0.47, -0.25},
 | 
			
		||||
			{0.3125, -0.5, 0.1875, 0.25, -0.47, -0.1875},
 | 
			
		||||
			{0.3125, -0.5, 0.125, 0.375, -0.47, -0.125},
 | 
			
		||||
			{0.375, -0.5, 0.0625, 0.437, -0.47, -0.0625}
 | 
			
		||||
			{ 0.25, -0.25, 0.5, -0.25, 0.5, 0.47},
 | 
			
		||||
			{ 0.1875, -0.3125, 0.5, -0.1875, -0.25, 0.47},
 | 
			
		||||
			{ 0.125, -0.3125, 0.5, -0.125, -0.375, 0.47},
 | 
			
		||||
			{ 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47}
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
	tiles = {"arrow_sign.png", "arrow_sign.png", "arrow_sign_border_right.png", "arrow_sign_border_left.png", "arrow_sign_border_up.png", "arrow_sign_border_down.png" },
 | 
			
		||||
	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",
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "wallmounted",
 | 
			
		||||
@@ -87,10 +87,10 @@ minetest.register_abm({
 | 
			
		||||
	chance = 1,
 | 
			
		||||
	action = function(pos, node)
 | 
			
		||||
		local convert_facedir={
 | 
			
		||||
			["arrow_signs:shared_locked_right"]={17,15,8,6},
 | 
			
		||||
			["arrow_signs:shared_locked_left"]={19,13,10,4},
 | 
			
		||||
			["arrow_signs:shared_locked_up"]={16,14,11,5},
 | 
			
		||||
			["arrow_signs:shared_locked_down"]={18,12,9,7}
 | 
			
		||||
			["arrow_signs:shared_locked_right"]={6,4,5,11,16,14},
 | 
			
		||||
			["arrow_signs:shared_locked_left"]={8,10,9,7,12,18},
 | 
			
		||||
			["arrow_signs:shared_locked_up"]={15,19,23,21,20,22},
 | 
			
		||||
			["arrow_signs:shared_locked_down"]={17,13,1,3,0,2}
 | 
			
		||||
		}
 | 
			
		||||
		minetest.swap_node(pos, {name="arrow_signs:shared_locked",param2=convert_facedir[node.name][node.param2-1]})
 | 
			
		||||
	end,
 | 
			
		||||
 
 | 
			
		||||
| 
		 Before Width: | Height: | Size: 666 B After Width: | Height: | Size: 676 B  | 
| 
		 Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 262 B  | 
| 
		 Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 236 B  | 
| 
		 Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 215 B  | 
| 
		 Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 260 B  |