Neon Black - Lockpicking V1.2.1

Neon Black Lockpicking 1.2.1
by Neon Black
mod by Roninator2

Introduction
Added lock durability to lockpick script and fixed some bugs.
Also added lock broken to features with message

Features
- Lock picking results in 4 possibilities
- 1. lock picked.
- 2. quit picking
- 3. no picks left
- 4. lock broke

Use
- Instructions in script header
- Use Lockpick.start(X, Variable) - or Lockpick.start(X)
- X is difficulty
- Variable (optional) used to specify the durability of the lock.
- where no variable is used and no actions to change event are done, then the lock will still be pickable after breaking

Terms
- Terms in script header
- Credit Neon Black & Roninator2
- Free for commercial & non-commercial

Spoiler: event
1588258987321.png

Spoiler: Script
Lockpick script

Images needed
Spoiler: pictures
Key.png
Lock.png
Pick.png
Thanks for improving the script!
Btw, is there a way to make the picks unbreakable?
That's included in the script by Neon Black

# These are the golden lockpick settings. A golden lockpick will not break and
# is used by default if it is in the inventory. It can be diabled if you do not
# want to use it.
USE_G_PICK = false
G_PICK_ITEM = 18
Works great once you get it up and running, many thanks 🙂
The code give me this error
1740587801608.png
The code give me this error
View attachment 332638
What's the command you have in the event?
Please confirm it is correct with the instructions in the script header.
I try the original code from RM coalition resourpack
1740621573279.png

but are the same trouble.
I try the original code from RM coalition resource pack
View attachment 332696
but are the same trouble.
Even using the old code works fine. No error about Interpreter.
So the error you're getting can't be from that event since Lockpick.start(2,10) is correct
You must be doing something wrong.
Did you put the script into your project correctly?
1740627590822.png
I put the script below main...
After put on top of the main, Works. xD
Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/neon-black-lockpicking-v1-2-1.120898/