a munch adventure
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

152 行
4.1 KiB

  1. stories.push({
  2. id: "fen-snack",
  3. name: "Fen's Food",
  4. sounds: [
  5. "sfx/digested-test.ogg",
  6. "loop/fen-stomach.ogg",
  7. "loop/fen-intestines.ogg",
  8. "loop/fen-bowels.ogg"
  9. ],
  10. intro: {
  11. start: "stomach",
  12. setup: state => {
  13. startTimer({
  14. id: "digestion",
  15. func: state => {
  16. state.player.stats.health -= 1;
  17. if (state.player.stats.health <= 0) {
  18. goToRoom("digested", state);
  19. return false;
  20. }
  21. return true;
  22. },
  23. delay: 1000,
  24. loop: true,
  25. classes: [
  26. "alive"
  27. ]
  28. }, state);
  29. }
  30. },
  31. world: {
  32. stomach: {
  33. id: "stomach",
  34. name: "Stomach",
  35. desc: "A hot, wet, steamy prison.",
  36. move: (room, state) => {
  37. print(["You slide into Fen's humid stomach."]);
  38. },
  39. enter: (room, state) => {
  40. playLoop("loop/fen-stomach.ogg");
  41. },
  42. exit: (room, state) => {
  43. stopLoop("loop/fen-stomach.ogg");
  44. },
  45. hooks: [
  46. ],
  47. actions: [
  48. {
  49. name: "Rub",
  50. desc: "Knead on the muscular folds that surround your tasty little body",
  51. execute: (room, state) => {
  52. print(["You rub all over your prison's walls. Fen's stomach doesn't respond."]);
  53. }
  54. },
  55. {
  56. name: "Submit",
  57. desc: "Let Fen digest you",
  58. execute: (room, state) => {
  59. state.player.stats.health = 0;
  60. goToRoom("digested", state);
  61. }
  62. }
  63. ],
  64. exits: {
  65. "down": {
  66. "target": "intestines",
  67. "desc": "Push yourself deeper into the crux",
  68. move: (room, state) => {
  69. print(["You manage to push yourself down through the valve at the base of the crux's fetid stomach."]);
  70. },
  71. hooks: [
  72. (room, exit, state) => {
  73. if (Math.random() < 0.5) {
  74. print(["Fen's stomach clenches and ripples, smothering your face in wet flesh and keeping you nice and trapped."]);
  75. return false;
  76. } else {
  77. return true;
  78. }
  79. }
  80. ]
  81. }
  82. }
  83. },
  84. intestines: {
  85. id: "intestines",
  86. name: "Intestines",
  87. desc: "Labyrinthine guts, winding on and on...",
  88. move: (room, state) => {
  89. print(["Your squirming body glides into the crux's tight, snaking guts."]);
  90. },
  91. enter: (room, state) => {
  92. playLoop("loop/fen-intestines.ogg");
  93. },
  94. exit: (room, state) => {
  95. stopLoop("loop/fen-intestines.ogg");
  96. },
  97. exits: {
  98. "up": {
  99. target: "stomach",
  100. desc: "Writhe back into Fen's roiling stomach"
  101. },
  102. "down": {
  103. target: "bowels",
  104. desc: "Push yourself even deeper into your predator's body"
  105. }
  106. },
  107. hooks: [
  108. ]
  109. },
  110. bowels: {
  111. id: "bowels",
  112. name: "Bowels",
  113. desc: "Cavernous bowels, rippling and squeezing over your bare skin",
  114. move: (room, state) => {
  115. print(["You enter the beast's humid bowels, taking shallow, stifled breaths of the musky air."]);
  116. },
  117. enter: (room, state) => {
  118. playLoop("loop/fen-bowels.ogg");
  119. },
  120. exit: (room, state) => {
  121. stopLoop("loop/fen-bowels.ogg");
  122. },
  123. exits: {
  124. "up": {
  125. target: "intestines",
  126. desc: "Squirm up higher"
  127. }
  128. },
  129. hooks: [
  130. ]
  131. },
  132. digested: {
  133. id: "digested",
  134. name: "Fen's Hips",
  135. desc: "You look good on him, at least~",
  136. enter: (room, state) => {
  137. playLoop("loop/fen-intestines.ogg");
  138. playSfx("sfx/digested-test.ogg");
  139. stopClassTimers("alive", state);
  140. print(["You slump down in the acidic pit, curling up as it begins to churn you down to chyme. Fen's stomach snarls and bubbles for the next few minutes...and then you're gone~",newline,"Nothing's left but a bit of padding on your predator's hips..."]);
  141. },
  142. exit: (room, state) => {
  143. stopLoop("loop/fen-intestines.ogg");
  144. },
  145. }
  146. }
  147. });