25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

274 lines
5.0 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]
  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. }
  30. },
  31. 2: {
  32. msg: 'I ran into some trouble in the city a few years ago. Moving out here seemed preferable to taking up residence in prison.',
  33. options: {
  34. 2.1: {
  35. msg: 'Trouble? What kind of trouble?',
  36. goto: '2-1'
  37. },
  38. 2.2: {
  39. msg: 'Where is the city?',
  40. goto: '2-2'
  41. },
  42. 2.3: {
  43. msg: 'I\'d like to ask something else.',
  44. goto: 1
  45. }
  46. }
  47. },
  48. '2-1': {
  49. 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.',
  50. options: {
  51. '2-1.1': {
  52. msg: 'I\'d like to ask something else',
  53. goto: 2
  54. }
  55. }
  56. },
  57. '2-2': {
  58. msg: 'It\'s on the northern part of the island. Just don\'t let your tongue slip about my location.',
  59. options: {
  60. '2-2.1': {
  61. msg: 'I\'d like to ask something else',
  62. goto: 2
  63. }
  64. }
  65. },
  66. 3: {
  67. msg: 'You mean you don\'t know where you are? Where are you from?',
  68. options: {
  69. 3.1: {
  70. msg: 'I don\'t know. The developer hasn\'t written me a backstory yet.',
  71. goto: '3-1'
  72. },
  73. 3.2: {
  74. msg: 'I\'d like to ask something else',
  75. goto: 2
  76. }
  77. }
  78. },
  79. '3-1': {
  80. msg: 'Typical...',
  81. options: {
  82. '3-1.1': {
  83. msg: 'I\'d like to ask something else',
  84. goto: 1
  85. }
  86. }
  87. },
  88. tradeBuy: {
  89. cpn: 'trade',
  90. method: 'startBuy',
  91. args: [{
  92. targetName: 'hermit'
  93. }]
  94. },
  95. tradeSell: {
  96. cpn: 'trade',
  97. method: 'startSell',
  98. args: [{
  99. targetName: 'hermit'
  100. }]
  101. },
  102. tradeBuyback: {
  103. cpn: 'trade',
  104. method: 'startBuyback',
  105. args: [{
  106. targetName: 'hermit'
  107. }]
  108. }
  109. },
  110. estrid: {
  111. 1: {
  112. msg: [{
  113. msg: 'Is there anything I can help you with today?',
  114. options: [1.1, 1.3, 1.4, 1.5]
  115. }],
  116. options: {
  117. 1.1: {
  118. msg: 'How long have you been working here?',
  119. goto: 2
  120. },
  121. 1.3: {
  122. msg: 'I\'d like to browse your wares.',
  123. goto: 'tradeBuy'
  124. },
  125. 1.4: {
  126. msg: 'I have some items to sell',
  127. goto: 'tradeSell'
  128. },
  129. 1.5: {
  130. msg: 'I want to buy something back',
  131. goto: 'tradeBuyback'
  132. }
  133. }
  134. },
  135. 2: {
  136. msg: 'I haven\'t been working here long, but I was born and raised here by my mother. She ran the shop before me.',
  137. options: {
  138. 2.1: {
  139. msg: 'Where is your mother now?',
  140. goto: '2-1'
  141. },
  142. 2.2: {
  143. msg: 'I\'d like to ask something else.',
  144. goto: 1
  145. }
  146. }
  147. },
  148. '2-1': {
  149. msg: 'A few months ago, she...took ill. She\'s been bedridden upstairs ever since.',
  150. options: {
  151. '2-1.1': {
  152. msg: 'I\'d like to ask something else.',
  153. goto: 1
  154. }
  155. }
  156. },
  157. tradeBuy: {
  158. cpn: 'trade',
  159. method: 'startBuy',
  160. args: [{
  161. targetName: 'estrid'
  162. }]
  163. },
  164. tradeSell: {
  165. cpn: 'trade',
  166. method: 'startSell',
  167. args: [{
  168. targetName: 'estrid'
  169. }]
  170. },
  171. tradeBuyback: {
  172. cpn: 'trade',
  173. method: 'startBuyback',
  174. args: [{
  175. targetName: 'estrid'
  176. }]
  177. }
  178. },
  179. vikar: {
  180. 1: {
  181. msg: [{
  182. msg: 'How may I help you today?',
  183. options: []
  184. }]
  185. }
  186. },
  187. asvald: {
  188. 1: {
  189. msg: [{
  190. msg: 'Is there anything I can help you with today?',
  191. options: [1.1, 1.2, 1.3]
  192. }],
  193. options: {
  194. 1.1: {
  195. msg: 'I would like to buy some runes',
  196. goto: 'tradeBuy'
  197. },
  198. 1.2: {
  199. msg: 'I have some items I would like to sell',
  200. goto: 'tradeSell'
  201. },
  202. 1.3: {
  203. msg: 'Could I see the items I sold to you?',
  204. goto: 'tradeBuyback'
  205. }
  206. }
  207. },
  208. tradeBuy: {
  209. cpn: 'trade',
  210. method: 'startBuy',
  211. args: [{
  212. targetName: 'asvald'
  213. }]
  214. },
  215. tradeSell: {
  216. cpn: 'trade',
  217. method: 'startSell',
  218. args: [{
  219. targetName: 'asvald'
  220. }]
  221. },
  222. tradeBuyback: {
  223. cpn: 'trade',
  224. method: 'startBuyback',
  225. args: [{
  226. targetName: 'asvald'
  227. }]
  228. }
  229. },
  230. priest: {
  231. 1: {
  232. msg: [{
  233. msg: 'Is there anything I can help you with today?',
  234. options: [1.1, 1.2, 1.3]
  235. }],
  236. options: {
  237. 1.1: {
  238. msg: 'I\'d like to browse your wares.',
  239. goto: 'tradeBuy'
  240. },
  241. 1.2: {
  242. msg: 'I have some items to sell',
  243. goto: 'tradeSell'
  244. },
  245. 1.3: {
  246. msg: 'I want to buy something back',
  247. goto: 'tradeBuyback'
  248. }
  249. }
  250. },
  251. tradeBuy: {
  252. cpn: 'trade',
  253. method: 'startBuy',
  254. args: [{
  255. targetName: 'priest'
  256. }]
  257. },
  258. tradeSell: {
  259. cpn: 'trade',
  260. method: 'startSell',
  261. args: [{
  262. targetName: 'priest'
  263. }]
  264. },
  265. tradeBuyback: {
  266. cpn: 'trade',
  267. method: 'startBuyback',
  268. args: [{
  269. targetName: 'priest'
  270. }]
  271. }
  272. }
  273. };