OpenChest VX

OpenChest VX

by Kyonides
​

Introduction

Did you ever wanted to configure your chests the easiest way possible?

Now you can do that at any time! 😀

And how exactly does that work?

😅: Well guys, you simply need to create your event and turn on a single game switch and start adding gold, items, weapons or armors at will. 😀

The script will turn off the switch before exiting the scene.

Open an OpenChest Scene
Ruby:
$scene = OpenChest::Scene.new(ChestID)

Open an OpenChest Scene - Flag the Player as a Thief
Ruby:
$scene = OpenChest::Scene.new(ChestID, true)

openchestvx01.jpg

openchestvx02.jpg

You can use some special script calls to test if the party had stolen anything anywhere or from the current map's chests. XD

Ruby:
$game_system.chests_stolen?
$game_system.chests_stolen_here?

They are ideal for conditional branches, don't you think? 😉

Terms & Conditions

Free for use in any game.
Due credit is mandatory.
I would appreciate if you send me a copy of your game.
That's it!
The Script Has Gained Some EXP!​

😅 Actually, that just means that the RMVX port has been upgraded. This time it brings an useful feature requested by a furry forumer, namely the input window! 😀

And yes, you can grab gold either from your pockets or the chest itself. 😉

openchestvx04.jpg

openchestvx05.jpg
OpenChest Has Been Improved!​

Now version 1.2.0 offers you more options to customize your favorite chest menu!
The Title submodule includes a couple of Constants to allow you change the menu's title font.

You can now count on your Snag All button as well.

And now the Label event command has a brand new use: it lets you name your beloved chest! 😉

openchestvx06.jpg

openchestvx07.jpg
Version 1.2.1 is OUT! 😮​

What makes this teeny version particularly interesting for some people is that it FINALLY allows the game developer to replace the default black box with a custom Painter backdrop picture.

Detective Go look for the BACKDROP_TYPE and BACKDROP_NAME Constants found inside the Title module.

This new feature is available on all of the RGSS based engines!

Nope, I won't provide you with any custom backdrop this time. 😛

😉 Just be creative, guys!
cool script - thanks man! giving you full credit for this one.
Minor Update​

Some VX ACE user wanted to get all the windows centered in the scene so I came up with the idea that the script should do that by default. That's why I added a couple of new Constants to ALL PORTS of my script to make that happen. Just enter the window's width there and the script will handle the rest in no time. 😉

Ruby:
  CHEST_WIN_WIDTH   = 320
  NUMBER_WIN_WIDTH  = 320
  OPTIONS_WIN_WIDTH = 160

Original thread: https://forums.rpgmakerweb.com/threads/openchest-vx.159445/