From 5baf621c5343580c95a628fd6936cd88339794f8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Jul 2019 20:06:01 -0300 Subject: Report how much more you need to wait before using shovel again --- npc/items/shovel.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/items') diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index ab794ebae..019d7498d 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -262,7 +262,7 @@ function PlayerIsTired { if (is_gm()) return 0; - .@tick = gettimetick(1); + .@tick = gettimetick(2); .@playertick = .PlayerTiredTime - (readparam(bStr)/5) - (readparam(bVit)/10); // Dig and Bury more with Steel Shovel @@ -271,8 +271,8 @@ function PlayerIsTired { } if (@ShovelLastUsed + max(5, .@playertick) > .@tick) { - .@time$=FuzzyTime(.@tick-(@ShovelLastUsed + max(5, .@playertick))); - dispbottom lg("You are exhausted, you should rest "+.@time$); + .@time$=FuzzyTime(@ShovelLastUsed + max(5, .@playertick)); + dispbottom lg("You are exhausted, you should rest @@.", "You are exhausted, you should rest @@.", .@time$); return 1; } @ShovelLastUsed = .@tick; -- cgit v1.2.3-70-g09d2