Add a setting to handle absolute game time (assuing standard a calendar)

The `@time` command now displays the game time epoch (can be set
in settings) and current game time (as a datetime).
This commit is contained in:
Vincent Le Goff 2017-02-11 19:44:32 -08:00 committed by Griatch
parent 24adc5286b
commit 59a5315c79
3 changed files with 49 additions and 0 deletions

View file

@ -440,6 +440,12 @@ TIME_HOUR_PER_DAY = 24
TIME_DAY_PER_WEEK = 7
TIME_WEEK_PER_MONTH = 4
TIME_MONTH_PER_YEAR = 12
# The initial timestamp of your virtual time (in-game)
# You can set this setting to set a fixed, initial timestamp. Your
# game time will be this timestamp plus your current variable game time.
# You can set this setting to a timestamp in 1980, or 2020, or 2500 if
# you want to. Leave it to None to deduce the timestamp from the runtime.
TIME_VIRTUAL_START = None
######################################################################
# Inlinefunc