summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-14 20:07:43 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-14 20:07:43 -0300
commit8ff2aabe40e43769845cbe121f5f6b0054d73c59 (patch)
tree46ac21816910638a2fd0d6f51ee9624ec3f19826 /npc/items
parent5baf621c5343580c95a628fd6936cd88339794f8 (diff)
downloadserverdata-8ff2aabe40e43769845cbe121f5f6b0054d73c59.tar.gz
serverdata-8ff2aabe40e43769845cbe121f5f6b0054d73c59.tar.bz2
serverdata-8ff2aabe40e43769845cbe121f5f6b0054d73c59.tar.xz
serverdata-8ff2aabe40e43769845cbe121f5f6b0054d73c59.zip
Change shovel bypass-rest rule from "is GM" to "is Aeros".
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/shovel.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 019d7498d..28c9b87e0 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -258,9 +258,14 @@ function AddDigRect {
}
function PlayerIsTired {
+ /*
// GMs can do this in an unrestricted way
if (is_gm())
return 0;
+ */
+ // I changed the rule to: No restriction on Aeros! (GM or not) (May be laggy)
+ if (getmap() == "001-1")
+ return 0;
.@tick = gettimetick(2);
.@playertick = .PlayerTiredTime - (readparam(bStr)/5) - (readparam(bVit)/10);