If I were to make an evented crop system, I would set it up so a single event at map entrance traverses an array that holds the ID of each event that is a crop, and sets its state there. It would continue on as a parallel process to make changes to all the crops (to grow or wilt, etc).
each crop event would simply be a common event call (same common event that processes all crops) which checks the array to see what type of crop it is and what stage of growth/death its on, and change it depending on how you interact with it (water it, cut it, etc)
so how I would set up the arrays would be something like this:
variable 1: array of crop types.
variable 2: array of state of the crop
variable 3: array to see if something needs to be changed on the crop
The location in the above three arrays corresponds to the event ID that is a crop
The value in the location corresponds to the type of crop.
example:
values for var 1:
0 - no crop, barren land
1 - potato
2 - carrot
3 - strawberry
... etc
values for var 2:
0 - no crop, barren land
1 - just planted, unwatered
2 - just planted, watered
3 - sapling, unwatered
4 - sapling, watered
......
9 - ready to harvest, unwatered
10 - ready to harvest, unwatered
11 - ruined, unwatered
etc
values for var 3:
0 - no changes needed
1 - needs to be changed
At the start of the game, every valid crop for that map would be set to 0 to show no crop, or if you want a pre-made farm, then you can always set it to such with the values of the array.
This is assuming there's only one map to farm. If you want you can use another two variables for each map you can farm in, or you can always make each variable a 2D array so you can use only two variables for the whole game. For the sake of simplicity let's pretend it's only on one map.
Note: I haven't used MV enough and don't quite remember how to write Javascript, so all script calls I'm doing will be in Ruby and are for VX Ace.
For example, if the crop events on the map are events 10 through 20, and there are currently no planted crops, you would initialize it like such.
(assuming var 1 and var 2 for the above)
$game_variables[1] = [,,,,,,,,,,0,0,0,0,0,0,0,0,0,0]
$game_variables[2] = [ ]
$game_variables[3] = [,,,,,,,,,,1,1,1,1,1,1,1,1,1,1]
the commas are to skip the first 10. (the first entry starts at 0, and since no event uses the ID of 0, we skip it) You can always do a for loop instead like:
for i = 10..20
$game_variables[1][ i ] = 0
$game_variables[3][ i ] = 1
end
$game_variables[2] = [ ]
we simply initialize variable 2 to an array since there's no need to check the state of the crop if it's not even planted.
Once it's initialized, we call Common Event 1, which changes the crops depending what is there and what's been done.
We call it within a loop, and use a fourth variable $game_variables[4] to loop through the valid events to check like so:
$game_variables[4] == 10 (first event that is a crop)
loop
call common event 1
if $game_variables[4] >= 20 (last event that is a crop)
break loop
else
$game_variables[4] += 1
end (end if)
end loop
After the first time it's initialized, this single event only calls the above loop when the player enters, to change all of the crops instantly.
Common Event 1 (changes the event based on var 4)
if $game_variables[3][$game_variables[4]] == 1
use your conditionals to check what $game_variables[1][$game_variables[4]] and $game_variables[2][$game_variables[4]] have so you can change the graphic, etc.
$game_variables[1][$game_variables[4]] this holds the type of plant is there
$game_variables[1][$game_variables[4]] this holds the status of that plant.
Once all of that's done, make sure to set $game_variables[3][$game_variables[4]] to 0 so it knows not to change the crop later.
a more advanced way of doing this would be to utilize script call equivalents of changing a graphic, etc and using the above numbers for the type of graphic.
else
do nothing
end
Anyway, when you interact with the crop it would call common event 2. First it would check what is there.
Common Event 2 (triggered when you interact with a plot of land)
if $game_variables[1][self.id] < 0
plant a crop?
--------------------------
if you plant a crop, and you choose strawberry, then it does this:
$game_variables[1][self.id] = 3
$game_variables[2][self.id] = 1
$game_variables[3] = 1 (so that common event 1 knows something needs to be changed)
$game_variables[4] = self.id (to make sure common event 2 changes only this event)
trigger common event 1
--------------------------
else (there's already crop here)
water crop? or harvest crop? or destroy crop?
--------------------------
Do something similar to the above, changing variables then triggering common event 1.
--------------------------
end
Now if you ever need to change any of the crops for any reason, (maybe a bunch of rabbits raided your camp and ate all the carrots) all you would do is change the values inside the arrays of var 1 and 2, and then set the corresponding value in var 3 to (1) to tell the single parallel process (that calls common event 1) that something needs to be changed for each of those crops.
Granted I did all this while procrastinating on my project and I haven't put any of it into use, so it's just a basic blueprint of how I would have done it.