mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	New fence texture
This commit is contained in:
		@@ -456,12 +456,13 @@ minetest.register_node("default:glass", {
 | 
			
		||||
	sounds = default.node_sound_glass_defaults(),
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
local fence_texture = "default_fence_overlay.png^default_wood.png^default_fence_overlay.png^[makealpha:255,126,126"
 | 
			
		||||
minetest.register_node("default:fence_wood", {
 | 
			
		||||
	description = "Wooden Fence",
 | 
			
		||||
	drawtype = "fencelike",
 | 
			
		||||
	tiles = {"default_wood.png"},
 | 
			
		||||
	inventory_image = "default_fence.png",
 | 
			
		||||
	wield_image = "default_fence.png",
 | 
			
		||||
	inventory_image = fence_texture,
 | 
			
		||||
	wield_image = fence_texture,
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	is_ground_content = false,
 | 
			
		||||
	selection_box = {
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 482 B  | 
							
								
								
									
										
											BIN
										
									
								
								mods/default/textures/default_fence_overlay.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mods/default/textures/default_fence_overlay.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 285 B  | 
		Reference in New Issue
	
	Block a user