techage_modpack/techage/items/electronic.lua

103 lines
3.1 KiB
Lua
Raw Permalink 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
Bauxite
2022-01-04 21:43:30 +03:00
2020-05-31 23:31:18 +03:00
]]--
local S = techage.S
minetest.register_craftitem("techage:vacuum_tube", {
description = S("TA3 Vacuum Tube"),
inventory_image = "techage_vacuum_tube.png",
})
minetest.register_craftitem("techage:ta4_wlanchip", {
description = S("TA4 WLAN Chip"),
inventory_image = "techage_wlanchip.png",
})
minetest.register_craftitem("techage:wlanchip", {
description = S("WLAN Chip"),
inventory_image = "techage_wlanchip.png",
})
minetest.register_craftitem("techage:ta4_ramchip", {
description = S("TA4 RAM Chip"),
inventory_image = "techage_ramchip.png",
})
minetest.register_craftitem("techage:ta4_leds", {
description = S("TA4 LEDs"),
inventory_image = "techage_leds.png",
})
2022-01-03 13:59:31 +03:00
minetest.register_craftitem("techage:ta5_aichip", {
description = S("TA5 AI Chip"),
2022-01-28 20:22:52 +03:00
inventory_image = "techage_aichip.png^[colorize:#48b9de:40",
})
minetest.register_craftitem("techage:ta5_aichip2", {
description = S("TA5 AI Chip II"),
inventory_image = "techage_aichip.png^[colorize:#de486c:40",
2022-01-03 13:59:31 +03:00
})
2020-05-31 23:31:18 +03:00
techage.recipes.add("ta2_electronic_fab", {
output = "techage:vacuum_tube 2",
2023-03-05 13:54:37 +03:00
waste = "basic_materials:empty_spool 1",
2020-05-31 23:31:18 +03:00
input = {"default:glass 1", "basic_materials:copper_wire 1", "basic_materials:plastic_sheet 1", "techage:usmium_nuggets 1"}
})
techage.recipes.add("ta3_electronic_fab", {
output = "techage:vacuum_tube 2",
2023-03-05 13:54:37 +03:00
waste = "basic_materials:empty_spool 1",
2020-05-31 23:31:18 +03:00
input = {"default:glass 1", "basic_materials:copper_wire 1", "basic_materials:plastic_sheet 1", "techage:usmium_nuggets 1"}
})
techage.recipes.add("ta3_electronic_fab", {
output = "techage:ta4_wlanchip 8",
input = {"default:mese_crystal 1", "default:copper_ingot 1", "default:gold_ingot 1", "techage:ta4_silicon_wafer 1"}
})
techage.recipes.add("ta3_electronic_fab", {
output = "techage:ta4_ramchip 8",
input = {"default:mese_crystal 1", "default:gold_ingot 1", "default:copper_ingot 1", "techage:ta4_silicon_wafer 1"}
})
techage.recipes.add("ta4_electronic_fab", {
output = "techage:ta4_wlanchip 8",
input = {"default:mese_crystal 1", "default:copper_ingot 1", "default:gold_ingot 1", "techage:ta4_silicon_wafer 1"}
})
techage.recipes.add("ta4_electronic_fab", {
output = "techage:ta4_ramchip 8",
input = {"default:mese_crystal 1", "default:gold_ingot 1", "default:copper_ingot 1", "techage:ta4_silicon_wafer 1"}
})
techage.recipes.add("ta4_electronic_fab", {
output = "techage:ta4_leds 8",
2023-03-05 13:54:37 +03:00
waste = "basic_materials:empty_spool 1",
2020-05-31 23:31:18 +03:00
input = {"basic_materials:plastic_sheet 4", "basic_materials:copper_wire 1", "techage:ta4_silicon_wafer 1"}
})
2022-01-03 13:59:31 +03:00
techage.recipes.add("ta4_electronic_fab", {
output = "techage:ta5_aichip 2",
2023-03-05 13:54:37 +03:00
waste = "basic_materials:empty_spool 2",
2022-01-03 13:59:31 +03:00
input = {"techage:ta4_leds 8", "basic_materials:copper_wire 1", "basic_materials:gold_wire 1", "techage:ta4_silicon_wafer 1"},
ex_points = 10,
})
2022-01-28 20:22:52 +03:00
techage.recipes.add("ta4_electronic_fab", {
output = "techage:ta5_aichip2 2",
2023-03-05 13:54:37 +03:00
waste = "basic_materials:empty_spool 2",
2022-01-28 20:22:52 +03:00
input = {"techage:ta4_leds 8", "basic_materials:copper_wire 1", "basic_materials:gold_wire 1", "techage:ta4_silicon_wafer 1"},
2023-03-05 13:54:37 +03:00
ex_points = 25,
2022-01-28 20:22:52 +03:00
})