improved model + UV mapping + texture handling for flowerpot
| @@ -50,7 +50,10 @@ for _, p in ipairs(pot_colors) do | ||||
| homedecor.register("flower_pot_"..p, { | ||||
| 	description = S("Flower Pot ("..p..")"), | ||||
| 	mesh = "homedecor_flowerpot.obj", | ||||
| 	tiles = { "homedecor_flower_pot_"..p..".png" }, | ||||
| 	tiles = { | ||||
| 		"homedecor_flower_pot_"..p..".png", | ||||
| 		"homedecor_potting_soil.png" | ||||
| 	}, | ||||
| 	groups = { snappy = 3, potting_soil=1 }, | ||||
| 	sounds = default.node_sound_leaves_defaults(), | ||||
| }) | ||||
|   | ||||
| Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 1.4 KiB | 
| Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 1.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_potting_soil.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 726 B |