Skip to content

Commit

Permalink
MissionUtils: add Hours, Weeks time units
Browse files Browse the repository at this point in the history
  • Loading branch information
sturnclaw committed Oct 10, 2024
1 parent 619a750 commit 73671cf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions data/modules/MissionUtils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ local utils = require "utils"
local AU = 149598000000
local AU_sqrt = math.sqrt(AU)

local Days = 24*60*60
local Hours = 60*60
local Days = 24*Hours
local Weeks = 7*Days

local MissionUtils = {
AU = AU,
Days = Days
Days = Days,
Hours = Hours,
Weeks = Weeks,
}

---@class MissionUtils.Calculator
Expand Down

0 comments on commit 73671cf

Please sign in to comment.