Home > Tutorials > RPG Maker VX > Gardening System
Gardening System 
Please see my Watering System Tutorial
First off make 4 items
1. Shovel
2. Apple Seeds ( You can make more of them for a specific plant )
3. Mulch
4. Apple ( Or the product of the plant )
Make a event, graphic blank or something to indicate that it is a gardening spot.
Would you like to plant something?
-Yes
-- Conditional Branch, Shovel in Inventory
-- You dig a hole.
--- Conditional Branch, Apple Seeds in Inventory
--- You plant the seeds
--- Switch AppleSeedPlanted On
--- Else
--- You need seeds to plant.
-- Else
-- You need a shovel for a hole.
- No
- Okay.
Make a new tab, with switch AppleSeedPlanted On, and add a little patch of ground like if someone actual dug a hole and re packed it.
Would you like to give mulch to this plant?
- Yes
-- Conditional Branch, Mulch in Inventory
-- You rubbed mulch on the plant
-- Create Variable Mulch = 0
-- Delete Mulch from Inventory
-- Else
-- You need mulch.
- No
- Okay
For Watering System look at my tutorial
Add this line to it.
- Create Variable Watered Set = 0
At End
- Set Variable Watered to 1
Now add
-Conditional Branch, Variable Mulch = 1
-- Conditional Branch, Variable Watered = 1
--- Wait 60 Frames
--- Switch HarvestReady On
--- Switch AppleSeedPlanted off
-- Else
-- Wait 100 Frames
-- Switch HarvestReady On
-- Switch AppleSeedPlanted off
- Else
- Wait 120 Frames
- Switch HarvestReady On
- Switch AppleSeedPlanted off
Create a new tab, with the Graphic a full plant or a significant tree.
Would you like to harvest this plant?
- Yes
-- You pick ( Name of Fruit ) from the plant.
-- Insert Apple in Inventory
-- Switch HarvestReady Off
-- Switch AppleSeedPlanted On
- No
- Okay.
|
|
Details
|
|
Tutorial:
|
Gardening System |
|
Date Listed:
|
Sat, 12 Dec 2009 20:14:24 -0500 |
|
Author:
|
JJDOMER45
|
|
Total Hits:
|
4090 |
|
|