じ☆ve冰风 发表于 2026-7-18 15:46:02

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)









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?


DOWNLOAD SCRIPT & DEMO​

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!


本贴来自国际rpgmaker官方论坛作者:kyonides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/openchest-vx.159445/
页: [1]
查看完整版本: OpenChest VX