summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-07 01:08:44 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-07 01:08:44 -0300
commitdf8a923e62731e4a5b856f077ef06301e1262e2a (patch)
tree91ea7b9d1ee0efd4db25119516e3c78f2477c55a /npc/functions
parent5ce5bbdefe4518c56f87f9c3c1e1b8c98160dec9 (diff)
downloadserverdata-df8a923e62731e4a5b856f077ef06301e1262e2a.tar.gz
serverdata-df8a923e62731e4a5b856f077ef06301e1262e2a.tar.bz2
serverdata-df8a923e62731e4a5b856f077ef06301e1262e2a.tar.xz
serverdata-df8a923e62731e4a5b856f077ef06301e1262e2a.zip
[skip ci] debug
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/lockpicks.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt
index efb28f741..1409165f8 100644
--- a/npc/functions/lockpicks.txt
+++ b/npc/functions/lockpicks.txt
@@ -61,6 +61,9 @@ function script LockPicking {
// Remember if you fail, all previous pins will be cleared (@pos)
for (.@i=0; .@i < (.@d+.@m+THIEF_RANK) ; .@i++) {
mesc l("You are trying to open the @@th pin. What will to do?", @pos+1);
+
+ debugmes l("@@/@@ @@", @pos, .@d ,@pins[@pos]);
+
menuint
rif(.@m >= 4, l("Apply no pressure")), 4,
rif(.@m >= 2, l("Apply soft pressure")), 2,
@@ -72,6 +75,7 @@ function script LockPicking {
if (!@menuret)
close;
+ debugmes @menuret;
// Is your guess correct?
if (@pins[@pos] == @menuret) {
mesc l("*click*");