aquilo-start/data.lua

changeset 19
adbc5c74f279
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aquilo-start/data.lua	Wed Aug 27 10:26:12 2025 +0300
@@ -0,0 +1,82 @@
+require("aqs_util")
+
+local function item_productivity_icon(name)
+	local icons = util.technology_icon_constant_recipe_productivity(name)
+	icons[1].icon_size = 64
+	return icons
+end
+
+---@type data.TechnologyPrototype[]
+local new_techs = {
+	{
+		type = "technology",
+		name = "lithium-processing-2",
+		prerequisites = {"oil-gathering", "lithium-processing"},
+		research_trigger = {
+			type = "mine-entity",
+			entity = "lithium-brine",
+		},
+		icon = table.deepcopy(data.raw.technology["lithium-processing"].icon),
+		icon_size = data.raw.technology["lithium-processing"].icon_size,
+
+		effects = {unlock_recipe "lithium"}
+	}, {
+		type = "technology",
+		name = "fluorine-processing",
+		prerequisites = {"cryogenic-plant"},
+		research_trigger = {
+			type = "mine-entity",
+			entity = "fluorine-vent"
+		},
+		icon = table.deepcopy(data.raw.fluid["fluorine"].icon),
+		icon_size = data.raw.fluid["fluorine"].icon_size,
+		effects = {unlock_recipe "fluoroketone", unlock_recipe "fluoroketone-cooling"}
+	}, {
+		type = "technology",
+		name = "ice-platform-productivity",
+		effects = {recipe_productivity "ice-platform"},
+		prerequisites = {"fluid-handling"},
+		icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
+		unit = red_science{
+			count = 50,
+			time = 20,
+		},
+		upgrade = true,
+	}, {
+		type = "technology",
+		name = "ice-platform-productivity-2",
+		effects = {recipe_productivity "ice-platform"},
+		prerequisites = {"ice-platform-productivity", "logistic-science-pack"},
+		icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
+		unit = green_science{
+			count = 100,
+			time = 20,
+		},
+		upgrade = true,
+	}, {
+		type = "technology",
+		name = "ice-platform-productivity-3",
+		effects = {recipe_productivity "ice-platform"},
+		prerequisites = {"ice-platform-productivity-2", "chemical-science-pack"},
+		icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
+		unit = blue_science{
+			count = 200,
+			time = 30,
+		},
+		upgrade = true,
+	},  {
+		type = "technology",
+		name = "ice-platform-productivity-4",
+		effects = {recipe_productivity "ice-platform"},
+		prerequisites = {"ice-platform-productivity-3", "cryogenic-science-pack"},
+		icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
+		unit = cryo_science{
+			count_formula = "1.5^L * 100",
+			time = 60,
+		},
+		max_level = 30,
+		upgrade = true,
+	},
+}
+
+data:extend(new_techs)
\ No newline at end of file

mercurial