Limited Inventory

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
460
First Language
Lithuanian
Primarily Uses
Author: Mr. Trivel


Name: Limited Inventory


Version: 1.0


Created: 2016-04-04




 


What does it do?


Limits inventory space by item number or item weight.


 


Screenshot:





 


How to use?







Change parameters in Plugin Manager as needed.


 


Plugin has 2 modes - 'number' and 'weight' mode.


'number' mode limits 1 item to 1 slot.


'weight' mode limits items to slots depending to their weight, e.g. sword might be heavier than a feather so it'd take 5 slots instead of 1.


 


If using 'weight' mode, use the following tag on items to give them weight:


<Weight: [AMOUNT]>


Example:


<Weight: 100>


 


Equipment can also be made so it allows to carry more or less items with the following tag:


<InvLimitChange: [AMOUNT]>


Examples:


<InvLimitChange: 50>


<InvLimitChange: -10>


 


There's a couple of Plugin Commands to manipulate the limits:


InventoryLimit Add [AMOUNT] - permanently increases inventory limit


InventoryLimit Sub [AMOUNT] - permanently decreases inventory limit


InventoryLimit Ignore - ignores the limit while gaining items until next command is called


InventoryLimit StopIgnore - stops ignoring the inventory limit


 


And last but not least there's script calls to make conditional branches or variables easier to use:



$gameParty.getInventorySpaceLeft() - returns amount of space left


$gameParty.getInventorySpaceTotal() - returns total amount of space


$gameParty.getInventorySpaceUsed() - returns used amount of space









 


Plugin: <Link: Github>


How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.


 


Terms of Use:


Don't remove the header or claim that you wrote this plugin.


Credit Mr. Trivel if using this plugin in your project.


Free for commercial and non-commercial projects.
 
Last edited by a moderator:

CyndaBytes

Creator and Destroyer of Worlds
Veteran
Joined
Aug 3, 2015
Messages
89
Reaction score
41
First Language
Italian
Primarily Uses
I will try this. I hope it will compatible with Yanfly Plugins. Anyway good job! ;)
 

Pine Towers

Knight Hospitaller
Veteran
Joined
Nov 11, 2015
Messages
466
Reaction score
223
First Language
Portuguese
Primarily Uses
RMMV
Hello @Mr. Trivel, great plugin! I must ask on how do we assign the maximum weight allowed? It is by actor? There is a way to make a weight limit works as if each actor have a carry weight limit and the inventory is the sum of the all active actors, reducing the speed if overweight? (This would allow for weaker mages reducing the carry limit)


How does your plugin interacts with event-give items? If the baron gives a full-weighted party an armor, what happens? Is the item lost? If at the wilderness, is there a way to drop items to avoid being over weight with junk items farmed through grind?
 

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
460
First Language
Lithuanian
Primarily Uses
@Pine Towers,


Starting weight is defined in Plugin Parameters.


There's no weight for each actor, only a single party-wide variable.


For event given you can either use script call to check if there's enough space or you can use plugin commands to ignore the weight limit for that moment.


Dropping items will be with next version of the plugin, items can't be dropped as of now.
 

ImperiousRex

Veteran
Veteran
Joined
Sep 27, 2015
Messages
61
Reaction score
7
Primarily Uses
No matter what I enter in the limit mode or what value I put in the default limit it still uses only the default settings.


Managed to manually switch it using notepad++


Thanks for this plugin
 
Last edited by a moderator:

Soulnet

Veteran
Veteran
Joined
Mar 10, 2014
Messages
198
Reaction score
97
First Language
English
Primarily Uses
Any updates as well with the limiter not working when purchasing in shops? I.e. it takes your money but no goods are given (would prefer it just didn't let you buy at all).
 

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
649
Reaction score
243
First Language
English
Primarily Uses
RMMV
Any updates as well with the limiter not working when purchasing in shops? I.e. it takes your money but no goods are given (would prefer it just didn't let you buy at all).


Also when unequipping actors the items disappear unfortunately. 
 

CyndaBytes

Creator and Destroyer of Worlds
Veteran
Joined
Aug 3, 2015
Messages
89
Reaction score
41
First Language
Italian
Primarily Uses
Also when unequipping actors the items disappear unfortunately. 

Any updates as well with the limiter not working when purchasing in shops? I.e. it takes your money but no goods are given (would prefer it just didn't let you buy at all).
I have the same issues. :(

Dropping items will be with next version of the plugin, items can't be dropped as of now.
When? Because it's a wonderful plugin but it lacks too many things.
Unfortunately, at the moment, this plugin is not usable as it is.
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
Seems like a very useful plugin, @Mr. Trivel! Can't wait to use this in my game, it will make the limited inventory idea I had finally be simpler! Yanfly has one like this, but you can't apply one single inventory limit, instead an inventory limit for items, an inventory limit for weapons, and an inventory limit for armor, all separate of each other. Definitely going to look into more of your plugins! :)
 

Soulnet

Veteran
Veteran
Joined
Mar 10, 2014
Messages
198
Reaction score
97
First Language
English
Primarily Uses
Anyone have an alternative to this plugin? It seems a shame but the author has gone dark.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,159
Reaction score
7,807
First Language
English
Primarily Uses
RMMV
@Soulnet It would be best if you asked this question in its own topic in Plugin Requests.
 
Last edited by a moderator:

WesdrasLink

Veteran
Veteran
Joined
Jan 2, 2013
Messages
35
Reaction score
46
First Language
Portuguese
Primarily Uses
RMMV
Mr. Trivel, how can i make some itens stack taking only one slot in iventory?
Ex: I want to carry 5 potions, but will take only 1 slot in inventory instead 5 slots in inventory.

BTW: Sorry to hijack this topic, but i really need help.
 

sirius82

Villager
Member
Joined
Nov 28, 2017
Messages
7
Reaction score
0
First Language
italian
Primarily Uses
RMMV
this plugin don't work for me, some incompatibility here? i only use all yanfly plugin
i have the problem with optimize button
 
Last edited:
Joined
Oct 29, 2014
Messages
156
Reaction score
4
First Language
English
Can this plugin be used to give actors their own personal inventories, just like in the Dragon Quest games?
 

FiercestPixel

Veteran
Veteran
Joined
Jan 28, 2018
Messages
32
Reaction score
6
First Language
English
Primarily Uses
RMMV
Mr. Trivel, how can i make some itens stack taking only one slot in iventory?
Ex: I want to carry 5 potions, but will take only 1 slot in inventory instead 5 slots in inventory.

BTW: Sorry to hijack this topic, but i really need help.
I need to do the same thing for my game. Just made a conditional branch for each item given.

if party has [item] then:
Plugin Command : InventoryLimit Ignore
Change Items : [item +1]
Plugin Command : InventoryLimit StopIgnore

:Else
Change Items: [item +1]



By all accounts, it should work, if only the plugin commands worked properly.
 
Last edited:

Soulnet

Veteran
Veteran
Joined
Mar 10, 2014
Messages
198
Reaction score
97
First Language
English
Primarily Uses
I'm afraid mr trivel has long gone. I've tried his email and website and twitter but no reply. All his accounts show no activity for ages as well.

I wonder if the mods can lock this because the plugin has a lot of bugs as well.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

40 card deck size, the plugin seems more sluggish.
Village theme I composed for a commission!
Stream will be live shortly with some Haunting Ground! Feel free to drop by!
welp, the stock market went down by 7% because of corona today. Time to buy stocks?

Forum statistics

Threads
94,563
Messages
921,921
Members
124,429
Latest member
sheepman
Top