waynee95's Storage System

● ARCHIVED · READ-ONLY
Started by waynee95 271 posts Page 14 of 14 View original ↗
  1. @ShadowDragon Ah thanks.

    @Phacey If it does not work with the current version, then my plugin doesn't support hidden items. I never used that before, so I forgot that that exists :rswt
  2. Hi @waynee95! :) I'm still using your plugin. I just love it. It is simply spectacular. Just thinking about the possibilities excites me. For example, like the Pokémon PC (either to store items or to the Pokémon themselves).

    I recently came up with another way I could use it. I wanted to create a limited inventory. I am using Yanfly's ItemCore and independent items. I think you could use a common event to move exceed items from your inventory to one of your storage systems, just like the bottomless box in Dark Souls.

    Will it be possible to put the max capacity to something like "infinity"?

    If what I'm asking is very silly or unrealistic... (I don't know, my knowledge of javascript is very basic and it's your plugin... I don't dare to make any kind of modification...)

    It would be possible... at least... to configure the current box (it doesn't have to be all of them) so that it doesn't show the capacity number. It makes me anxious to see it or something... Haha.

    A hug, take care of yourself.
  3. Hi, @waynee95!

    That's my first time using your plugin, I am making a game for my friends, and in the end of the chapter I'd like to force the storage of all items in their inventory, bc the party is going to be on stand by, while the game is temporarily in the other teams perspective.

    Am I able to use the storage system in this way, forcefully saving their inventory to later re-access?

    Also, rn I've got that stupid bug, and I am a newbie on plugins, so I can't really understand what I've done wrong, so if you could also help me with the bug I would appreciate very much.

    Thanks for your time and atention, I know you must be a busy person, and sorry for the bad english lol

    The code:
    JavaScript:
    ["{\"blurredBackground\":\"false\",\"background\":\"\",\"titleText\":\"\\\\i[210]Cofre da base\",\"infoText\":\"Capacity: %1\\\\i[208]\",\"maxCapacity\":\"20\",\"stackSize\":\"none\",\"displayCategories\":\"true\",\"allowedTypes\":\"[\\\"items\\\",\\\"armors\\\",\\\"weapons\\\",\\\"keyitems\\\"]\",\"storageMode\":\"\\\"Add/Remove\\\"\",\"lootAllButton\":\"true\",\"Scene Settings\":\"Customize window parameters.\",\"help\":\"{\\\"x\\\":\\\"0\\\",\\\"y\\\":\\\"Graphics.boxHeight - this._helpWindow.height - 80\\\",\\\"width\\\":\\\"Graphics.boxWidth\\\",\\\"height\\\":\\\"108\\\"}\",\"title\":\"{\\\"x\\\":\\\"0\\\",\\\"y\\\":\\\"0\\\",\\\"width\\\":\\\"Graphics.boxWidth\\\",\\\"height\\\":\\\"72\\\"}\",\"command\":\"{\\\"align\\\":\\\"center\\\",\\\"x\\\":\\\"0\\\",\\\"y\\\":\\\"72\\\",\\\"width\\\":\\\"Graphics.boxWidth\\\",\\\"rows\\\":\\\"1\\\",\\\"cols\\\":\\\"2\\\",\\\"addText\\\":\\\"Add\\\",\\\"removeText\\\":\\\"Remove\\\"}\",\"category\":\"{\\\"align\\\":\\\"center\\\",\\\"x\\\":\\\"0\\\",\\\"y\\\":\\\"72\\\",\\\"width\\\":\\\"Graphics.boxWidth\\\",\\\"rows\\\":\\\"1\\\",\\\"cols\\\":\\\"4\\\"}\",\"item\":\"{\\\"x\\\":\\\"0\\\",\\\"y\\\":\\\"144\\\",\\\"width\\\":\\\"Graphics.boxWidth\\\",\\\"height\\\":\\\"Graphics.boxHeight - 224 - this._helpWindow.height\\\",\\\"cols\\\":\\\"2\\\"}\",\"info\":\"{\\\"x\\\":\\\"0\\\",\\\"y\\\":\\\"Graphics.boxHeight - 80\\\",\\\"width\\\":\\\"Graphics.boxWidth\\\"}\",\"number\":\"{\\\"x\\\":\\\"Graphics.boxWidth / 2 - 250\\\",\\\"y\\\":\\\"168\\\",\\\"width\\\":\\\"500\\\",\\\"height\\\":\\\"450\\\"}\"}"]
  4. @bisudo You could use that for that purpose yes.

    Which version of MV are you using?
  5. waynee95 said:
    @bisudo You could use that for that purpose yes.

    Which version of MV are you using?
    Using 1.5.0
  6. waynee95 said:
    @bisudo You could use that for that purpose yes.

    Which version of MV are you using?
    I got the bug fixed, but I still would like to know how to store the items forcefully, without the user interaction in order to put the items in the chest, in such way they don't realize their items were stored until they examin it. I did it with their gold, now I need it for the items. Thanks a lot
  7. @bisudo You could do this using scriptcalls. You have to iterate over all items (and equipment if needed) of the party and put that into a storage system and remove it from the party.
  8. Thank you for making such a fantastic plugin! I realize you're not making any changes to it anymore, but I'm hoping this would be a simple script call or something that someone else here might be able to help with.
    My game is a puzzle type and items have weight. I've been using the cost of an item as a way to store and reference weight so that when an item is added or removed, I can use a script call to add and remove the correct amount of weight. The trouble is, I'm not sure how to incorporate that into the storage system. Any ideas?
  9. bisudo said:
    I got the bug fixed, but I still would like to know how to store the items forcefully, without the user interaction in order to put the items in the chest, in such way they don't realize their items were stored until they examin it. I did it with their gold, now I need it for the items. Thanks a lot
    How did you fix it? I'm having the same problem...
  10. I know this is a big necropost but I have a hopefully simple question?

    I want to change the max capacity to be based on a variable. In "text" mode in the plugin parameters I have set it to \v[71] and set variable 71 to 12. When I open the stash in game, it displays 12 as the max capacity, but won't let me actually store anything. Any ideas? Thanks!
  11. VHStapes said:
    I know this is a big necropost but I have a hopefully simple question?

    I want to change the max capacity to be based on a variable. In "text" mode in the plugin parameters I have set it to \v[71] and set variable 71 to 12. When I open the stash in game, it displays 12 as the max capacity, but won't let me actually store anything. Any ideas? Thanks!
    I don’t think writing here is necroposting. After all, this is the main thread for this plugin, and it’s meant for people who have questions or concerns about it. Even if the creator, someone really helpful and amazing, who I hope is doing well, can’t reply for any reason, maybe another user can help.

    So… you wanted to change the storage capacity by linking it to a variable, right? That’s why you modified the text to display the capacity like that.

    Now, how are you changing the maximum quantity? Because in the RPG Maker editor, and even with the plugin command, it’s kind of tricky to input anything that isn’t a number there. No matter what you put in the text field, you should still be able to store items normally. I tested it, and yeah, you can still store items even if you put your variable in the “Text” field (\v[71]).

    Just a warning: this only changes the display; it doesn’t actually increase the capacity.

    So you probably need to check what you’re doing, what plugins you’re using, and whether everything is set up correctly, especially in the editor under “Allowed Item Types” (since the storage capacity itself isn’t related to that).

    I recommend this: don’t touch the text part, or at least not the “%1”. You don’t need to change that, it’s important and used for the calculation.

    Create a new project and use only the WayStorageSystem.js plugin. Create a test event, and on the first page, after setting your variable to the value you want (for example, set Variable 71 = 12 using the editor), then call this script:

    Code:
    $gameStorageSystems.storage(A).changeMaxCapacity($gameVariables.value(B));
    $gameStorageSystems.open(A);

    Replace A with the storage ID (remember the first one in the editor is 0), and replace B with the ID of your variable.

    If it’s the first storage and you’re using variable 71, it should be:

    Code:
    $gameStorageSystems.storage(0).changeMaxCapacity($gameVariables.value(71));
    $gameStorageSystems.open(0);

    You don’t need to change anything in the text part in the editor, again, just leave it as it is. The plugin will automatically display the correct capacity.

    However, I’m afraid your issue with storing items might not be related to this. This is simply the correct way to change the storage capacity using a variable, and even with your issue, I tested it and the storage worked perfectly. So I strongly recommend trying everything in a new project, in case you’re dealing with plugin conflicts or setup issues elsewhere.

    If you need more help, feel free to DM me and send screenshots of your event or plugin settings. I’ll be happy to help you figure out what’s going wrong.