Modding Help Want to add biome immunity into an Augment

Discussion in 'Starbound Modding' started by Krang, May 25, 2017.

  1. Krang

    Krang Void-Bound Voyager

    Im sorry if this has been asked before, it 4 am here and im tired :p

    Im messing around with making augments and i cant get biome immunity effects to work.
    Yeah, i googled my question, thats why i didnt go to sleep at a reasonable time. Found almost nada.

    What i did was simply add the effect to the string to MYAUGMENT.augment code. Didnt work. So i tried searching for the effects files in the proper folders but couldnt find biomeheatimmunity or any of the others. gonna start fresh in tomorrow and maybe write new effects.

    If anyone knows what im doing wrong or solution to adding the effects to an augment, i would really appreciate the help
     
  2. Cyel

    Cyel Scruffy Nerf-Herder

    "Biome immunity effects" are in /effects/biome*:
    - biomeradiationImmunity
    - biomeheatImmunity
    - biomecoldImmunity
    - breathProtection
    You can look at the heatprotection EPP to see them being used
    Code:
      "statusEffects" : [
      {
      "stat" : "biomeheatImmunity",
      "amount" : 1.0
      },
      {
      "stat" : "biomecoldImmunity",
      "amount" : 1.0
      },
      {
      "stat" : "biomeradiationImmunity",
      "amount" : 1.0
      },
      {
      "stat" : "breathProtection",
      "amount" : 1.0
      }
      ],

    So your EPP should have a line along these lines:
    Code:
    "effects" : [ "biomeradiationImmunity", "biomecoldImmunity" ]
    or
    Code:
     "effects" : [  {  "stat" : "biomeradiationImmunity",  "amount" : 1.0  } ]
    maybe?
     
    Proginoskes, Hellession and lazarus78 like this.
  3. Krang

    Krang Void-Bound Voyager

    Hey, thanks for the reply Cyel. I tried adding those lines to the augment file i was making and didn't have any luck. I ended up tearing apart FU and seeing how those were made and by the looks of it, they made new immunity effects and linked the LUA's to the original status effects. Either way, I really appreciate you helping this noob.
     

Share This Page