Skip to content

Instantly share code, notes, and snippets.

@larsiusprime
Created April 14, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsiusprime/bbaabc0ac4341e42484b0667c3332e70 to your computer and use it in GitHub Desktop.
Save larsiusprime/bbaabc0ac4341e42484b0667c3332e70 to your computer and use it in GitHub Desktop.
Defender's Quest mod menu monologue flow
{
"project" : {
"name" : "Mods",
"state" : {
"position" : {
"x" : -158,
"y" : 364
},
"zoom" : 0.56880009227646,
"currentTree" : 0
},
"variables" : [{
"displayName" : "steam",
"origin" : "game",
"validation" : "bool",
"set" : true,
"get" : true,
"id" : 0
}, {
"displayName" : "string_choice",
"origin" : "game",
"validation" : "string",
"set" : true,
"get" : true,
"id" : 1
}, {
"displayName" : "event",
"origin" : "game",
"validation" : "string",
"set" : true,
"get" : true,
"id" : 2
}, {
"displayName" : "input_text",
"origin" : "game",
"validation" : "string",
"set" : true,
"get" : true,
"id" : 3
}, {
"displayName" : "error",
"origin" : "game",
"validation" : "string",
"set" : true,
"get" : true,
"id" : 4
}
],
"customVariables" : [{
"displayName" : "Custom Variable 1",
"type" : "custom",
"set" : true,
"get" : true,
"id" : 0
}
],
"voices" : [{
"displayName" : "radios"
}, {
"displayName" : "checkboxes"
}, {
"displayName" : "browse"
}, {
"displayName" : "buttons"
}, {
"displayName" : "input_text"
}, {
"displayName" : "progress"
}, {
"displayName" : "wait"
}
],
"characters" : [{
"id" : 0,
"displayName" : "Test Character"
}
],
"treeCategories" : [{
"id" : 0,
"displayName" : "Mod Category"
}
],
"languages" : [{
"displayName" : "English (en-US)",
"code" : "enUS"
}, {
"displayName" : "Français (fr-CA)",
"code" : "frCA"
}
]
},
"trees" : [{
"id" : 0,
"categoryId" : 0,
"displayName" : "mods",
"nodes" : [{
"id" : 0,
"type" : "branch",
"link" : -1,
"editor" : {
"x" : -257,
"y" : -39
},
"variable" : "0",
"condition" : "==",
"value" : "true",
"trueLink" : 1,
"falseLink" : 2
}, {
"id" : 1,
"link" : 3,
"editor" : {
"x" : 36,
"y" : -235
},
"type" : "text",
"name" : "steam",
"voice" : "radios"
}, {
"id" : 2,
"link" : 5,
"editor" : {
"x" : 38,
"y" : 103
},
"type" : "text",
"name" : "notsteam",
"voice" : "radios"
}, {
"id" : 3,
"link" : -1,
"editor" : {
"x" : 315,
"y" : -237
},
"type" : "branch",
"variable" : "1",
"condition" : "==",
"value" : "workshop",
"operation" : "=",
"trueLink" : 4,
"falseLink" : 5
}, {
"id" : 4,
"link" : 9,
"editor" : {
"x" : 660,
"y" : -240
},
"type" : "set",
"variable" : "2",
"operation" : "=",
"value" : "workshop"
}, {
"id" : 5,
"link" : -1,
"editor" : {
"x" : 316,
"y" : -13
},
"type" : "branch",
"variable" : "1",
"condition" : "==",
"value" : "browse",
"trueLink" : 9,
"falseLink" : 8
}, {
"id" : 7,
"link" : -1,
"editor" : {
"x" : 313,
"y" : 440
},
"type" : "branch",
"variable" : "1",
"condition" : "==",
"value" : "new",
"trueLink" : 10
}, {
"id" : 8,
"link" : -1,
"editor" : {
"x" : 312,
"y" : 213
},
"type" : "branch",
"variable" : "1",
"condition" : "==",
"value" : "install_zip",
"trueLink" : 17,
"falseLink" : 7
}, {
"id" : 9,
"link" : -1,
"editor" : {
"x" : 2924,
"y" : -290
},
"type" : "text",
"name" : "browse",
"voice" : "browse"
}, {
"id" : 10,
"link" : 11,
"editor" : {
"x" : 658,
"y" : 528
},
"type" : "text",
"name" : "new",
"voice" : "checkboxes"
}, {
"id" : 11,
"link" : 20,
"editor" : {
"x" : 972,
"y" : 528
},
"type" : "text",
"name" : "new_name",
"voice" : "input_text"
}, {
"id" : 12,
"link" : 13,
"editor" : {
"x" : 1820,
"y" : 668
},
"type" : "text",
"name" : "creating",
"voice" : "progress"
}, {
"id" : 13,
"link" : 18,
"editor" : {
"x" : 2322,
"y" : 483
},
"type" : "text",
"name" : "export_complete",
"voice" : "buttons"
}, {
"id" : 15,
"link" : 28,
"editor" : {
"x" : 1531,
"y" : 146
},
"type" : "text",
"name" : "install",
"voice" : "progress"
}, {
"id" : 16,
"link" : 19,
"editor" : {
"x" : 2308,
"y" : -77
},
"type" : "text",
"name" : "install_complete",
"voice" : "buttons"
}, {
"id" : 17,
"link" : 22,
"editor" : {
"x" : 663,
"y" : 230
},
"type" : "set",
"variable" : "2",
"operation" : "=",
"value" : "select_zip"
}, {
"id" : 18,
"link" : -1,
"editor" : {
"x" : 2576,
"y" : 379
},
"type" : "branch",
"variable" : "1",
"condition" : "==",
"value" : "browse",
"trueLink" : 9,
"falseLink" : 23
}, {
"id" : 19,
"link" : -1,
"editor" : {
"x" : 2578,
"y" : -38
},
"type" : "branch",
"variable" : "1",
"condition" : "==",
"value" : "browse",
"trueLink" : 9,
"falseLink" : 23
}, {
"id" : 20,
"link" : 25,
"editor" : {
"x" : 1251,
"y" : 566
},
"type" : "set",
"variable" : "2",
"operation" : "=",
"value" : "export_mod"
}, {
"id" : 21,
"link" : -1,
"editor" : {
"x" : 1251,
"y" : 178
},
"type" : "branch",
"variable" : "1",
"condition" : "!=",
"value" : "",
"trueLink" : 15
}, {
"id" : 22,
"link" : 21,
"editor" : {
"x" : 973,
"y" : 131
},
"type" : "text",
"name" : "beat",
"voice" : "wait"
}, {
"id" : 23,
"link" : -1,
"editor" : {
"x" : 2898,
"y" : 263
},
"type" : "branch",
"variable" : "1",
"condition" : "==",
"value" : "explore",
"trueLink" : 24
}, {
"id" : 24,
"link" : -1,
"editor" : {
"x" : 3191,
"y" : 307
},
"type" : "set",
"variable" : "2",
"operation" : "=",
"value" : "explore"
}, {
"id" : 25,
"link" : -1,
"editor" : {
"x" : 1528,
"y" : 536
},
"type" : "branch",
"variable" : "4",
"condition" : "!=",
"value" : "",
"trueLink" : 26,
"falseLink" : 12
}, {
"id" : 26,
"link" : -1,
"editor" : {
"x" : 2070,
"y" : 305
},
"type" : "text",
"name" : "error",
"voice" : "buttons"
}, {
"id" : 28,
"link" : -1,
"editor" : {
"x" : 1801,
"y" : 160
},
"type" : "branch",
"variable" : "4",
"condition" : "==",
"value" : "",
"trueLink" : 16,
"falseLink" : 26
}
]
}
],
"translations" : [{
"enUS" : [{
"flag" : "$T0N0",
"content" : "Good morning"
}, {
"flag" : "$T0N2",
"content" : "title:Modifications\nbrowse:My Mods\nnew:Create new\ninstall_zip:Install from Zip\nselected:browse"
}, {
"flag" : "$T0N1",
"content" : "title:Modifications\nworkshop:Steam Workshop\nbrowse:My Mods\nnew:Create new\ninstall_zip:Install from Zip\nselected:browse"
}, {
"flag" : "$T0N6",
"content" : ""
}, {
"flag" : "$T0N9",
"content" : "title:Modifications\n"
}, {
"flag" : "$T0N10",
"content" : "title:Mod Template Settings\nbody:Game data to copy as a starting point for your mod:\nexport_data:Core data files\nexport_maps:Battle Maps\nexport_sprites:Sprites\nexport_cutscenes:Cutscene art\nexport_backgrounds:Background art\nexport_sfx:Sound Effects\nexport_music:Music\nselected:export_data\n"
}, {
"flag" : "$T0N11",
"content" : "title:Mod name\nnew_mod_name:"
}, {
"flag" : "$T0N12",
"content" : "title:Creating Mod..."
}, {
"flag" : "$T0N13",
"content" : "title:Export Complete!\nbody:Your mod template is here:<LOCATION>\nbrowse:My Mods\nexplore:Explore\nclose:Close\n"
}, {
"flag" : "$T0N15",
"content" : "title:Installing Mod..."
}, {
"flag" : "$T0N16",
"content" : "title:Installation Complete!\nbody:Your mod was installed here:<LOCATION>\nbrowse:My Mods\nexplore:Explore\nclose:Close"
}, {
"flag" : "$T0N22",
"content" : "title:\nbody:Please Wait..."
}, {
"flag" : "$T0N26",
"content" : "title:Error!\nbody:<ERROR>\nclose:Close"
}
]
}, {
"frCA" : [{
"flag" : "$T0N0",
"content" : "Bon matin"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment