mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -19,22 +19,13 @@ Storage.register(research, function(tbl)
|
|||||||
research = tbl
|
research = tbl
|
||||||
end)
|
end)
|
||||||
|
|
||||||
for _, mod_name in ipairs(config.mod_set_lookup) do
|
|
||||||
if script.active_mods[mod_name] then
|
|
||||||
config.mod_set = mod_name
|
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if script.active_mods["PHI-CL"] and settings.startup["PHI-VP"] and settings.startup["PHI-VP-MAIN"] then
|
|
||||||
config.mod_set = "base"
|
|
||||||
end
|
|
||||||
|
|
||||||
--- @param force LuaForce
|
--- @param force LuaForce
|
||||||
--- @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
|
||||||
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name]
|
local res = force.technologies[config.bonus_inventory.res[config.mod_set].name]
|
||||||
|
game.print(config.mod_set)
|
||||||
|
game.print(config.bonus_inventory.res[config.mod_set].name)
|
||||||
game.print(force.technologies[config.bonus_inventory.res[config.mod_set].name].name)
|
game.print(force.technologies[config.bonus_inventory.res[config.mod_set].name].name)
|
||||||
|
|
||||||
if #res_q < config.queue_amount then
|
if #res_q < config.queue_amount then
|
||||||
|
|||||||
Reference in New Issue
Block a user