Modding Help While Sleeping, Change Character Sprite

Discussion in 'Starbound Modding' started by KTarek, Sep 20, 2017.

  1. KTarek

    KTarek Orbital Explorer

    Hello! So I've been making a race mod, and I need to do something about the sleeping bit.

    I basically want to hide the player sprite and replace it with another, only while the player is sleeping.

    Only issue is, I can't seem to find where to reference the sleeping state/condition, and I don't know much lua...

    I'd highly appreciate the help :)
  2. projectmayhem

    projectmayhem Spaceman Spiff

    "sitStatusEffects" : [

    I'd try adding "invisible" to this. That should hide the character I think. As for replacing the sprite. I dont know about lua either, but maybe you could make a new status effect with whatever image you are wanting them to have? Then add it to the sitStatusEffects also

Share This Page