3 次代碼提交 26a4879a10 ... d3fe3153b3

作者 SHA1 備註 提交日期
  ademant d3fe3153b3 corrected machine building 1 年之前
  ademant 6e1e0d73dc add dense bauxite 1 年之前
  ademant c528777e9b add lv centrifuge 1 年之前

+ 28 - 0
aluminum/init.lua

@@ -79,6 +79,34 @@ if minetest.get_modpath("alumina") then
 	if (technic_path) then
 		--Until then, just use the centrifuge.
 		technic.register_separating_recipe({ input = { "technic_aluminum:alumina_dust" }, output = { "technic_aluminum:aluminum_dust" } })
+
+		minetest.register_craft({
+			output = ":technic_aluminum:lv_centrifuge",
+			recipe = {
+				{"basic_materials:motor",          "default:obsidian",   "technic:diamond_drill_head"},
+				{"default:obsidian",   "technic:machine_casing", "default:obsidian"      },
+				{"pipeworks:one_way_tube", "technic:lv_cable",       "pipeworks:mese_filter"     },
+			}
+		})
+		minetest.register_craft({
+			output = ':technic:mv_compressor',
+			recipe = {
+				{"technic:copper_plate", 'technic_aluminum:lv_centrifuge',  "technic:copper_plate"},
+				{'pipeworks:tube_1',              'technic:mv_transformer', 'pipeworks:tube_1'},
+				{'technic:stainless_steel_ingot', 'technic:mv_cable',       'technic:stainless_steel_ingot'},
+			}
+		})
+				
+		technic.register_base_machine(":technic_aluminum:lv_centrifuge", {
+			typename = "separating",
+			description = S("@1 Centrifuge", S("LV")),
+			tier = "LV",
+			demand = { 5000, 4000, 3500 },
+			speed = 1,
+		})
+		
+
+
   else
     -- And if Technic isn't installed, either, use Alumina as an ore.
     --- Furnace Recipe: Alumina Lump => Aluminum Ingot

二進制
aluminum/textures/technic_aliminum_lv_centrifuge_bottom.png


二進制
aluminum/textures/technic_aliminum_lv_centrifuge_front.png


二進制
aluminum/textures/technic_aliminum_lv_centrifuge_front_active.png


二進制
aluminum/textures/technic_aliminum_lv_centrifuge_side.png


二進制
aluminum/textures/technic_aliminum_lv_centrifuge_top.png


+ 12 - 1
aluminum_machines/init.lua

@@ -59,7 +59,7 @@ if (minetest) then
 		end
 		for _, recipe in ipairs({
 		  lv_to_mv("technic:mv_alloy_furnace", "technic:lv_alloy_furnace"),
-		  lv_to_mv("technic:mv_electric_furnace", "technic:mv_electric_furnace"),
+		  lv_to_mv("technic:mv_electric_furnace", "technic:lv_electric_furnace"),
 		  lv_to_mv("technic:mv_compressor", "technic:lv_compressor"),
 		  lv_to_mv("technic:mv_extractor", "technic:lv_extractor"),
 		  lv_to_mv("technic:mv_generator", "technic:lv_generator"),
@@ -91,4 +91,15 @@ if (minetest) then
 			}
 		})
 	end
+
+	if minetest.registered_items['pipeworks:autocrafter'] ~= nil then
+		minetest.register_craft( {
+			output = "pipeworks:autocrafter 2",
+			recipe = {
+					{ aluminum_ingot, "default:mese", aluminum_ingot },
+					{ "basic_materials:plastic_sheet", aluminum_ingot, "basic_materials:plastic_sheet" },
+					{ aluminum_ingot, "default:mese",aluminum_ingot }
+			},
+		})
+	end
 end

+ 1 - 1
aluminum_machines/mod.conf

@@ -1,4 +1,4 @@
 name = aluminum_machines
 depends = default, technic, aluminum
-optional_depends =  aluminum_alloys
+optional_depends =  aluminum_alloys, basic_materials,pipeworks
 

+ 35 - 5
bauxite/init.lua

@@ -27,6 +27,14 @@ minetest.register_node(":technic_aluminum:stone_with_bauxite", {
 	sounds = default.node_sound_stone_defaults(),
 })
 
+minetest.register_node(":technic_aluminum:stone_with_bauxite_rich", {
+	description = "Rich Bauxite Ore",
+	tiles = {"default_stone.png^aluminum_mineral_bauxite_rich.png"},
+	groups = {cracky = 2},
+	drop = 'technic_aluminum:bauxite_lump 2',
+	sounds = default.node_sound_stone_defaults(),
+})
+
 --[[
 	Aluminum is actually the most abundant metal in the Earth's crust,
 	even more so than iron, but since it's a mid/late-game metal, the
@@ -47,7 +55,7 @@ minetest.register_ore({
 	ore_type       = "scatter",
 	ore            = "technic_aluminum:stone_with_bauxite",
 	wherein        = "default:stone",
-	clust_scarcity = 7 * 7 * 7,
+	clust_scarcity = 8 * 8 * 8,
 	clust_num_ores = 5,
 	clust_size     = 3,
 	y_min          = 65,
@@ -59,7 +67,7 @@ minetest.register_ore({
 	ore_type       = "scatter",
 	ore            = "technic_aluminum:stone_with_bauxite",
 	wherein        = "default:stone",
-	clust_scarcity = 9 * 9 * 9,
+	clust_scarcity = 11 * 11 * 11,
 	clust_num_ores = 5,
 	clust_size     = 3,
 	y_min          = 32,
@@ -70,7 +78,7 @@ minetest.register_ore({
 	ore_type       = "scatter",
 	ore            = "technic_aluminum:stone_with_bauxite",
 	wherein        = "default:stone",
-	clust_scarcity = 12 * 12 * 12,
+	clust_scarcity = 14 * 14 * 14,
 	clust_num_ores = 3,
 	clust_size     = 2,
 	y_min          = -15,
@@ -81,7 +89,7 @@ minetest.register_ore({
 	ore_type       = "scatter",
 	ore            = "technic_aluminum:stone_with_bauxite",
 	wherein        = "default:stone",
-	clust_scarcity = 9 * 9 * 9,
+	clust_scarcity = 11 * 11 * 11,
 	clust_num_ores = 4,
 	clust_size     = 3,
 	y_min          = -63,
@@ -92,9 +100,31 @@ minetest.register_ore({
 	ore_type       = "scatter",
 	ore            = "technic_aluminum:stone_with_bauxite",
 	wherein        = "default:stone",
-	clust_scarcity = 8 * 8 * 8,
+	clust_scarcity = 10 * 10 * 10,
 	clust_num_ores = 5,
 	clust_size     = 3,
 	y_min          = -31000,
 	y_max          = -64,
 })
+
+minetest.register_ore({
+	ore_type       = "scatter",
+	ore            = "technic_aluminum:stone_with_bauxite_rich",
+	wherein        = "default:stone",
+	clust_scarcity = 16 * 16 * 16,
+	clust_num_ores = 5,
+	clust_size     = 3,
+	y_min          = 32,
+	y_max          = 64,
+})
+
+minetest.register_ore({
+	ore_type       = "scatter",
+	ore            = "technic_aluminum:stone_with_bauxite",
+	wherein        = "default:stone",
+	clust_scarcity = 16 * 16 * 16,
+	clust_num_ores = 3,
+	clust_size     = 2,
+	y_min          = -1500,
+	y_max          = 63,
+})

+ 0 - 0
bauxite/textures/aluminum_mineral_bauxite_rich.png


部分文件因文件數量過多而無法顯示