mirror of
				https://github.com/mt-mods/plantlife_modpack.git
				synced 2025-10-31 05:45:24 +01:00 
			
		
		
		
	Merge branch 'master' of https://github.com/VanessaE/plantlife_modpack.git into Zeno
This commit is contained in:
		| @@ -226,19 +226,23 @@ for i in ipairs(algae_list) do | |||||||
| end | end | ||||||
|  |  | ||||||
| -- register all potted plant nodes, crafts, and most backward-compat aliases | -- register all potted plant nodes, crafts, and most backward-compat aliases | ||||||
|  | -- Description, base node name, item to craft flowerpot with | ||||||
|  |  | ||||||
| local flowers_list = { | local flowers_list = { | ||||||
| 	{ "Rose",		"rose"}, | 	{ "Rose",				"rose", 			"flowers:rose" }, | ||||||
| 	{ "Tulip",		"tulip"}, | 	{ "Tulip",				"tulip", 			"flowers:tulip" }, | ||||||
| 	{ "Yellow Dandelion",	"dandelion_yellow"}, | 	{ "Yellow Dandelion",	"dandelion_yellow",	"flowers:dandelion_yellow" }, | ||||||
| 	{ "White Dandelion",	"dandelion_white"}, | 	{ "White Dandelion",	"dandelion_white",	"flowers:dandelion_white" }, | ||||||
| 	{ "Blue Geranium",	"geranium"}, | 	{ "Blue Geranium",		"geranium",			"flowers:geranium" }, | ||||||
| 	{ "Viola",		"viola"}, | 	{ "Viola",				"viola",			"flowers:viola" }, | ||||||
|  | 	{ "Cactus",				"cactus",			"default:cactus" }, | ||||||
|  | 	{ "Bonsai",				"bonsai",			"default:sapling" } | ||||||
| } | } | ||||||
|  |  | ||||||
| for i in ipairs(flowers_list) do | for i in ipairs(flowers_list) do | ||||||
| 	local flowerdesc	= flowers_list[i][1] | 	local flowerdesc	= flowers_list[i][1] | ||||||
| 	local flower		= flowers_list[i][2] | 	local flower		= flowers_list[i][2] | ||||||
|  | 	local craftwith		= flowers_list[i][3] | ||||||
| 	 | 	 | ||||||
| 	minetest.register_node(":flowers:potted_"..flower, { | 	minetest.register_node(":flowers:potted_"..flower, { | ||||||
| 		description = S("Potted "..flowerdesc), | 		description = S("Potted "..flowerdesc), | ||||||
| @@ -261,8 +265,8 @@ for i in ipairs(flowers_list) do | |||||||
| 		type = "shapeless", | 		type = "shapeless", | ||||||
| 		output = "flowers:potted_"..flower, | 		output = "flowers:potted_"..flower, | ||||||
| 		recipe = { | 		recipe = { | ||||||
| 			"flowers:flower_pot", | 			craftwith, | ||||||
| 			"flowers:"..flower | 			"flowers:flower_pot" | ||||||
| 		} | 		} | ||||||
| 	}) | 	}) | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								flowers_plus/textures/flowers_potted_bonsai.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								flowers_plus/textures/flowers_potted_bonsai.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 565 B | 
							
								
								
									
										
											BIN
										
									
								
								flowers_plus/textures/flowers_potted_cactus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								flowers_plus/textures/flowers_potted_cactus.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 509 B | 
		Reference in New Issue
	
	Block a user