From 4118acf91acf2561e263d25fa46124f0a34fc901 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 19 Nov 2024 00:39:53 +0900 Subject: [PATCH] Research (#2) --- exp_scenario/module/commands/research.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/exp_scenario/module/commands/research.lua b/exp_scenario/module/commands/research.lua index 5052e628..90179de2 100644 --- a/exp_scenario/module/commands/research.lua +++ b/exp_scenario/module/commands/research.lua @@ -20,7 +20,14 @@ end) --- @param silent boolean True when no message should be printed local function res_queue(force, silent) local res_q = force.research_queue - local res = force.technologies["mining-productivity-4"] + local res + + if script.active_mods["space-age"] then + res = force.technologies["mining-productivity-3"] + + else + res = force.technologies["mining-productivity-4"] + end if #res_q < config.queue_amount then for i = 1, config.queue_amount - #res_q do