Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

156 Zeilen
2.9 KiB

  1. module.exports = {
  2. hermit: {
  3. '1': {
  4. msg: [{
  5. msg: `What? Oh...what are you doing here?`,
  6. options: [1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7]
  7. }],
  8. options: {
  9. '1.1': {
  10. msg: `Me? What are YOU doing in the middle of the wilderness?`,
  11. goto: 2
  12. },
  13. '1.2': {
  14. msg: `My ship got wrecked, just south of here. I'm stranded on this island.`,
  15. goto: 3
  16. },
  17. '1.3': {
  18. msg: `Have you scavenged anything worth selling lately?`,
  19. goto: 'tradeBuy'
  20. },
  21. '1.4': {
  22. msg: `I have some items you might be interested in.`,
  23. goto: 'tradeSell'
  24. },
  25. '1.5': {
  26. msg: `I changed my mind, I want to buy something back.`,
  27. goto: 'tradeBuyback'
  28. },
  29. '1.6': {
  30. msg: `Send me to the big city.`,
  31. goto: 'portalCity'
  32. },
  33. '1.7': {
  34. msg: `Gimme`,
  35. goto: 'getItem'
  36. }
  37. }
  38. },
  39. '2': {
  40. msg: `I ran into some trouble in the city a few years ago. Moving out here seemed preferable to taking up residence in prison.`,
  41. options: {
  42. '2.1': {
  43. msg: `Trouble? What kind of trouble?`,
  44. goto: '2-1'
  45. },
  46. '2.2': {
  47. msg: `Where is the city?`,
  48. goto: '2-2'
  49. },
  50. '2.3': {
  51. msg: `I'd like to ask something else.`,
  52. goto: 1
  53. }
  54. }
  55. },
  56. '2-1': {
  57. msg: `Let's just say it was of a royal nature. There are those who would still like to see me in prison, or better yet; dead.`,
  58. options: {
  59. '2-1.1': {
  60. msg: `I'd like to ask something else`,
  61. goto: 2
  62. }
  63. }
  64. },
  65. '2-2': {
  66. msg: `It's on the south-west part of the island. Just don't let your tongue slip about my location.`,
  67. options: {
  68. '2-2.1': {
  69. msg: `I'd like to ask something else`,
  70. goto: 2
  71. }
  72. }
  73. },
  74. '3': {
  75. msg: `You mean you don't know where you are? Where are you from?`,
  76. options: {
  77. '3.1': {
  78. msg: `I don't know. The developer hasn't written me a backstory yet.`,
  79. goto: '3-1'
  80. },
  81. '3.2': {
  82. msg: `I'd like to ask something else`,
  83. goto: 2
  84. }
  85. }
  86. },
  87. '3-1': {
  88. msg: `Typical...`,
  89. options: {
  90. '3-1.1': {
  91. msg: `I'd like to ask something else`,
  92. goto: 1
  93. }
  94. }
  95. },
  96. '4': {
  97. msg: `There you go!`,
  98. options: {
  99. }
  100. },
  101. '5': {
  102. msg: `You already have that!`,
  103. options: {
  104. }
  105. },
  106. tradeBuy: {
  107. cpn: 'trade',
  108. method: 'startBuy',
  109. args: [{
  110. targetName: 'hermit'
  111. }]
  112. },
  113. tradeSell: {
  114. cpn: 'trade',
  115. method: 'startSell',
  116. args: [{
  117. targetName: 'hermit'
  118. }]
  119. },
  120. tradeBuyback: {
  121. cpn: 'trade',
  122. method: 'startBuyback',
  123. args: [{
  124. targetName: 'hermit'
  125. }]
  126. },
  127. portalCity: {
  128. cpn: 'dialogue',
  129. method: 'teleport',
  130. args: [{
  131. toZone: 'city',
  132. toPos: {
  133. x: 136,
  134. y: 216
  135. }
  136. }]
  137. },
  138. getItem: {
  139. cpn: 'dialogue',
  140. method: 'getItem',
  141. args: [{
  142. item: {
  143. name: 'fancy feather',
  144. quest: true,
  145. sprite: [0, 0]
  146. }
  147. }],
  148. goto: {
  149. success: 4,
  150. failure: 5
  151. }
  152. }
  153. }
  154. };