forked from mtcontrib/homedecor_modpack
		
	Add window flowerbox
This commit is contained in:
		
				
					committed by
					
						 Vanessa Ezekowitz
						Vanessa Ezekowitz
					
				
			
			
				
	
			
			
			
						parent
						
							4093ca5021
						
					
				
				
					commit
					80c30e49bf
				
			| @@ -2688,3 +2688,11 @@ minetest.register_craft({ | |||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
|  | minetest.register_craft( { | ||||||
|  |         output = "homedecor:window_flowerbox", | ||||||
|  |         recipe = { | ||||||
|  |                 { "homedecor:roof_tile_terracotta", "default:dirt", "homedecor:roof_tile_terracotta" }, | ||||||
|  |                 { "", "homedecor:roof_tile_terracotta", "" }, | ||||||
|  |         }, | ||||||
|  | }) | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_bottom.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_bottom.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 215 B | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_inv.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_inv.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_sides.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_sides.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 182 B | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_top.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_flowerbox_top.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 378 B | 
| @@ -289,3 +289,26 @@ for i in ipairs(mats) do | |||||||
| 		} | 		} | ||||||
| 	}) | 	}) | ||||||
| end | end | ||||||
|  |  | ||||||
|  | minetest.register_node("homedecor:window_flowerbox", { | ||||||
|  | 	description = "Window flowerbow", | ||||||
|  | 	tiles = { | ||||||
|  | 		"homedecor_flowerbox_top.png", | ||||||
|  | 		"homedecor_flowerbox_bottom.png", | ||||||
|  | 		"homedecor_flowerbox_sides.png" | ||||||
|  | 	}, | ||||||
|  | 	inventory_image = "homedecor_flowerbox_inv.png", | ||||||
|  | 	drawtype = "nodebox", | ||||||
|  | 	paramtype = "light", | ||||||
|  | 	paramtype2 = "facedir", | ||||||
|  | 	groups = { snappy = 3 }, | ||||||
|  | 	node_box = { | ||||||
|  | 		type = "fixed", | ||||||
|  | 		fixed = { | ||||||
|  | 	        	{-0.375, 0.25, -0.125, 0.375, 0.5, 0.375}, -- NodeBox1 | ||||||
|  | 			{-0.3125, 0.4375, 0.375, -0.25, 0.4875, 0.5}, -- NodeBox2 | ||||||
|  | 			{0.25, 0.4375, 0.375, 0.3125, 0.4875, 0.5}, -- NodeBox3 | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | }) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user