Limited Inventory [MZ]

Introduction

Have you ever wanted to create a game with a limited inventory system similar to games like Skyrim in RPG Maker? If the answer is yes, you’ve come to the right place. Create unlimited containers for your players to store items in, set the maximum weight a container can hold, or disallow new items to be deposited entirely. You can even customize the look of the scene by adjusting values in the plugin parameters. For a full list of features, please see down below.

Features

  • Set the mechanics to “Item Weight” or “Slot Based” to completely change how inventory and container space is calculated.
  • Using note tags, give items, weapons, and armors a weight property. They can be decimals like “0.1” or numbers larger than “1”; you decide.
  • Create and manage all your containers right from the plugin parameters under “Storage Containers.” Afterwards, you can manipulate container settings and contents using script calls and plugin commands throughout your game.
  • Generate new containers using a script call or plugin command from in-game and set the new container’s ID to a variable.
  • Restrict players from taking items from containers when they have no space left and/or restrict any items from being deposited into containers that have reached their maximum weight.
  • When players are at the max weight limit, prevent them from leaving the item and container scenes without dropping/depositing items first.
  • Throughout gameplay, items can be dropped, deposited, or withdrawn from containers. You can set the default sound effect during these times for all items, weapons, and armour. You can also override the default sound effects on a per-item, per-weapon, and per-armor basis using note tags in the database.
  • Change various aspects of the game related to the inventory. You can even change the RPG Maker default maximum item limit!
  • Drop items from the party inventory scene.
  • Compatible with VisuMZ_1_ItemsEquipsCore. Please make sure my plugins are below VisuStella plugins and in the correct order.
  • Text code support for changing the colour in the shop and container name windows.
  • Use note tags to increase/decrease the party maximum weight when an actor is in the current party.
  • Use note tags to increase/decrease the party maximum weight when an actor is affected by a state and is in the current party.
  • Use note tags to increase/decrease the party maximum weight when an item, weapon or armour is present in the inventory.
  • Use note tags to increase/decrease the party maximum weight when the equipment is worn by an actor in the current party.
  • This plugin is now compatible with VisuMZ_4_VisualItemInv.js. You should make sure you activate the parameter “Item Layout” and add “Window_ItemContainer” to the “Applied Windows” parameter in VisuStella’s plugin.

Compatibility

Screenshots

Terms of Use

1. Do NOT claim ownership or take any code for your own plugins.

2. Do NOT redistribute or resell any of the source code under any circumstances.

3. This plugin is free to be used in any non-commercial game.

4. This plugin can be used in commercial games provided you have successfully purchased a commercial licence from this page. You can begin the process by clicking the red button found below. The licence will cover any and all future games made by you using the plugin.

Release Versions

Changelog

Downloads

Plugin Releases

Download Version 1.20

Non-Commercial Licence

Download

Commercial Licence

Buy Licence
Since version 1.02, Item Category code has been removed and made into its own free plugin, you can find here.
0 0 votes
Article Rating
Subscribe
Notify of
guest
19 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Olly
Olly
2 years ago

​Fantastic plugin! Gives a lot of control over how to set up inventory and storage features. Dev is also very helpful and responsive in helping with any issues and adding new features. I highly recommend! Thanks Dungeonmind! 🙂

-Olly

RMaker
RMaker
1 year ago

What a coolest plugin! I am very satisfied with the function you provide. But I’m sure I can make what I want with a few more things I need.

If you obtain items during a game, such as events or battles, and exceed the inventory weight limit, a window will appear to select items to discard or use in the inventory, and you will need to prevent the game from continuing until you resolve this issue.

Causes a variable or switch to operate when a certain percentage of the current maximum weight is reached.

It is compatible with visual inventory plugin of visustella. (It also works on the shop screen if possible)

Is there a way for me to support you personally, not to mention purchasing a commercial license? This plug-in, of course, your work excites me. Thank you!

RMaker
RMaker
1 year ago
Reply to  Dungeonmind

I chose PayPal to purchase the license, but the payment does not work with the following statement.

“CURRENCY_NOT_SUPPORTED Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes.”

If you give me your PayPal information, I will send money directly there, is that okay?

Vertutame
Vertutame
1 year ago

SyntaxError Unexpected end of JSON input.
I can’t use it.

Vertutame
Vertutame
1 year ago

Can anyone explain how to use this?
Do I need to go to items.json and edit items individually for weight?
Also when I start the game with 2 plug-ins installed [inventory and catalogue]
it gives me Error can’t read _table
what table?

Alexander Spicer
Alexander Spicer
1 year ago

Ok so i’m receiving the following error when attempting to withdraw an items from a box. I did manage to get this to play once and work properly. I believe it is a positioning problem. I’ll post my plugins below as well. Sorry had to edit accidentally hit save trying to paste. What position do you think would be best?

https://forums.rpgmakerweb.com/index.php?attachments/1687651575057-png.266754/
https://forums.rpgmakerweb.com/index.php?attachments/1687657406802-png.266758/
https://forums.rpgmakerweb.com/index.php?attachments/1687657433560-png.266759/

https://forums.rpgmakerweb.com/index.php?attachments/1687657569184-png.266763/
https://forums.rpgmakerweb.com/index.php?attachments/1687657531666-png.266762/

STh4nos
STh4nos
1 year ago

Hello and thanks for this plugin ! But it seems i don’t know how to make it work… maybe cause english is not my native language…
When i give the item without the conditionnal branch it works, i have my items and the weight is show in the inventory. the only problem i have is that there is no limit.

so to try it, i did an event, a npc, here is the event :

If : $gameContainer.checkPartyHaveSpaceForItem(7, 1);
Add potion
End

the item id 7 is a potion with a weight of 0,1

but when i try ingame nothing happens ! the npc doesnt give me anything at all

please how do i have to set the event ?

dminv.png
Mike
Mike
1 month ago

Hey I’ve recently been going around trying to find the best weight system/item discard plugin and your seems to be what I’ve been lookin for. I know compatability issues with other plugins can be annoying, but you did the one for VisuStellas Item Categories, I was wondering if you ever considered for their crafting plugin, Item Crafting System VisuStella MZ.When accessing this screen the location for the main Inventory Weight is right across the middle, overtop the categories. Is there an easy fix to have it not show in that scene at all?

Mike
Mike
1 month ago
Reply to  Dungeonmind

Thanks for the quick response.
Yes, VisuStella makes it so hard to work anything around them. I’ve been at a loss for a few major plugins that Yanfly covered in MV after moving to MZ, and the independent items was another good one.
I’ll definitely keep an eye out on your crafting system, while I can make VisuStellas work for me, I feel it to be clunky and hard to modify visually, so I won’t dive head first into writing the recipes for that yet, until I get to see yours.

Would I be able to have a common event play after an item is discarded? I have a thought on how to drop static items onto the ground and that would be my easiest route.

Mike
Mike
20 days ago

What would you call the upper limit to the amount of containers that can be created?
Would there be a way to allow some containers to only accept specific items. Limited to only being able to deposit smithing crafting materials in a smithing chest for instance while still allowing these items to be deposited into any chest?

19
0
Would love your thoughts, please comment.x
()
x