mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 12:37:16 +02:00
Added more functionality to page command (resolving and going beyond issue102). Cleaned up the output of sevreral commands as well as added a few more useful functions in src/utils/utils.py.
This commit is contained in:
parent
60851ade11
commit
cfbb249d96
8 changed files with 122 additions and 61 deletions
|
|
@ -32,8 +32,8 @@ REAL_MIN = 60.0 # seconds per minute in real world
|
|||
# e.g. when defining events. The words month, week and year can
|
||||
# of course mean whatever units of time are used in the game.
|
||||
|
||||
TICK = REAL_TICK / TIMEFACTOR
|
||||
MIN = REAL_MIN / TIMEFACTOR
|
||||
TICK = REAL_TICK * TIMEFACTOR
|
||||
MIN = REAL_MIN * TIMEFACTOR
|
||||
HOUR = MIN * settings.TIME_MIN_PER_HOUR
|
||||
DAY = HOUR * settings.TIME_HOUR_PER_DAY
|
||||
WEEK = DAY * settings.TIME_DAY_PER_WEEK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue