Skip to content

Commit

Permalink
Allow even more tries in modified FBE
Browse files Browse the repository at this point in the history
  • Loading branch information
joelverhagen committed Jan 17, 2024
1 parent cf56ef4 commit 0e8e197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FactorioTools/OilField/Steps/AddPipes.1.FBE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ private static (IReadOnlyList<TerminalLocation> Terminals, ILocationSet Pipes, P
}

// CONNECT GROUPS
var maxTries = strategy == PipeStrategy.FbeOriginal ? 3 : 10;
var maxTries = strategy == PipeStrategy.FbeOriginal ? 3 : 20;
var tries = maxTries;
var aloneGroups = new List<Group>();
Group? finalGroup = null;
Expand Down
2 changes: 1 addition & 1 deletion src/lua/FactorioTools/AddPipes_0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ System.namespace("Knapcode.FactorioTools.OilField", function (namespace)
end

-- CONNECT GROUPS
local maxTries = (strategy == 0 --[[PipeStrategy.FbeOriginal]]) and 3 or 10
local maxTries = (strategy == 0 --[[PipeStrategy.FbeOriginal]]) and 3 or 20
local tries = maxTries
local aloneGroups = ListGroup()
local finalGroup = nil
Expand Down

0 comments on commit 0e8e197

Please sign in to comment.