Plots and harvest drops

Discussion in 'Empyrion API' started by zaphodikus, Jan 16, 2021.

  1. zaphodikus

    zaphodikus Captain

    Joined:
    Oct 1, 2016
    Messages:
    471
    Likes Received:
    226
    I'm assuming the game still internally hard codes the number and type of harvested items from a fully grown grow plot item or from free-standing plants?

    For example it's not possible to get a corndog plant to "drop" something other than the corndogs? Like on special occasions such as Easter time?
     
    #1
  2. Yes you can adjust this in the configs last I checked.
    I'm not at home so can't share examples of code right now.
     
    #2
    zaphodikus likes this.
  3. zaphodikus

    zaphodikus Captain

    Joined:
    Oct 1, 2016
    Messages:
    471
    Likes Received:
    226
    Thanks, Krazzykid I'm on a mission lately taking the grow plots optimisation apart more in depth. Keen to be able to extract the actual dynamic raw info from published Scenarios, so less interested in static documentation.

    ...
    Aaah found it in BlocksConfig

    { Block Id: 599, Name: PumpkinStage3
    Class: CropsGrown
    AllowedInBlueprint: false, display: true
    IndexName: Plant
    { Child DropOnHarvest
    Item: Vegetables
    Count: 8
    }
    { Child CropsGrown
    OnHarvest: PumpkinStage3NoFruit
    OnDeath: PlantDead
    }
    ...
    I was just lazily text searching for the wrong things and missed it. Sweet.
     
    #3
    Last edited: Jan 16, 2021
    krazzykid2006 likes this.
  4. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,816
    Likes Received:
    4,111
    Check the BlocksConfig.ecf with keywords like dropondestroy or droponharvest :

    { Block Id: 955, Name: Cactus1
    Class: CropsGrown
    { Child DropOnHarvest
    Item: AlienThorn
    Count: 3
     
    #4
    krazzykid2006 likes this.

Share This Page