forked from nalc/homedecor_modpack
		
	use texture overlays on lava lamps
(water is now blue like it used to be)
This commit is contained in:
		| @@ -8,7 +8,11 @@ minetest.register_node("lavalamp:lavalamp", { | |||||||
| 	drawtype = "mesh", | 	drawtype = "mesh", | ||||||
| 	mesh = "lavalamp.obj", | 	mesh = "lavalamp.obj", | ||||||
| 	tiles = { | 	tiles = { | ||||||
| 		 { name = "lavalamp_metal.png", color = 0xffffffff}, | 		{ name = "lavalamp_metal.png", color = "white" }, | ||||||
|  | 		{ name = "lavalamp_lamp_liquid.png", color = "white" }, | ||||||
|  | 	}, | ||||||
|  | 	overlay_tiles = { | ||||||
|  | 		"", | ||||||
| 		{ | 		{ | ||||||
| 			name="lavalamp_lamp_anim.png", | 			name="lavalamp_lamp_anim.png", | ||||||
| 			animation={ | 			animation={ | ||||||
| @@ -19,6 +23,7 @@ minetest.register_node("lavalamp:lavalamp", { | |||||||
| 			}, | 			}, | ||||||
| 		}, | 		}, | ||||||
| 	}, | 	}, | ||||||
|  | 	use_texture_alpha = true, | ||||||
| 	inventory_image = "lavalamp_lamp_inv.png", | 	inventory_image = "lavalamp_lamp_inv.png", | ||||||
| 	paramtype = "light", | 	paramtype = "light", | ||||||
| 	paramtype2 = "color", | 	paramtype2 = "color", | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 5.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lavalamp/textures/lavalamp_lamp_liquid.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lavalamp/textures/lavalamp_lamp_liquid.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 412 B | 
		Reference in New Issue
	
	Block a user