Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  1. module.exports = {
  2.  
  3. mysteriousTomb: {
  4. start: true,
  5. parentEncounter: "mysteriousTomb",
  6. requirements: [
  7. { daytime: true },
  8. { minimumSexOfProfession: { count: 1, profession: "priest" } },
  9. { minimumSexOfProfession: { count: 1, notProfession: "priest" } }
  10. ],
  11. pickMembers:
  12. [
  13. { position: 1, notProfession: "priest" }
  14. ],
  15. title: 'The Mysterious Tomb',
  16. choices: [
  17. {
  18. choiceText: 'Send a priest to join the expedition',
  19. outcomes: [
  20. {
  21. weight: 1,
  22. effects: [
  23. { playerChooseMember: { position: 0, profession: "priest" } },
  24. { advanceEncounter: "mysteriousTomb_pick_priest" }
  25. ]
  26. }
  27. ]
  28. },
  29. {
  30. choiceText: 'Don\'t join the expedition',
  31. outcomes: [
  32. {
  33. weight: 1,
  34. effects: [{ advanceEncounter: "mysteriousTomb_dont_join" }]
  35. }
  36. ]
  37. }
  38. ]
  39. },
  40.  
  41. mysteriousTomb_dont_join: {
  42. start: false,
  43. parentEncounter: "mysteriousTomb",
  44. title: 'The Mysterious Tomb',
  45. choices: [
  46. {
  47. choiceText: 'Return to trail',
  48. outcomes: [
  49. {
  50. weight: 1,
  51. effects: [{ endEncounter: true }]
  52. }
  53. ]
  54. }
  55. ]
  56. },
  57.  
  58. mysteriousTomb_pick_priest: {
  59. start: false,
  60. parentEncounter: "mysteriousTomb",
  61. title: 'The Mysterious Tomb',
  62. choices: [
  63. {
  64. choiceText: 'Continue',
  65. outcomes: [
  66. {
  67. weight: 1,
  68. effects: [
  69. { advanceEncounter: "mysteriousTomb_explore" }
  70. ]
  71. }
  72. ]
  73. }
  74. ]
  75. },
  76.  
  77. mysteriousTomb_explore: {
  78. start: false,
  79. parentEncounter: "mysteriousTomb",
  80. title: 'The Mysterious Tomb',
  81. effects: [
  82. { addHistory: { position: 0, history: "Began exploring the ancient tomb of the dwarven Hammerhand clan's long-dead king" } }
  83. ],
  84. choices: [
  85. {
  86. choiceText: 'Continue',
  87. outcomes: [
  88. {
  89. weight: 1,
  90. effects: [{ advanceEncounter: "mysteriousTomb_explore_1" }]
  91. }
  92. ]
  93. }
  94. ]
  95. },
  96.  
  97. mysteriousTomb_explore_1: {
  98. start: false,
  99. parentEncounter: "mysteriousTomb",
  100. title: 'The Mysterious Tomb',
  101. effects: [],
  102. choices: [
  103. {
  104. choiceText: 'No one knows',
  105. outcomes: [
  106. {
  107. weight: 1,
  108. effects: [{ advanceEncounter: "mysteriousTomb_bad_answer" }]
  109. }
  110. ]
  111. },
  112. {
  113. choiceText: '\'Us\' elves',
  114. outcomes: [
  115. {
  116. weight: 1,
  117. effects: [{ advanceEncounter: "mysteriousTomb_good_answer" }]
  118. }
  119. ]
  120. },
  121. {
  122. choiceText: 'The dwarves',
  123. outcomes: [
  124. {
  125. weight: 1,
  126. effects: [{ advanceEncounter: "mysteriousTomb_bad_answer" }]
  127. }
  128. ]
  129. },
  130. {
  131. choiceText: 'I am not an elf you senile specter!',
  132. outcomes: [
  133. {
  134. weight: 1,
  135. effects: [{ advanceEncounter: "mysteriousTomb_bad_answer" }]
  136. }
  137. ]
  138. }
  139. ]
  140. },
  141.  
  142. mysteriousTomb_bad_answer: {
  143. start: false,
  144. parentEncounter: "mysteriousTomb",
  145. title: 'The Mysterious Tomb',
  146. effects: [
  147. { removePerson: { position: 0, fate: "petrified", fateText: "Petrified by a dwarven ghost protecting an ancient tomb built by the Hammerhand clan" } },
  148. { delayParty: { hours: 2 } },
  149. { changeMorale: { quantity: -15, fullParty: true } },
  150. { addMoney: { amount: 150 } }
  151. ],
  152. choices: [
  153. {
  154. choiceText: 'Return to trail',
  155. outcomes: [
  156. {
  157. weight: 1,
  158. effects: [{ endEncounter: true }]
  159. }
  160. ]
  161. }
  162. ]
  163. },
  164.  
  165. mysteriousTomb_good_answer: {
  166. start: false,
  167. parentEncounter: "mysteriousTomb",
  168. title: 'The Mysterious Tomb',
  169. choices: [
  170. {
  171. choiceText: 'Continue',
  172. outcomes: [
  173. {
  174. weight: 1,
  175. effects: [{ advanceEncounter: "mysteriousTomb_tentacles" }]
  176. }
  177. ]
  178. }
  179. ]
  180. },
  181.  
  182. mysteriousTomb_tentacles: {
  183. start: false,
  184. parentEncounter: "mysteriousTomb",
  185. title: 'The Mysterious Tomb',
  186. choices: [
  187. {
  188. choiceText: 'Throw in Judah',
  189. outcomes: [
  190. {
  191. weight: 1,
  192. effects: [{ advanceEncounter: "mysteriousTomb_push_bad" }]
  193. }
  194. ]
  195. },
  196. {
  197. choiceText: 'Wrestle in the couple',
  198. outcomes: [
  199. {
  200. weight: 1,
  201. effects: [{ advanceEncounter: "mysteriousTomb_push_bad" }]
  202. }
  203. ]
  204. },
  205. {
  206. choiceText: 'Push in Aviva',
  207. outcomes: [
  208. {
  209. weight: 1,
  210. effects: [{ advanceEncounter: "mysteriousTomb_push_good" }]
  211. }
  212. ]
  213. }
  214. ]
  215. },
  216.  
  217. mysteriousTomb_push_bad: {
  218. start: false,
  219. parentEncounter: "mysteriousTomb",
  220. title: 'The Mysterious Tomb',
  221. effects: [
  222. { removePerson: { position: 0, fate: "tentacleGirl", fateText: "Pushed into a pool of water filled with tentacles and transformed into a female tentacle monster" } },
  223. { delayParty: { hours: 4 } },
  224. { changeMorale: { quantity: -15, fullParty: true } },
  225. { addMoney: { amount: 150 } }
  226. ],
  227. choices: [
  228. {
  229. choiceText: 'Return to trail',
  230. outcomes: [
  231. {
  232. weight: 1,
  233. effects: [{ endEncounter: true }]
  234. }
  235. ]
  236. }
  237. ]
  238. },
  239.  
  240. mysteriousTomb_push_good: {
  241. start: false,
  242. parentEncounter: "mysteriousTomb",
  243. title: 'The Mysterious Tomb',
  244. effects: [
  245. { addHistory: { position: 0, history: "Pushed Aviva into a pool of tentacles to save their own skin" } }
  246. ],
  247. choices: [
  248. {
  249. choiceText: 'Continue',
  250. outcomes: [
  251. {
  252. weight: 1,
  253. effects: [{ advanceEncounter: "mysteriousTomb_final_chamber" }]
  254. }
  255. ]
  256. }
  257. ]
  258. },
  259.  
  260. mysteriousTomb_final_chamber: {
  261. start: false,
  262. parentEncounter: "mysteriousTomb",
  263. title: 'The Mysterious Tomb',
  264. effects: [],
  265. choices: [
  266. {
  267. choiceText: 'Stand and be judged',
  268. outcomes: [
  269. {
  270. weight: 0,
  271. skillWeightBonus: { position: 0, modifier: .15 },
  272. effects: [{ advanceEncounter: "mysteriousTomb_judgement_good" }]
  273. },
  274. {
  275. weight: 1,
  276. effects: [{ advanceEncounter: "mysteriousTomb_judgement_bad" }]
  277. }
  278. ]
  279. },
  280. {
  281. choiceText: 'Run away',
  282. outcomes: [
  283. {
  284. weight: 1,
  285. effects: [{ advanceEncounter: "mysteriousTomb_judgement_bad" }]
  286. }
  287. ]
  288. }
  289. ]
  290. },
  291.  
  292. mysteriousTomb_judgement_good: {
  293. start: false,
  294. parentEncounter: "mysteriousTomb",
  295. title: 'The Mysterious Tomb (Judgement Success)',
  296. effects: [
  297. { addHistory: { position: 0, history: "Passed judgement by Marazan, god of the sun and permitted to retrieve treasures from the ancient dwarven tomb" } },
  298. { delayParty: { hours: 7 } },
  299. { changeMorale: { quantity: 15, fullParty: true } },
  300. { addMoney: { amount: 225 } },
  301. { addSkill: { position: 0, amount: 4 } },
  302. { giveItem: { name: "dwarven_absconce" }}
  303. ],
  304. choices: [
  305. {
  306. choiceText: 'Return to trail',
  307. outcomes: [
  308. {
  309. weight: 1,
  310. effects: [{ endEncounter: true }]
  311. }
  312. ]
  313. }
  314. ]
  315. },
  316.  
  317. mysteriousTomb_judgement_bad: {
  318. start: false,
  319. parentEncounter: "mysteriousTomb",
  320. title: 'The Mysterious Tomb (Judgement Failure)',
  321. effects: [
  322. { removePerson: { position: 0, fate: "goldenStatueFemale", fateText: "Transformed into a gold statue in an ancient dwarven tomb after failing judgement by Marazan, god of the sun" } },
  323. { delayParty: { hours: 6 } },
  324. { changeMorale: { quantity: -15, fullParty: true } }
  325. ],
  326. choices: [
  327. {
  328. choiceText: 'Return to trail',
  329. outcomes: [
  330. {
  331. weight: 1,
  332. effects: [{ endEncounter: true }]
  333. }
  334. ]
  335. }
  336. ]
  337. }
  338. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement