Module:ItemEconomy/Sandbox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 70: Line 70:
-- Equal inputAmount to inputsPerAction to get 1 baseAction
-- Equal inputAmount to inputsPerAction to get 1 baseAction
inputAmount = inputAmount or eco.inputsPerAction
inputAmount = inputAmount or eco.inputsPerAction
baseActions = math.floor(inputAmount / eco.inputsPerAction)
local baseActions = math.floor(inputAmount / eco.inputsPerAction)
-- Calculate the effective actions taken.
-- Calculate the effective actions taken.
964

edits