PH - Warehouse/Storage Ported to MZ

● ARCHIVED · READ-ONLY
Started by Arthran 26 posts Page 1 of 2 View original ↗
  1. PH Warehouse MZ
    Version: 1.4.0 (2/6/23)
    By: PrimeHover and Arthran

    Introduction
    It seemed like MZ was lacking in Storage System plugins, so I went ahead and ported PrimeHover's Warehouse plugin over to MZ, and fixed a few bugs.

    Features
    • Creates a custom warehouse scene, where you can store and deposit items.
    • You can create as many difference warehouses as you want.
    • You can specify capacity limits and optional rules about what can/can't be stored.
    • You can use plugin commands to add items to warehouses and/or make them start out with specified items.
    Screenshots

    DemoScreenshot.png

    How to Use
    Put PH_WarehouseMZ.js in your project's plugins folder, and add it to the project through the plugin manager. You can create/configure/show a warehouse using the provided plugin commands.

    I have created MZ plugin commands that I think are pretty self-explanatory and easy to use. However, I also left the original MV-style plugin commands intact, and added a script call that you can execute them from, if you prefer to go that route.
    Here are two example events that would each achieve the same result, using both methods:

    MZ-Style Plugin Commands
    NewCommandExample.png

    MV Commands Run Through a Script Call
    OldCommandExample.png

    Plugin Commands / Script Calls
    Please refer to the included help documentation. Also, I recommend looking at the original author's blog post for explanations and examples of how to set up rules.

    Download
    You can find the latest version here.

    Changelog
    • v1.3.1 (12/10/2022)
      • Category Window is now hidden when using the "All Together" setting
      • Added support for unlimited capacity warehouses
      • Improved compatibility with VisuStella Items and Equips Core
      • Minor polishing
    • v1.3.2 (12/10/2022)
      • Fixed issue where certain VisuStella item category styles were causing warehouse category names to render improperly
    • v1.4.0 (2/6/2023)
      • Added capability to use escape codes (\V[x], \N[x], \P[x]) in plugin commands.
    Terms and Credits
    Both the original plugin and my edits are licensed under Creative Commons Attribution 4.0 International. Feel free to read the link for the finer details, but in summary: As long as you credit both PrimeHover and Arthran, you can use it in both free and commercial games, you can make edits and adaptations, and you are free to share it.
  2. Hello @Arthran, I wanted to ask is there an option to hide/diable/skip the window which shows "All", when all together is set to true? Thanks. Btw I love your plugin, thank you so much for this.
  3. fizzly said:
    Hello @Arthran, I wanted to ask is there an option to hide/diable/skip the window which shows "All", when all together is set to true? Thanks. Btw I love your plugin, thank you so much for this.
    Hi there. The "All" thing actually bugs me as well, and I had been planning to change it (and also add a couple more features), but I kept putting it on the back burner because it didn't seem like anyone was actually using the plugin.

    I'll move it higher on my priority list now that I know that somebody has interest. I'm going to be pretty swamped for the next few days, but I should be able to release an update toward the end of next week.
  4. Arthran said:
    because it didn't seem like anyone was actually using the plugin.
    Honestly I'm sure there is A LOT of ppl using it, because of two reasons:
    1. it's honestly good and useful plugin; also works so good and it's easy to use and configure
    2. it's probably the only one plugin for storage system in MZ! (and if you ask me, I don't need more of them, because this one is good as I said)

    I just don't understand why no one can even write two sentences of thanks.
    So I call people using this plugin to write a post and mobilize @Arthran! :hswt:
    And would be really happy if you'll find some time to make the change, also happy with the planned update! Thank you so much for your hard work!
  5. This is great!
    It's a shame it just doesn't work with VisuMZ plugins on the game I'm working on, but this is fantastic for other projects. Thanks :)
  6. Nonungus said:
    This is great!
    It's a shame it just doesn't work with VisuMZ plugins on the game I'm working on, but this is fantastic for other projects. Thanks :)
    Can you tell me which plugins it is clashing with? I could take a look at making it compatible.
  7. Nonungus said:
    This is great!
    It's a shame it just doesn't work with VisuMZ plugins on the game I'm working on, but this is fantastic for other projects. Thanks :)
    Arthran said:
    Can you tell me which plugins it is clashing with? I could take a look at making it compatible.
    Personally I'm using Visustella plugins as well and it works fine for me. I'm using the basic one, like MenuCore, EventCore, MessageCore.
  8. Arthran said:
    Can you tell me which plugins it is clashing with? I could take a look at making it compatible.
    ItemsEquipsCore, I think it's because I have multiple item categories that this plugin doesn't support, so I'm always getting an error when I open a warehouse.
  9. I put out a new version (1.3.1) just now. Sorry for doing it a bit later than projected. You all can grab it here.

    The category window will now be hidden if you use the "All Together" option. You also can now create warehouses with unlimited capacity (just set the Max Capacity to 0). I have also improved compatibility with VisuStella Items and Equips Core.

    I say "improved compatibility", because while the plugin is now fully functional with Items and Equips Core installed, it will not use any custom item categories that are defined within Items and Equips Core. Instead, it uses the standard 4 categories (Items, Weapons, Armors, and Key Items). If there is enough interest, I might consider adding support for VisuStella's item categories at some point... but I chose to forgo it this time around because it would be a pain in the butt, and it would also likely require me to make breaking changes to the "warehouse rules" system that this plugin currently uses, which would be an annoyance to any people who already have some rules set up.

    If anyone runs into any more crashes involving Items and Equips Core, don't hesitate to let me know. It worked fine in my testing, but I don't generally use Items and Equips Core, and it's a pretty big plugin, so it's possible that there is still some incompatible combination of features/settings that I may have overlooked.

    *edit* Noticed another VisuStella problem and fixed it. Current version is now 1.3.2... same download link.
  10. I'm gonna check it today. Thank you so much for your work, @Arthran!

    Edit: Works like a charm! So pretty now *_*
  11. Hello again @Arthran, I'm sorry for bothering you again, but is there an option to make it like... You can name your warehouse/chest ingame? I tried to put \n[X] into name of the chest, then "name input" for actor [x], but id does not work. Is there any script calls for create and open warehouse in MZ? I could try with actor names or variables then... Thank you for your help!!!
    Is there at least option to use \n[x] into warehouse name?
  12. fizzly said:
    Hello again @Arthran, I'm sorry for bothering you again, but is there an option to make it like... You can name your warehouse/chest ingame? I tried to put \n[X] into name of the chest, then "name input" for actor [x], but id does not work. Is there any script calls for create and open warehouse in MZ? I could try with actor names or variables then... Thank you for your help!!!
    Is there at least option to use \n[x] into warehouse name?
    Hey, sorry for the late reply. I have added the ability to use \n[x] for actor name, \p[x] for party member name, and \v[x] for variables. You can also capitalize the letters if you prefer (i.e. \N[x]). You can grab the new version from the original post.

    Example
    1675670280183.png
    1675670338837.png

    But just for future reference, there also is a way to use script calls. If you look in the help documentation under "Old Plugin Commands", it will explain how to use the MV-style plugin commands from the original plugin. Technically, this is done through a script call. So you could have done something like this from a script command:

    JavaScript:
    PHWarehouse.call(this, `create <${$gameActors.actor(1).name()}'s Storage:${$gameVariables.value(4)}>`);
    PHWarehouse.call(this, `show <${$gameActors.actor(1).name()}'s Storage>`);
  13. Arthran said:
    Hey, sorry for the late reply. I have added the ability to use \n[x] for actor name, \p[x] for party member name, and \v[x] for variables. You can also capitalize the letters if you prefer (i.e. \N[x]). You can grab the new version from the original post.
    Thank you so much for adding this! It's more than useful for me. And not late at all, actually I must say it was fast ^^

    Thank you also for the script calls and for your help overall, I'm gonna check everything today, yay.

    Edit: It works like a charm, thank you, I love it!
  14. Thank you very much for your plug-in. It's great!

    Sorry, my English is not very good.

    When I use the plug-in, I found that I can't use the warehouse rule function. Can you introduce how to use the warehouse rule function? Please attach a picture, thank you!
  15. sos2685929 said:
    Thank you very much for your plug-in. It's great!

    Sorry, my English is not very good.

    When I use the plug-in, I found that I can't use the warehouse rule function. Can you introduce how to use the warehouse rule function? Please attach a picture, thank you!
    Hi there. You are welcome, and thank you as well.

    I will try to make a guide with some pictures in the near future, but it will probably be at least a few days before I can find the time. In the meantime, you can try to see if this guide (written by the author of the original MV plugin) will help you. Rules work the same way in this plugin as they did in the original.
  16. Arthran said:
    Hi there. You are welcome, and thank you as well.

    I will try to make a guide with some pictures in the near future, but it will probably be at least a few days before I can find the time. In the meantime, you can try to see if this guide (written by the author of the original MV plugin) will help you. Rules work the same way in this plugin as they did in the original.
    Well, I can't open the two websites in the plug-in, so I asked for your help in the forum.

    Looking forward to your tutorial!
  17. Your plugin does exactly what I needed.
    Thank you for sharing it with the community.
    Is there a script call where I can deposit all items that are being carried all at once?
    My story calls for entering into a new area with nothing equipped or in your inventory.
    It's at the 17 hour point in the playtime and I have hundreds of items.
    holding space or enter will eventually get everything deposited but it takes a while.
    If there was a script call where if I clicked it everything would just get transferred it would be amazing.
  18. I am having troubles with some of VisuStella Plugins when I use your plugin.
    Whenever I try to create a deposit, the game simply crashes with the error "Cannot read property 'hasOwnProperty' of undefined"
    This plugin looks really awesome and I would love to make it work in my project :)
  19. @Polaris_First_Star When you're posting bug reports, please press F8, go to the Console tab, and post a screenshot of the full error trace there.
  20. ATT_Turan said:
    @Polaris_First_Star When you're posting bug reports, please press F8, go to the Console tab, and post a screenshot of the full error trace there.
    Ok, sorry, here's the screenshot