Are there any Limited Inventory scripts?

Something which lets you only carry a certain number of items. I was going to use this script from Tsukihime to get each item to take up a slot: http://himeworks.com/2014/01/instance-items/

But I don't have any way to make it so that there are only a limited number of slots...

What I need;

1. A script which lets me determine how many items one can carry.

2. A way to throw away unwanted items.

3. Some way for the game to let the player know that they cannot carry any more items.
Theo has a limited inventory script.  I don't have a link, but a search should bring it up.
Well that's really awesome but um...

feJTzTb.jpg


It's not actually limiting the inventory...
Hmm, maybe a configuration error?  I haven't used this script myself, so I don't know its quirks, but reading the heading there should be no reason why you can't set the max number of a particular item to what you want.
My limited inventory is not compatible with instance item at the moment
My limited inventory is not compatible with instance item at the moment
Oh. Well... darn...

I don't suppose it would be possible to request compatibility? Or your own script that does the same thing?
Unfortunatelly, I won't do compatibility at the moment. However, feel free to ask people to do it. You got my permission
Check if this script is compatible with your project.


All inventory related scripts I will be writing will require that


http://himeworks.com/2013/07/core-inventory/


Patches for instance items are available on the page.


Otherwise, I can probably just write a patch for theo's script, but you'll have to send me the script.
Well, even with that patch, it seems that I can't get these scripts to work together. Thanks for the effort though. I guess I'll just use the Limited Inventory script by itself without having the items instanced.
The patch has nothing to do with theo's script. It's just to get my custom inventory script to work, which I would then add additional features such as limited inventory or other things.
What I need;

1. A script which lets me determine how many items one can carry.

$party_max_items = 50

2. A way to throw away unwanted items.

Modify the main inventory scene to support throwing away the items typed in that custom script, which may or may not be even obtainable in a simple way.

class UseDiscardWindow > Window_Selectable

#todo stuff

end

3. Some way for the game to let the player know that they cannot carry any more items.

def inventory_full?

  if $party_max_items > custom_script_method_for_counting

    return false

  end

  return true

end

Then use this in a script call for a conditional branch, and create a common event to display it.  Make sure to not destroy the event, or else you'll never be able to get the item.

Original thread: https://forums.rpgmakerweb.com/threads/are-there-any-limited-inventory-scripts.34779/