forked from mtcontrib/homedecor_modpack
		
	new alternate no-moreblocks recipes from Zeno
based around a "power crystal" to replace glowglass, basically.
This commit is contained in:
		| @@ -921,9 +921,9 @@ minetest.register_craft({ | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|         output = "homedecor:refrigerator", | ||||
|         recipe = { | ||||
| 		{"default:steel_ingot", "moreblocks:glow_glass", "default:steel_ingot", }, | ||||
| 	output = "homedecor:refrigerator", | ||||
| 	recipe = { | ||||
| 		{"default:steel_ingot", "homedecor:glowlight_small_cube_yellow", "default:steel_ingot", }, | ||||
| 		{"default:steel_ingot", "moreores:tin_ingot", "default:steel_ingot", }, | ||||
| 		{"default:steel_ingot", "default:clay", "default:steel_ingot", }, | ||||
| 	} | ||||
|   | ||||
							
								
								
									
										98
									
								
								homedecor/crafts_nomoreblocks.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										98
									
								
								homedecor/crafts_nomoreblocks.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,98 @@ | ||||
| -- ================ Alternaitve crafts that do not require the moreblocks mod | ||||
|  | ||||
| -- Crafting for homedecor mod (includes folding) by Vanessa Ezekowitz | ||||
| -- 2012-06-12 | ||||
| -- | ||||
| -- Mostly my own code; overall template borrowed from game default | ||||
| -- | ||||
| -- License: GPL | ||||
| -- | ||||
|  | ||||
| -- Zeno-, 2014-05-10, Modifications to remove moreblocks deps | ||||
| -- VanessaE, 2014-06-18, rewritten slightly, some recipes changes, incorporated upstream. | ||||
|  | ||||
| local S = homedecor.gettext | ||||
|  | ||||
| -- ================ Additional crafts for replacing moreblocks requirements (Zeno) | ||||
|  | ||||
| minetest.register_craftitem("homedecor:power_crystal", { | ||||
| 	description = S("Power Crystal"), | ||||
| 	inventory_image = "homedecor_power_crystal.png", | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	--type = "shapeless", | ||||
| 	output = "homedecor:power_crystal 2", | ||||
| 	recipe = { | ||||
| 		{ "default:mese_crystal_fragment", "default:torch", "default:mese_crystal_fragment" }, | ||||
| 		{ "default:diamond", "default:gold_ingot", "default:diamond" } | ||||
| 	}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	type = "fuel", | ||||
| 	recipe = "homedecor:power_crystal", | ||||
| 	burntime = 50, | ||||
| }) | ||||
|  | ||||
| -- ================ Alternative crafts | ||||
|  | ||||
| minetest.register_craft( { | ||||
| 	output = "homedecor:television", | ||||
| 	recipe = { | ||||
| 		{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, | ||||
| 		{ "homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting" }, | ||||
| 		{ "homedecor:ic", "homedecor:power_crystal", "homedecor:ic" }, | ||||
| 	}, | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "homedecor:oven", | ||||
| 	recipe = { | ||||
| 		{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot", }, | ||||
| 		{"default:steel_ingot", "default:glass", "default:steel_ingot", }, | ||||
| 		{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot", }, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "homedecor:microwave_oven 2", | ||||
| 	recipe = { | ||||
| 		{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot", }, | ||||
| 		{"default:steel_ingot", "default:glass", "mesecons_materials:silicon", }, | ||||
| 		{"default:steel_ingot", "default:copper_ingot", "default:mese_crystal", }, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "homedecor:glowlight_half_yellow 6", | ||||
| 	recipe = { | ||||
| 		{"default:glass", "homedecor:power_crystal", "default:glass", }, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "homedecor:glowlight_small_cube_yellow 16", | ||||
| 	recipe = { | ||||
| 		{"default:glass" }, | ||||
| 		{"homedecor:power_crystal" }, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "homedecor:glowlight_half_white 6", | ||||
| 	recipe = { | ||||
| 		{ "dye:white", "dye:white", "dye:white" }, | ||||
| 		{ "default:glass", "homedecor:power_crystal", "default:glass", }, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
| 	output = "homedecor:glowlight_small_cube_white 8", | ||||
| 	recipe = { | ||||
| 		{ "dye:white" }, | ||||
| 		{ "default:glass" }, | ||||
| 		{ "homedecor:power_crystal" }, | ||||
| 	} | ||||
| }) | ||||
|  | ||||
| @@ -1,2 +1,3 @@ | ||||
| default | ||||
| signs_lib | ||||
| moreblocks? | ||||
|   | ||||
| @@ -76,6 +76,7 @@ dofile(homedecor.modpath.."/furnaces.lua") | ||||
| dofile(homedecor.modpath.."/nightstands.lua") | ||||
|  | ||||
| dofile(homedecor.modpath.."/crafts.lua") | ||||
| dofile(homedecor.modpath.."/crafts_nomoreblocks.lua") | ||||
|  | ||||
| dofile(homedecor.modpath.."/furniture.lua") | ||||
| dofile(homedecor.modpath.."/furniture_medieval.lua") | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_power_crystal.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								homedecor/textures/homedecor_power_crystal.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.9 KiB | 
		Reference in New Issue
	
	Block a user