Modding Help Status Effects?

Discussion in 'Starbound Modding' started by emelerud1, Jul 14, 2015.

  1. emelerud1

    emelerud1 Void-Bound Voyager

    So I'm trying to add a status effect in starcheat, but every time I add it, it turns into a perfectly generic item.

    I would put the simple cape into my character inventory and then add "statusEffects", and edit the JSON.
    Code:
    [
      {
        "kind" : "energyregen",
        "amount" : "500"
      }
    ]
    
    Maybe my format is incorrect? I really have no clue what I'm doing wrong.
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

  3. sayter

    sayter The Waste of Time

    You're better off doing your own in this case.

    Starcheat has uses, but it is far from perfect. Better to simply copy/paste existing item assets that use statuEffects and change the data to suit your needs.
     
  4. mgsnakeeater

    mgsnakeeater Void-Bound Voyager

    You are using an outdated effect format which is no longer supported in the current version of StarBound.

    This is the new format for adding status effects to armor:
    Code:
    [
        {
            "amount" : 500,
            "stat" : energyRegen
        }
    ]
    And for multiple effects:
    Code:
    [
        {
            "amount" : 500,
            "stat" : "energyRegen"
        },
    
        {
            "amount" : 500,
            "stat" : "maxEnergy"
        }
    ]
    Certain effects such as "glow" or "levitation" don't need to be given an "amount" parameter and can be added like so:
    Code:
    [
        {
            "amount" : 500,
            "stat" : "energyRegen"
        },
    
        {
            "amount" : 500,
            "stat" : "maxEnergy"
        },
    
        "glow",
    
        "levitation"
    ]
     
    Last edited: Jul 23, 2015
  5. emelerud1

    emelerud1 Void-Bound Voyager

    When I tried this, it said that the line with "stat" was expecting a value.
     

Share This Page