From e00a410d88410b6f9e515cc2ba5b8a4e6cc50955 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 21 Jun 2018 20:27:29 -0300 Subject: Change FuzzyTime defaults --- npc/functions/time.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc/functions/time.txt') 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 // // 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 -- cgit v1.2.3-60-g2f50