OpenChest XP

OpenChest XP

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)


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!
Important Announcement!​

From now on, you can fiddle with my script on both RMXP and RMVX engines!

Besides publishing it for VX, the script now lets you flag a chest as "stealable" by the player. Once the party puts stuff in their pockets, they won't be able to get rid of the local map's stolen chest goods alert. As of now its nothing but a silent alert. =_=¡

That doesn't mean you can't use some special script call 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? 😉
The Script Has Gained Some XP!​

😅 Actually, that just means that the RMXP 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. 😉

openchestxp04.jpg

openchestxp05.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! 😉

openchestxp06.jpg

openchestxp07.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!
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. :awink:

Ruby:
  CHEST_WIN_WIDTH   = 320
  NUMBER_WIN_WIDTH  = 320
  OPTIONS_WIN_WIDTH = 160

Original thread: https://forums.rpgmakerweb.com/threads/openchest-xp.159434/