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.
 
 
 

85 line
1.7 KiB

  1. module.exports = {
  2. hermit: {
  3. 1: {
  4. msg: [{
  5. msg: 'Nice to see you again. How can I help?',
  6. options: [1.1, 1.2, 1.3, 1.4]
  7. }],
  8. options: {
  9. 1.1: {
  10. msg: 'What are you doing in the middle of the wilderness?',
  11. goto: 2
  12. },
  13. 1.2: {
  14. msg: 'Have you scavenged anything worth selling lately?',
  15. goto: 'tradeBuy'
  16. },
  17. 1.3: {
  18. msg: 'I have some items you might be interested in.',
  19. goto: 'tradeSell'
  20. },
  21. 1.4: {
  22. msg: 'I changed my mind, I want to buy something back.',
  23. goto: 'tradeBuyback'
  24. }
  25. }
  26. },
  27. 2: {
  28. msg: 'I ran into some trouble in the city a few years ago. Moving out here seemed preferable to taking up residence in prison.',
  29. options: {
  30. 2.1: {
  31. msg: 'Trouble? What kind of trouble?',
  32. goto: '2-1'
  33. },
  34. 2.2: {
  35. msg: 'Where is the city?',
  36. goto: '2-2'
  37. },
  38. 2.3: {
  39. msg: 'I\'d like to ask something else.',
  40. goto: 1
  41. }
  42. }
  43. },
  44. '2-1': {
  45. 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.',
  46. options: {
  47. '2-1.1': {
  48. msg: 'I\'d like to ask something else',
  49. goto: 2
  50. }
  51. }
  52. },
  53. '2-2': {
  54. msg: 'It\'s on the northern part of the island. Just don\'t let your tongue slip about my location.',
  55. options: {
  56. '2-2.1': {
  57. msg: 'I\'d like to ask something else',
  58. goto: 2
  59. }
  60. }
  61. },
  62. tradeBuy: {
  63. cpn: 'trade',
  64. method: 'startBuy',
  65. args: [{
  66. targetName: 'hermit'
  67. }]
  68. },
  69. tradeSell: {
  70. cpn: 'trade',
  71. method: 'startSell',
  72. args: [{
  73. targetName: 'hermit'
  74. }]
  75. },
  76. tradeBuyback: {
  77. cpn: 'trade',
  78. method: 'startBuyback',
  79. args: [{
  80. targetName: 'hermit'
  81. }]
  82. }
  83. }
  84. };