mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-11-04 06:55:35 +01:00 
			
		
		
		
	if technic isn't installed, define its granite node (as a building
material only) and make it from 5 tar + 4 marble (both from building_blocks). If moreblocks is installed (and technic isn't), this node is routed through the stairsplus component, and a recipe is added that uses moreblocks' own tar node also.
This commit is contained in:
		@@ -569,3 +569,39 @@ minetest.register_craft({
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
if not minetest.get_modpath("technic") then 
 | 
			
		||||
	minetest.register_node( ":technic:granite", {
 | 
			
		||||
		    description = "Granite",
 | 
			
		||||
		    tiles = { "technic_granite.png" },
 | 
			
		||||
		    is_ground_content = true,
 | 
			
		||||
		    groups = {cracky=1},
 | 
			
		||||
		    sounds = default.node_sound_stone_defaults(),
 | 
			
		||||
	}) 
 | 
			
		||||
 | 
			
		||||
	minetest.register_craft({
 | 
			
		||||
		output = "technic:granite 9",
 | 
			
		||||
		recipe = {
 | 
			
		||||
			{ "building_blocks:Tar", "building_blocks:Marble", "building_blocks:Tar" },
 | 
			
		||||
			{ "building_blocks:Marble", "building_blocks:Tar", "building_blocks:Marble" },
 | 
			
		||||
			{ "building_blocks:Tar", "building_blocks:Marble", "building_blocks:Tar" }
 | 
			
		||||
		},
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	if minetest.get_modpath("moreblocks") then
 | 
			
		||||
		stairsplus:register_all("technic", "granite", "technic:granite", {
 | 
			
		||||
				description="Granite",
 | 
			
		||||
				groups={cracky=1, not_in_creative_inventory=1},
 | 
			
		||||
				tiles={"technic_granite.png"},
 | 
			
		||||
		})
 | 
			
		||||
 | 
			
		||||
		minetest.register_craft({
 | 
			
		||||
			output = "technic:granite 9",
 | 
			
		||||
			recipe = {
 | 
			
		||||
				{ "moreblocks:tar", "building_blocks:Marble", "moreblocks:tar" },
 | 
			
		||||
				{ "building_blocks:Marble", "moreblocks:tar", "building_blocks:Marble" },
 | 
			
		||||
				{ "moreblocks:tar", "building_blocks:Marble", "moreblocks:tar" }
 | 
			
		||||
			},
 | 
			
		||||
		})
 | 
			
		||||
	end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								building_blocks/textures/technic_granite.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								building_blocks/textures/technic_granite.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 947 B  | 
@@ -3053,10 +3053,11 @@ minetest.register_craft({
 | 
			
		||||
	recipe = {
 | 
			
		||||
		{ "group:stick", "homedecor:plastic_sheeting", "dye:green" },
 | 
			
		||||
		{ "group:stick", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
 | 
			
		||||
		{ "group:stick", "stairs:slab_wood", "dye:blue" }
 | 
			
		||||
		{ "group:stick", "moreblocks:slab_wood", "dye:blue" }
 | 
			
		||||
	},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
if (minetest.get_modpath("technic") and minetest.get_modpath("dye") and minetest.get_modpath("bees")) then
 | 
			
		||||
	technic.register_separating_recipe({ input = {"bees:wax 1"}, output = {"homedecor:oil_extract 2","dye:yellow 1"} })
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user