No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_story.tres 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. [gd_resource type="Resource" load_steps=2 format=2]
  2. [ext_resource path="res://addons/EXP-System-Dialog/Resource_EditorStory/EXP_EditorStory.gd" type="Script" id=1]
  3. [resource]
  4. script = ExtResource( 1 )
  5. TYPE = "EXP_Story_editor"
  6. names = {
  7. }
  8. story = {
  9. 1: {
  10. "available_nid": [ ],
  11. "groups": [ ],
  12. "human_readable_description": "New Dialog - Enter Human Readable Description.",
  13. "nodes": {
  14. 1: {
  15. "graph_offset": Vector2( 120, 80 ),
  16. "links": {
  17. 0: 2
  18. },
  19. "rect_size": Vector2( 324, 375 ),
  20. "slot_amount": 1,
  21. "text": "{
  22. \"speaker\": {
  23. \"id\": 1,
  24. \"emotion\": \"happy\"
  25. },
  26. \"scene\": {
  27. \"id\": 1
  28. },
  29. \"dialog\": {
  30. \"message\": \"Bonjour !\",
  31. \"choices_multiple\": [
  32. ]
  33. }
  34. }",
  35. "type": "line"
  36. },
  37. 2: {
  38. "graph_offset": Vector2( 540, -180 ),
  39. "links": {
  40. 0: 3,
  41. 1: 4
  42. },
  43. "rect_size": Vector2( 324, 375 ),
  44. "slot_amount": 2,
  45. "text": "{
  46. \"speaker\": {
  47. \"id\": 1,
  48. \"emotion\": \"happy\"
  49. },
  50. \"scene\": {
  51. \"id\": 1
  52. },
  53. \"dialog\": {
  54. \"message\": \"Comment vas tu ?\",
  55. \"choices_multiple\": [
  56. {
  57. \"title\": \"Super !\",
  58. \"conditions\": [
  59. {
  60. \"id\": \"wellness\",
  61. \"value\": 50
  62. }
  63. ]
  64. },
  65. {
  66. \"title\": \"Pas ouf\",
  67. \"conditions\": [
  68. ],
  69. \"infobox\": {
  70. \"text\": \"Dire une telle chose est impensable\",
  71. \"conditions\": [
  72. {
  73. \"id\": \"intelligence\",
  74. \"value\": 10
  75. }
  76. ]
  77. }
  78. }
  79. ]
  80. }
  81. }",
  82. "type": "line"
  83. },
  84. 3: {
  85. "graph_offset": Vector2( 980, -60 ),
  86. "links": {
  87. },
  88. "rect_size": Vector2( 324, 375 ),
  89. "slot_amount": 1,
  90. "text": "{
  91. \"speaker\": {
  92. \"id\": 1,
  93. \"emotion\": \"happy\"
  94. },
  95. \"scene\": {
  96. \"id\": 1
  97. },
  98. \"dialog\": {
  99. \"message\": \"Cool !\",
  100. \"choices_multiple\": [
  101. ]
  102. }
  103. }",
  104. "type": "line"
  105. },
  106. 4: {
  107. "graph_offset": Vector2( 980, 460 ),
  108. "links": {
  109. },
  110. "rect_size": Vector2( 324, 375 ),
  111. "slot_amount": 1,
  112. "text": "{
  113. \"speaker\": {
  114. \"id\": 1,
  115. \"emotion\": \"sad\"
  116. },
  117. \"scene\": {
  118. \"id\": 1
  119. },
  120. \"dialog\": {
  121. \"message\": \"Triste\",
  122. \"choices_multiple\": [
  123. ]
  124. }
  125. }",
  126. "type": "line"
  127. }
  128. }
  129. }
  130. }
  131. available_dids = [ ]
  132. groups = [ ]