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

Advertisement

62 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!

  19. Rakon says:

    Hey Galv, love your plugin!
    Is it possible to set up an “unknown seed” and its random what´s growing out of it? would be cool and a suprise for the player^^

    And is it intentionel, that you don´t get your planted seed back, while you remove it in seed state? (while it´s not grown at all)

    -Rakon

    • Galv says:

      No sorry, this is just a simple crop plugin – that isn’t part of it. Yes it is intentional if you remove the seed it is gone – I don’t plan on changing that. :)

  20. AidensMercy says:

    Hey, so far this is an amazing plugin.
    I can plant a seed, but it wont update the image unless I water it. even if I wait 10 seconds for the crop to be ready, it still looks like a seed but i can pick it.
    Any idea how to fix this? I copied it exactly from the demo except i changed the variable.

    • Galv says:

      There might be a reference to that variable in a common event. Check what you changed and make sure to learn how it works so you can see what’s wrong.

  21. zerphoon says:

    Hi Galv! lol I’m back with probably dumb questions (I got the script to work after seeing what I screwed up >< took me forever Plus I was even able to add my own tools which was super awesome!)
    BUT I have 2 questions… I feel like they are dumb… lol

    1. can I set it up that when you plant seeds it removes them from your inventory after you use? (Ex. if you have 10 carrot seeds and plant 1 you have 9 left) I feel like it's a script I have to use but am not 100% sure how it would be typed out..

    2. Is there a way to make the water effect go away after a new day starts? as well as plants ONLY grow if they are watered for the day?

    maybe that counts as 3… lol But anyway I hope to hear from you soon. Also I hope you've been doing well and are in good health!

    • zerphoon says:

      Also… Forget the first question cause I’m just stupid lmao
      The second question tho would still be nice to know :D

    • Galv says:

      1. Check out the demo, it should do that.
      2. I haven’t looked at this plugin for years so I am uncertain. If there are no instructions in the documentation, then I likely didn’t add that as a possibility, sorry.
      3. Unfortunately not doing good, but will leave it at that haha.

  22. fupperwater says:

    Hey! Thank you for the wonderful plugin, for some reason my crops only change pictures and grow if I put a parallel process in the map with “Galv.CROPS.update();” otherwise I can still pick the crop in the end but the image never changes from the seed phase. In your demo I couldn’t find this script call anywhere so they seem to grow on their own? Did I mess something up?

    • Galv says:

      Take a looksy in the Autonomous Move Route for those events :)

      • fupperwater says:

        Woah I have been using rpg maker for more than a year now and I had no idea you could do that, didn’t even think to look there, thanks! :)

        This is very interesting, so by using autonomous move route it will make the crop update the same way as in a parallel process even if the event itself is set to trigger with action button?

      • Galv says:

        It run the update however often the move route happens and only when the player is near. I’d recommend asking in a forum for more info about how Autonomous move routes work.

  23. fupperwater says:

    Henlo again I’ve been using your plugin for a while and it’s truly wonderful, I hope you don’t mind me taking another minute of your time but I just had 1 small question regarding the watering system if using the “Galv.CROPS.update();” method on the events Autonomous Move Route..

    If I water the crop, it immediately changes the crop image to the next stage which is a bit unrealistic, is there a way to make it only update the day after instead?

    Thank you for your time!

  24. sailingCartoonist says:

    Hey Galv! I have a question regarding the compatability between the tools and crop plugins.
    Say I make a tool with the label ’till’, and have it so when it interacts with an event labelled ‘dirt’, it tills the soil. Is there any way to use two tags, or change the tag on the event after it’s been interacted with, so I could plant seeds on the newly tilled dirt?
    Thank you, your help is greatly appreciated! (^▿^)

    • Galv says:

      Unfortunately, this plugin is very simple and I didn’t make that functionality. There may be tricky ways you can do it with self switches, but I don’t have time to see if that is viable – I recommend asking in a forum.

      • sailingCartoonist says:

        okay, thank you for the quick response! I’ll take to the forums and see what concoction of scripts and plugin commands I can come up with!

Leave a 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 )

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