Modding Help Harvest more that one item from a plant?

Discussion in 'Starbound Modding' started by EnderDave, May 3, 2017.

  1. EnderDave

    EnderDave Void-Bound Voyager

    I want to make a tea mod for a friend and i want it so that when you harvest crops with lots of leaves (like a coffee plant), you also get some tea leaves. Yes it's not practical but it's something i wanted to try. can i edit the items it drops somehow so it drops both?
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    You can edit drops - so it drops a million credits if you want.
    Just open the file first and see what happens.

    From the question it self - it seems you never looked at it.
     
  3. EnderDave

    EnderDave Void-Bound Voyager

    Code:
    {
      "objectName" : "wildcoffeeseed",
      "colonyTags" : ["nature"],
      "rarity" : "Common",
      "category" : "seed",
      "description" : "Coffee beans can be brewed to make a tasty beverage.",
      "shortdescription" : "Coffee Seed",
      "objectType" : "farmable",
      "printable" : false,
      "price" : 23,
      "hasObjectItem" : false,
    
      "biomePlaced" : true,
    
      "apexDescription" : "Coffee is sought after for its pep-giving properties",
      "avianDescription" : "Coffee beans look a tempting treat, but are extremely bitter.",
      "floranDescription" : "Coffee keepsss Floran awake.",
      "glitchDescription" : "Ponderous. Glitch see no good use for these bitter beans.",
      "humanDescription" : "Coffee, the perkiest plant known to man.",
      "hylotlDescription" : "See beyond its bitter taste and coffee is a useful resource.",
      "novakidDescription" : "Coffee smells good, but I've never noticed any beneficial side-effects to drinkin' the stuff.",
    
      "inventoryIcon" : "coffeeseedicon.png",
      "orientations" : [
        {
          "dualImage" : "coffeeseed.png:<color>.<stage>.<alt>",
          "imagePosition" : [0, 0],
          "frames" : 1,
          "animationCycle" : 0.5,
    
          "spaces" : [ [1, 0], [0, 0], [1, 1], [0, 1], [1, 2], [0, 2], [1, 3], [0, 3] ],
          "requireTilledAnchors" : false,
          "anchors" : [ "bottom" ]
    
        }
      ],
    
      "radioMessagesOnPickup" : [ "pickupseed" ],
    
      "stages" : [
        {
          "duration" : [430, 470]
        },
        {
          "duration" : [430, 470]
        },
        {
          "alts" : 5,
          "duration" : [1740, 1860]
        },
        {
          "alts" : 5,
          "harvestPool" : "coffeeHarvest",
          "resetToStage" : 2
        }
      ],
    
      "breakDropOptions" : [
        [ [ "coffeeseed", 1, { } ] ]
      ],
    
      "maxImmersion" : 0.125
    }
    
    this is what i was looking at, but i don't know what does what.
     
  4. The | Suit

    The | Suit Agent S. Forum Moderator

    Harvest Pool -> search in treasurepool files
     
  5. EnderDave

    EnderDave Void-Bound Voyager

    so i made it spawn but when i try to craft it, [​IMG]
    Okay nevermind i figured it out. but does the order thing matter? cause i don't want to increment it every time i add something new.
     
    Last edited: May 4, 2017
  6. The | Suit

    The | Suit Agent S. Forum Moderator

    I don't really know what your asking
    But in the treasure pool works in top to bottom order.

    First item is checked by percentage
    then second item, then 3rd. Etc.
     
  7. Melendroach

    Melendroach Subatomic Cosmonaut

    many plants actually drop plant fibers along with fruits or seeds, so you could just change plant fibre to anything you'd like
     
  8. EnderDave

    EnderDave Void-Bound Voyager

    I solves a lot of the questions i had, but in the cooking collections data, do i have to keep increasing the numbers?
    Example code:
    Code:
        "toxicjuice" : {
          "order" : 134,
          "item" : "toxicjuice"
        },
        "tropicalpunch" : {
          "order" : 135,
          "item" : "tropicalpunch"
        },
        "ultimatejuice" : {
          "order" : 136,
          "item" : "ultimatejuice"
        },
        "tea" : {
          "order" : 137,
          "item" : "tea"
        },
        "sweettea" : {
          "order" : 138,
          "item" : "sweettea"
        },
    
        // CONDIMENTS
        "alienfruitjam" : {
          "order" : 139,
          "item" : "alienfruitjam"
        },
     

Share This Page