Ship Parts

DogeWorm

That Insomniac
Veteran
Joined
Apr 30, 2016
Messages
68
Reaction score
3
First Language
English
Primarily Uses
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?
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
If 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.
 

DogeWorm

That Insomniac
Veteran
Joined
Apr 30, 2016
Messages
68
Reaction score
3
First Language
English
Primarily Uses
So, any recommended scripts for this?
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

DogeWorm

That Insomniac
Veteran
Joined
Apr 30, 2016
Messages
68
Reaction score
3
First Language
English
Primarily Uses
Cool good to know, but I don't believe that I will be using this.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top