diff options
author | Reid <reidyaro@gmail.com> | 2016-02-21 04:28:07 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-02-21 04:28:07 +0100 |
commit | 68f81f11dba31f83569bfbb8dd2acd8659b7a6ed (patch) | |
tree | ddfb86cb67df595aeb3260116a6bcc00ef942cdc /npc | |
parent | 5c1c0981a0586c9a92b5f56b827e98520744f95f (diff) | |
download | serverdata-68f81f11dba31f83569bfbb8dd2acd8659b7a6ed.tar.gz serverdata-68f81f11dba31f83569bfbb8dd2acd8659b7a6ed.tar.bz2 serverdata-68f81f11dba31f83569bfbb8dd2acd8659b7a6ed.tar.xz serverdata-68f81f11dba31f83569bfbb8dd2acd8659b7a6ed.zip |
Reduce the time needed between the use of the shovel.
Diffstat (limited to 'npc')
-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; |