CreationIntro.dl.ts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // File created automatically by custom Dialogger on 5/20/2018, 4:53:52 PM
  2. // Do not tamper with this file.
  3. // It will be replaced automatically by Dialogger and all changes will be lost.
  4. // Instead change CreationIntro.dl.
  5. module DialogueTrees {
  6. export let CreationIntro = (function () {
  7. let tree : DialogueTree = new DialogueTree("CreationIntro");
  8. let node : DialogueNode;
  9. let text : DialogueText;
  10. let set : DialogueSet;
  11. node = new DialogueNode("ae981322-9151-49c8-a889-94455db7c262");
  12. node.setNext("81582dea-ba27-4baa-8df2-a77fbb5ed9ef");
  13. tree.addStartNode(node);
  14. text = new DialogueText("f72bf099-bae2-49df-9433-c9c3ec6a020d");
  15. text.setSay(() => { return new Say("As you approach the Obelisk, many dreams and nightmares will become reality as it attempts to dissuade you from getting too close, with the intensity increasing the closer you get to your objective.", Say.PARAGRAPH_BREAK, "Ultimately, the Obelisk wishes you no harm, for it is better to have you around as a protector than as a dead enemy, so the Obelisk will attempt to give you exactly what you want deep in your heart, trying to make you completely satisfied so that you no longer wish for the Obelisk's destruction or become unable to continue your quest. Of course, what your heart wants is not necessarily what you think it wants.", Say.PARAGRAPH_BREAK, "Orcs, the most common creature to come out of the Obelisk, are nothing more than humans warped by their own desire for unbridled violence. What will the Obelisk do to you?", Say.PARAGRAPH_BREAK, "On the following screens, you will define who you will be in this story. Please confirm carefully, as there is no turning back.");});
  16. text.setNext("66d4b27a-ff40-4a8e-a749-2b5e8237695a");
  17. tree.addNode(text);
  18. set = new DialogueSet("81582dea-ba27-4baa-8df2-a77fbb5ed9ef");
  19. set.setFunction(() => {Elements.startMenu();});
  20. set.setNext("f72bf099-bae2-49df-9433-c9c3ec6a020d");
  21. tree.addNode(set);
  22. set = new DialogueSet("0b4fec87-a2b0-4e3b-81ed-a4150f94fc10");
  23. set.setFunction(() => {Elements.endMenu();});
  24. tree.addNode(set);
  25. set = new DialogueSet("66d4b27a-ff40-4a8e-a749-2b5e8237695a");
  26. set.setFunction(() => {return Elements.waitForAnyKey();});
  27. set.setNext("0b4fec87-a2b0-4e3b-81ed-a4150f94fc10");
  28. tree.addNode(set);
  29. return tree;
  30. })();
  31. }