RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Theo - Limited Inventory

0 Members and 2 Guests are viewing this topic.

**
Rep:
Level 68
RMIDans ~
Limited Inventory
Version: 1.3
Author: TheoAllen
Date: August 18, 2013

Version History


  • <Version 1.3> 2014.02.25 - Add ability to change inventory limit using script call an formula
  • <Version 1.2> 2013.09.12 - Now unable to discard key items
  • <Version 1.1> 2013.08.22 - Bugfix. Item size notetag isn't working
                                       - Bugfix when gained item.
                                       - Bugfix when disable display item size in shop menu
  • <Version 1.0> 2013.08.18 - Original Release

Planned Future Features

  • Item drop loots selection

Description


This script allow you to limit your inventory by overall possesed items instead of individual items

Features

  • Limit inventory by overall possesed item
  • Each item may have their own size / weight
  • You may increase or decrease inventory limit using states or equipment
  • Ability to discard item in item menu
  • Define your own formula to determine inventory limit
  • The rest of features is written in script

Screenshots




Instructions

Put this script below material but above main
If you're using YEA - Shop Option, put it below that script
Edit configurations and the notetags as described inside the script

Script

The script is too long. Grab it here

Credit


  • TheoAllen

Thanks

  • All of my fellow Indonesian RPG Maker users who request this script
  • The Elder Scroll : Skyrim for inspiration
  • Shian, for give me an inspiration to make limit formula

Support


Post your question(s) here. Or post to my blog

Known Compatibility Issues

It should be compatible with any item related script. Such as my weapon upgrade script. But I don't know about menu related script

Demo


The script is plug n play. No demo needed

Author's Notes


This is the rewrite version of my item slot script. One of my very first script which has terrible workflows and compatibility. I decided to unsupport that script due of my lack of RGSS3 skill back then. I used internaly for my game until there're many requests from my fellow RM user in my community.

Terms of Use


Credit me, TheoAllen. You are free to edit this script by your own. As long as you don't claim it yours. For commercial purpose, don't forget to give me a free copy of the game.
« Last Edit: February 28, 2014, 11:02:44 AM by TheoAllen »
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

**
Rep: +0/-0Level 51
RMRK Junior
Absolutely an amazing script! I have a question though. How would I go about make the all my "key items" not count as part of the item size?

So for instance, I can hold 0/64 items in my inventory and have "Unlimited" amount of Key Items in my Key Items category that would not count towards the original item inventory count at all.

**
Rep:
Level 68
RMIDans ~
Absolutely an amazing script! I have a question though. How would I go about make the all my "key items" not count as part of the item size?

So for instance, I can hold 0/64 items in my inventory and have "Unlimited" amount of Key Items in my Key Items category that would not count towards the original item inventory count at all.
Just set its size to 0 and it will not count as part of item size
Well, they not literally unlimited. But they have a large number for their limit instead. Let's say 999999
Who is going to have that number of item anyway?

Aaanndd....
Script updated! I just found there're some issues in my script
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

**
Rep: +0/-0Level 51
RMRK Junior
Thanks for the update. Quick question, Anyway to disable "Key items" from being discarded?

**
Rep:
Level 68
RMIDans ~
Thanks for the update. Quick question, Anyway to disable "Key items" from being discarded?
Ohhh, I didn't think of it.
I'll update later. Thanks for mentioning an important feature XD
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

**
Rep: +0/-0Level 51
RMRK Junior
Any new updates? :)

**
Rep:
Level 68
RMIDans ~
Script updated!
Sorry for being late. My college life is just began
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

*
Rep:
Level 72
~Few people understand the beauty of the night~
2014 Best Topic
Damn, I saw this, got excited, then read that it's a VX Ace script =p

Do you know of a comparable XP script for it?
Download http://a.tumblr.com/tumblr_lm5v281q6E1qde50fo1.mp3

**
Rep:
Level 68
RMIDans ~
I don't know well about RGSS / RMXP script. Both its script structures and published scripts. Since I have abandoned RMXP since long time ago.
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

**
Rep: +0/-0Level 51
RMRK Junior
Finally got to adding in your updated version. Works like a charm! Everything seems to be working fine and the "key items" are not discardable :)

*
Rep: +0/-0Level 39
RMRK Junior
How can I change the inventory max with a script call? like having an extended inventory???

*
Rep:
Level 52
RMRK Junior
As of the way it is set up now, that is not an option.

This note tag is the only option. Btw this is ripped straight from the script.
Code: [Select]
  <inv plus: n>
  Use this notetag to determine the additional avalaible free inventory slot.
  This notetag avalaible for Actor, Class, Equip, and States. If it's for
  actor, avalaible inventory slot will increase when a new actor entered party.
  If it's for equip, the avalaible slot will be increase if the certain equip
  is equipped. And so do states
Spoiler for "More About Vindaca":

Spoiler for "General Prices":
You can also build packages containing multiple resources. (Package prices are not included.)


Music

Basic Songs = $20 - $50 USD
Advanced Songs = $100+


Graphics
32 x 32, 4 Directional Sprite = $7 USD each / $50 USD per sheet
64 x 32, 4 Directional Sprite = $10 USD each / $60 USD per sheet
Backgrounds = $10 - $40 USD
Tilesets = $5 each / $20 - $50 USD per group
(depending on types of tilesets)
Iconset = $5 each / $35 - $80 if buying more then 10
(depending on quantity)
Windowskins = $7 each


Animations
Titles = $20+ USD (Depending on complexity)
Backgrounds= $20+ USD (Depending on complexity)
Regular Evented Scenes = $40+ USD each (Depending on complexity)
Parallax Scenes = $60+ USD each (Depending on complexity)
CG  = $300+ USD (Depending on complexity)
Maps

Basic Map Design = $7 USD each
Advanced Map Design = $10+ USD (Depending on complexity)
Scripts

Basic Custom Menu Script = $60 - $100 USD
More Advanced Menu Script = $120 - $300 USD (Animated, ext.)
Mini-games = $100 - $300 USD (Depending on complexity)
I am willing to build a custom card game if specifications are given Commissioned out E.T.A. 3 - 6 months
Battle Systems = $100 - $300 USD (Depending on complexity) Commissioned out E.T.A. 3 - 6 months
Others Scripts = $80 - $300 USD (Depending on complexity)

We are also willing to build games for you with as little or as much direction as you want. (Prices vary depending on complexity of game)
If you want to use your resources in multiple titles there is an additional charge of half the cost of the resource. (Prices vary depending on packages)
I require half of the total cost of any projects up front and the other half before completion.
If a project is finished and not picked up within 1 month of notification,
your resources will be resold and no money will be refunded.


**
Rep:
Level 68
RMIDans ~
There's no such a script call like that,... at least, for now
But you may use a states to do such a thing.
Let's say, you have a state named 'inventory+10'
It will add more 10 free slot if you add <inv plus: 10> in notebox
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

**
Rep:
Level 68
RMIDans ~
Bump! updated for new version 1.3
I have added option to change inventory limit using script call during the game
And now you can also define you own formula to determine inventory limit
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :

*
Rep: +0/-0Level 76
RMRK Junior
well, I suffer from horrible things when I use events so the player can "find" stuff on floor, the event actually disapears as spected, but if the inventory is already full, the item that was suposed to get from the event disapears too, because cant have it in the inventory, same when getting stuff out from the "vault" with the inventory secure script

is there a way to solve this?
« Last Edit: June 29, 2014, 09:29:13 AM by AdorianSAK »

**
Rep:
Level 68
RMIDans ~
well, I suffer from horrible things when I use events so the player can "find" stuff on floor, the event actually disapears as spected, but if the inventory is already full, the item that was suposed to get from the event disapears too, because cant have it in the inventory, same when getting stuff out from the "vault" with the inventory secure script

is there a way to solve this?
Sorry for late reply. Before you make a "change item" event, make a conditional branch --> script call
Code: [Select]
$game_party.free_slot > 1
It will return true if there is any avalaible slot. One at the minimum.
Then make "change item" event
My scripts collection :
http://theolized.blogspot.com/
Sorry if I made it in Indonesian

Supporter of :


Make your own party composition based on 20 playable characters :