Weight System

I'm trying to add a weight system (like in the fallout series) to my game, and have everything set up except for one issue: how do I detect when the player's inventory is too full? Can I do this normally or do I need a script? Any help will be appreciated!

Edit: Also can I change the item limit depending on the value of a variable?
Everything is possible - but it depends on how you handle things.
How do you create your weight? Without knowing that we can't tell you how to check it.

If it is created by events then any event that changes it should also test for limits.
Edit: Also can I change the item limit depending on the value of a variable?

It depends, you can use a script which adds item limits. Such as Yanfly's adjust limits: https://yanflychannel.wordpress.com/rmvxa/core-scripts/adjust-limits/

This would be the easiest way, if for whatever reason you don't want to use it. There's a rough and messy way to do it with variables and that would be to check every time they get an item, add that item to a variable then check if the amount of the item they have exceeds the limit you want. This however is a long winded and messy way, but it gets the job done.

upload_2019-2-22_13-12-16.png
Theo also has a limited inventory system with item weights: https://forums.rpgmakerweb.com/index.php?threads/theo-limited-inventory.17101/
Oh yeah I found a script that does exactly what I want and forgot to close this post.
Closing it now. Thanks for the help, everyone!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/weight-system.105229/