mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -392,7 +392,6 @@ local function handle_research_queue(entity, combinator)
|
|||||||
local tech_name = signal.signal.name:gsub('signal-', '')
|
local tech_name = signal.signal.name:gsub('signal-', '')
|
||||||
|
|
||||||
if game.forces.player.technologies[tech_name] and game.forces.player.technologies[tech_name].enabled and game.forces.player.technologies[tech_name].research_unit_count_formula then
|
if game.forces.player.technologies[tech_name] and game.forces.player.technologies[tech_name].enabled and game.forces.player.technologies[tech_name].research_unit_count_formula then
|
||||||
|
|
||||||
for i=1, 7 do
|
for i=1, 7 do
|
||||||
if math.floor(signal.count / (2 ^ (7 + i))) % 2 == 1 then
|
if math.floor(signal.count / (2 ^ (7 + i))) % 2 == 1 then
|
||||||
storage.phi_cl.combinator.research_queue_set[i] = tech_name
|
storage.phi_cl.combinator.research_queue_set[i] = tech_name
|
||||||
|
|||||||
Reference in New Issue
Block a user