Modding Help Add a status effect only if it is not already on the player

Discussion in 'Starbound Modding' started by Yuranga, Sep 27, 2025.

  1. Yuranga

    Yuranga Space Hobo

    Using status.addEphemeralEffect(), I can add a status effect to the player, but its duration will be updated. Is there any way to check if the player already has the status effect, and not add it if it's already there?
     

Share This Page