Finally finished it!
No more known bugs! IT'S FUNCTIONALLY PERFECT!
NOW UPDATED TO BE MORE USER-FRIENDLY
This allows the player to steal items from any shop in your game. The player has a 47% success chance, but the other 53% is up to you to decide!
How stealing works: You select the new steal tab in the shop, select the item you want, then hope to god that you got that item.
How to make the consequence: If the player fails the dice roll, then switch 21 is set to true. I will let you figure out what to do with that switch in the events; I usually make Parallel Processes that swap 21 with the other switch.
How to change the switch/success chance: Change the values under preferences.
Contact me about any problems
Warning: May not work with other shop scripts
Terms
Please give credit to me if you're using this, even if you modify this or merged it with another shop script, give credit to all those who were involved.
If you got questions or small modification request regarding this, let me know. Also let me know if you want to use this in your own shop script.