MV Simple Crops

FEATURES
This plugin allows the player to plant and grow crops in designated plots by selecting seeds from their inventory. It’s labelled as simple crops because the gameplay is simple, not because it’s simple to set up. You’ll need to use eventing and database item knowledge to control how it works.
When paired with my MV Tools plugin, you can set up tools to control planting/watering and other manipulation of the crops (also with eventing).

VERSION 1.4 – RPG Maker MV
Download Plugin file
Download Demo

46 thoughts on “MV Simple Crops

  1. Mike says:

    Cant wait to give it a try!!

  2. Mike says:

    Galv, can you implement drying of the watered plots? They should be dried on the next day so you can water them again. Also they grow even if I don’t water them, is this okay?

    • Galv says:

      Yes, they grow when you don’t water them. Watering them takes time off of how long they take to grow (see plugin settings you can set that).

      You can also set how long they remain watered before drying in the plugin settings

  3. Galv says:

    They dry after a period of time or days currently. Do you want to make some kind of hair dryer tool to use to dry crops?

    • Mike says:

      Haha, would be fun I think :) But no…
      Thanks, don’t know why I didn’t noticed that about time period. But it’s kinda weird that they still wet when I switch to day variable mode.

  4. Galv says:

    Updated to version 1.1. Added the ability to change crop priority (under/same as player) during stages of growth

  5. Andrew says:

    Galv_SimpleCrops Error when ever i save, then load my game.

    TypeError: undefined is not a function
    at Scene_Map.setupCropEvents
    at Scene_Map.start
    at Function.SceneManager.updateScene
    at Function.SceneManager.updateMain
    at Function.SceneManager.update

  6. bingbing says:

    Good material thank you. However, if you add a plugin and load an existing save file, an error will occur.

  7. ShellFLare says:

    Hi, I’m having some issues with this plugin. using the latest version, and what I try to do is plant a crop, save, but then if I load that save with a crop, it will give me an undefined error.

    I tried the demo and you can save/load there, I disabled all my other plugins but nothing.

  8. Zen says:

    Hi Galv… I’ve read the plugin help and reviewed your demo. But it’s not clear to me how to specify the amount of time that a crop needs to grow in seconds. All references I see are in days (varDays). I don’t want players to wait for realtime days to harvest crops….

    • Galv says:

      Real days isn’t mentioned anywhere – it’s not a thing in the plugin.

      I think I missed documenting something, though. The first map in the demo uses in-game time crops. View the events (including the autonomous custom move route) for that setup. The second map uses a method based on changing a variable to control days passing.

      I will update the demo with missing documentation and better examples when I can.

  9. Luis says:

    Hi Galv. I love your plugin.
    Sorry, i cant speak english.
    I would like to know how to make more than one fruit each crop.

  10. If I have an event that has it’s own image, that overlays the crop image called by the script. Is there a way I can make the script crop image replace the event’s normal image? Hope I’m making sense. Thanks.

  11. Galv says:

    I updated Simple Crops to version 1.2 now – it has a new plugin option you will need to set to true and it should fix the priority of the front/below event issue for when a crop event is in front only

  12. zerphoon says:

    Hey Galv I love the simple crops but im having trouble, I’m using OrangeTimeSystem and I wanted to have crops grow by the in game day but I cant seem to get them to grow by the in game days variable, would you have an idea on how I could fix this?

    • Galv says:

      The demo has an example on how to use variables for the crops on the second map you teleport to via the orb.

      If you are on the same map when the variable changes you’ll need to use a script call to manually update the crops to tell them the variable changed (also in the demo).

      • zerphoon says:

        Still not having any luck getting it to work, I have my player in their room and when they go to bed the next day comes and the crops show progress but its not changed?
        The carrots and grapes grow the same amount of time which is 10 days, but i put in the seeds note tag for the carrots and for the grapes and I thought originally that the crops might not be updating properly so I have a toggling event on the map that calls to update all crops on the map

      • zerphoon says:

        Sorry but for the carrots on the arrow brackets i put growTime 4 and for the grapes growTime 8

        I would add the < marks but they dont load in the comments

  13. Jorge Waggoner says:

    Galv, would it be possible to write a Havest amount variable into this script?

    Say, have the script just look at one particular variable and give that number of the assigned plant? That way people could set how the variable acts using their own systems but just have it give the number that variable has at the time of harvest?

    And maybe just have it so you can set it in the script call or something like you have with the time by in game variables rather than seconds?

    • Galv says:

      I don’t know what you mean, sorry – but the plugin is what it is as I don’t have time to update it for different stuff I’m afraid.

      • Jorge Waggoner says:

        I’m trying to edit the script by setting a new variable in place of the 1 in the harvest section, I’m trying to set it to a variable in the game so that it gives you the amount of crops harvest that the in game variable is set to

      • Galv says:

        Doesn’t sound like the plugin wasn’t set up to do that, sorry.

  14. Kf says:

    Hello,Thank you for this great plugin!I’m trying to set it to work.but I found that when I plant a seed, it won’t change picture as growing up.Even when it can be harvested it still keep showing a seed.
    Is there anything I did wrong with it?

    • Galv says:

      It sounds like you did something wrong, yes.

      Make sure to read the plugin documentation and download the demo.
      Examine the demo events carefully including looking at their autonomous move route.

      • Kf says:

        I found there is a script in event of demo and pasted it into my event.Now it’s working perfectly.Thanks very much!

  15. TGA says:

    Hi galv,

    I found an issue with the plugin when I change the ‘Item ID’ to a ‘day var’ using the script provided in the plugin info. When I click on the crops and the options menu opens up, then if I click ‘Esc’ or on the option ‘do nothing’ the Crop tile change to the ‘planting tile image! I did try to do it in your Demo and the same thing happen there. just to make sure I try to use the ‘day var’ with 3 ways:

    1. as it is (without any time system),
    2. with ‘Common event Time system and use this var for a ‘day’
    3. Using the Orange Time system as well when you have the option to connect the ‘Var’ to the Time system with the plugin.

    In all ways, when I add in the event the script for ‘checking for variable’, I still get this issue when clicking ‘Do nothing’ or try to just ‘Esc’ the crop tile change to the ‘plant’ one.

    If you have the time can you please check this out?
    Thanks

    • Galv says:

      I do not understand what you mean by changed the ‘Item ID’ to a ‘day var’ using the script provided. I don’t think you should be changing an item id reference to a day variable.

      • TGA says:

        Sorry for not being clear, I uploaded some picture and video in the link below.

        More info about the problem:

        You have this option in the plugin where you can add the script Galv.CROPS.plant(eId,iId,vId); and change the “vld” to a variable right? so what I did I put a variable I use as a ‘day’ in my time system, the script works and the crop only grows in the amount of this variable (days)…

        There are two problems:

        1. When I click on the ‘crop’ event and I cancel it (the “Do nothing” option you have), instead of just cancel, the crop image change to the image of the ‘seeds’, and it should not happen when I click ‘do nothing’.

        2. When the crop grows an I ‘water it’ goes back to the image with the water+seeds…

        In case you need to see it, I uploaded some picture and video here: https://drive.google.com/drive/folders/1YJ_syfe0s6UEPq3wpster_emfGkYrA0K?usp=sharing

      • Galv says:

        It sounds like you didn’t run the script to update the crops after changing the variable. You need to do that, see the demo for example.

  16. TGA says:

    Thanks for the quick response, if you talking about the event script
    Galv.CROPS.plant(eId,iId,vId); I think I did, I added it after the ‘common event’ command, see the first picture I shared in the link above. unless I missed another script I have to add in order for it to work?

    • Galv says:

      your screenshots dont look like the demo setup and that issue doesn’t happen in the demo. I recommend closely following how the demo is setup to try and find an error

  17. TGA says:

    Sorry for that, I took many pictures and didn’t put the right once in this file, I did check with your demo as well, I just updated the pictures in the file above, again the script works fine for the time the crop grow, but the problems I told you about still happening:

    – when ‘cancel’ it’s still planting
    – and when watering any progress of the grow gone,
    – Also when using the Galv.CROPS.plant(eId,iId,vId); script in the ‘Tools’ map in the demo, and when adding this script, It’s let me crop by clicking ‘Enter’ without using the tool. but is only do that in the crop I added the scrip, the other crops only plant with the right tool.

    I also tried adding the ‘update script’ you have after the Galv.CROPS.plant(eId,iId,vId); to see if that change anything, but I just got an error “this.updateCrop is not a function”.

    the link again:
    https://drive.google.com/drive/folders/1YJ_syfe0s6UEPq3wpster_emfGkYrA0K?usp=sharing

    • Galv says:

      For some reason I cannot open any images in there – might be an issue with Google currently. But I cannot replicate the error in the demo I have to be downloaded. And I haven’t worked on plugins much in years, so I don’t think I can help with whatever is happening, sorry.

  18. TGA says:

    No worries, I understand, if you have another browser then ‘chrome’ maybe it will open there thought. anyway, thanks for trying, If you can see it somehow and it looks like an easy fix I missed please let me know, however, if it needs more complex stuff don’t worry about it, again thanks for responding so quickly, I really appreciate it!

Leave a Reply to Zen Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s