So I want it to make it so that whenever you buy something, then it gets sent to the front desk instead of your inventory, and you have to pick it up there. Is this possible without a script, or no?
Ship Parts
RPG Maker VXAce SupportIf you want the actual shop scene to still be there, no.
But there is an event workaround in which you use "show choices" to buy things and store the item ID of the thing bought in variables, then give the player the item corresponding to the ID at the front desk.
But there is an event workaround in which you use "show choices" to buy things and store the item ID of the thing bought in variables, then give the player the item corresponding to the ID at the front desk.
So, any recommended scripts for this?
There is an Event way, but it includes much Work. And there is an Script equivalentway which works same but makes nearly no work (sorry not very familiar with those and specialy not in MV so here is the standard editor way).
Here is the Solution for Buy only Shops maybe both also works(Not Tested):
You need 1Variable which u can reuse and 2Variables for each Item the Store keeper offers.
Eventpage pseudo Code:
Control Variable1 set to Item Amount of Potion in inventory
Open shop scene
after shop scene
Control Variable2 set to Item Amount of Potion in inventory
Control Variable2 substract Variable1
Conditional Branch Variable2 more than 0 (That means you bought some Items)
If yes: Control Variable3 add Variable2 (Which contains the amount of items you will get)
Change Items by Variable2 (This removes the bought items before the player will ever notice that they were in the inventory
end
Make the counter event
do some conditional branches in it and the item change command.
I hope this helps to get into the correct direction.
Here is the Solution for Buy only Shops maybe both also works(Not Tested):
You need 1Variable which u can reuse and 2Variables for each Item the Store keeper offers.
Eventpage pseudo Code:
Control Variable1 set to Item Amount of Potion in inventory
Open shop scene
after shop scene
Control Variable2 set to Item Amount of Potion in inventory
Control Variable2 substract Variable1
Conditional Branch Variable2 more than 0 (That means you bought some Items)
If yes: Control Variable3 add Variable2 (Which contains the amount of items you will get)
Change Items by Variable2 (This removes the bought items before the player will ever notice that they were in the inventory
end
Make the counter event
do some conditional branches in it and the item change command.
I hope this helps to get into the correct direction.
Cool good to know, but I don't believe that I will be using this.
Original thread: https://forums.rpgmakerweb.com/threads/ship-parts.62194/