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 *
Storage chests
● ARCHIVED · READ-ONLY
-
-
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). -
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 :

-
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. -
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 -
Trust me, scripting a good version of this system can be very troublesome.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.
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 ;) -
I am sure there are item bank scripts for this type of thing.
-
You mean liiiikkkkkkkeeeeee....I am sure there are item bank scripts for this type of thing.
http://dekitarpg.wordpress.com/2013/01/29/perfect-bank/
? ;)
Edit: ^ this script only allows for one type of bank.
Better scripts could be written to accommodate numerous 'banking containers' -
Just figured I'd make everyone's life easier - this is the Item Bank Script (by Galv) that was mentioned earlier in this topic.