Settings.dl.ts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // File created automatically by custom Dialogger on 4/7/2019, 5:55:54 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 Settings.dl.
  5. module DialogueTrees {
  6. export let Settings = (function () {
  7. let tree : DialogueTree = new DialogueTree("Settings");
  8. let node : DialogueNode;
  9. let set : DialogueSet;
  10. let text : DialogueText;
  11. let choice : DialogueChoice;
  12. node = new DialogueNode("b258ed06-020b-4c1f-b2ad-afbe13ac7b38");
  13. node.setNext("615b397b-76ca-485c-a637-1d2b539c6b54");
  14. tree.addStartNode(node);
  15. set = new DialogueSet("eee6d351-4e6f-428d-8dd6-72be79e31e6d");
  16. set.setFunction(() => {
  17. Elements.startMenu(); tree.setRepeatChoices(false); Elements.clearMainScreen();
  18. });
  19. set.setNext("5a11c2bc-6184-4926-9d24-454ca883dffc");
  20. tree.addNode(set);
  21. node = new DialogueNode("615b397b-76ca-485c-a637-1d2b539c6b54");
  22. node.setName("SettingOptions");
  23. node.setNext("eee6d351-4e6f-428d-8dd6-72be79e31e6d");
  24. tree.addNode(node);
  25. text = new DialogueText("5a11c2bc-6184-4926-9d24-454ca883dffc");
  26. text.setSay(() => { return new Say(Say.CENTERED, new SayImage("introLogo"), Say.LINE_BREAK, new SayItalic("The Obelisk is an adult interactive fiction game set in a post-apocalyptic world ravaged by a magical structure."));});
  27. text.setChoices(["4dcaee8f-2df1-4fba-b73e-581c522b6b5a","44119992-4c08-49fc-a4c8-602ee190cb8f","77536f7c-dad5-413c-b65e-567894d6736e","c56b6549-c1c4-4bb2-81bf-9e6816b3326f","d846c98a-1937-4e15-9c58-58b02f7efed5"]);
  28. tree.addNode(text);
  29. choice = new DialogueChoice("4dcaee8f-2df1-4fba-b73e-581c522b6b5a");
  30. choice.setSay(() => { return new Say("Key Mapping");});
  31. choice.setNext("ea28fe17-1897-49fd-a65b-e8fd63fef1d3");
  32. tree.addNode(choice);
  33. choice = new DialogueChoice("44119992-4c08-49fc-a4c8-602ee190cb8f");
  34. choice.setSay(() => { return new Say("Font Size");});
  35. choice.setNext("25936903-6b5e-4137-82e2-267b50ec1c41");
  36. tree.addNode(choice);
  37. choice = new DialogueChoice("77536f7c-dad5-413c-b65e-567894d6736e");
  38. choice.setSay(() => { return new Say("Color Scheme");});
  39. choice.setNext("25936903-6b5e-4137-82e2-267b50ec1c41");
  40. tree.addNode(choice);
  41. choice = new DialogueChoice("c56b6549-c1c4-4bb2-81bf-9e6816b3326f");
  42. choice.setSay(() => { return new Say("Fetishes");});
  43. choice.setNext("3dabd8ef-9bcb-4792-bdbd-58ec3d5b0834");
  44. tree.addNode(choice);
  45. choice = new DialogueChoice("d846c98a-1937-4e15-9c58-58b02f7efed5");
  46. choice.setSay(() => { return new Say("Go back");});
  47. tree.addNode(choice);
  48. text = new DialogueText("25936903-6b5e-4137-82e2-267b50ec1c41");
  49. text.setSay(() => { return new Say("Not implemented.");});
  50. text.setNext("2797f523-7444-4065-a8e9-55ea803af940");
  51. tree.addNode(text);
  52. set = new DialogueSet("3dabd8ef-9bcb-4792-bdbd-58ec3d5b0834");
  53. set.setFunction(() => {
  54. return CharacterCreation.ContentTypes.selectContentTypes();
  55. });
  56. set.setNext("e87068cb-e3b5-4c49-8bac-8ecdb06ba3a6");
  57. tree.addNode(set);
  58. node = new DialogueNode("e87068cb-e3b5-4c49-8bac-8ecdb06ba3a6");
  59. node.setNext("SettingOptions");
  60. tree.addNode(node);
  61. set = new DialogueSet("2797f523-7444-4065-a8e9-55ea803af940");
  62. set.setFunction(() => {
  63. return Elements.waitForAnyKey();
  64. });
  65. set.setNext("e87068cb-e3b5-4c49-8bac-8ecdb06ba3a6");
  66. tree.addNode(set);
  67. set = new DialogueSet("ea28fe17-1897-49fd-a65b-e8fd63fef1d3");
  68. set.setFunction(() => {
  69. return Controls.KeyHandler.KeySetter.setKeys();
  70. });
  71. set.setNext("e87068cb-e3b5-4c49-8bac-8ecdb06ba3a6");
  72. tree.addNode(set);
  73. return tree;
  74. })();
  75. }