Modding Help Custom pet problem

Discussion in 'Starbound Modding' started by johnsonn9697, Oct 24, 2016.

  1. johnsonn9697

    johnsonn9697 Subatomic Cosmonaut

    OK, i have already change all the files to my pet name and change this in the tech station of my custom race. But its not working. In the Log says:

    [21:53:11.084] [Warn] Could not spawn Monster of type 'petrat', exception caught: (JsonException) No such key in Json::get("appliesWeatherStatusEffects")
     
  2. Inf_Wolf14

    Inf_Wolf14 Parsec Taste Tester

    Hmm, I missed this thread. Sorry if you have already figured it out but:
    Code:
      "appliesWeatherStatusEffects" : true,
    
    ^ This line needs to exist inside of the .monstertype file under "baseParameters/statusSettings".
    It handles the new way that SB decided to take weather effects in a somewhat recent update.

    Here's an example from the Human's "petcat":
    Code:
        ...
        "statusSettings" : {
          ...
          "appliesEnvironmentStatusEffects" : true,
          "appliesWeatherStatusEffects" : true,
          "minimumLiquidStatusEffectPercentage" : 0.1,
          ...
        },
        ...
    


    (...Or you can set it to false, it's a ship pet so I don't honestly think it will matter unless by some strange effect you have your pet appear on planets as well...)
     
    Last edited: Oct 26, 2016
    Monijir likes this.
  3. johnsonn9697

    johnsonn9697 Subatomic Cosmonaut

    I already solved the problema, but thanks anyway ^^
     
  4. Monijir

    Monijir Scruffy Nerf-Herder

    This was killing me on my customized pet toys. Had no idea what weather had to do with it - thanks for clearing it up. Saved me a lot of troubleshooting.
     

Share This Page