Items in inventory at game start

Hello everybody!

I started to make a game with VX Ace and until now, everything works fine (I'm a beginner, though  🙂 ).

I made some maps and characters. But my problem is, that my game starts in a scene from the end of the game - like you're playing the last scene of the story first (but you won't see the end there, only like the first two rooms of the "end") and I want that the character has some items in the inventory.

Example:

My character is at level 70 and has some money at this point. But I also wanted to give her items, which are in her inventory at the start of the game. So that you have like:

Main Character

3700 Gold

12 potions

1 mysterious letter

3 books

...and so on...

At the database, I edited the items I need for that. And when the prologue or the first level ends, you will start the game then regularly without items and so on. I planned to make a new character for this, but this is another story. 🙂

I hope you can help me.

Have a nice day, wherever you are! 😉

Lethe
The easy way to do this is have an event set to autorun when the player enters that map for the first time, then have the event give the player the items they need. Then, turn off the autorun event (a self switch would do that nicely), and now you have your inventory!
To get any items into the player inventory, you use the event command that change the number of items in inventory (top right first page).


If you want them there at the beginning of the game, you make an autorun on the first map with those commands and switch off the autorun.


If you have problems with eventing, I suggest you go through the tutorials again, especially the variables guide. You can find the links if you follow the link in my signature.
Thank you so much! Everything works now. I had issues with this switches and ending an event - but now everything works fine. I added my items, made an auto switch and ended the event again. You are amazing! Have a nice evening. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/items-in-inventory-at-game-start.36304/