Jump to content

Recommended Posts


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:

invlimit.png

 

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.

  • Like 1

Share this post


Link to post
Share on other sites

Great! Will a message pop up if you try to pick up an item when you have a full inventory?

Share this post


Link to post
Share on other sites

@RainingJelly,

Right now it doesn't check for items obtained through battle.

As for items obtained from events, you can check for space using conditional branch.

 

I'll add item dropping with next update and choosing which items to keep when having full inventory.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted