Storage chests

Quivron

Badger
Member
Joined
Aug 11, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Hi, I'm new to the forums and was wondering is there any way of making a chest or object you can store items inside for example: I have a player house or bank and want the player to store items for use later, in my game its souls

any helpful response is appreciated and sorry if this has already been posted some where i couldn't find it  :)

Looking forward to your Response, Quivron

*Edit: Thanks to everyone who has replied (Really quickly) all the responses have been useful  :D *
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
it depends on what you actually want.


Simple chests for specific items could probably done with eventing alone (store the items in variables), but for a real container, you need a script. Galv has written such a script, you can find it on the master script list (follow the link in my signature if you don't have a bookmark to the MSL yet).
 

Ultim

Kartoffel.
Veteran
Joined
May 21, 2014
Messages
787
Reaction score
117
First Language
Arabic
Primarily Uses
Easy.Here you go how to do it.

TO STORE :

1- Make an event.Use Show Text and write something like "Would you like to store a soul ?" or anything you would like.

2- Make a a simple Yes/No choice branch with the Display Choice command.

3- Under yes,make a conditional branch.(if you don't know what a conditional branch is,go to the link in Andar's sig.It contains some really useful tips & tutorials.)

4- For conditions in that conditional branch,go to page 4,check the Item box,and select the "Soul" item from the dropdown menu.

5- Then make a Switch with something like "Soul Stored".

6- Under "Else",show text with something like "You don't have a Soul".

7- Leave under "No" blank.Aaaand Done.Here's a little screenie of the event box :



TO GET YOUR SOULD BACK FROM THE CHEST(The Chest expires after one use.You should find another.Interesting mechanic ?)

1- Add a second page to the Container event.

2- Make conditions the "Soul Stored" switch.

3- Show Text.With something like "Would you like to get your soul back ?"

4- Another Yes/No branch.

5- When "Yes",add one Soul to your inventory and activate the "Soul Restored" switch.

6- Leave "No" blank.

7- Make another event page.

8- Conditions = to the "Soul Restored" switch.

9- Leave it blank.And here you go.A sould-storing system.

EVENT PAGE TWO :



EVENT PAGE THREE :

 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
It's easy, but takes a lot of resources, It's a system that falls into the, It's way easier to do with scripting.

Basically It's similar to a banking system, if you were to event it. Every item in the game needs a variable(2 variables actually one for the item in the storage, and one for the item in a char inventory), and for each item stored, adds a +1 to that item's variable. That's the basic set up(using Yanfly's message script will enable a lot of high quality polish with this system as well).

It's pretty simple, the only difference between a item storage system, and a Gold Bank, is the insane amount of variables you need to use, because each item must be recorded.
 
Last edited by a moderator:

Quivron

Badger
Member
Joined
Aug 11, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Thankyou all so much! all the responses so far have been really useful,

oh and andar i forgot to add I want to avoid using scripts for a fear of messing the game up but thanks anyway

:D
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,204
First Language
Binary
Primarily Uses
RMMZ
It's easy, but takes a lot of resources, It's a system that falls into the, It's way easier to do with scripting.
Trust me, scripting a good version of this system can be very troublesome.

So many map/event(depending how you set it up) related scripts can throw it out of whack instantly :/

Edit:

obviously the end all effect is much nicer than an evented system.

I would show a screenshot but idk if the images used within it are for public visualization ;)
 
Last edited by a moderator:

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,905
Reaction score
451
First Language
April Fools
Primarily Uses
N/A
I am sure there are item bank scripts for this type of thing.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,204
First Language
Binary
Primarily Uses
RMMZ
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top