I am making a cooking skill that is more simple to use than just having a bunch of choices and going through each choice until you see the type of meat you have like some shopping list.
I want to have meat in your inventory that is not allowed to be used period. Occasion it says never. Then you click on the stove and I want that event to unlock and change the occasion from never to only from menu, then automatically open the menu screen. Once thats opened the player can click on the type of meat he wants to cook then the event will open up to cook it. In a nutshell I want the cooking process to be like runescape where you click on the meat to cook it not choose a list and find the meat you want to cook. I want to hide the event inside the item itself then unlock once you open the stove event. Then reclose the item event once you're finished with the stove event.
The database is read-only for the game, which means that you cannot change that setting ingame.
Theoretically you can request a script that copies and changes database parts, but I would suggest a different approach:
If you want to stay pure eventing, make the items into key items and use the select key item command to allow the player to choose what to put into the cooking.
If you have no problems with using script, go for one of the existing crafting scripts - they have more options for all kinds of crafting (including cooking) and you won't have the problems of database scripting.
Let me start by saying I'm still a total noob with all this... I've been playing around with RPG Maker VX Ace for 900 hours now (according to Steam) and I haven't finished my first game yet lol.
That being said, I'm 99% certain that you can do exactly what you described, because it sounds almost exactly like the system I'm using. In my game, the player has summoning scrolls, which are items set to occasion: Never. When the player approaches and clicks on a summoning circle (a local event, much like your stove idea) it runs the following:
Script: $data_items[1].occasion = 2
Wait: 1 frame(s)
Script: SceneManager.call(Scene_Item)
Wait: 1 frame(s)
Script: $data_items[1].occasion = 3
I honestly can't remember where I got this method... I spend a lot of time creeping on these message boards, so it was probably from here lol. To the best of my recollection, there are no scripts needed to make this work, just basic eventing. It was quite a long time ago that I set up my system, so I can't say for certain what occasion 2 means... probably use from menu, but I'm not sure. occasion 3 is almost certainly "never" because the items go back to being unusable after the select an item or exit the menu without selecting an item.
Also, I didn't want to clutter up the above example, but you can obviously do this for as many items as you want, all at once. Mine changes the occasion for items 1 through 25... I listed each one individually, but you might be able to get away with something like "Script: $data_items[1...25].occasion = 2" which would just make the whole thing look cleaner. 🙂 Forget that last part... I just tried it, and it didn't work. But changing the occasion of each item individually isn't too much work anyways.
I'll bookmark this thread and try to remember to check back, but let me know if this works, and/or if I can help further.
The 'Never' applies to the player - the player can never use it. That doesn't mean to say that the game cannot.
e.g. you could have your stove event check if Moose meat is in the inventory. If yes, it does the cooking and uses the 'change Item' command to remove one moose meat from the player. If no, it says "you need moose meat for this recipe".
Never having played Runescape I have no idea how the cooking part works, but triggering it with an item that is not usable by the player is straightforward.