forked from nalc/homedecor_modpack
		
	Added simple green and brown glass bottles
(e.g. beer and cola but could be anything)
This commit is contained in:
		
				
					committed by
					
						
						Vanessa Ezekowitz
					
				
			
			
				
	
			
			
			
						parent
						
							578bc6008b
						
					
				
				
					commit
					a3c6acc52b
				
			@@ -2535,3 +2535,17 @@ for c in ipairs(bedcolors) do
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
minetest.register_craft( {
 | 
			
		||||
        output = "homedecor:bottle_green",
 | 
			
		||||
        recipe = {
 | 
			
		||||
			{ "vessels:glass_bottle", "dye:green" }
 | 
			
		||||
        },
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_craft( {
 | 
			
		||||
        output = "homedecor:bottle_brown",
 | 
			
		||||
        recipe = {
 | 
			
		||||
			{ "vessels:glass_bottle", "dye:brown" }
 | 
			
		||||
        },
 | 
			
		||||
})
 | 
			
		||||
 
 | 
			
		||||
@@ -1195,3 +1195,44 @@ minetest.register_node("homedecor:cutlery_set", {
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_node("homedecor:bottle_brown", {
 | 
			
		||||
	tiles = {
 | 
			
		||||
		"homedecor_bottle_brown_top.png",
 | 
			
		||||
		"homedecor_bottle_brown_sides.png"
 | 
			
		||||
	},
 | 
			
		||||
	inventory_image = "homedecor_bottle_brown_inv.png",
 | 
			
		||||
	description = "Brown bottle",
 | 
			
		||||
	drawtype = "nodebox",
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
        use_texture_alpha = true,
 | 
			
		||||
	groups = {snappy=3},
 | 
			
		||||
	node_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {
 | 
			
		||||
                         {-0.032, -0.50, -0.11, 0.032, -0.3, -0.046}, -- NodeBox1
 | 
			
		||||
                         {-0.016, -0.30, -0.094, 0.016, -0.2, -0.062}, -- NodeBox2
 | 
			
		||||
		}
 | 
			
		||||
}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
minetest.register_node("homedecor:bottle_green", {
 | 
			
		||||
	tiles = {
 | 
			
		||||
		"homedecor_bottle_green_top.png",
 | 
			
		||||
		"homedecor_bottle_green_sides.png"
 | 
			
		||||
	},
 | 
			
		||||
	inventory_image = "homedecor_bottle_green_inv.png",
 | 
			
		||||
	description = "Green bottle",
 | 
			
		||||
	drawtype = "nodebox",
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
        use_texture_alpha = true,
 | 
			
		||||
	groups = {snappy=3},
 | 
			
		||||
	node_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = {
 | 
			
		||||
                         {-0.032, -0.50, -0.11, 0.032, -0.3, -0.046}, -- NodeBox1
 | 
			
		||||
                         {-0.016, -0.30, -0.094, 0.016, -0.2, -0.062}, -- NodeBox2
 | 
			
		||||
		}
 | 
			
		||||
}
 | 
			
		||||
})
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_brown_inv.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_brown_inv.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.7 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_brown_sides.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_brown_sides.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 155 B  | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_brown_top.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_brown_top.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 179 B  | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_green_inv.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_green_inv.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.7 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_green_sides.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_green_sides.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 250 B  | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_green_top.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_bottle_green_top.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 255 B  | 
		Reference in New Issue
	
	Block a user