forked from mtcontrib/homedecor_modpack
		
	Update thin/little candle
This commit is contained in:
		@@ -300,34 +300,24 @@ minetest.register_node('homedecor:candle', {
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
minetest.register_node('homedecor:candle_thin', {
 | 
					minetest.register_node('homedecor:candle_thin', {
 | 
				
			||||||
	description = S("Thin Candle"),
 | 
						description = S("Little Candle"),
 | 
				
			||||||
	drawtype = "nodebox",
 | 
						inventory_image = 'homedecor_candle_inv.png',
 | 
				
			||||||
 | 
						drawtype = "plantlike",
 | 
				
			||||||
	tiles = {
 | 
						tiles = {
 | 
				
			||||||
		'homedecor_candle_top.png',
 | 
							{name="homedecor_candle.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1.0}},
 | 
				
			||||||
		'homedecor_candle_bottom.png',
 | 
					 | 
				
			||||||
		{name="homedecor_candle_sides.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
 | 
					 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
    node_box = {
 | 
					 | 
				
			||||||
            type = "fixed",
 | 
					 | 
				
			||||||
            fixed = { 
 | 
					 | 
				
			||||||
				{ -0.0625, -0.5, -0.0625, 0.0625, 0, 0.0625 },
 | 
					 | 
				
			||||||
				{ -0.125, 0, 0, 0.125, 0.5, 0 },
 | 
					 | 
				
			||||||
				{ 0, 0, -0.125, 0, 0.5, 0.125 }
 | 
					 | 
				
			||||||
			}	
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    selection_box = {
 | 
					    selection_box = {
 | 
				
			||||||
            type = "fixed",
 | 
					            type = "fixed",
 | 
				
			||||||
            fixed = { 
 | 
					            fixed = { 
 | 
				
			||||||
				{ -0.125, -0.5, -0.125, 0.125, 0.35, 0.125 },
 | 
									{ -0.1, -0.5, -0.1, 0.125, 0.05, 0.125 },
 | 
				
			||||||
			}	
 | 
								}	
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
	sunlight_propagates = true,
 | 
						sunlight_propagates = true,
 | 
				
			||||||
	paramtype = "light",
 | 
						paramtype = "light",
 | 
				
			||||||
	paramtype2 = "facedir",
 | 
						paramtype2 = "facedir",
 | 
				
			||||||
	walkable = true,
 | 
						walkable = false,
 | 
				
			||||||
	groups = { snappy = 3 },
 | 
						groups = { snappy = 3 },
 | 
				
			||||||
	light_source = LIGHT_MAX-4,
 | 
						light_source = LIGHT_MAX-4,
 | 
				
			||||||
	sounds = default.node_sound_wood_defaults(),
 | 
					 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
minetest.register_node('homedecor:oil_lamp', {
 | 
					minetest.register_node('homedecor:oil_lamp', {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_candle.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_candle.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 281 B  | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_candle_inv.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_candle_inv.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 236 B  | 
		Reference in New Issue
	
	Block a user