Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Limit Inventory & Custom Inventory Menu

Started by Grafikal, November 22, 2008, 12:25:34 AM

0 Members and 1 Guest are viewing this topic.

Grafikal

Limit Inventory
November 21, 2008




Summary

Basically, I want the average inventory menu to be revamped and make it so that a player can only carry a limited stock. [There are banks in my game...]

Features Desired

  • Able to set a custom LIMIT to the player's inventory.
  • Clearly shows the number of empty inventory slots left in the upper right corner with the bitmap image.
  • Leaves an empty area visually specifying the empty slots left in your inventory.
  • The empty slots being able to be cursored over.
  • Able to have certain items be stackable.
  • Able to use a call script or similar in-game to change a player's inventory limit.
  • Armor, Weapons, Accessories, etc. all attribute to filling the inventory spaces unless equipped. If the inventory is full, the player cannot unequip anything until the player has an inventory slot open.
  • Able to discard items from your inventory (rendering it gone forever (or not if that's possible, like being able to re-pick up items you drop like in Baldur's Gate...))
  • A sub-window that appears if you pick up an item or are given an item and your inventory is full so that you are able to choose between dropping the newly acquired items or dropping items within your inventory to make space for the new items.
  • Additionally to the condition above this, have an option to make some items not discard-able (like quest items), however making it possible to turn this on and off (so that you can deposit them in banks and such.)
Mockups

I took the time to cleanly show exactly how I want it to look when it's finished.
Note that certain items are stackable like the 'Bomb' item in this window.




Games its been in

I don't know. Just whatever has a limited inventory I suppose.




Did you search?
Yes.

Where did you search?

  • Here
  • RRR
  • RPGMVX
  • Google

What did you search for?

  • Limit inventory
  • Small inventory
  • Limit stock

Grafikal


modern algebra

I like the idea. Unfortunately, I have my hands full with school and what time I have to script is taken up. I am sorry.

Grafikal


Grafikal


modern algebra

That's more of a bounce than a bump.

Anyway, a couple questions:

Are you supposed to be able to discard any item in the inventory?
If the inventory is full, and you get an item, do you want it to go to the inventory and allow you to choose what to throw away?

Grafikal

Why have I not even mentioned that ._. 

lol

Yeah. I had thought about that just the other day, like perhaps you have a full inventory and a quest giver happens to want to give you something, what do you do?

So, yes to both questions. Discarding items would be extremely helpful come to think of it, and if the inventory is full it would be AWESOME if you'd had the option to decide whether to toss that item or another within you inventory.

FruitBodyWash

This sounds like a worthwhile idea, and I wouldn't mind having that in my game (as I see you also have wood and ores, so do I!) So, since I would like to know the answer to this whenever anyone has a chance... Bump?


I'm just starting to learn new stuff.... been searching myself for clues on how to do other things I want in my game,

"Keep smiling, it makes people wonder what you're up to."

OK, so what's the speed of dark?
What happens if you get scared half to death twice?

Since there's a duck-billed platapus, is there just a plain platapus? If so... what does that look like?

mortigneous

I know this is a bit of a necropost, but this would be kinda nice to see...
Hmm.... rm2k isn't compatible with vista? Looks like I'll go to rmvx... Scripting?
Oh sweet, I get to add new stuff! OH DEAR GOD! *head explodes*
CLICKY!
MyMiniCity

Grafikal

np about the necro, as long as i'm active, my request still stands lol.

modern algebra

hmm, I think I will do this. At least it's worth trying. I'm very slow when it comes to making scenes though.

Grafikal

oh my balls. i love you ma. lol. i'm also just going to go ahead and modify my first post with slight modifications, mostly just adding the stuff that was written in posts below the first.

modern algebra

Alright, well here's what I have so far. The slots are big in the first one because I added a feature where the height of them would be between WLH (by default 24) and 32 depending on the maximum number of slots in the inventory. So, when there are 26 and above slots, it will only be 24 height and the window will start scrolling, but if there are only 16, they will be 32 height since it looked kind of silly when there was a lot of empty space.

Anyway, that's pretty much it for the graphical modifications. I will work on the scene functionality tomorrow (such as choosing to discard items or exchange with loot, etc... It autosorts by the way, is that OK?






Grafikal

Quote from: modern algebra on April 22, 2009, 11:33:22 PM
Alright, well here's what I have so far. The slots are big in the first one because I added a feature where the height of them would be between WLH (by default 24) and 32 depending on the maximum number of slots in the inventory. So, when there are 26 and above slots, it will only be 24 height and the window will start scrolling, but if there are only 16, they will be 32 height since it looked kind of silly when there was a lot of empty space.

That's an awesome modification. Thanks so much.

modern algebra

OK, done.

http://rmrk.net/index.php/topic,32918.0.html

I suspect there are probably bugs. If you find any, just post in the topic and I will try to fix them.

Grafikal

I LOVE YOU MA. Also, I'm soon going to post up a few things I've been working on for the XPer's out there :)