Modding Discussion When in tent we still take damage

Discussion in 'Starbound Modding' started by amirmiked12, Mar 17, 2017.

  1. Nexus Of Chaos

    Nexus Of Chaos Parsec Taste Tester

    "apextent.object..patch"... unless the actual object is "apextent.object.", it should b apextent.object.patch
     
  2. amirmiked12

    amirmiked12 Parsec Taste Tester

    i tested it but bope doesnt work
     
  3. Dekadrachm

    Dekadrachm Heliosphere

    No, try this:
    1. make sure the object you want to patch has the same folder location as the vanilla assets
    2. Use this patch:
    Code:
    [
      {
        "op": "add",
        "path": "/sitStatusEffects/2",
        "value": "maxprotection"
      }
    ]
     
  4. amirmiked12

    amirmiked12 Parsec Taste Tester

    ok

    didnt work
     
    Last edited by a moderator: Mar 18, 2017
  5. Dekadrachm

    Dekadrachm Heliosphere

    lol howwwwwwwwww

    For tent1, vanilla path is

    objects>generic>tent1

    so you would be

    objects>generic>tent1 and inside of tent 1 you would make a patch named tent1.object.patch and inside of it will contain the new patch I gave you. If you follow this exactly, there shouldn't be a reason on why it won't work. Did you reload your assets to allow the effects to kick in? i.e /reload command?
     
  6. bk3k

    bk3k Oxygen Tank

    I think there is an invisible status. Add it the way bed status is added.

    But then I'm not at home and can't see the assets to be sure.
    Edit:
    "/sitStatusEffects/-" for the patch path.
     
  7. Dekadrachm

    Dekadrachm Heliosphere

    The invisible stat doesn't work properly for disregarding creatures when its applied to the tent. The only thing that seemed to work was the max protection stat.
     
  8. bk3k

    bk3k Oxygen Tank

    Yeah I wasn't sure about what it did and can't check ATM.

    But note the patch path I added to that post. May still not be proper. I'm on mobile.
     
  9. Dekadrachm

    Dekadrachm Heliosphere

    Yeah haha, I made one for him too
    Code:
    [
      {
        "op": "add",
        "path": "/sitStatusEffects/-",
        "value": "maxprotection"
      }
    ]
    would probably be best to use "-" to avoid any issues
     
  10. Kirbyroth

    Kirbyroth Pangalactic Porcupine

Share This Page