The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: TheoAllen on April 14, 2013, 10:21:31 PM

Title: Theo - Inventory Secure
Post by: TheoAllen on April 14, 2013, 10:21:31 PM
Inventory Secure
Version : 1.2
Type : Item add-on(?)

Introduction :
Inspired from Breath of Fire 4. This script allow you to secure current party inventory and clear them. It can be used for storytelling purposes. For example, first scene player will be role as Main Character. And the second scene player will be role as the antagonist.

Features :

Screenshot
No need screenshot I think

Script:
Get it from here => http://pastebin.com/UytgNkms

How to use:
Put this script below material but above main. You will know the rest
Write these command in script call :
- secure_inv(n) >> secure current inventory. n is index where you put the secured inventory
- get_inv(n) >> get inventory from n index
- merge_inv(n) >> merge current inventory with n index

Credit:
You may credit me. TheoAllen

Note:
- I hope this script is useful for everyone
- If I've made some grammatical errors, it because my main language isn't english.
Title: Re: Theo - Inventory Secure
Post by: Caveras on April 15, 2013, 10:01:29 AM
Thanks for this script and the other two you published! Really useful stuff =)
Title: Re: Theo - Inventory Secure
Post by: TheoAllen on April 15, 2013, 03:55:06 PM
Thank you very much ~ ;D
Btw, I haven't tested yet. But I think it also compatible with VX ~
Title: Re: Theo - Inventory Secure
Post by: Wiimeiser on August 09, 2013, 11:37:40 AM
Doesn't seem to actually be creating the inventories...
Or maybe it's the conditional branch part that's messed up?
Title: Re: Theo - Inventory Secure
Post by: TheoAllen on August 09, 2013, 11:59:51 AM
Is my script doesn't work?
Well, this is one of my very first script when I started to write RGSS3 script back then.
If it's really doesn't work, maybe I can just rewrite this script from scratch. Because, the workflow is really messed up
Title: Re: Theo - Inventory Secure
Post by: Wiimeiser on August 09, 2013, 01:09:55 PM
Actually, the problem seems to be breaking the database; the game treats items, and it seems only items, with an ID over 999 as though they don't even exist in the database.
Title: Re: Theo - Inventory Secure
Post by: Zexion on August 09, 2013, 03:46:23 PM
Isn't that the limit on the database in the first place? You're going to need a database limit breaking script for that.
Title: Re: Theo - Inventory Secure
Post by: Wiimeiser on August 09, 2013, 04:06:49 PM
Isn't that the limit on the database in the first place? You're going to need a database limit breaking script for that.
That's exactly what I did (http://rmrk.net/index.php/topic,45210.0.html)...
Title: Re: Theo - Inventory Secure
Post by: TheoAllen on August 09, 2013, 04:33:19 PM
I've not tested yet with database breaker script. But when I look at this script (http://rmrk.net/index.php/topic,45210.0.html), it should be no problem I guess.
Both mine and game_guy's script has different roles.

Well, I've no idea what are u talking about. Maybe, it because of my bad english  :-\
Title: Re: Theo - Inventory Secure
Post by: Wiimeiser on August 10, 2013, 05:36:21 AM
Maybe a demo would help?
Title: Re: Theo - Inventory Secure
Post by: TheoAllen on August 10, 2013, 06:51:41 AM
You don't even insert my script in that demo... :-/
Title: Re: Theo - Inventory Secure
Post by: Wiimeiser on August 10, 2013, 07:22:04 AM
You don't even insert my script in that demo... :-/
...Sorry, I'll fix that right up.
Title: Re: Theo - Inventory Secure
Post by: TheoAllen on August 10, 2013, 10:34:53 AM
The demo looks going well. I don't see any problem there
Title: Re: Theo - Inventory Secure
Post by: Wiimeiser on August 10, 2013, 10:48:14 AM
Then it's probably something else...

I'll have to try and figure this out...

EDIT: Fixed it, it was a bug with one of MA's scripts.
Title: Re: Theo - Inventory Secure
Post by: Gaming Princess Luna on August 10, 2013, 09:42:26 PM
This script works perfect with all the scripts I got and it is really needed for my RPG, because I use often flashbacks, where you momentary had the equipment of the future and the same was the other way. ;)
But thanks to your script this problem is gone. :) (\s/)
Title: Re: Theo - Inventory Secure
Post by: TheoAllen on August 11, 2013, 04:09:23 AM
Quote
EDIT: Fixed it, it was a bug with one of MA's scripts.
Okay, then.

Quote
This script works perfect with all the scripts I got and it is really needed for my RPG, because I use often flashbacks, where you momentary had the equipment of the future and the same was the other way. ;)
But thanks to your script this problem is gone. :) (\s/)
Glad to help :D
inform to your friend if this script is useful
Title: Re: Theo - Inventory Secure
Post by: Ayase Haruka on January 14, 2014, 04:05:20 AM
Omo! I've been looking for a script like this. Thanks!