Modding Help How to Change NPC Speech Pattern

Discussion in 'Starbound Modding' started by fanastyunicorns, Mar 24, 2015.

  1. fanastyunicorns

    fanastyunicorns Master Chief

    Hello I was wondering how I could make it so when you interact with an NPC, it cycles through a pool of sentences; not just one.
    What I mean by that is:
    Code:
    "converse" : {
          "waitTime" : 0.5,
          "dialog" : {
            "default" : [ "I have nothing to say to you" ],
              "apex" : {
              "default" : [
                "You don't LOOK like Miniknog..."
              ],
              "human" : [
                "Ah, lovely to see humans in our midst.",
                "You must get cold without much body hair.",
                "Welcome to our village, human. We are absolutely not oppressed.",
                "It is comforting to know that another species out there looks like us."
              ],
    How could I make it so it says the first line then the second then third etc? X3
     
  2. You dont... It picks them at random.
     
    fanastyunicorns likes this.
  3. The | Suit

    The | Suit Agent S. Forum Moderator

    The standard Json NPC you won't be able to do that.
    You will most likely will end up having to create a custom npc lua file - to change that behavior.
     
    fanastyunicorns likes this.

Share This Page