Announcement

Collapse
No announcement yet.

Bank?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bank?

    Is it possible to set up a bank event (fairly easily), where you could store gold and items?

    If yes, how?
    "Those who want peace must prepare for war."

    Wii#: 8540 8974 8755 6475

    The post above has a 70% chance for spam

    #2
    Re: Bank?

    Well a bank event is in the default stuff you get with starting on easy. There is even a system variable specifically for that purpose. As for items you'll have to do that on your own.

    So for every item you want to store you will need two variables (or an input and a variable). You will need to store either the database number of the item, or the item name (just some way to identify it), and you will need a variable to store the amount of the item stored.

    OR

    You can make a variable for each item, named Item##Stored, so then you only need number of items that are storable variables. This way you can use a script to display the name.


    This script will contain a lot of branches (apply ifs), but it shouldn't be too bad. This is because I believe the only way to add or subtract items is through the party>item command. I don't think there is a generic way to do it, though I could be wrong.

    So you will end up with 3 scripts, the What do you want to do (Store, Withdraw, leave) script, the Store Selection and actual storing script, and the Withdraw selection and withdrawing script.

    Now for displaying this you have the normal 3 options, Message Box (easiest but slowest to navigate), Text Boxes and VFX (both you will want to do after you make all your items, so the names or positions don't change). You could probably try manipulating the buy and sell merchant command, so they don't subtract money to do this.
    はじめまして。真(しん)の冷静(れいせい)です。どうぞよろしく。
    http://www.thetruecoolness.com/

    5198-2124-7210 Smash

    Comment


      #3
      Re: Bank?

      So, for each item I make, I need to designate 2 variables to it?

      My excessive-work sense is tingling.
      "Those who want peace must prepare for war."

      Wii#: 8540 8974 8755 6475

      The post above has a 70% chance for spam

      Comment


        #4
        Re: Bank?

        Well you could just use one, if you just go by the order they are in the database. This would make displaying easier too. Either way since I don't think there is a generic way to do it, you will need a large sort script.

        And this is RPGM2, you should know by now anything interesting and not default takes a lot of work. But it's all worth it, well sometimes.
        はじめまして。真(しん)の冷静(れいせい)です。どうぞよろしく。
        http://www.thetruecoolness.com/

        5198-2124-7210 Smash

        Comment

        Working...
        X