Limited Inventory

● ARCHIVED · READ-ONLY
Started by Mr. Trivel 18 posts View original ↗
  1. 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.
  2. I will try this. I hope it will compatible with Yanfly Plugins. Anyway good job! ;)
  3. 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?
  4. @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.
  5. 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
  6. 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).
  7. Soulnet said:
    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. 
  8. Silenity said:
    Also when unequipping actors the items disappear unfortunately. 


    Soulnet said:
    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. :(

    Mr. Trivel said:
    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.
  9. 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! :)
  10. Anyone have an alternative to this plugin? It seems a shame but the author has gone dark.
  11. @Soulnet It would be best if you asked this question in its own topic in Plugin Requests.
  12. Ok!
  13. 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.
  14. this plugin don't work for me, some incompatibility here? i only use all yanfly plugin
    i have the problem with optimize button
  15. Can this plugin be used to give actors their own personal inventories, just like in the Dragon Quest games?
  16. Emperor DragonBreath said:
    Can this plugin be used to give actors their own personal inventories, just like in the Dragon Quest games?

    No
  17. WesdrasLink said:
    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.
  18. 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.