diff options
-rw-r--r-- | npc/items/shovel.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index 047ef038..4bf0d9a9 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -44,7 +44,8 @@ function PlayerIsTired { .@tick = gettimetick(1); - if (@ShovelLastUsed + max(10, .PlayerTiredTime - readparam(bStr)) > .@tick) + .@playertick = .PlayerTiredTime - readparam(bStr); + if (@ShovelLastUsed + max(4, .@playertick) > .@tick) { narrator 1, l("You are exhausted, you should rest a bit."); @@ -172,7 +173,7 @@ OnHour00: end; OnInit: - .PlayerTiredTime = 60; + .PlayerTiredTime = 20; AddDigRect("001-1", 172, 26, 200, 48); end; |