public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Limited Inventory
  • Original author: Mr. Trivel
  • Original date: April 4, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/limited-inventory.59965/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

Author: Mr. Trivel Name: Limited Inventory Version: 1.0 Created: 2016-04-04

Archived First Post

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:


[IMG]https://mrtrivelrpg.files.wordpress.com/2016/04/invlimit.png[/IMG]


 


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: Protected download


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.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

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.

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar