diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-21 20:27:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-21 20:27:29 -0300 |
commit | e00a410d88410b6f9e515cc2ba5b8a4e6cc50955 (patch) | |
tree | d2ef1632b935dcd549dae1e9c09343692632538d /npc | |
parent | 88222805eee0aa8aa23d60a7017e64572b0d57f4 (diff) | |
download | serverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.tar.gz serverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.tar.bz2 serverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.tar.xz serverdata-e00a410d88410b6f9e515cc2ba5b8a4e6cc50955.zip |
Change FuzzyTime defaults
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/time.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/functions/time.txt b/npc/functions/time.txt index 30ab9f469..a2a4cbe32 100644 --- a/npc/functions/time.txt +++ b/npc/functions/time.txt @@ -33,12 +33,13 @@ function script time_from_days { // 4 show "from now" instead of "in" when in the future // // <precision> is the number of units to show, -// by default uses max precision +// by default uses two (eg. 2m30s or 1h20m). +// Use '99' for max precision function script FuzzyTime { .@future = getarg(0, now()); - .@options = getarg(1, 0); - .@precision = getarg(2, 99); + .@options = getarg(1, 3); + .@precision = getarg(2, 2); .@diff = (.@future - now()); // check if in the past, or in the future |