Modding Help Behavior of Augments

Discussion in 'Starbound Modding' started by SorenTheAvian, Jul 26, 2016.

  1. SorenTheAvian

    SorenTheAvian Subatomic Cosmonaut

    Hi,
    I'm new to modding Starbound (and by new, I mean I just became rather interested maybe a day or so ago) and I was wondering where the behavior of various back augments could be found. My plan is to modify back augments and/or the EPP upgrades to enable the de-equipping of augments without deleting/losing them. I have so far checked in items\augments\back and scripts\augments but I have not found any information regarding the equipping of augments. If you know anything about this, I would really appreciate some guidance in this.
    Thanks!
     
  2. Inf_Wolf14

    Inf_Wolf14 Parsec Taste Tester

    You'd probably want to check 'augment.lua' in "/scripts/augments".

    I'm not sure if the consumable trait of augments is adjustable, but you can edit that script to check for the active augment type, give the player that augment, and apply the new one.
    (You'll need to have a bit of knowledge of Lua though.)

    This way it'll spawn and give the player the augment they had applied, and equip the new one. Only downfall is you can't unequip augments unless you apply another.
     
  3. SorenTheAvian

    SorenTheAvian Subatomic Cosmonaut

    Thanks for the help, Inf_Wolf!
    Will do, thanks for the tip!
    I can't believe I didn't think of this! That's a great idea!
    Guess I need to start reading up then!
    Thanks so much, I'll update this thread if I make any developments!
    --- Post updated ---
    Update: I have no clue what i'm doing or where to start
    I've decided 2 hours is enough for today
    I may try again tomorrow
     
    Inf_Wolf14 likes this.

Share This Page