commit b73cc9f476926ae5121dadd5f2087b2284432163 Author: mrunderhill89 Date: Fri Jun 3 10:58:08 2016 -0700 Initial public commit. diff --git a/alumina/depends.txt b/alumina/depends.txt new file mode 100644 index 0000000..ac38302 --- /dev/null +++ b/alumina/depends.txt @@ -0,0 +1,3 @@ +default +technic +bauxite \ No newline at end of file diff --git a/alumina/init.lua b/alumina/init.lua new file mode 100644 index 0000000..f3a1061 --- /dev/null +++ b/alumina/init.lua @@ -0,0 +1,29 @@ +local S = technic.getter + +--- Alumina Lump +minetest.register_craftitem(":technic_aluminum:alumina_lump", { + description = S("Aluminum Oxide Lump"), + inventory_image = "aluminum_alumina_lump.png", +}) +--- Furnace Recipe: Bauxite Lump => Alumina Lump +minetest.register_craft({ + type = "cooking", + output = "technic_aluminum:alumina_lump", + recipe = "technic_aluminum:bauxite_lump", +}) +--- Alumina Dust +minetest.register_craftitem(":technic_aluminum:alumina_dust", { + description = S("Aluminum Oxide Dust"), + inventory_image = "aluminum_alumina_dust.png", +}) +---- Grinder Recipe: Alumina Lump => 2x Alumina Dust +technic.register_grinder_recipe({ + input = {"technic_aluminum:alumina_lump"}, + output = "technic_aluminum:alumina_dust 2" +}) +--- Furnace Recipe: Bauxite Dust => Alumina Dust +minetest.register_craft({ + type = "cooking", + output = "technic_aluminum:alumina_dust", + recipe = "technic_aluminum:bauxite_dust", +}) \ No newline at end of file diff --git a/alumina/textures/aluminum_alumina_dust.png b/alumina/textures/aluminum_alumina_dust.png new file mode 100644 index 0000000..bccb074 Binary files /dev/null and b/alumina/textures/aluminum_alumina_dust.png differ diff --git a/alumina/textures/aluminum_alumina_dust.xcf b/alumina/textures/aluminum_alumina_dust.xcf new file mode 100644 index 0000000..e40895d Binary files /dev/null and b/alumina/textures/aluminum_alumina_dust.xcf differ diff --git a/alumina/textures/aluminum_alumina_lump.png b/alumina/textures/aluminum_alumina_lump.png new file mode 100644 index 0000000..e25f3b3 Binary files /dev/null and b/alumina/textures/aluminum_alumina_lump.png differ diff --git a/alumina/textures/aluminum_alumina_lump.xcf b/alumina/textures/aluminum_alumina_lump.xcf new file mode 100644 index 0000000..53263f3 Binary files /dev/null and b/alumina/textures/aluminum_alumina_lump.xcf differ diff --git a/aluminum/depends.txt b/aluminum/depends.txt new file mode 100644 index 0000000..328ad0a --- /dev/null +++ b/aluminum/depends.txt @@ -0,0 +1,4 @@ +default +technic +bauxite +alumina? \ No newline at end of file diff --git a/aluminum/init.lua b/aluminum/init.lua new file mode 100644 index 0000000..3125090 --- /dev/null +++ b/aluminum/init.lua @@ -0,0 +1,110 @@ +local S = technic.getter +local technic_path = minetest.get_modpath("technic") + +-- Only use the alloy name if alloys are installed +local aluminum_name = minetest.get_modpath("aluminum_alloys") + and "1xxx Aluminum" + or "Aluminum" + +-- Aluminum +--- Aluminum Lump (may not be used) +minetest.register_craftitem(":technic_aluminum:aluminum_lump", { + description = S(aluminum_name.." Lump"), + inventory_image = "aluminum_aluminum_lump.png", +}) + +--- Aluminum Ingot +minetest.register_craftitem(":technic_aluminum:aluminum_ingot", { + description = S(aluminum_name.." Ingot"), + inventory_image = "aluminum_aluminum_ingot.png", +}) +---- Furnace Recipe: Aluminum Lump => Aluminum Ingot +minetest.register_craft({ + type = "cooking", + output = "technic_aluminum:aluminum_ingot", + recipe = "technic_aluminum:aluminum_lump", +}) + +if (technic_path) then +--- Aluminum Dust +minetest.register_craftitem(":technic_aluminum:aluminum_dust", { + description = S(aluminum_name.." Dust"), + inventory_image = "aluminum_aluminum_dust.png", +}) +---- Furnace Recipe: Aluminum Dust => Aluminum Ingot +minetest.register_craft({ + type = "cooking", + output = "technic_aluminum:aluminum_ingot", + recipe = "technic_aluminum:aluminum_dust", +}) + +---- Grinder Recipe: Aluminum Lump => 2x Aluminum Dust +technic.register_grinder_recipe({ + input = {"technic_aluminum:aluminum_lump"}, + output = "technic_aluminum:aluminum_dust 2" +}) +---- Grinder Recipe: Aluminum Ingot => 1x Aluminum Dust +technic.register_grinder_recipe({ + input = {"technic_aluminum:aluminum_ingot"}, + output = "technic_aluminum:aluminum_dust" +}) +end + +--- Aluminum Block +minetest.register_node(":technic_aluminum:aluminum_block", { + description = S(aluminum_name.." Block"), + tiles = {"aluminum_aluminum_block.png"}, + is_ground_content = false, + groups = {cracky = 1, level = 2}, + sounds = default.node_sound_stone_defaults(), +}) +---- Crafting Recipe: 9x Aluminum Ingot => Aluminum Block +minetest.register_craft({ + output = 'technic_aluminum:aluminum_block', + recipe = { + {'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot'}, + {'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot'}, + {'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot'}, + } +}) +---- Crafting Recipe: Aluminum Block => 9x Aluminum Ingot +minetest.register_craft({ + output = 'technic_aluminum:aluminum_ingot 9', + recipe = { + {'technic_aluminum:aluminum_block'}, + } +}) + +if minetest.get_modpath("alumina") then + if minetest.get_modpath("technic_hydrolysis") then + --TODO: Add a hydrolyzer machine and rig its recipe here + elseif (technic_path) then + --Until then, just use the centrifuge. + technic.register_separating_recipe({ input = { "technic_aluminum:alumina_dust" }, output = { "technic_aluminum:aluminum_dust" } }) + else + -- And if Technic isn't installed, either, use Alumina as an ore. + --- Furnace Recipe: Alumina Lump => Aluminum Ingot + minetest.register_craft({ + type = "cooking", + output = "technic_aluminum:aluminum_ingot", + recipe = "technic_aluminum:alumina_lump", + }) + -- No dust recipe because that's a Technic thing. + end +else + --If alumina isn't installed, just treat bauxite like a normal ore. + --- Furnace Recipe: Bauxite Lump => Aluminum Ingot + minetest.register_craft({ + type = "cooking", + output = "technic_aluminum:aluminum_ingot", + recipe = "technic_aluminum:bauxite_lump", + }) + if (technic_path) then + --- Furnace Recipe: Bauxite Dust => Aluminum Ingot + minetest.register_craft({ + type = "cooking", + output = "technic_aluminum:aluminum_ingot", + recipe = "technic_aluminum:bauxite_dust", + }) + end +end diff --git a/aluminum/textures/aluminum_aluminum_block.png b/aluminum/textures/aluminum_aluminum_block.png new file mode 100644 index 0000000..d8f13f5 Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_block.png differ diff --git a/aluminum/textures/aluminum_aluminum_block.xcf b/aluminum/textures/aluminum_aluminum_block.xcf new file mode 100644 index 0000000..ef33d0a Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_block.xcf differ diff --git a/aluminum/textures/aluminum_aluminum_dust.png b/aluminum/textures/aluminum_aluminum_dust.png new file mode 100644 index 0000000..0ad01b1 Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_dust.png differ diff --git a/aluminum/textures/aluminum_aluminum_dust.xcf b/aluminum/textures/aluminum_aluminum_dust.xcf new file mode 100644 index 0000000..a71b433 Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_dust.xcf differ diff --git a/aluminum/textures/aluminum_aluminum_ingot.png b/aluminum/textures/aluminum_aluminum_ingot.png new file mode 100644 index 0000000..0995225 Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_ingot.png differ diff --git a/aluminum/textures/aluminum_aluminum_ingot.xcf b/aluminum/textures/aluminum_aluminum_ingot.xcf new file mode 100644 index 0000000..9f87af5 Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_ingot.xcf differ diff --git a/aluminum/textures/aluminum_aluminum_lump.png b/aluminum/textures/aluminum_aluminum_lump.png new file mode 100644 index 0000000..eec3c0a Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_lump.png differ diff --git a/aluminum/textures/aluminum_aluminum_lump.xcf b/aluminum/textures/aluminum_aluminum_lump.xcf new file mode 100644 index 0000000..d3055dc Binary files /dev/null and b/aluminum/textures/aluminum_aluminum_lump.xcf differ diff --git a/aluminum_alloys/depends.txt b/aluminum_alloys/depends.txt new file mode 100644 index 0000000..d4d5ce6 --- /dev/null +++ b/aluminum_alloys/depends.txt @@ -0,0 +1,3 @@ +default +technic +aluminum diff --git a/aluminum_alloys/init.lua b/aluminum_alloys/init.lua new file mode 100644 index 0000000..4ee1719 --- /dev/null +++ b/aluminum_alloys/init.lua @@ -0,0 +1,80 @@ +local modname = "technic_aluminum:" + +local aluminum_alloys = { + copper = { + internal_name = "copper_aluminum", + description = "2xxx Aluminum", + alloy_recipe = {"technic_aluminum:aluminum_ingot 3", "default:copper_ingot 1"}, + centrifuge_output = {"technic_aluminum:aluminum_dust 3", "technic:copper_dust 1"}, + quantity = 4, + ingot_image = "aluminum_copper_aluminum_ingot.png", + dust_image = "aluminum_copper_aluminum_dust.png", + block_image = "aluminum_copper_aluminum_block.png" + }, + zinc = { + internal_name = "zinc_aluminum", + description = "7xxx Aluminum", + alloy_recipe = {"technic_aluminum:aluminum_ingot 3", "technic:zinc_ingot 1"}, + centrifuge_output = {"technic_aluminum:aluminum_dust 3", "technic:zinc_dust 1"}, + quantity = 4, + ingot_image = "aluminum_zinc_aluminum_ingot.png", + dust_image = "aluminum_zinc_aluminum_dust.png", + block_image = "aluminum_zinc_aluminum_block.png" + } +} +if (minetest) then + local S = technic.getter + for _,alloy in pairs(aluminum_alloys) do + --- Ingot + local ingot_name = modname..alloy.internal_name.."_ingot" + minetest.register_craftitem(":"..ingot_name, { + description = S(alloy.description.." Ingot"), + inventory_image = alloy.ingot_image + }) + -- Alloy Recipe + technic.register_alloy_recipe({input = alloy.alloy_recipe, output = ingot_name..' '..alloy.quantity}) + + --- Dust + local dust_name = modname..alloy.internal_name.."_dust" + minetest.register_craftitem(":"..dust_name, { + description = S(alloy.description.." Dust"), + inventory_image = alloy.dust_image + }) + -- Grinder + technic.register_grinder_recipe({input = {ingot_name}, output = dust_name}) + -- Centrifuge + technic.register_separating_recipe({ input = { dust_name..' '..alloy.quantity }, output = alloy.centrifuge_output }) + -- Furnace + minetest.register_craft({ + type = "cooking", + output = ingot_name, + recipe = dust_name, + }) + + --- Block + local block_name = alloy.internal_name.."_block" + minetest.register_node(":"..block_name, { + description = S(alloy.description.." Block"), + tiles = {alloy.block_image}, + is_ground_content = false, + groups = {cracky = 1, level = 2}, + sounds = default.node_sound_stone_defaults(), + }) + -- Combine + minetest.register_craft({ + output = block_name, + recipe = { + {ingot_name, ingot_name, ingot_name}, + {ingot_name, ingot_name, ingot_name}, + {ingot_name, ingot_name, ingot_name}, + } + }) + -- Break Down + minetest.register_craft({ + output = ingot_name.." 9", + recipe = { + {block_name}, + } + }) + end +end diff --git a/aluminum_alloys/textures/aluminum_copper_aluminum_block.png b/aluminum_alloys/textures/aluminum_copper_aluminum_block.png new file mode 100644 index 0000000..812f560 Binary files /dev/null and b/aluminum_alloys/textures/aluminum_copper_aluminum_block.png differ diff --git a/aluminum_alloys/textures/aluminum_copper_aluminum_block.xcf b/aluminum_alloys/textures/aluminum_copper_aluminum_block.xcf new file mode 100644 index 0000000..5ec1f46 Binary files /dev/null and b/aluminum_alloys/textures/aluminum_copper_aluminum_block.xcf differ diff --git a/aluminum_alloys/textures/aluminum_copper_aluminum_dust.png b/aluminum_alloys/textures/aluminum_copper_aluminum_dust.png new file mode 100644 index 0000000..0a6908f Binary files /dev/null and b/aluminum_alloys/textures/aluminum_copper_aluminum_dust.png differ diff --git a/aluminum_alloys/textures/aluminum_copper_aluminum_dust.xcf b/aluminum_alloys/textures/aluminum_copper_aluminum_dust.xcf new file mode 100644 index 0000000..e2cd443 Binary files /dev/null and b/aluminum_alloys/textures/aluminum_copper_aluminum_dust.xcf differ diff --git a/aluminum_alloys/textures/aluminum_copper_aluminum_ingot.png b/aluminum_alloys/textures/aluminum_copper_aluminum_ingot.png new file mode 100644 index 0000000..ab43b36 Binary files /dev/null and b/aluminum_alloys/textures/aluminum_copper_aluminum_ingot.png differ diff --git a/aluminum_alloys/textures/aluminum_copper_aluminum_ingot.xcf b/aluminum_alloys/textures/aluminum_copper_aluminum_ingot.xcf new file mode 100644 index 0000000..32c3cdd Binary files /dev/null and b/aluminum_alloys/textures/aluminum_copper_aluminum_ingot.xcf differ diff --git a/aluminum_alloys/textures/aluminum_zinc_aluminum_block.png b/aluminum_alloys/textures/aluminum_zinc_aluminum_block.png new file mode 100644 index 0000000..30ae7d4 Binary files /dev/null and b/aluminum_alloys/textures/aluminum_zinc_aluminum_block.png differ diff --git a/aluminum_alloys/textures/aluminum_zinc_aluminum_block.xcf b/aluminum_alloys/textures/aluminum_zinc_aluminum_block.xcf new file mode 100644 index 0000000..6ae39fe Binary files /dev/null and b/aluminum_alloys/textures/aluminum_zinc_aluminum_block.xcf differ diff --git a/aluminum_alloys/textures/aluminum_zinc_aluminum_dust.png b/aluminum_alloys/textures/aluminum_zinc_aluminum_dust.png new file mode 100644 index 0000000..149166c Binary files /dev/null and b/aluminum_alloys/textures/aluminum_zinc_aluminum_dust.png differ diff --git a/aluminum_alloys/textures/aluminum_zinc_aluminum_dust.xcf b/aluminum_alloys/textures/aluminum_zinc_aluminum_dust.xcf new file mode 100644 index 0000000..99902ec Binary files /dev/null and b/aluminum_alloys/textures/aluminum_zinc_aluminum_dust.xcf differ diff --git a/aluminum_alloys/textures/aluminum_zinc_aluminum_ingot.png b/aluminum_alloys/textures/aluminum_zinc_aluminum_ingot.png new file mode 100644 index 0000000..d6c8543 Binary files /dev/null and b/aluminum_alloys/textures/aluminum_zinc_aluminum_ingot.png differ diff --git a/aluminum_alloys/textures/aluminum_zinc_aluminum_ingot.xcf b/aluminum_alloys/textures/aluminum_zinc_aluminum_ingot.xcf new file mode 100644 index 0000000..97bc46d Binary files /dev/null and b/aluminum_alloys/textures/aluminum_zinc_aluminum_ingot.xcf differ diff --git a/aluminum_armor/init.lua b/aluminum_armor/init.lua new file mode 100644 index 0000000..cf4a9a7 --- /dev/null +++ b/aluminum_armor/init.lua @@ -0,0 +1,114 @@ +if minetest.get_modpath("technic") then + local stats = { + aluminum = { name="Aluminum", armor=2.0, heal=8, use=200 }, + } + local mats = { + aluminum="technic_aluminum:aluminum_ingot" + } + if minetest.get_modpath("aluminum_alloys") then + stats.aluminum.name = "1xxx Aluminum" + if false then --Let me make some textures first... + stats.aluminum_copper = { name="2xxx Aluminum", armor=2.2, heal=10, use=100 } + mats.aluminum_copper = "technic_aluminum:aluminum_copper_ingot" + stats.aluminum_zinc = { name="7xxx Aluminum", armor=2.3, heal=10, use=75 } + mats.aluminum_zinc = "technic_aluminum:aluminum_zinc_ingot" + end + end + + if minetest.get_modpath("sapphire") then + stats.sapphire = { name = "Sapphire", armor = 2.4, heal=10, use=100, water=1} + mats.sapphire = "technic_aluminum:sapphire" + end + + if minetest.get_modpath("ruby") then + stats.ruby = { name = "Ruby", armor = 2.4, heal=10, use=100, fire=1} + mats.ruby = "technic_aluminum:ruby" + end + + + for k, v in pairs(stats) do + minetest.register_tool(":technic_aluminum:helmet_"..k, { + description = v.name.." Helmet", + inventory_image = "technic_aluminum_inv_helmet_"..k..".png", + groups = {armor_head=math.floor(5*v.armor), armor_heal=v.heal, armor_use=v.use, armor_water = v.water or 0, armor_fire = v.fire or 0}, + armor_fire= v.armor_fire or 0, + water = v.water or 0, + wear = 0, + }) + minetest.register_tool(":technic_aluminum:chestplate_"..k, { + description = v.name.." Chestplate", + inventory_image = "technic_aluminum_inv_chestplate_"..k..".png", + groups = {armor_torso=math.floor(8*v.armor), armor_heal=v.heal, armor_use=v.use, armor_water = v.water or 0, armor_fire = v.fire or 0}, + armor_fire= v.armor_fire or 0, + water = v.water or 0, + wear = 0, + }) + minetest.register_tool(":technic_aluminum:leggings_"..k, { + description = v.name.." Leggings", + inventory_image = "technic_aluminum_inv_leggings_"..k..".png", + groups = {armor_legs=math.floor(7*v.armor), armor_heal=v.heal, armor_use=v.use, armor_water = v.water or 0, armor_fire = v.fire or 0}, + armor_fire= v.armor_fire or 0, + wear = 0, + }) + minetest.register_tool(":technic_aluminum:boots_"..k, { + description = v.name.." Boots", + inventory_image = "technic_aluminum_inv_boots_"..k..".png", + groups = {armor_feet=math.floor(4*v.armor), armor_heal=v.heal, armor_use=v.use, armor_water = v.water or 0, armor_fire = v.fire or 0}, + wear = 0, + }) + end + for k, v in pairs(mats) do + minetest.register_craft({ + output = "technic_aluminum:helmet_"..k, + recipe = { + {v, v, v}, + {v, "", v}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "technic_aluminum:chestplate_"..k, + recipe = { + {v, "", v}, + {v, v, v}, + {v, v, v}, + }, + }) + minetest.register_craft({ + output = "technic_aluminum:leggings_"..k, + recipe = { + {v, v, v}, + {v, "", v}, + {v, "", v}, + }, + }) + minetest.register_craft({ + output = "technic_aluminum:boots_"..k, + recipe = { + {v, "", v}, + {v, "", v}, + }, + }) + end + + if minetest.get_modpath("shields") then + for k, v in pairs(stats) do + minetest.register_tool(":technic_aluminum:shield_"..k, { + description = v.name.." Shield", + inventory_image = "technic_aluminum_inv_shield_"..k..".png", + groups = {armor_shield=math.floor(5*v.armor), armor_heal=v.heal, armor_use=v.use, armor_water = v.water or 0, armor_fire = v.fire or 0}, + water = v.water or 0, + wear = 0, + }) + local m = mats[k] + minetest.register_craft({ + output = "technic_aluminum:shield_"..k, + recipe = { + {m, m, m}, + {m, m, m}, + {"", m, ""}, + }, + }) + end + end +end diff --git a/aluminum_armor/textures/aluminum_armor_boots_aluminum.xcf b/aluminum_armor/textures/aluminum_armor_boots_aluminum.xcf new file mode 100644 index 0000000..3bfd79b Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_boots_aluminum.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_boots_aluminum_inv.xcf b/aluminum_armor/textures/aluminum_armor_boots_aluminum_inv.xcf new file mode 100644 index 0000000..aea94a0 Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_boots_aluminum_inv.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_boots_aluminum_preview.xcf b/aluminum_armor/textures/aluminum_armor_boots_aluminum_preview.xcf new file mode 100644 index 0000000..016f9d9 Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_boots_aluminum_preview.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_chestplate_aluminum.xcf b/aluminum_armor/textures/aluminum_armor_chestplate_aluminum.xcf new file mode 100644 index 0000000..79c3a57 Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_chestplate_aluminum.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_chestplate_aluminum_inv.xcf b/aluminum_armor/textures/aluminum_armor_chestplate_aluminum_inv.xcf new file mode 100644 index 0000000..4b4345b Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_chestplate_aluminum_inv.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_chestplate_aluminum_preview.xcf b/aluminum_armor/textures/aluminum_armor_chestplate_aluminum_preview.xcf new file mode 100644 index 0000000..88eb9d5 Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_chestplate_aluminum_preview.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_helmet_aluminum.xcf b/aluminum_armor/textures/aluminum_armor_helmet_aluminum.xcf new file mode 100644 index 0000000..662c9f9 Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_helmet_aluminum.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_helmet_aluminum_inv.xcf b/aluminum_armor/textures/aluminum_armor_helmet_aluminum_inv.xcf new file mode 100644 index 0000000..b89eb78 Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_helmet_aluminum_inv.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_helmet_aluminum_preview.xcf b/aluminum_armor/textures/aluminum_armor_helmet_aluminum_preview.xcf new file mode 100644 index 0000000..ed54cb2 Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_helmet_aluminum_preview.xcf differ diff --git a/aluminum_armor/textures/aluminum_armor_leggings_aluminum_inv.xcf b/aluminum_armor/textures/aluminum_armor_leggings_aluminum_inv.xcf new file mode 100644 index 0000000..7f8dbfb Binary files /dev/null and b/aluminum_armor/textures/aluminum_armor_leggings_aluminum_inv.xcf differ diff --git a/aluminum_armor/textures/technic_aluminum_boots_aluminum.png b/aluminum_armor/textures/technic_aluminum_boots_aluminum.png new file mode 100644 index 0000000..b893e19 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_boots_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_boots_aluminum_preview.png b/aluminum_armor/textures/technic_aluminum_boots_aluminum_preview.png new file mode 100644 index 0000000..4eb9366 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_boots_aluminum_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_boots_ruby.png b/aluminum_armor/textures/technic_aluminum_boots_ruby.png new file mode 100644 index 0000000..eda8f99 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_boots_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_boots_ruby_preview.png b/aluminum_armor/textures/technic_aluminum_boots_ruby_preview.png new file mode 100644 index 0000000..143cf07 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_boots_ruby_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_boots_sapphire.png b/aluminum_armor/textures/technic_aluminum_boots_sapphire.png new file mode 100644 index 0000000..d7bc347 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_boots_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_boots_sapphire_preview.png b/aluminum_armor/textures/technic_aluminum_boots_sapphire_preview.png new file mode 100644 index 0000000..b8364c3 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_boots_sapphire_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_chestplate_aluminum.png b/aluminum_armor/textures/technic_aluminum_chestplate_aluminum.png new file mode 100644 index 0000000..517b2e2 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_chestplate_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_chestplate_aluminum_preview.png b/aluminum_armor/textures/technic_aluminum_chestplate_aluminum_preview.png new file mode 100644 index 0000000..5304716 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_chestplate_aluminum_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_chestplate_ruby.png b/aluminum_armor/textures/technic_aluminum_chestplate_ruby.png new file mode 100644 index 0000000..46148e2 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_chestplate_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_chestplate_ruby_preview.png b/aluminum_armor/textures/technic_aluminum_chestplate_ruby_preview.png new file mode 100644 index 0000000..2758d10 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_chestplate_ruby_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_chestplate_sapphire.png b/aluminum_armor/textures/technic_aluminum_chestplate_sapphire.png new file mode 100644 index 0000000..85c86da Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_chestplate_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_chestplate_sapphire_preview.png b/aluminum_armor/textures/technic_aluminum_chestplate_sapphire_preview.png new file mode 100644 index 0000000..a5b261e Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_chestplate_sapphire_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_helmet_aluminum.png b/aluminum_armor/textures/technic_aluminum_helmet_aluminum.png new file mode 100644 index 0000000..2ef3b52 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_helmet_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_helmet_aluminum_preview.png b/aluminum_armor/textures/technic_aluminum_helmet_aluminum_preview.png new file mode 100644 index 0000000..36c5a17 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_helmet_aluminum_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_helmet_ruby.png b/aluminum_armor/textures/technic_aluminum_helmet_ruby.png new file mode 100644 index 0000000..220bd26 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_helmet_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_helmet_ruby_preview.png b/aluminum_armor/textures/technic_aluminum_helmet_ruby_preview.png new file mode 100644 index 0000000..1b8f86e Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_helmet_ruby_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_helmet_sapphire.png b/aluminum_armor/textures/technic_aluminum_helmet_sapphire.png new file mode 100644 index 0000000..3cc07e2 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_helmet_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_helmet_sapphire_preview.png b/aluminum_armor/textures/technic_aluminum_helmet_sapphire_preview.png new file mode 100644 index 0000000..80044fc Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_helmet_sapphire_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_boots_aluminum.png b/aluminum_armor/textures/technic_aluminum_inv_boots_aluminum.png new file mode 100644 index 0000000..df76edf Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_boots_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_boots_ruby.png b/aluminum_armor/textures/technic_aluminum_inv_boots_ruby.png new file mode 100644 index 0000000..ff12aec Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_boots_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_boots_sapphire.png b/aluminum_armor/textures/technic_aluminum_inv_boots_sapphire.png new file mode 100644 index 0000000..0b8a4a7 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_boots_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_chestplate_aluminum.png b/aluminum_armor/textures/technic_aluminum_inv_chestplate_aluminum.png new file mode 100644 index 0000000..8f1afc7 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_chestplate_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_chestplate_ruby.png b/aluminum_armor/textures/technic_aluminum_inv_chestplate_ruby.png new file mode 100644 index 0000000..c8e7755 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_chestplate_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_chestplate_sapphire.png b/aluminum_armor/textures/technic_aluminum_inv_chestplate_sapphire.png new file mode 100644 index 0000000..2435b40 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_chestplate_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_helmet_aluminum.png b/aluminum_armor/textures/technic_aluminum_inv_helmet_aluminum.png new file mode 100644 index 0000000..9575cd6 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_helmet_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_helmet_ruby.png b/aluminum_armor/textures/technic_aluminum_inv_helmet_ruby.png new file mode 100644 index 0000000..29cc158 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_helmet_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_helmet_sapphire.png b/aluminum_armor/textures/technic_aluminum_inv_helmet_sapphire.png new file mode 100644 index 0000000..f884130 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_helmet_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_leggings_aluminum.png b/aluminum_armor/textures/technic_aluminum_inv_leggings_aluminum.png new file mode 100644 index 0000000..a2b3533 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_leggings_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_leggings_ruby.png b/aluminum_armor/textures/technic_aluminum_inv_leggings_ruby.png new file mode 100644 index 0000000..79745d2 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_leggings_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_leggings_sapphire.png b/aluminum_armor/textures/technic_aluminum_inv_leggings_sapphire.png new file mode 100644 index 0000000..985d000 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_leggings_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_shield_aluminum.png b/aluminum_armor/textures/technic_aluminum_inv_shield_aluminum.png new file mode 100644 index 0000000..2cce183 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_shield_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_shield_ruby.png b/aluminum_armor/textures/technic_aluminum_inv_shield_ruby.png new file mode 100644 index 0000000..d032f99 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_shield_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_inv_shield_sapphire.png b/aluminum_armor/textures/technic_aluminum_inv_shield_sapphire.png new file mode 100644 index 0000000..746aeb0 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_inv_shield_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_aluminum.png b/aluminum_armor/textures/technic_aluminum_leggings_aluminum.png new file mode 100644 index 0000000..6aa0404 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_aluminum.xcf b/aluminum_armor/textures/technic_aluminum_leggings_aluminum.xcf new file mode 100644 index 0000000..551584f Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_aluminum.xcf differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_aluminum_preview.png b/aluminum_armor/textures/technic_aluminum_leggings_aluminum_preview.png new file mode 100644 index 0000000..f89808f Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_aluminum_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_aluminum_preview.xcf b/aluminum_armor/textures/technic_aluminum_leggings_aluminum_preview.xcf new file mode 100644 index 0000000..adf9959 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_aluminum_preview.xcf differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_ruby.png b/aluminum_armor/textures/technic_aluminum_leggings_ruby.png new file mode 100644 index 0000000..2b1e3fd Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_ruby_preview.png b/aluminum_armor/textures/technic_aluminum_leggings_ruby_preview.png new file mode 100644 index 0000000..4531ffb Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_ruby_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_sapphire.png b/aluminum_armor/textures/technic_aluminum_leggings_sapphire.png new file mode 100644 index 0000000..9acda44 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_leggings_sapphire_preview.png b/aluminum_armor/textures/technic_aluminum_leggings_sapphire_preview.png new file mode 100644 index 0000000..de2be2e Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_leggings_sapphire_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_shield_aluminum.png b/aluminum_armor/textures/technic_aluminum_shield_aluminum.png new file mode 100644 index 0000000..1bd8525 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_shield_aluminum.png differ diff --git a/aluminum_armor/textures/technic_aluminum_shield_aluminum_preview.png b/aluminum_armor/textures/technic_aluminum_shield_aluminum_preview.png new file mode 100644 index 0000000..b9c50d3 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_shield_aluminum_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_shield_ruby.png b/aluminum_armor/textures/technic_aluminum_shield_ruby.png new file mode 100644 index 0000000..1ba9b67 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_shield_ruby.png differ diff --git a/aluminum_armor/textures/technic_aluminum_shield_ruby_preview.png b/aluminum_armor/textures/technic_aluminum_shield_ruby_preview.png new file mode 100644 index 0000000..7900f40 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_shield_ruby_preview.png differ diff --git a/aluminum_armor/textures/technic_aluminum_shield_sapphire.png b/aluminum_armor/textures/technic_aluminum_shield_sapphire.png new file mode 100644 index 0000000..3d0c61e Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_shield_sapphire.png differ diff --git a/aluminum_armor/textures/technic_aluminum_shield_sapphire_preview.png b/aluminum_armor/textures/technic_aluminum_shield_sapphire_preview.png new file mode 100644 index 0000000..28f5239 Binary files /dev/null and b/aluminum_armor/textures/technic_aluminum_shield_sapphire_preview.png differ diff --git a/aluminum_machines/depends.txt b/aluminum_machines/depends.txt new file mode 100644 index 0000000..82ffc9d --- /dev/null +++ b/aluminum_machines/depends.txt @@ -0,0 +1,4 @@ +default +technic +aluminum +aluminum_alloys? diff --git a/aluminum_machines/init.lua b/aluminum_machines/init.lua new file mode 100644 index 0000000..af9a31d --- /dev/null +++ b/aluminum_machines/init.lua @@ -0,0 +1,58 @@ +if (minetest) then + local S = technic.getter + --[[ + To make up for its high production cost, aluminum can be used + in almost any situation where steel would be. Pure aluminum (or + 1xxx) generally corresponds to Carbon Steel (thouhg it can also + be used as an alternative to Cast Iron in Machine Casings), while + aluminum/copper (2xxx) corresponds to Stainless Steel and + aluminum/zinc (7xxx) has its own tier. The only exceptions are + the copper/silver coils, since those tend to be used as + electromagnets, and since iron is magnetic and aluminum isn't, + it wouldn't make sense to build, say, an electric motor out of + just aluminum. Casing a motor in aluminum is fine, though. + ]]-- + local aluminum_ingot = "technic_aluminum:aluminum_ingot" + --- Machine Casing + minetest.register_craft({ + output = "technic:machine_casing", + recipe = { + { aluminum_ingot, aluminum_ingot, aluminum_ingot }, + { aluminum_ingot, "technic:brass_ingot", aluminum_ingot }, + { aluminum_ingot, aluminum_ingot, aluminum_ingot }, + }, + }) + -- Electric Motor + minetest.register_craft({ + output = 'technic:motor', + recipe = { + {aluminum_ingot, 'technic:copper_coil', aluminum_ingot}, + {aluminum_ingot, 'technic:copper_coil', aluminum_ingot}, + {aluminum_ingot, 'default:copper_ingot', aluminum_ingot}, + } + }) + if (minetest.get_modpath("aluminum_alloys")) then + local copper_aluminum_ingot = "technic_aluminum:copper_aluminum_ingot" + local zinc_aluminum_ingot = "technic_aluminum:zinc_aluminum_ingot" + local function lv_to_mv(mv_machine, lv_machine) + return { + output = mv_machine, + recipe = { + {copper_aluminum_ingot, lv_machine, copper_aluminum_ingot}, + {'pipeworks:tube_1', 'technic:mv_transformer', 'pipeworks:tube_1'}, + {copper_aluminum_ingot, 'technic:mv_cable0', copper_aluminum_ingot} + } + } + 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_compressor", "technic:lv_compressor"), + lv_to_mv("technic:mv_extractor", "technic:lv_extractor"), + lv_to_mv("technic:mv_generator", "technic:lv_generator"), + lv_to_mv("technic:mv_grinder", "technic:lv_grinder") + }) do + minetest.register_craft(recipe) + end + end +end diff --git a/aluminum_tools/depends.txt b/aluminum_tools/depends.txt new file mode 100644 index 0000000..978bdbf --- /dev/null +++ b/aluminum_tools/depends.txt @@ -0,0 +1,2 @@ +default +aluminum diff --git a/aluminum_tools/init.lua b/aluminum_tools/init.lua new file mode 100644 index 0000000..37e1ba0 --- /dev/null +++ b/aluminum_tools/init.lua @@ -0,0 +1,102 @@ +local S = technic.getter + +--[[ +Aluminum Stats + Generally, pure aluminum (1xxx) should be about the same strength as cast iron, + slightly faster (-0.2 punch interval) and possibly more firepower, + but less durability. It's meant to be something that can be mass-manufactured + once you have a reliable source of aluminum, and the drawbacks can be offset + by recycling or a tool workshop. + + Copper-aluminum alloy (2xxx) should be the same strength as carbon steel. + Zinc-aluminum (7xxx) should be the same as stainless steel. +]]-- + +minetest.register_tool(":technic_aluminum:pick_aluminum", { + description = S("Aluminum Pickaxe"), + inventory_image = "aluminum_tool_pick_aluminum.png", + tool_capabilities = { + full_punch_interval = 0.8, + max_drop_level=1, + groupcaps={ + cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=15, maxlevel=2}, + }, + damage_groups = {fleshy=5}, + }, +}) + +minetest.register_craft({ + output = 'technic_aluminum:pick_aluminum', + recipe = { + {'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot', 'technic_aluminum:aluminum_ingot'}, + {'', 'group:stick', ''}, + {'', 'group:stick', ''}, + } +}) + +minetest.register_tool(":technic_aluminum:shovel_aluminum", { + description = S("Aluminum Shovel"), + inventory_image = "aluminum_tool_shovel_aluminum.png", + wield_image = "aluminum_tool_shovel_aluminum.png^[transformR90", + tool_capabilities = { + full_punch_interval = 0.9, + max_drop_level=1, + groupcaps={ + crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=25, maxlevel=2}, + }, + damage_groups = {fleshy=4}, + }, +}) + +minetest.register_craft({ + output = 'technic_aluminum:shovel_aluminum', + recipe = { + {'technic_aluminum:aluminum_ingot'}, + {'group:stick'}, + {'group:stick'}, + } +}) + +minetest.register_tool(":technic_aluminum:axe_aluminum", { + description = S("Aluminum Axe"), + inventory_image = "aluminum_tool_axe_aluminum.png", + tool_capabilities = { + full_punch_interval = 0.8, + max_drop_level=1, + groupcaps={ + choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=15, maxlevel=2}, + }, + damage_groups = {fleshy=5}, + }, +}) + +minetest.register_craft({ + output = 'technic_aluminum:axe_aluminum', + recipe = { + {'technic_aluminum:aluminum_ingot', 'group:stick'}, + {'technic_aluminum:aluminum_ingot', 'group:stick'}, + {'', 'group:stick'}, + } +}) + +minetest.register_tool(":technic_aluminum:sword_aluminum", { + description = S("Aluminum Sword"), + inventory_image = "aluminum_tool_sword_aluminum.png", + tool_capabilities = { + full_punch_interval = 0.8, + max_drop_level=1, + groupcaps={ + snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=25, maxlevel=2}, + }, + damage_groups = {fleshy=7}, + } +}) + +minetest.register_craft({ + output = 'technic_aluminum:sword_aluminum', + recipe = { + {'technic_aluminum:aluminum_ingot'}, + {'technic_aluminum:aluminum_ingot'}, + {'group:stick'}, + } +}) diff --git a/aluminum_tools/textures/aluminum_tool_aluminumaxe.xcf b/aluminum_tools/textures/aluminum_tool_aluminumaxe.xcf new file mode 100644 index 0000000..8b42320 Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_aluminumaxe.xcf differ diff --git a/aluminum_tools/textures/aluminum_tool_aluminumhoe.xcf b/aluminum_tools/textures/aluminum_tool_aluminumhoe.xcf new file mode 100644 index 0000000..8a594db Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_aluminumhoe.xcf differ diff --git a/aluminum_tools/textures/aluminum_tool_aluminumpick.xcf b/aluminum_tools/textures/aluminum_tool_aluminumpick.xcf new file mode 100644 index 0000000..b95835c Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_aluminumpick.xcf differ diff --git a/aluminum_tools/textures/aluminum_tool_aluminumshovel.xcf b/aluminum_tools/textures/aluminum_tool_aluminumshovel.xcf new file mode 100644 index 0000000..a9c9874 Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_aluminumshovel.xcf differ diff --git a/aluminum_tools/textures/aluminum_tool_aluminumsword.xcf b/aluminum_tools/textures/aluminum_tool_aluminumsword.xcf new file mode 100644 index 0000000..7d42946 Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_aluminumsword.xcf differ diff --git a/aluminum_tools/textures/aluminum_tool_axe_aluminum.png b/aluminum_tools/textures/aluminum_tool_axe_aluminum.png new file mode 100644 index 0000000..619222d Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_axe_aluminum.png differ diff --git a/aluminum_tools/textures/aluminum_tool_hoe_aluminum.png b/aluminum_tools/textures/aluminum_tool_hoe_aluminum.png new file mode 100644 index 0000000..2106361 Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_hoe_aluminum.png differ diff --git a/aluminum_tools/textures/aluminum_tool_pick_aluminum.png b/aluminum_tools/textures/aluminum_tool_pick_aluminum.png new file mode 100644 index 0000000..b267122 Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_pick_aluminum.png differ diff --git a/aluminum_tools/textures/aluminum_tool_shovel_aluminum.png b/aluminum_tools/textures/aluminum_tool_shovel_aluminum.png new file mode 100644 index 0000000..d884666 Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_shovel_aluminum.png differ diff --git a/aluminum_tools/textures/aluminum_tool_sword_aluminum.png b/aluminum_tools/textures/aluminum_tool_sword_aluminum.png new file mode 100644 index 0000000..3c2b81d Binary files /dev/null and b/aluminum_tools/textures/aluminum_tool_sword_aluminum.png differ diff --git a/bauxite/depends.txt b/bauxite/depends.txt new file mode 100644 index 0000000..1b1b8d4 --- /dev/null +++ b/bauxite/depends.txt @@ -0,0 +1,2 @@ +default +technic \ No newline at end of file diff --git a/bauxite/init.lua b/bauxite/init.lua new file mode 100644 index 0000000..bec8cde --- /dev/null +++ b/bauxite/init.lua @@ -0,0 +1,100 @@ +local S = technic.getter + +-- Bauxite +--- Bauxite Lump +minetest.register_craftitem(":technic_aluminum:bauxite_lump", { + description = S("Bauxite Lump"), + inventory_image = "aluminum_bauxite_lump.png", +}) + +--- Bauxite Dust +minetest.register_craftitem(":technic_aluminum:bauxite_dust", { + description = S("Bauxite Dust"), + inventory_image = "aluminum_bauxite_dust.png", +}) +---- Grinder Recipe: Bauxite Lump => 2x Bauxite Dust +technic.register_grinder_recipe({ + input = {"technic_aluminum:bauxite_lump"}, + output = "technic_aluminum:bauxite_dust 2" +}) + +--- Bauxite Ore +minetest.register_node(":technic_aluminum:stone_with_bauxite", { + description = "Bauxite Ore", + tiles = {"default_stone.png^aluminum_mineral_bauxite.png"}, + groups = {cracky = 2}, + drop = 'technic_aluminum:bauxite_lump', + 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 + distribution in this mod is a little different. + + Originally, I gave bauxite the same spawn patterns as iron, but this + produced way too much bauxite in the same areas as iron, which led + me to leave a ton of it behind until I could process it reliably. + + Also, I always felt it was weird to be climbing mountains and seeing + nothing but rock and the occasional coal sticking out. I felt there + should be more ores at higher elevations, so bauxite is now found in + those areas. Hopefully this will help alleviate the reduced findings + at lower elevations. +]]-- + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_bauxite", + wherein = "default:stone", + clust_scarcity = 7 * 7 * 7, + clust_num_ores = 5, + clust_size = 3, + y_min = 65, + y_max = 128, +}) + + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_bauxite", + wherein = "default:stone", + clust_scarcity = 9 * 9 * 9, + 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 = 12 * 12 * 12, + clust_num_ores = 3, + clust_size = 2, + y_min = -15, + y_max = 2, +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_bauxite", + wherein = "default:stone", + clust_scarcity = 9 * 9 * 9, + clust_num_ores = 4, + clust_size = 3, + y_min = -63, + y_max = -16, +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_bauxite", + wherein = "default:stone", + clust_scarcity = 7 * 7 * 7, + clust_num_ores = 5, + clust_size = 3, + y_min = -31000, + y_max = -64, +}) diff --git a/bauxite/textures/aluminum_bauxite_dust.png b/bauxite/textures/aluminum_bauxite_dust.png new file mode 100644 index 0000000..966fd0c Binary files /dev/null and b/bauxite/textures/aluminum_bauxite_dust.png differ diff --git a/bauxite/textures/aluminum_bauxite_dust.xcf b/bauxite/textures/aluminum_bauxite_dust.xcf new file mode 100644 index 0000000..cd629cf Binary files /dev/null and b/bauxite/textures/aluminum_bauxite_dust.xcf differ diff --git a/bauxite/textures/aluminum_bauxite_lump.png b/bauxite/textures/aluminum_bauxite_lump.png new file mode 100644 index 0000000..ef6996f Binary files /dev/null and b/bauxite/textures/aluminum_bauxite_lump.png differ diff --git a/bauxite/textures/aluminum_bauxite_lump.xcf b/bauxite/textures/aluminum_bauxite_lump.xcf new file mode 100644 index 0000000..765d044 Binary files /dev/null and b/bauxite/textures/aluminum_bauxite_lump.xcf differ diff --git a/bauxite/textures/aluminum_mineral_bauxite.png b/bauxite/textures/aluminum_mineral_bauxite.png new file mode 100644 index 0000000..9a1519c Binary files /dev/null and b/bauxite/textures/aluminum_mineral_bauxite.png differ diff --git a/bauxite/textures/aluminum_mineral_bauxite.xcf b/bauxite/textures/aluminum_mineral_bauxite.xcf new file mode 100644 index 0000000..e79634d Binary files /dev/null and b/bauxite/textures/aluminum_mineral_bauxite.xcf differ diff --git a/modpack.txt b/modpack.txt new file mode 100644 index 0000000..e69de29 diff --git a/ruby/depends.txt b/ruby/depends.txt new file mode 100644 index 0000000..3c3b312 --- /dev/null +++ b/ruby/depends.txt @@ -0,0 +1,3 @@ +default +technic +alumina \ No newline at end of file diff --git a/ruby/init.lua b/ruby/init.lua new file mode 100644 index 0000000..71e3ec8 --- /dev/null +++ b/ruby/init.lua @@ -0,0 +1,91 @@ +local S = technic.getter + +-- Ruby +--- Ruby Gem +minetest.register_craftitem(":technic_aluminum:ruby", { + description = S("Ruby"), + inventory_image = "aluminum_ruby.png", +}) + +--- Ruby Dust +minetest.register_craftitem(":technic_aluminum:ruby_dust", { + description = S("Red Corundum Dust"), + inventory_image = "aluminum_ruby_dust.png", +}) +technic.register_alloy_recipe({input = {"technic_aluminum:alumina_dust 3", "technic:chromium_dust 1"}, output = "technic_aluminum:ruby_dust", time = 12}) +technic.register_separating_recipe({input = {"technic_aluminum:ruby_dust"}, output = {"technic_aluminum:alumina_dust 3", "technic:chromium_dust 1"}, time = 12}) +technic.register_grinder_recipe({input = {"technic_aluminum:ruby"}, output = "technic_aluminum:ruby_dust 4", time = 12}) +technic.register_compressor_recipe({input = {"technic_aluminum:ruby_dust 4"}, output = "technic_aluminum:ruby", time = 12}) + +--- Ruby Block +minetest.register_node(":technic_aluminum:ruby_block", { + description = S("Ruby Block"), + tiles = {"aluminum_ruby_block.png"}, + is_ground_content = false, + groups = {cracky = 1, level = 3}, + sounds = default.node_sound_stone_defaults(), +}) +---- Crafting Recipe: 9x Ruby <=> Ruby Block +minetest.register_craft({ + output = 'technic_aluminum:ruby_block', + recipe = { + {'technic_aluminum:ruby', 'technic_aluminum:ruby', 'technic_aluminum:ruby'}, + {'technic_aluminum:ruby', 'technic_aluminum:ruby', 'technic_aluminum:ruby'}, + {'technic_aluminum:ruby', 'technic_aluminum:ruby', 'technic_aluminum:ruby'}, + } +}) +minetest.register_craft({ + output = 'technic_aluminum:ruby 9', + recipe = { + {'technic_aluminum:ruby_block'}, + } +}) + +minetest.register_craft({ + output = 'technic:red_energy_crystal', + recipe = { + {'moreores:silver_ingot', 'technic:battery', 'dye:red'}, + {'technic:battery', 'technic_aluminum:ruby_block', 'technic:battery'}, + {'dye:red', 'technic:battery', 'moreores:silver_ingot'}, + } +}) + +minetest.register_craft({ + output = 'technic:geothermal', + recipe = { + {'technic:granite', 'technic_aluminum:ruby', 'technic:granite'}, + {'technic:fine_copper_wire', 'technic:machine_casing', 'technic:fine_copper_wire'}, + {'technic:granite', 'technic:lv_cable0', 'technic:granite'}, + } +}) + +--- Ruby Ore +minetest.register_node(":technic_aluminum:stone_with_rubies", { + description = "Ruby Ore", + tiles = {"default_stone.png^aluminum_mineral_ruby.png"}, + groups = {cracky = 1}, + drop = 'technic_aluminum:ruby', + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_rubies", + wherein = "default:stone", + clust_scarcity = 17 * 17 * 17, + clust_num_ores = 4, + clust_size = 3, + y_min = -255, + y_max = -128, +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_rubies", + wherein = "default:stone", + clust_scarcity = 15 * 15 * 15, + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = -256, +}) diff --git a/ruby/textures/aluminum_mineral_ruby.png b/ruby/textures/aluminum_mineral_ruby.png new file mode 100644 index 0000000..f8e4033 Binary files /dev/null and b/ruby/textures/aluminum_mineral_ruby.png differ diff --git a/ruby/textures/aluminum_mineral_ruby.xcf b/ruby/textures/aluminum_mineral_ruby.xcf new file mode 100644 index 0000000..2326551 Binary files /dev/null and b/ruby/textures/aluminum_mineral_ruby.xcf differ diff --git a/ruby/textures/aluminum_ruby.png b/ruby/textures/aluminum_ruby.png new file mode 100644 index 0000000..85cb074 Binary files /dev/null and b/ruby/textures/aluminum_ruby.png differ diff --git a/ruby/textures/aluminum_ruby.xcf b/ruby/textures/aluminum_ruby.xcf new file mode 100644 index 0000000..4903926 Binary files /dev/null and b/ruby/textures/aluminum_ruby.xcf differ diff --git a/ruby/textures/aluminum_ruby_block.png b/ruby/textures/aluminum_ruby_block.png new file mode 100644 index 0000000..cc724fb Binary files /dev/null and b/ruby/textures/aluminum_ruby_block.png differ diff --git a/ruby/textures/aluminum_ruby_block.xcf b/ruby/textures/aluminum_ruby_block.xcf new file mode 100644 index 0000000..2e77bb2 Binary files /dev/null and b/ruby/textures/aluminum_ruby_block.xcf differ diff --git a/ruby/textures/aluminum_ruby_dust.png b/ruby/textures/aluminum_ruby_dust.png new file mode 100644 index 0000000..cfb8a14 Binary files /dev/null and b/ruby/textures/aluminum_ruby_dust.png differ diff --git a/ruby/textures/aluminum_ruby_dust.xcf b/ruby/textures/aluminum_ruby_dust.xcf new file mode 100644 index 0000000..77242f4 Binary files /dev/null and b/ruby/textures/aluminum_ruby_dust.xcf differ diff --git a/sapphire/depends.txt b/sapphire/depends.txt new file mode 100644 index 0000000..3c3b312 --- /dev/null +++ b/sapphire/depends.txt @@ -0,0 +1,3 @@ +default +technic +alumina \ No newline at end of file diff --git a/sapphire/init.lua b/sapphire/init.lua new file mode 100644 index 0000000..d522071 --- /dev/null +++ b/sapphire/init.lua @@ -0,0 +1,91 @@ +local S = technic.getter + +-- Sapphire +--- Sapphire Gem +minetest.register_craftitem(":technic_aluminum:sapphire", { + description = S("Sapphire"), + inventory_image = "aluminum_sapphire.png", +}) + +--- Sapphire Dust +minetest.register_craftitem(":technic_aluminum:sapphire_dust", { + description = S("Blue Corundum Dust"), + inventory_image = "aluminum_sapphire_dust.png", +}) +technic.register_alloy_recipe({input = {"technic_aluminum:alumina_dust 3", "technic:wrought_iron_dust 1"}, output = "technic_aluminum:sapphire_dust", time = 12}) +technic.register_separating_recipe({input = {"technic_aluminum:sapphire_dust"}, output = {"technic_aluminum:alumina_dust 3", "technic:wrought_iron_dust 1"}, time = 12}) +technic.register_grinder_recipe({input = {"technic_aluminum:sapphire"}, output = "technic_aluminum:sapphire_dust 4", time = 12}) +technic.register_compressor_recipe({input = {"technic_aluminum:sapphire_dust 4"}, output = "technic_aluminum:sapphire", time = 12}) + +--- Sapphire Block +minetest.register_node(":technic_aluminum:sapphire_block", { + description = S("Sapphire Block"), + tiles = {"aluminum_sapphire_block.png"}, + is_ground_content = false, + groups = {cracky = 1, level = 3}, + sounds = default.node_sound_stone_defaults(), +}) +---- Crafting Recipe: 9x Sapphire <=> Sapphire Block +minetest.register_craft({ + output = 'technic_aluminum:sapphire_block', + recipe = { + {'technic_aluminum:sapphire', 'technic_aluminum:sapphire', 'technic_aluminum:sapphire'}, + {'technic_aluminum:sapphire', 'technic_aluminum:sapphire', 'technic_aluminum:sapphire'}, + {'technic_aluminum:sapphire', 'technic_aluminum:sapphire', 'technic_aluminum:sapphire'}, + } +}) +minetest.register_craft({ + output = 'technic_aluminum:sapphire 9', + recipe = { + {'technic_aluminum:sapphire_block'}, + } +}) + +--- Sapphire Ore +minetest.register_node(":technic_aluminum:stone_with_sapphires", { + description = S("Sapphire Ore"), + tiles = {"default_stone.png^aluminum_mineral_sapphire.png"}, + groups = {cracky = 1}, + drop = 'technic_aluminum:sapphire', + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_craft({ + output = 'technic:blue_energy_crystal', + recipe = { + {'technic_aluminum:sapphire_block', 'technic:battery', 'dye:blue'}, + {'technic:battery', 'technic:green_energy_crystal', 'technic:battery'}, + {'dye:blue', 'technic:battery', 'technic_aluminum:sapphire_block'}, + } +}) + +minetest.register_craft({ + output = 'technic:water_mill', + recipe = { + {'technic:marble', 'technic_aluminum:sapphire', 'technic:marble'}, + {'group:wood', 'technic:machine_casing', 'group:wood'}, + {'technic:marble', 'technic:lv_cable0', 'technic:marble'}, + } +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_sapphires", + wherein = "default:stone", + clust_scarcity = 17 * 17 * 17, + clust_num_ores = 4, + clust_size = 3, + y_min = -255, + y_max = -128, +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "technic_aluminum:stone_with_sapphires", + wherein = "default:stone", + clust_scarcity = 15 * 15 * 15, + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = -256, +}) diff --git a/sapphire/textures/aluminum_mineral_sapphire.png b/sapphire/textures/aluminum_mineral_sapphire.png new file mode 100644 index 0000000..1eb72e6 Binary files /dev/null and b/sapphire/textures/aluminum_mineral_sapphire.png differ diff --git a/sapphire/textures/aluminum_mineral_sapphire.xcf b/sapphire/textures/aluminum_mineral_sapphire.xcf new file mode 100644 index 0000000..c04ab55 Binary files /dev/null and b/sapphire/textures/aluminum_mineral_sapphire.xcf differ diff --git a/sapphire/textures/aluminum_sapphire.png b/sapphire/textures/aluminum_sapphire.png new file mode 100644 index 0000000..4e8dcb9 Binary files /dev/null and b/sapphire/textures/aluminum_sapphire.png differ diff --git a/sapphire/textures/aluminum_sapphire.xcf b/sapphire/textures/aluminum_sapphire.xcf new file mode 100644 index 0000000..5d51c5c Binary files /dev/null and b/sapphire/textures/aluminum_sapphire.xcf differ diff --git a/sapphire/textures/aluminum_sapphire_block.png b/sapphire/textures/aluminum_sapphire_block.png new file mode 100644 index 0000000..0781f30 Binary files /dev/null and b/sapphire/textures/aluminum_sapphire_block.png differ diff --git a/sapphire/textures/aluminum_sapphire_block.xcf b/sapphire/textures/aluminum_sapphire_block.xcf new file mode 100644 index 0000000..173954f Binary files /dev/null and b/sapphire/textures/aluminum_sapphire_block.xcf differ diff --git a/sapphire/textures/aluminum_sapphire_dust.png b/sapphire/textures/aluminum_sapphire_dust.png new file mode 100644 index 0000000..2a486fd Binary files /dev/null and b/sapphire/textures/aluminum_sapphire_dust.png differ diff --git a/sapphire/textures/aluminum_sapphire_dust.xcf b/sapphire/textures/aluminum_sapphire_dust.xcf new file mode 100644 index 0000000..b811004 Binary files /dev/null and b/sapphire/textures/aluminum_sapphire_dust.xcf differ