Modding Help Making a Station Similar to the Moth Trap?

Discussion in 'Starbound Modding' started by rare_candy_bracelet, Jan 17, 2019.

  1. rare_candy_bracelet

    rare_candy_bracelet Existential Complex

    Hi, all. Suppose a certain mod author wanted to create a station that functioned like the moth trap object - something players could place down and collect resources from after a while when the object's .animation file changes. But with significantly more movement on both states. For instance:

    Eggs not ready:
    chickencoop.gif
    Eggs ready:
    chickencoopready.gif
    ... What would their .object, .animation, and .frames files need to look like?​
     
    YanagiHirosuke and boo buu like this.
  2. rare_candy_bracelet

    rare_candy_bracelet Existential Complex

    I've yet to figure this one out, so if anyone has answers, I'll gladly hear them!
     
  3. projectmayhem

    projectmayhem Spaceman Spiff

    I think you would need a custom lua file too. I dont think the current harvestable lua allows for multiple frames per stage. I love the look of your coop though
     
    rare_candy_bracelet likes this.
  4. The | Suit

    The | Suit Agent S. Forum Moderator

    To give you a proper answer will take some time.
    But easiest way is probably to write your own code and strip what you need from farmables.

    The animation file involves multiple states you can take examples from the Alarm light as you can see how the animation + lua for it works.
     
    rare_candy_bracelet likes this.

Share This Page