The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Grafikal on November 22, 2008, 12:25:34 AM

Title: [RESOLVED] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on November 22, 2008, 12:25:34 AM
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
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.

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F2vvnh9f.jpg&hash=323737472c634211c5bff61af73c13735597da46)


Games its been in

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



Did you search?
Yes.

Where did you search?

What did you search for?
Title: Re: [REQUEST] Limit Inventory $ Custom Inventory Menu
Post by: Grafikal on November 23, 2008, 07:47:03 AM
Bump.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: modern algebra on November 23, 2008, 04:24:53 PM
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.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on November 23, 2008, 08:00:34 PM
No problem, I completely understand.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on December 02, 2008, 11:49:11 PM
 :range:
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: modern algebra on December 07, 2008, 01:42:27 AM
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?
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on December 07, 2008, 02:02:57 AM
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.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: FruitBodyWash on January 08, 2009, 10:49:18 PM
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,
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: mortigneous on April 15, 2009, 09:01:06 PM
I know this is a bit of a necropost, but this would be kinda nice to see...
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on April 15, 2009, 10:57:13 PM
np about the necro, as long as i'm active, my request still stands lol.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: modern algebra on April 22, 2009, 06:27:48 PM
hmm, I think I will do this. At least it's worth trying. I'm very slow when it comes to making scenes though.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on April 22, 2009, 10:06:18 PM
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.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: 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.

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?

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F8382%2Fliminvscreen.png&hash=b9a7c565862c81655f6bf34f612be39309a0af51) (http://img19.imageshack.us/my.php?image=liminvscreen.png)

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg17.imageshack.us%2Fimg17%2F6115%2Fliminvscreen2.png&hash=88f4cf10c1ed957fe1baefdd23662a54c728dc8d) (http://img17.imageshack.us/my.php?image=liminvscreen2.png)

Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on April 22, 2009, 11:45:44 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.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: modern algebra on April 27, 2009, 10:17:06 PM
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.
Title: Re: [REQUEST] Limit Inventory & Custom Inventory Menu
Post by: Grafikal on April 27, 2009, 10:49:14 PM
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 :)