Lock Picking Script (+demo)

I caught a small... huge, bug. When I fail to lockpick one time, I am unable to try again--ever. It constantly says something about my lockpick being broken or me not having any of them. When, according to the bubble and my inventory, I have fifteen.
I caught a small... huge, bug. When I fail to lockpick one time, I am unable to try again--ever. It constantly says something about my lockpick being broken or me not having any of them. When, according to the bubble and my inventory, I have fifteen.
Thanks for reporting this. I'll look into it right away.

Can't replicate the issue. Exactly how are you typing out the script call to call the lockpicking?
Thanks for reporting this. I'll look into it right away.

Can't replicate the issue. Exactly how are you typing out the script call to call the lockpicking?
I'm not typing it out. I was trying the demo to see how it worked--that's where it popped up.

EDIT1: It happens during the middle chest every time for me.

EDIT2: Actually, I read the script and it may be the chest lock breaking. You should probably have it say that the lock broke instead of that you have no lockpicks.
I'm not typing it out. I was trying the demo to see how it worked--that's where it popped up.

EDIT1: It happens during the middle chest every time for me.

EDIT2: Actually, I read the script and it may be the chest lock breaking. You should probably have it say that the lock broke instead of that you have no lockpicks.
That's what's happening with the middle chest. I sort of just copied the old chest when I upgraded the script and then just changed it to be a "breaking lock" style chest. Forgot to update any of the text on the other two chests, though. Sorry about the confusion. The chest on the right side is the one that demonstrates normal lock picking.

Original thread: https://forums.rpgmakerweb.com/threads/lock-picking-script-demo.685/