From df8a923e62731e4a5b856f077ef06301e1262e2a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 7 Sep 2018 01:08:44 -0300 Subject: [skip ci] debug --- npc/functions/lockpicks.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc/functions') 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*"); -- cgit v1.2.3-70-g09d2