Main Menu
  • Welcome to The RPG Maker Resource Kit.

Help with cooking system [Resolved]

Started by APG, October 28, 2009, 09:08:46 AM

0 Members and 1 Guest are viewing this topic.

APG

in my game there is a cooking system(duh..).
Here's how it works.
you have 1 "butter" and 1 "bread"
you use the butter and a dialog comes up saying:

What do you want to make?
Buttered Bread
Buttered Toast

So if you select "buttered bread" it gives you one "buttered bread" (provide that you have the ingredients) while deleting 1 "bread" and 1 "butter".
This is all well, however, it takes  heck of a long time to make 10 "buttered bread" because you need to go to the "items" then select "BUTTER" then select "buttered bread".

So, does anyone know how I can change it to make a dialog saying:
How many?
1
2
5
10

while only giving you the selected amount of "buttered bread" if you have the right number of ingredients?

Thanks!
Baaaa

werdfgcvb

You could make it look somewhat like this.

<>show choice: buttered bread/buttered toast
[Buttered bread] case
Input 2 dg number Var. 182[buttered toast #]
Set Var. 183 [butter] Set butter Hold Num
Set Var. 184 [bread] Set bread Hold Num
  Fork condition: Var. 183 [butter] above Var. 182
    Fork condition: Var. 184 [bread] above Var. 182
    Add/Remove item: buttered bread-> Var. 182 Incr
    Add/Remove item: butter -> Var. 182 Decr
    Add/Remove item: bread -> Var. 182 Decr
    Else case:
    You dont have enough bread.
  Else case
  You don't have enough butter.
  End case.

Although i changed it from 1 2 5 or 10 you can just choose the amount you want to make once.

APG

Baaaa