In Game Inventory

Hi all!
I need all the info and tutorials about creating\using the in game inventory. Are there any on the theme except the manual and KnightVil Entertainment youtube video? I would be so thankful!

Most important for me is how to:

- make the inventory visible in all the game chapters from the moment the inventory was shown to the player.
- add and make the item visible in the inventory.
- choose the item you want to use from the inventory.
- make the game check your inventory to suggest using this or that item.
- make the item disappear from the inventory when you use it (give as a gift to a character, throw away etc)
Here are a video tutorial I´ve found. I hope these can be of service?
Thank you! I watched this already, but unfortunately it is good only for begining. This tutorial helps to add the inventory in a game. And no other options with it. :headshake:
I thought there could be some other tutorials. It is very sad if not.
it is not too difficult but it takes a lot of work, i did some inventories using events in the rpg maker a long time ago. (i was even going to do a sample project for you with the inventory but well... i can't seen to add hot spots because the window is bigger than my screen...)

if i was going to do an inventory system in VN maker it would be like this:

You first need to create and image that you will use as the inventory screen with empty slots.
dgemucom1864t53helegendofzeldath2.png


then you have to create the items icons.

Now you have to plan how many slots and items you will have and make variables out of them, like this:

Slot 1, Slot 2, Slot 3.... the same with the items, for example: Item 1 (Sword), item 2 (Spear), Item 3 (Shield)...

So, if the variable Slot 1 Equals 0, the slot is empty, if it equals 1 it have the sword,

That is the easy part.

once you have it, you can ether do this as a Scene or a Common Event

so now how to actually show the inventory?

start with a show image map of the empty inventory image.
add as many hot spots for each slot you have and 1 for the button to close the inventory.

now you add some conditions:
IF number [Slot 1] equal to: 1 (it means there is an item in the slot.
now show a picture that represent the item over the slot 1.

Now if you want the inventory to be dynamic and move the items if you used a consumable one, then you have to create something like this too
IF number [Slot 1] equal to: 0
Set value [slot 1] equal to: Slot 2
Set value [slot 2] equal to: Slot 0

when you click the hot spot have it call a common event named "manage of all the slots", and also made it bind a value to a new variable called [Active Slot]

In Manage of all slots you will do as following:

create a condition for each item slot. like this:

IF number [Active Slot] equal to: 1 (it means that you are trying to use the item in the slot 1)
-Now add a condition and effect for each item
IF number [Slot 1] equal to: 0 (It means there means there is no item)
IF number [Slot 1] equal to: 1 (Then you apply of the effect of the item)
IF number [Slot 1] equal to: 2 (Then you apply of the effect of the item and so on...)


i hope it helps you, sorry if i'm confusing, i don't have a lot of time left!!!
Wow! :yhappy: Thank you so much for such detailed explanation! I will try it. That's very helpful indeed!
Thank you! I watched this already, but unfortunately it is good only for begining. This tutorial helps to add the inventory in a game. And no other options with it. :headshake:
I thought there could be some other tutorials. It is very sad if not.

Hmm, I could have sworn I had seen at least two more on youtube (having used one of them as the basis for my own inventory) but now I can´t find them. I am glad @Suiton00 was able to help, though!
I know that I'm very stupid :ysad: And it all seemed more or less clear when I read the tutorial but ... when I started to do it... Maybe someone can show me in VNM how to create at least one slot in the inventory? With all these variables and how must I specify that the item must go in the place I want it to be in. Sorry for my total stupidity but I need to see how it looks in the VNM. I would be so very thankful if someone will take time to show me.
I know that I'm very stupid :ysad: And it all seemed more or less clear when I read the tutorial but ... when I started to do it... Maybe someone can show me in VNM how to create at least one slot in the inventory? With all these variables and how must I specify that the item must go in the place I want it to be in. Sorry for my total stupidity but I need to see how it looks in the VNM. I would be so very thankful if someone will take time to show me.

it will try to make something when i have the time off from work! it may take a little while!
Oh, thanks a lot! I will wait.
it is not too difficult but it takes a lot of work, i did some inventories using events in the rpg maker a long time ago. (i was even going to do a sample project for you with the inventory but well... i can't seen to add hot spots because the window is bigger than my screen...)

Tools > Preferences > Application > Scene Editor and uncheck "Use original size preview"
Tools > Preferences > Application > Scene Editor and uncheck "Use original size preview"
thank you!!!!

Original thread: https://forums.rpgmakerweb.com/threads/in-game-inventory.93721/