mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -26,7 +26,7 @@ for _, mod_name in ipairs(config.mod_set_lookup) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if script.active_mods["PHI-CL"] and settings.startup["PHI-VP"] and settings.startup["PHI-VP-MAIN"] then
|
if script.active_mods["space-age"] and script.active_mods["PHI-CL"] and settings.startup["PHI-VP"] and settings.startup["PHI-VP-MAIN"] then
|
||||||
config.mod_set = "space-age"
|
config.mod_set = "space-age"
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -34,11 +34,12 @@ end
|
|||||||
--- @param silent boolean True when no message should be printed
|
--- @param silent boolean True when no message should be printed
|
||||||
function module.res_queue(force, silent)
|
function module.res_queue(force, silent)
|
||||||
local res_q = force.research_queue
|
local res_q = force.research_queue
|
||||||
|
game.print(config.bonus_inventory.res[config.mod_set].name)
|
||||||
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name]
|
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name]
|
||||||
|
|
||||||
if #res_q < config.queue_amount then
|
if #res_q < config.queue_amount then
|
||||||
for i = #res_q, config.queue_amount - 1 do
|
for i = #res_q, config.queue_amount - 1 do
|
||||||
force.add_research(res)
|
-- force.add_research(res)
|
||||||
|
|
||||||
if not silent then
|
if not silent then
|
||||||
game.print{ "exp-commands_research.queue", res.name, res.level + i }
|
game.print{ "exp-commands_research.queue", res.name, res.level + i }
|
||||||
|
|||||||
Reference in New Issue
Block a user