tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
816
Reaction score
1,422
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.

eSrA8Aq.png


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

vpqjqQL.png


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.

wKoTxNS.png


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

  • RandomTreasure.js
    4.6 KB · Views: 27
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Hey everyone! I'm back :D

Snow White? More like Snowhere to be seen amiright? Hahaha I'm so sorry!! :kaocry:
I'm working on a modding system of my game and I screw the game up, so hard that I have to access my backup in my hard drive ;-;
Stop shutting the damn power down! Why always like this
Working on a slightly experimental horror game. It will be finished in approximately 88888888888 years.
Y'all will enjoy it though, I put lots of effort into making it stand out.

It's called Red Light and it's inspired by another obscure RPG Maker horror game, but I don't want to give too much away just yet.
Ohh man, Weapon animations plugin feels so mandatory. Seeing that same image regardless of the icon of the weapon....ugh :p

Forum statistics

Threads
112,362
Messages
1,067,759
Members
146,007
Latest member
Spark180
Top