Modding Help Dialogue Coding Help

Discussion in 'Mods' started by Tanpoponoko, Sep 9, 2018.

  1. Tanpoponoko

    Tanpoponoko Big Damn Hero

    Hey! So I'm trying to create a merged file of a bunch of dialogue mods for personal use.

    Does anyone know how to code an entry so that multiple lines of dialogue could be chosen from instead of a single line for a heart value?

    For example, this is kinda how it looks normally for a single entry:
    "Action": "EditData",
    "Target": "Characters/Dialogue/Shane",
    "Entries":
    {
    "Mon4": "Dialogue choice 1.$1"
    }
    },

    I've got it two cycle between two options by using this code:

    For example, this is kinda how it looks normally for a single entry:
    "Action": "EditData",
    "Target": "Characters/Dialogue/Shane",
    "Entries":
    {
    "Mon4": #$c .5#"Dialogue choice 1.$h#Dialogue choice2.$h"
    }
    },

    But if I tried to add a third option, it won't appear in game. If anyone can help me with this, it would be most appreciated!!
     
    • tenthousandcats

      tenthousandcats Subatomic Cosmonaut

      You could add conditions! Like,
      "Entries": {
      "Mon4": #$c .5#"Dialogue choice 1.$h#Dialogue choice2.$h"​
      },​
      "When": {
      "Day": "1, 15"​
      }​

      And then dialogue choice 2 + 3 or 1 + 3 when the day is 8 or 22. You could also choose to make it dependent on the weather or on any of the other possible conditions. :D
       

      Share This Page