Modding Help How Do I Grow Plants Off Tilled Soil?

Discussion in 'Starbound Modding' started by Surn_Thing, Aug 15, 2016.

Tags:
  1. Surn_Thing

    Surn_Thing Pangalactic Porcupine

    I've created a mod that allows crops to be placed anywhere. However, they won't grow unless they are placed on damp tilled soil, defeating the purpose. Any ideas on how to make crops ignore where they are planted and grow anyway (like a .config file or property to be altered)? Here's an example of one of my patches (minus irrelevant code):


    Code:
    [
    {
    "op":"replace",
    "path":"/orientations/0/requireTilledAnchors",
    "value":false
    },
    {
    "op":"replace",
    "path":"/maxImmersion",
    "value":9001
    },
    {
    "op":"add",
    "path":"/stages/2/resetToStage",
    "value": 0
    }
    
    ]
     
  2. Xary

    Xary Big Damn Hero

    I think the problem here isn't so much the ground as it is the addition of a "watered" trigger

    To get that mod to work properly you'd need to remove the need to water crops...
     
  3. greenRAM

    greenRAM Giant Laser Beams

    You can patch in: "consumeSoilMoisture" : false

    Which would probably look something like this:

    [
    {
    "op": "add",
    "path": "/consumeSoilMoisture",
    "value": false
    }
    ]

    Hope that helps.
     
    Last edited: Aug 16, 2016

Share This Page