Modding Help "Effect" question

Discussion in 'Starbound Modding' started by TheSeagull, Mar 22, 2020.

Tags:
  1. TheSeagull

    TheSeagull Big Damn Hero

    So i am making a Quarian race mod for starbound, since they have really weak immune systems they have to wear their suits at all time. My question is: Is there a way to apply a poison effect if any of the armor slots are empty?

    Thanks in advance!
     
    Last edited: Mar 23, 2020
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    There are methods to add race-specific status effects, but most have to do with adding a script into a player.config Lua and having it check the species to apply to affect too.
    I am not really a fan of this method because the script gets updated constantly adds unnecessary load.

    I would instead try another method of applying poison to enemy types and then having the status effect check conditions before applying.
    It is a lot more work - but also a lot less lag in comparison since its only a run on-demand style script.
    Make sure when you add poison effect to enemy projectiles ( attacks ) you do it through patching. Otherwise you will break any other mod that does it as well.
     

Share This Page