Random Reward Event

Several days ago I was asked by one of my players how I implemented the "random" rewards given by my random reward vendor.


I have pasted the lines on hastebin, for use in anyones editor, be sure to edit the variables etc, to your game's needs.


http://hastebin.com/obadujajax.sql


It is based on the character level as well as how many rewards have been collected by the player, and implements a 15 minute timer, before the next reward can be claimed.
You shouldn't call it a script, as it will confuse people.  What you've created is an event.  A script is completely different.
You shouldn't call it a script, as it will confuse people.  What you've created is an event.  A script is completely different.

Fixed - Sorry bout that, was in a hurry earlier, didn't realize my error! Thanks for pointing it out!

Original thread: https://forums.rpgmakerweb.com/threads/random-reward-event.70920/