2,875
edits
m (Replace deprecated functions with TimeSpan) |
mNo edit summary |
||
Line 119: | Line 119: | ||
function p._main(args) | function p._main(args) | ||
-- Parse inputs and turn intervals into integers (hundreds of a second) | -- Parse inputs and turn intervals into integers (hundreds of a second) | ||
local summoningInterval = number.toNumberOrError(args.summoningInterval) | local summoningInterval = number.toNumberOrError(args.summoningInterval) | ||
local actionTimeSaved = number.toNumberOrError(args.actionTimeSaved) | local actionTimeSaved = number.toNumberOrError(args.actionTimeSaved) | ||
local tabletsMade = number.toNumberOrError(args.tabletsMade) | local tabletsMade = number.toNumberOrError(args.tabletsMade) | ||
local tabletDoubleChance = number.toNumberOrDefault(args.tabletDoubleChance, 0) | local tabletDoubleChance = number.toNumberOrDefault(args.tabletDoubleChance, 0) |
edits