Random Treasure

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
535
Reaction score
869
First Language
English
Primarily Uses
N/A
Random Treasure - 2018/09/05 Ver.1.3

Creator name: kido0617

Overview
Get randomize items as an event.

Set-up
After installing this plugin, use "RandomTreasure reset" as a plugin command for event.
Items are registered in the shop process after this command which randomizes items.
Shop does not open. Prices set are based on probability of obtaining an item.



Note: if you're copying this event similarly, don't forget to add event page with a self-switch checked A



You can change the probability through specify Price in Shop Processing setup.
The price of Dispel Herb, for example, is a probability of receiving 10/20.

Next setting up a treasure chest. When using "RandomTreasure get" plugin command-
an item is randomly obtained.



How to display message for obtained items

You can get "Last Get" Text plugin here: https://forums.rpgmakerweb.com/index.php?threads/last-get-text-loss-get-text.109846/

After using the "RandomTreasure get" plugin command
Show Text in the event with
Code:
\lastGet get
You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/p9hlc3espapr2l3/RandomTreasure.js?dl=1

Credit and Thanks: kido0617

Terms of Use- Free for commercial and non-commercial use.

License- Public Domain

There's also a VX Ace version of Random Treasure.
 

Attachments

Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

What worst could happen when your driver said "I know a shortcut"?
Creating Telekinesis script for another user, couldn't resist doing a scripted scene to display progress, when I could have just shown it in seconds XD
My city has enacted some measures to lock down the city from the plague for the first time in China and it has been reported even on some international news. :kaomad2: I'd never imagined my little city would be paid attention to in such a way.
I made a lot of progress on the 2nd stage of my game. Only 10 levels but it took over a week to design and implement. Cant wait to share more info.

Forum statistics

Threads
93,628
Messages
914,092
Members
123,202
Latest member
Legend20
Top