summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-14 20:06:01 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-14 20:06:01 -0300
commit5baf621c5343580c95a628fd6936cd88339794f8 (patch)
treebd574d666c272a208feb3690a918deb40b6db1f6
parent6959823a2d6ba00ee54db5bbaabc5ad91ea7bdc5 (diff)
downloadserverdata-5baf621c5343580c95a628fd6936cd88339794f8.tar.gz
serverdata-5baf621c5343580c95a628fd6936cd88339794f8.tar.bz2
serverdata-5baf621c5343580c95a628fd6936cd88339794f8.tar.xz
serverdata-5baf621c5343580c95a628fd6936cd88339794f8.zip
Report how much more you need to wait before using shovel again
-rw-r--r--npc/items/shovel.txt6
1 files changed, 3 insertions, 3 deletions
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;