Gw Temp

Menu

Tutorial - 'Cooking' by Newbi3

An item about RPGMaker 2000 posted on

Blurb

A newbie-friendly tutorial that shows how you can make a simple cooking system where you "cook" food to make them better.

Body

Okay, to start off, this is my first tutorial. I am gonna go through it step-by-step. Too bad I don't have any screenshots or anything. Lol!

Let's say you kill a cow, it drops meat, and you wanna cook it. First off, make 3 items. 1) Cooked Meat 2) Raw Meat 3) Burnt Meat

KNOWLEDGE NEEDED:

1.Fork Conditions
2.Variables

Make the cooked meat heal 10, the raw heal 5 and the burnt heal only 1.

Make an enemy, pig or cow, whatever. and 80% drops the Raw Meat Item. Now make a common event under the COMMON EVENTS tab called Cooked meat. Make it CALL under start condition.

Now here's the tricky part if you're Newbie's.

I can't explain from here. So I will just put it into code.

<>FORK Optn:Raw Meat Item Got
<>Variable Ch: [V[0021]] Set Randm[1*2]
<>FORK Optn:Varbl[0021:Cook]-1
<>Add/Remove Item:Raw Meat->1-Decr.
<>Add/Remove Item:Cooked Meat->1-Incr.
<>Messg: You've successfully cooked the raw meat!
<>
<>:END Case
<>
<>:ELSE Case
<>FORK Optn:Varbl[0021:Cook]-2
<>Add/Remove Item:Raw Meat->1-Decr.
<>Add/Remove Item:Burnt Meat->1-Incr.
<>Messg: OOPs! You've burnt the meat!
<>
<>:ELSE Case
<>FORK Optn:Raw Meat Item Not Got
<>Messg: You have no meat to cook!
<>Note: This makes it where if you don't have raw meat in your inventory, a burnt or cooked meat won't appear from
nowhere!
<>
<>:END Case
<>
<>:END Case
<>
<>:END Case

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Now make a map and make an event. Make the graphic of a stove or furnace or whatever, and call the event we just made! That's all there is to it!

Please let me know if any mistakes are found!