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:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @kalfax
    There are 2 ways on how to add items to a storage system.

    1. with Plugin Commands
    2. with a Script Call

    The first option is for people that are not comfy with coding/writing script calls. I will give you the same example in both methods.

    Lets say we want to add the following items to the storage
    1. 3x Item with ID 1
    2. 1x Weapon with ID 3
    3. 2x Armor with ID 4

    If we would use the Plugin Commands, it would look like this
    command.jpg

    and if we would use the Script calls, it would look like this
    scriptcall.jpg

    You don't have to use both methods! Just use the one you are more comfy with, both will achieve the same thing.

    I also made a quick update to the plugin (v2.1.0). You can now specify a "Storage Mode", it lets you specify either "Add/Remove", "Add" or "Remove". If you just want to create loot boxes, then you can set the storage mode of that storage to "Remove", so the player can only take out items. That makes more sense for a loot box.
     
  2. kalfax

    kalfax The aspiring one. Veteran

    Messages:
    73
    Likes Received:
    5
    First Language:
    Norwegian
    Primarily Uses:
    RMMV
    What would the plugin be for Key items?
    i've tried a few variations, but none of them seem to be working, maybe i'm doing it wrong xD
    EDIT: i changed my item into a regular item so it works right now, but would love to know how to make it work for key items too, so that those kinds of items can have their own tab, making them easy to find, no rush though. Thanks a lot for everything:)

    edit: issue solved :D
     
    Last edited: Mar 11, 2019
  3. UltraMario12

    UltraMario12 Villager Member

    Messages:
    14
    Likes Received:
    0
    First Language:
    German
    Can you edit the text "Add" and "Remove" to something elese?
    And if so, how?
     
  4. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @UltraMario12
    You can do that under "Scene Settings -> Command Window".
     
  5. UltraMario12

    UltraMario12 Villager Member

    Messages:
    14
    Likes Received:
    0
    First Language:
    German
    Thanks. You have any tipp how i can do a limited Iventory. So you only can carry 10 Items and when thats full all other items you get in battles or else will go to your storage...?
     
  6. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @UltraMario12
    You can restrict the amout of items the player can have for each item. But I don't know a way to restrict the total amount of items he can have. Maybe there are plugins for that, I don't know unfortunately.
     
  7. Krindlekrist

    Krindlekrist Villager Member

    Messages:
    11
    Likes Received:
    2
    First Language:
    English
    Very cool and functional plugin; my only snag is wanting to have the thing display its contents on the initial open menu, without having to dig into add / remove to see what's inside. Apart from that though, it's pretty fantastic!
     
  8. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Krindlekrist
    I am not sure why I never added that. Here it is. :)
    Just download it again.

    WAY_StorageSystem v2.2.0
    Display all stored items, when you open the storage system.
     
    Krindlekrist likes this.
  9. Krindlekrist

    Krindlekrist Villager Member

    Messages:
    11
    Likes Received:
    2
    First Language:
    English
    Ah, you rock!

    Edit: Update has resolved the lingering issue I was running into using this with Yanfly Item Categories, so everything is copacetic!
     
    Last edited: Mar 30, 2019
    waynee95 likes this.
  10. Scheikowski

    Scheikowski Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    Turkish
    Primarily Uses:
    RMMV
    @waynee95 Thanks for this good plugin. I have an issue about adding new storages. I can open the first storage by using that script "$gameStorageSystems.open(0)". But when I want to open a new storage "$gameStorageSystems.open(1)" I use this script but nothing happen. How can I open new storages more than one?

    Edit: Solved
     
    Last edited: Apr 6, 2019
  11. ExplosiveArtichoke

    ExplosiveArtichoke Villager Member

    Messages:
    11
    Likes Received:
    4
    First Language:
    English
    Primarily Uses:
    RMMV
    HELP! :hswt:
    For whatever reason, anytime I try to add something to my storage, I get the error message "Cannot read property 'length' of undefined". What exactly am I doing wrong? I think I set everything up correctly.
     
  12. Nacura

    Nacura Veteran Veteran

    Messages:
    110
    Likes Received:
    9
    First Language:
    Español
    Primarily Uses:
    RMMV
    Hello friend, ask if I use your plugin, should I give you creadito and something else? since I saw the MIT contract term but I did not understand it well since I will use it commercially for the game that I am creating. Thank you
     
  13. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Nacura
    Yes, the plugin is licensed under the MIT license. Its free to use, repost, and/or modify, for commercial or non-commercial projects.
    Credit is required as per MIT License.

    @ExplosiveArtichoke
    Are you sure you setup everything correctly and that you created a storage system in the plugin parameters? Are you aware that the ids of the storage systems start at 0?
    How does your command look like?
     
    Nacura likes this.
  14. Nacura

    Nacura Veteran Veteran

    Messages:
    110
    Likes Received:
    9
    First Language:
    Español
    Primarily Uses:
    RMMV
    Do you have more plugin or will you create more?
     
  15. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
  16. Nacura

    Nacura Veteran Veteran

    Messages:
    110
    Likes Received:
    9
    First Language:
    Español
    Primarily Uses:
    RMMV
    @waynee95
    Hello friend, do you have a plugin or something similar to increase the description size of the item? or that may occupy the notes as an additional description.
    Thank you
     
    Last edited: Jun 7, 2019
  17. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    623
    Likes Received:
    509
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Nacura
    This is not really a place to discuss other plugins that are not related to my Storage System. I would prefer if you would make a separate thread please.
     
    Nacura likes this.
  18. ExplosiveArtichoke

    ExplosiveArtichoke Villager Member

    Messages:
    11
    Likes Received:
    4
    First Language:
    English
    Primarily Uses:
    RMMV
    @waynee95
    Here's what why setup is. It's supposed to be a chest that you open up and put things in that can be accessed from more than one location. (Pretty much just Minecraft's Ender Chest.) Oh, and yeah, I'm aware about the ID starting at 0.
    Capture.PNG
    Capture2.PNG
     
  19. Nacura

    Nacura Veteran Veteran

    Messages:
    110
    Likes Received:
    9
    First Language:
    Español
    Primarily Uses:
    RMMV
    Sorry friend, is that I need a plugin to put the description of the item through Notetag, so I asked if you had your greetings
     
  20. Wolfmother64

    Wolfmother64 Warper Member

    Messages:
    3
    Likes Received:
    2
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    I have this same error. Did anyone figure out how to fix it?

    EDIT: FIXED (for me at least) by creating a new save after making a storage chest. I would still crash on the saves I made before loading the plugin, but the new ones seem to work pretty perfectly.
     
    Last edited: Jun 20, 2019
    waynee95 likes this.

Share This Page