techage_modpack/techage/items/aluminium.lua

129 lines
3.3 KiB
Lua
Raw Normal View History

2020-05-31 23:31:18 +03:00
--[[
TechAge
=======
Copyright (C) 2019 Joachim Stolberg
2020-10-25 23:32:47 +03:00
AGPL v3
2020-05-31 23:31:18 +03:00
See LICENSE.txt for more information
2022-01-04 21:43:30 +03:00
2020-05-31 23:31:18 +03:00
Aluminium
]]--
local S = techage.S
minetest.register_craftitem("techage:gibbsite_powder", {
description = S("Gibbsite Powder"),
inventory_image = "techage_powder_inv.png^[colorize:#C6DCDB:120",
groups = {powder = 1},
})
minetest.register_craftitem("techage:aluminum", {
description = S("Aluminum"),
inventory_image = "techage_aluminum_inv.png",
})
minetest.register_craftitem("techage:redmud", {
description = S("Red Mud"),
inventory_image = "techage_liquid2_inv.png^[colorize:#F80E13:140^techage_liquid1_inv.png",
})
minetest.register_craftitem("techage:barrel_redmud", {
description = S("Red Mud Barrel"),
inventory_image = "techage_barrel_inv.png^[colorize:#F80E13:140^techage_symbol_liquid.png",
stack_max = 1,
})
minetest.register_craftitem("techage:canister_redmud", {
description = S("Red Mud Canister"),
inventory_image = "techage_canister_filling.png^[colorize:#F80E13:140^techage_canister_frame.png^techage_symbol_liquid.png",
stack_max = 1,
})
techage.register_liquid("techage:barrel_redmud", "techage:ta3_barrel_empty", 10, "techage:redmud")
techage.register_liquid("techage:canister_redmud", "techage:ta3_canister_empty", 1, "techage:redmud")
techage.recipes.add("ta4_doser", {
output = "techage:gibbsite_powder 2",
waste = "techage:redmud 1",
input = {
"techage:bauxite_powder 2",
"techage:lye 1",
}
})
techage.furnace.register_recipe({
2022-01-04 21:43:30 +03:00
output = "techage:aluminum 2",
recipe = {"techage:gibbsite_powder", "techage:gibbsite_powder",
"techage:gibbsite_powder", "techage:gibbsite_powder"},
2020-05-31 23:31:18 +03:00
time = 16,
2022-01-04 21:43:30 +03:00
2020-05-31 23:31:18 +03:00
})
2024-08-25 20:49:57 +03:00
if minetest.get_modpath('techpack_stairway') then
minetest.register_craft({
output = "techpack_stairway:grating 6",
recipe = {
{"", "", ""},
{"dye:dark_grey", "", "default:coal_lump"},
{"default:steel_ingot", "techage:aluminum", "default:steel_ingot"},
},
})
minetest.register_craft({
output = "techpack_stairway:handrail 6",
recipe = {
{"default:steel_ingot", "default:coal_lump", ""},
{"techage:aluminum", "", ""},
{"default:steel_ingot", "dye:dark_grey", ""},
},
})
minetest.register_craft({
output = "techpack_stairway:stairway1 6",
recipe = {
{"", "", "default:steel_ingot"},
{"dye:dark_grey", "techage:aluminum", "default:coal_lump"},
{"default:steel_ingot", "", ""},
},
})
minetest.register_craft({
output = "techpack_stairway:ladder1 3",
recipe = {
{"", "default:steel_ingot", ""},
{"dye:dark_grey", "techage:aluminum", "default:coal_lump"},
{"", "default:steel_ingot", ""},
},
})
minetest.register_craft({
output = "techpack_stairway:ladder3 6",
recipe = {
{"", "", "default:steel_ingot"},
{"dye:dark_grey", "techage:aluminum", "default:coal_lump"},
{"", "", "default:steel_ingot"},
},
})
minetest.register_craft({
output = "techpack_stairway:ladder4 12",
recipe = {
{"dye:dark_grey", "techage:aluminum", "default:coal_lump"},
{"", "default:steel_ingot", ""},
{"", "default:steel_ingot", ""},
},
})
minetest.register_craft({
output = "techpack_stairway:lattice 4",
recipe = {
{"default:steel_ingot", "", "default:steel_ingot"},
{"dye:dark_grey", "techage:aluminum", "default:coal_lump"},
{"default:steel_ingot", "", "default:steel_ingot"},
},
})
end