Module:BATTD costs: Difference between revisions

attempting a rewrite
mNo edit summary
Line 5: Line 5:
local function GetTotalCosts(baseCost, upgradesById, upgradeLocksById, upgradePrereqsOfById, Y, N)
local function GetTotalCosts(baseCost, upgradesById, upgradeLocksById, upgradePrereqsOfById, Y, N)
local sFormat = string.format
local sFormat = string.format
local tConcat = table.concat
local sGsub = string.gsub
local sGsub = string.gsub