waynee95's Storage System

Discussion in 'JS Plugin Releases (RMMV)' started by waynee95, Jun 21, 2017.

  1. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    WAY_StorageSystem
    by waynee95​

    Create storage systems where the player can store his items.

    Features
    • Uses the new MV1.5.0 Plugin Parameter
    • Create many different storage systems
    • Customize every storage system individually, including the Scene
    • Compatible with YEP_X_NewGamePlus
    • Use YEP_CoreEngine to restrict the player's inventory using the Max Items Paramter
    • Add custom categories to the storage system using YEP_X_ItemCategories
    How to use
    Put this plugin at the bottom of the list.

    How to create a storage system:
    1. Open the plugin in the Plugin-Manager.
    2. Click on Storage Systems.
    3. Click on a free row.
    4. Now you can configure the storage system.
    Check out the help file for more infos!

    Make sure to also install WAY_Core. You can get it here https://raw.githubusercontent.com/waynee95/mv-plugins/master/dist/WAY_Core.js

    Download: https://raw.githubusercontent.com/waynee95/mv-plugins/master/dist/WAY_StorageSystem.js

    Terms of Use
    This work is licensed under the MIT license.
    More info here: https://github.com/waynee95/mv-plugins/blob/master/LICENSE
     
    Last edited: Oct 12, 2018
    #1
  2. Gamefall Team

    Gamefall Team Nebula Games Leader Veteran

    Messages:
    337
    Likes Received:
    420
    Location:
    Italy
    First Language:
    Italian
    Primarily Uses:
    RMMV
    I take look on the code! It's very good piece of plugin. When I have some time I'll make some tests on my projects, too.
    Very well done :kaojoy:
     
    #2
    styx92 and waynee95 like this.
  3. Arcmagik

    Arcmagik Game Developer Veteran

    Messages:
    496
    Likes Received:
    643
    Location:
    VA
    First Language:
    English
    Primarily Uses:
    RMMV
    Looks good! I'll be back when you add that compatibility with the limited inventory!
     
    #3
  4. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Gamefall Team
    Thanks :) If you find any bugs, let me know.

    @Arcmagik
    Until then you could use YEP_CoreEngine to restrict the inventory. But it only allows for item amount
    restriction and not item weight. MrTrivel can do both.
     
    #4
    Gamefall Team likes this.
  5. Arcmagik

    Arcmagik Game Developer Veteran

    Messages:
    496
    Likes Received:
    643
    Location:
    VA
    First Language:
    English
    Primarily Uses:
    RMMV
    Thanks!

    Can you limit the amount of space in a storage that way the plugin is currently written? I was considering if I could set up a "Storage" Each Character that is limited. And complete removing the standard inventory scene.

    I play it with the plugin. It looks good.
     
    #5
  6. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Arcmagik
    I don't know if I understand you correctly.

    "Can you limit the amount of space in a storage that way"

    There are 2 ways to limit the amount of items that can be stored in a storage system.
    1. Max Capacity Parameter
    2. Item Stack Size

    Do you want a storage system for each character?
     
    #6
  7. Arcmagik

    Arcmagik Game Developer Veteran

    Messages:
    496
    Likes Received:
    643
    Location:
    VA
    First Language:
    English
    Primarily Uses:
    RMMV
    Sorry.

    However you did answer my question: Max Capacity Parameter.

    Thank you!
     
    #7
    waynee95 likes this.
  8. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    #8
  9. Farr

    Farr Veteran Veteran

    Messages:
    247
    Likes Received:
    92
    Location:
    C-bus, Ohio
    First Language:
    Portuguese
    Why are you doing this to me, I want to stop adding new plugins to my game but then something cool like this comes out and I feel obligated to use it.

    Great plugin.
     
    #9
    Tatsumaro and waynee95 like this.
  10. FDSuprema

    FDSuprema Villager Member

    Messages:
    12
    Likes Received:
    12
    First Language:
    English
    Ooh. A new storage system. This looks pretty useful. :thumbsup-left:
     
    #10
  11. Jeremiah Eastman

    Jeremiah Eastman Gladiator Veteran

    Messages:
    433
    Likes Received:
    220
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey there, I am currently using the ph warehouse storage plugin that seems pretty similar to this one. There is a feature however, I was hoping would be in the other plugin that doesn't appear to be so I thought I would ask if this plugin would be capable of it. My game has multiple play throughs but when I start a new game + with yanflys new game + plugin the stored items are lost. I was just wondering if there was any way your plugin could carry over the items in a new game. I know it's probably a long shot due to the highly situational aspect but I thought I would ask. At any rate your plugin is looking pretty nice I would probably be using it if I didn't already have one but would gladly switch if this one can carry the items over. Anyways, have a good one, I hope to hear from you.
     
    #11
  12. fizzly

    fizzly Veteran Veteran

    Messages:
    394
    Likes Received:
    273
    Location:
    Poland
    First Language:
    Polish
    Primarily Uses:
    N/A
    @waynee95 thanks for that! Can't wait to try it out. I was looking for storage system :kaopride:
     
    #12
  13. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Jeremiah Eastman

    Update 1.2
    Version 1.2: 03.07.2017
    - Fixed bug with KeyItems and added Compatability with YEP_X_NewGamePlus
     
    Last edited: Jul 3, 2017
    #13
    Tatsumaro and Jeremiah Eastman like this.
  14. Jeremiah Eastman

    Jeremiah Eastman Gladiator Veteran

    Messages:
    433
    Likes Received:
    220
    First Language:
    English
    Primarily Uses:
    RMMV
    Awesome, you rock. :smile: Thank you so much for doing that. I'll be adding this to my game and I'll be sure to credit you. I plan on pushing hard to sell my game eventually so if you ever want a free copy just let me know. Thanks again I am so excited about this.
     
    #14
  15. Jeremiah Eastman

    Jeremiah Eastman Gladiator Veteran

    Messages:
    433
    Likes Received:
    220
    First Language:
    English
    Primarily Uses:
    RMMV
    I tested out the plugin with the new game + and it all works great, I am loving this plugin.:smile: There is one minor thing though and I hate to ask but I feel it would be a useful addition to the plugin and is probably pretty easy to add, though that I am not sure on.:smile:

    The max capacity size parameter works fine but it would be super useful if we also had the ability to add to the designated storage size rather than set a new max. That way we can have one call for say: StorageSystem add 0 20. that would add 20 slots to the storage 0 each time it's used rather than have to set up each storage tier separately . Anyways this is more of a luxury feature but I'm sure your users could put it to use if you decide to add the ability. Keep up the great work and thanks again for your help, you rock.:smile:
     
    #15
  16. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Jeremiah Eastman
    Glad it works! :D

    I am not sure if I understand you correctly. If you want to change the max capacity in game, you can use a Plugin Command.

    StorageSystem change id number

    change - Keyword for changing the max capacity of a storage system.
    id - The id of the storage system.
    number - New max capacity.

    With this you can control the max capacity in a common event or so and have different tears.
     
    Last edited: Jul 4, 2017
    #16
  17. Jeremiah Eastman

    Jeremiah Eastman Gladiator Veteran

    Messages:
    433
    Likes Received:
    220
    First Language:
    English
    Primarily Uses:
    RMMV
    Yeah that way will work but if you want to upgrade multiple times you need to set each storage upgrade to the specific value ie. tier 1 =40 slots tier 2 = 60 slots tier 3 = 80 slots. But if there was an add command you could just say + 20 slots each upgrade rather than defining each total amount. This would cut down on the amount of set up needed so you wouldn't have to define each storage total you could just add your designated amount each time.

    So instead of:
    StorageSystem change 0 40
    StorageSystem change 0 60
    StorageSystem change 0 80

    You could:
    StorageSystem add 0 20

    Hope that makes a little more sense. I know when I first used the other storage plugin I was like why do they need the set and add commands, then I realized how useful it was for certain set ups.
     
    #17
  18. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Jeremiah Eastman
    Oh, yeah... that's a bit tedious. At the moment you could do that only with a script call.

    This would add 20 to the current max capacity.
    var oldMax = $gameStorageSystems.storage(ID).maxCapacity();
    $gameStorageSystems.storage(ID).changeMaxCapacity(oldMax + 20);

    If you would prefer a plugin command, I could add that tho.

     
    #18
    Jeremiah Eastman likes this.
  19. Jeremiah Eastman

    Jeremiah Eastman Gladiator Veteran

    Messages:
    433
    Likes Received:
    220
    First Language:
    English
    Primarily Uses:
    RMMV
    No that is exactly what I need, thank you very much.:smile: This is the perfect storage system plugin, thanks for everything and the quick replies, you definitely have my support. Keep up the amazing work.
     
    #19
  20. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    507
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    #20
    Jeremiah Eastman likes this.

Share This Page