summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 16:40:07 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 16:40:07 -0300
commit6bb8db34ce1f92a59e7575ee2ab66843c82fbbad (patch)
treea8c262d40a65136bbb1c48c4d48380fa10d5199a /npc/functions
parentf63e433ee932323d173591025d32f338c1441153 (diff)
downloadserverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.tar.gz
serverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.tar.bz2
serverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.tar.xz
serverdata-6bb8db34ce1f92a59e7575ee2ab66843c82fbbad.zip
Add celldoors to the jail, along copper slime logic (w/o triggers)
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/lockpicks.txt3
-rw-r--r--npc/functions/util.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt
index ddb14cbd2..0933d0c35 100644
--- a/npc/functions/lockpicks.txt
+++ b/npc/functions/lockpicks.txt
@@ -114,7 +114,8 @@ function script LockPicking {
} while (true);
// Failed
- THIEF_EXP += 1;
+ if (THIEF_RANK)
+ THIEF_EXP += 1;
return 0;
}
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 5717c8600..76caaff6a 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -830,6 +830,7 @@ function script thiefrank {
case 3: return l("Rogue");
case 2: return l("Bandit");
case 1: return l("Thief");
+ case 0: return l("Citzen");
default: return l("Error");
}
}