summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/items/shovel.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index ec027fb7d..fd74ed262 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -47,7 +47,7 @@
function PlayerIsTired {
.@tick = gettimetick(1);
.@playertick = .PlayerTiredTime - (readparam(bStr)/5);
- if (@ShovelLastUsed + max(4, .@playertick) > .@tick)
+ if (@ShovelLastUsed + max(5, .@playertick) > .@tick)
{
narrator S_FIRST_BLANK_LINE,
lg("You are exhausted, you should rest a bit.");
@@ -92,6 +92,7 @@
.@id = requestitem();
if (.@id < 1 || countitem(.@id) < 1 || .@id == IronShovel) {
+ @ShovelLastUsed = 0;
if (.@id == IronShovel)
mesc l("Uh... You can't bury your own shovel!");
else
@@ -179,7 +180,7 @@ OnHour00:
end;
OnInit:
- .PlayerTiredTime = 20;
+ .PlayerTiredTime = 25;
// You can bury & dig on all mines
AddDigRect("007-1", 20, 20, 180, 180);
AddDigRect("011-1", 20, 20, 180, 180);