a munch adventure
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

1112 satır
40 KiB

  1. (() => {
  2. function checkSuspicion(add = 0) {
  3. const old = getStat("suspicion");
  4. if (add >= 0) {
  5. add *= state.info.awareness.value;
  6. }
  7. changeStat("suspicion", add);
  8. if (getStat("suspicion") >= 100) {
  9. print(["Geta spots you!", "You're snatched up and tossed into the fox's bowl of cereal."]);
  10. goToRoom("in-bowl");
  11. return false;
  12. } else if (getStat("suspicion") >= 75 && old < 75) {
  13. print(["The fox is very suspicious. You're going to get caught if you keep this up..."]);
  14. }
  15. return true;
  16. }
  17. function randomBodyPart() {
  18. const choices = Object.entries(state.player.limbs).filter(([name, status]) => {
  19. return status;
  20. }).map(([name, status]) => name);
  21. return choices[Math.floor(Math.random() * choices.length)];
  22. }
  23. function limbsLost() {
  24. return Object.entries(state.player.limbs).filter(([name, status]) => {
  25. return !status;
  26. }).length;
  27. }
  28. function statLerp(stat, change, duration) {
  29. // pretty sure this'll be a random id...
  30. const id = new Date().getTime() + Math.random();
  31. const iterations = duration / 1000 * 60;
  32. startTimer({
  33. id: id,
  34. func: () => {
  35. changeStat(stat, change / iterations);
  36. return true;
  37. },
  38. delay: 1000 / 60,
  39. loop: true,
  40. classes: [
  41. ]
  42. });
  43. startTimer({
  44. id: id + "-stopper",
  45. func: () => {
  46. stopTimer(id);
  47. return false;
  48. },
  49. delay: duration,
  50. loop: false,
  51. classes: [
  52. ]
  53. });
  54. }
  55. const limbs = {
  56. head: "head",
  57. leftArm: "left arm",
  58. rightArm: "right arm",
  59. leftLeg: "left leg",
  60. rightLeg: "right leg"
  61. };
  62. stories.push({
  63. "id": "geta-unaware",
  64. "name": "Geta's Breakfast",
  65. "tags": [
  66. "Player Prey",
  67. "Digestion",
  68. "Macro/Micro",
  69. "Hard Vore"
  70. ],
  71. "intro": {
  72. "start": "pepper-grinder",
  73. "setup": () => {
  74. state.info.awareness = {
  75. id: "awareness",
  76. name: "Geta's Awareness",
  77. type: "counter",
  78. value: 1,
  79. get render() {
  80. if (this.value < 1) {
  81. return "Distracted";
  82. } else if (this.value == 1) {
  83. return "Normal"
  84. } else {
  85. return "Alert"
  86. }
  87. }
  88. }
  89. state.geta = {};
  90. state.player.stats.health = { name: "Health", type: "meter", value: 100, min: 0, max: 100, color: "rgb(255,55,55)" };
  91. state.player.stats.suspicion = { name: "Suspicion", type: "meter", value: 0, min: 0, max: 100, color: "rgb(100,100,100)" };
  92. state.player.stats.mawPos = { "name": "Struggle", "type": "meter", "value": 0.5, "min": 0, "max": 1, "color": "rgb(0,255,0)", hidden: true }
  93. state.info.time.value = 60 * 60 * 7 + 60 * 17;
  94. state.player.limbs = {};
  95. state.player.limbs.head = true;
  96. state.player.limbs.leftArm = true;
  97. state.player.limbs.rightArm = true;
  98. state.player.limbs.leftLeg = true;
  99. state.player.limbs.rightLeg = true;
  100. startTimer({
  101. id: "clock",
  102. func: () => {
  103. state.info.time.value += 1;
  104. state.info.time.value %= 86000;
  105. return true;
  106. },
  107. delay: 1000,
  108. loop: true,
  109. classes: [
  110. ]
  111. });
  112. startTimer({
  113. id: "suspicion-decay",
  114. func: () => {
  115. checkSuspicion(-0.1);
  116. return true;
  117. },
  118. delay: 100,
  119. loop: true,
  120. classes: [
  121. "free"
  122. ]
  123. });
  124. startTimer({
  125. id: "timeout",
  126. func: () => {
  127. if (state.info.time.value == 60 * 60 * 7 + 60 * 19) {
  128. print(["The fox is almost done with his breakfast..."]);
  129. }
  130. if (state.info.time.value >= 60 * 60 * 7 + 60 * 20) {
  131. print(["Time's up! In you go."]);
  132. goToRoom("maw");
  133. return false;
  134. }
  135. return true;
  136. },
  137. delay: 1000,
  138. loop: true,
  139. classes: [
  140. "free"
  141. ]
  142. });
  143. startTimer({
  144. id: "geta-action",
  145. func: () => {
  146. const random = Math.random();
  147. if (random < 0.7) {
  148. print(["Geta slurps up a spoonful of cereal."]);
  149. return Math.random() * 3000 + 3000
  150. } else if (random < 0.9) {
  151. state.info.awareness.value = 0.1;
  152. print(["The fox yawns and stretches."]);
  153. startTimer({
  154. id: "yawn-end",
  155. func: () => {
  156. print(["Geta finishes his stretch"]);
  157. state.info.awareness.value = 1;
  158. return true;
  159. },
  160. delay: 5000,
  161. loop: false,
  162. classes: [
  163. "free"
  164. ]
  165. });
  166. return Math.random() * 3000 + 5000
  167. } else {
  168. state.info.awareness.value = 2;
  169. print(["Geta narrows his eyes and looks around the table. Something seems off to him..."]);
  170. startTimer({
  171. id: "squint-end",
  172. func: () => {
  173. print(["He goes back to his breakfast."]);
  174. state.info.awareness.value = 1;
  175. return true;
  176. },
  177. delay: 5000,
  178. loop: false,
  179. classes: [
  180. "free"
  181. ]
  182. });
  183. return Math.random() * 1000 + 6000
  184. }
  185. },
  186. delay: 5000,
  187. loop: true,
  188. classes: [
  189. "free"
  190. ]
  191. });
  192. },
  193. "intro": () => {
  194. print(["Game started", newline, "Exposition goes here later."]);
  195. }
  196. },
  197. "sounds": [
  198. "loop/stomach.ogg",
  199. "sfx/absorb.ogg",
  200. "sfx/swallow.ogg"
  201. ],
  202. "preload": [
  203. ],
  204. "refresh": () => {
  205. setBackgroundColor(50 - state.player.stats.health.value / 2, 0, 0);
  206. },
  207. "world": {
  208. "pepper-grinder": {
  209. "id": "pepper-grinder",
  210. "name": "Pepper Grinder",
  211. "desc": "You're hiding behind a pepper grinder",
  212. "move": (room) => {
  213. print(["You dart over to the pepper grinder, which looms over you like a greatwood."]);
  214. },
  215. "enter": (room) => {
  216. },
  217. "exit": (room) => {
  218. },
  219. "actions": [
  220. {
  221. name: "Tap",
  222. desc: "Bang on the pepper shaker",
  223. execute: (room) => {
  224. print(["You thump the pepper shaker, making a dull thud."]);
  225. const safe = checkSuspicion(25);
  226. if (safe && getStat("suspicion") > 50) {
  227. print(["Geta leans in to have a closer look. He's going to catch you if you don't move!"]);
  228. startTimer({
  229. id: "pepper-investigate",
  230. func: () => {
  231. if (state.player.location == "pepper-grinder") {
  232. print(["He catches you.", newline, "You're tossed into the fox's jaws."]);
  233. goToRoom("maw");
  234. } else {
  235. print(["You evaded the fox."]);
  236. }
  237. },
  238. delay: 3000,
  239. loop: false,
  240. classes: [
  241. "free"
  242. ]
  243. });
  244. }
  245. },
  246. show: [
  247. ],
  248. conditions: [
  249. ]
  250. },
  251. {
  252. name: "Wait",
  253. desc: "Wait for the fox to finish his breakfast. Surely you'll be able to escape after that...right?",
  254. execute: (room) => {
  255. state.info.time.value = 60 * 60 * 7 + 60 * 20;
  256. },
  257. show: [
  258. ],
  259. conditions: [
  260. ]
  261. },
  262. ],
  263. "exits": {
  264. "up": {
  265. "target": "bowl",
  266. "desc": "Walk up to the cereal bowl",
  267. "show": [
  268. ],
  269. "conditions": [
  270. ],
  271. "hooks": [
  272. (room, exit) => {
  273. return checkSuspicion(10);
  274. }
  275. ]
  276. },
  277. "left": {
  278. "target": "table",
  279. "desc": "Run out into the open",
  280. "show": [
  281. ],
  282. "conditions": [
  283. ],
  284. "hooks": [
  285. ]
  286. },
  287. },
  288. "hooks": [
  289. ],
  290. "data": {
  291. "stats": {
  292. }
  293. }
  294. },
  295. "bowl": {
  296. "id": "bowl",
  297. "name": "Behind the Bowl",
  298. "desc": "You're crouched behind Geta's bowl of cereal",
  299. "move": (room) => {
  300. print(["You scurry up to the looming bowl, staying low and out of Geta's sight."]);
  301. },
  302. "enter": (room) => {
  303. },
  304. "exit": (room) => {
  305. },
  306. "actions": [
  307. ],
  308. "exits": {
  309. "ascend": {
  310. "target": "in-bowl",
  311. "desc": "Climb into Geta's cereal",
  312. "show": [
  313. ],
  314. "conditions": [
  315. ],
  316. "hooks": [
  317. ]
  318. },
  319. "down": {
  320. "target": "pepper-grinder",
  321. "desc": "Run back behind the pepper grinder",
  322. "show": [
  323. ],
  324. "conditions": [
  325. ],
  326. "hooks": [
  327. (room, exit) => {
  328. return checkSuspicion(15);
  329. }
  330. ]
  331. },
  332. },
  333. "hooks": [
  334. ],
  335. "data": {
  336. "stats": {
  337. }
  338. }
  339. },
  340. "table": {
  341. "id": "table",
  342. "name": "Table",
  343. "desc": "You're out in the open!",
  344. "move": (room) => {
  345. },
  346. "enter": (room) => {
  347. startTimer({
  348. id: "table-suspicion",
  349. func: () => {
  350. checkSuspicion(1.5);
  351. return true;
  352. },
  353. delay: 100,
  354. loop: true,
  355. classes: [
  356. "free"
  357. ]
  358. });
  359. },
  360. "exit": (room) => {
  361. stopTimer("table-suspicion");
  362. },
  363. "actions": [
  364. ],
  365. "exits": {
  366. "right": {
  367. "target": "pepper-grinder",
  368. "desc": "Run back to cover",
  369. "show": [
  370. ],
  371. "conditions": [
  372. ],
  373. "hooks": [
  374. ]
  375. },
  376. },
  377. "hooks": [
  378. ],
  379. "data": {
  380. "stats": {
  381. }
  382. }
  383. },
  384. "in-bowl": {
  385. "id": "in-bowl",
  386. "name": "Bowl",
  387. "desc": "You're in the cereal bowl...",
  388. "move": (room) => {
  389. print(["Why did you do that?"]);
  390. },
  391. "enter": (room) => {
  392. stopClassTimers("free");
  393. startTimer({
  394. id: "geta-eat",
  395. func: () => {
  396. if (Math.random() < 0.6) {
  397. print(["Geta scoops up a spoonful of cereal; you narrowly avoid being caught."]);
  398. return true;
  399. } else {
  400. print(["Geta scoops you up and slurps you into his maw."]);
  401. goToRoom("maw");
  402. return false;
  403. }
  404. },
  405. delay: 3000,
  406. loop: true,
  407. classes: [
  408. "free"
  409. ]
  410. });
  411. },
  412. "exit": (room) => {
  413. },
  414. "actions": [
  415. ],
  416. "exits": {
  417. "ascend": {
  418. "target": "bowl",
  419. "desc": "Try to climb back out!",
  420. "show": [
  421. ],
  422. "conditions": [
  423. ],
  424. "hooks": [
  425. (room, exit) => {
  426. print([
  427. "You grab at the rim of the bowl and try to pull yourself out. Alas, your struggles are for naught; Geta easily scoops you up in his spoon and, a heartbeat later, slurps you into his sloppy jaws. You didn't stand a chance."
  428. ]);
  429. goToRoom("maw");
  430. return false;
  431. }
  432. ]
  433. },
  434. },
  435. "hooks": [
  436. ],
  437. "data": {
  438. "stats": {
  439. }
  440. }
  441. },
  442. "maw": {
  443. "id": "maw",
  444. "name": "Geta's Maw",
  445. "desc": "You've been slurped up into the fox's jaws",
  446. "move": (room) => {
  447. },
  448. "enter": (room) => {
  449. stopClassTimers("free");
  450. state.player.stats.mawPos.hidden = false;
  451. state.geta.slurps = 0;
  452. state.geta.chews = 0;
  453. state.geta.swallowsLeft = 3 + Math.floor(Math.random() * 3);
  454. state.geta.mawMovement = 1;
  455. startTimer({
  456. id: "maw-random-movement",
  457. func: () => {
  458. const time = new Date().getTime();
  459. const movementFactor = (state.geta.mawMovement + limbsLost());
  460. const fastPart = Math.sin(time / 200) / 1600 / 3;
  461. const slowPart = Math.sin(time / 1000) / 1600;
  462. changeStat("mawPos", movementFactor * (fastPart + slowPart));
  463. if (getStat("mawPos") <= 0.02) {
  464. print(["You slip too far back. Geta doesn't even have to try to swallow you like the food you are."]);
  465. goToRoom("throat");
  466. return false;
  467. } else if (getStat("mawPos") >= 0.98) {
  468. print(["Geta's jaws close like a falling guillotine's blade. You're crushed like an insect. A sharp gulp drags you down to the fox's guts."]);
  469. changeStat("health", -90);
  470. goToRoom("stomach");
  471. return false;
  472. }
  473. return true;
  474. },
  475. delay: 1000 / 60,
  476. loop: true,
  477. classes: [
  478. "maw-struggle"
  479. ]
  480. });
  481. startTimer({
  482. id: "maw-struggle",
  483. func: () => {
  484. if (state.geta.swallowsLeft <= 0) {
  485. print(["Geta picks up his bowl of cereal and drinks it down, swallowing you in the process."]);
  486. state.geta.swallowsLeft = -1;
  487. goToRoom("throat");
  488. return false;
  489. }
  490. let choice;
  491. if (Math.random() < 0.2) {
  492. const choices = [
  493. "slosh",
  494. "tilt-back"
  495. ];
  496. choice = choices[Math.floor(Math.random() * choices.length)];
  497. } else if (Math.random() > state.geta.slurps / 3) {
  498. choice = "slurp";
  499. } else if (state.geta.chews - Math.floor(Math.random() * 3) < state.geta.slurps) {
  500. choice = "chew";
  501. } else {
  502. choice = "swallow";
  503. }
  504. if (choice == "swallow") {
  505. if (getStat("mawPos") < 0.15) {
  506. print(["Swallowed!"]);
  507. goToRoom("throat");
  508. return false;
  509. } else {
  510. print(["Swallows"]);
  511. statLerp("mawPos", -0.25, 500);
  512. state.geta.slurps = 0;
  513. state.geta.chews = 0;
  514. state.geta.swallowsLeft -= 1;
  515. return Math.random() * 1500 + 2500;
  516. }
  517. } else if (choice == "slurp") {
  518. statLerp("mawPos", -0.1, 250);
  519. print(["Slurps"]);
  520. state.geta.slurps += 1;
  521. return Math.random() * 1000 + 1500;
  522. } else if (choice == "chew") {
  523. if (getStat("mawPos") > 0.85) {
  524. const limb = randomBodyPart();
  525. state.player.limbs[limb] = false;
  526. const limbName = limbs[limb];
  527. if (limb == "head") {
  528. print(["He chewed your head :((("]);
  529. changeStat("health", -100);
  530. goToRoom("stomach");
  531. } else {
  532. print(["He chewed your " + limbName + " :("]);
  533. changeStat("health", -40);
  534. return true;
  535. }
  536. } else {
  537. print(["Chews"]);
  538. state.geta.chews += 1;
  539. return Math.random() * 500 + 1000;
  540. }
  541. } else if (choice == "slosh") {
  542. print(["Geta's tongue sloshes from side to side, throwing you around his maw like a ship in a storm."]);
  543. state.geta.mawMovement = 3;
  544. startTimer({
  545. id: "maw-slosh-end",
  546. func: () => {
  547. state.geta.mawMovement = 1;
  548. print(["The sloshing ends."]);
  549. return true;
  550. },
  551. delay: 4000,
  552. loop: false,
  553. classes: [
  554. "maw-struggle"
  555. ]
  556. });
  557. return Math.random() * 1500 + 4500;
  558. } else if (choice == "tilt-back") {
  559. print(["Geta tilts his head back, sending rivults of slobber flowing down into that yawning gullet."]);
  560. state.geta.mawMovement = 0.2;
  561. statLerp("mawPos", -1, 4000);
  562. startTimer({
  563. id: "maw-tilt-text",
  564. func: () => {
  565. print(["The fox's muzzle tilts back down as he SWALLOWS hard."]);
  566. statLerp("mawPos", -0.3, 500);
  567. state.geta.swallowsLeft -= 1;
  568. state.geta.slurps = 0;
  569. state.geta.chews = 0;
  570. return true;
  571. },
  572. delay: 4000,
  573. loop: false,
  574. classes: [
  575. ]
  576. });
  577. return 5000 + Math.random() * 1000;
  578. }
  579. },
  580. delay: 0,
  581. loop: true,
  582. classes: [
  583. "maw-struggle"
  584. ]
  585. });
  586. startTimer({
  587. id: "maw-taunts",
  588. func: () => {
  589. printRandom([
  590. ["\"Did you really think I wouldn't notice you?\""],
  591. ["\"You're going to feel good dying in my guts.\""],
  592. ["\"I could just crush you...but where's the fun in that?\""]
  593. ]);
  594. return Math.random() * 5000 + 5000;
  595. },
  596. delay: 5000,
  597. loop: true,
  598. classes: [
  599. "maw-struggle"
  600. ]
  601. });
  602. },
  603. "exit": (room) => {
  604. },
  605. "actions": [
  606. {
  607. name: "Struggle",
  608. desc: "Pull yourself away from the fox's throat! Just don't go too far forward...",
  609. execute: (room) => {
  610. print(["You drag yourself forward"]);
  611. statLerp("mawPos", 0.15 + Math.random() * 0.05, 250);
  612. },
  613. show: [
  614. ],
  615. conditions: [
  616. ]
  617. },
  618. {
  619. name: "Slip Back",
  620. desc: "Slide back towards Geta's gullet",
  621. execute: (room) => {
  622. if (Math.random() < 0.9) {
  623. print(["You let yourself slip back."]);
  624. statLerp("mawPos", -0.2 - Math.random() * 0.1, 250);
  625. } else {
  626. print(["You lose your grip, sliding back quite far!"]);
  627. statLerp("mawPos", -0.3 - Math.random() * 0.15, 250);
  628. }
  629. },
  630. show: [
  631. ],
  632. conditions: [
  633. ]
  634. },
  635. {
  636. name: "Dive In",
  637. desc: "Throw yourself towards the fox's throat",
  638. execute: (room) => {
  639. print(["Resigned to your fate, you toss yourself into Geta's throat. He seems surprised by your eagerness to submit, but swallows you all the same."]);
  640. goToRoom("throat");
  641. },
  642. show: [
  643. ],
  644. conditions: [
  645. ]
  646. },
  647. ],
  648. "exits": {
  649. },
  650. "hooks": [
  651. ],
  652. "data": {
  653. "stats": {
  654. }
  655. }
  656. },
  657. "throat": {
  658. "id": "throat",
  659. "name": "Geta's Gullet",
  660. "desc": "GULP!",
  661. "move": (room) => {
  662. },
  663. "enter": (room) => {
  664. playSfx("sfx/swallow.ogg");
  665. state.player.stats.mawPos.hidden = true;
  666. stopClassTimers("maw-struggle");
  667. startTimer({
  668. id: "throat-swallow",
  669. func: () => {
  670. print(["You slush down into Geta's stomach"]);
  671. goToRoom("stomach");
  672. return true;
  673. },
  674. delay: 7000,
  675. loop: false,
  676. classes: [
  677. ]
  678. });
  679. },
  680. "exit": (room) => {
  681. },
  682. "actions": [
  683. {
  684. name: "Struggle",
  685. desc: "Try to climb back out!",
  686. execute: (room) => {
  687. print(["Nope"]);
  688. },
  689. show: [
  690. ],
  691. conditions: [
  692. ]
  693. },
  694. {
  695. name: "Give up",
  696. desc: "Dive down into Geta's stomach",
  697. execute: (room) => {
  698. print(["You submit to your predator."]);
  699. goToRoom("stomach");
  700. stopTimer("throat-swallow");
  701. },
  702. show: [
  703. ],
  704. conditions: [
  705. ]
  706. },
  707. ],
  708. "exits": {
  709. },
  710. "hooks": [
  711. ],
  712. "data": {
  713. "stats": {
  714. }
  715. }
  716. },
  717. "stomach": {
  718. "id": "stomach",
  719. "name": "Geta's Stomach",
  720. "desc": "Glorp",
  721. "move": (room) => {
  722. },
  723. "enter": (room) => {
  724. playLoop("loop/stomach.ogg");
  725. stopClassTimers("maw-struggle");
  726. state.geta.acidStrength = 1;
  727. startTimer({
  728. id: "digest-random",
  729. func: () => {
  730. const choices = [
  731. () => {
  732. const crushed = randomBodyPart();
  733. const name = limbs[crushed];
  734. if (name == "head") {
  735. print(["A powerful fold of muscle grips your head, crushing it like a grape and killing you instantly."]);
  736. changeStat("health", -100);
  737. return false;
  738. } else {
  739. print(["Geta's stomach grips your " + name + " and crushes it with a horrific CRACK"]);
  740. changeStat("health", -40);
  741. return true;
  742. }
  743. },
  744. () => {
  745. printRandom([["Geta squeezes in on his gut with both hands, sloshing you around in the sickly stew of cereal, milk, and enzymatic slime."],
  746. ["Your organic prison snarls and churns, soaking you in fresh acids and hastening your wretched demise."]]);
  747. changeStat("health", -10);
  748. return true;
  749. },
  750. () => {
  751. if (state.geta.swallowsLeft == 0) {
  752. print(["A deep series of *glurks* rattles your bones."]);
  753. startTimer({
  754. id: "stomach-milk",
  755. func: () => {
  756. print(["A torrent of cold milk pours into the fox's stomach."]);
  757. return false;
  758. },
  759. delay: 3000,
  760. loop: false,
  761. classes: [
  762. "digestion"
  763. ]
  764. });
  765. } else if (state.geta.swallowsLeft > 0) {
  766. print(["Muffled chewing comes from far above. A moment later, you hear a wet *gluk*"]);
  767. startTimer({
  768. id: "stomach-cereal",
  769. func: () => {
  770. print(["A slimy heap of well-chewed corn flakes splatters down around you."]);
  771. return false;
  772. },
  773. delay: 4000,
  774. loop: false,
  775. classes: [
  776. ]
  777. });
  778. } else if (state.geta.swallowsLeft < 0) {
  779. print(["You hear a few light swallows."]);
  780. startTimer({
  781. id: "stomach-coffee",
  782. func: () => {
  783. print(["Gouts of hot, bitter coffee pour into the fox's guts."]);
  784. return false;
  785. },
  786. delay: 3000,
  787. loop: false,
  788. classes: [
  789. ]
  790. });
  791. }
  792. return true;
  793. },
  794. () => {
  795. print(["\"You were barely worth eating,\" murmurs the fox. \"So small. So weak.\""]);
  796. return true;
  797. }
  798. ];
  799. return choices[Math.floor(Math.random() * choices.length)]();
  800. },
  801. delay: 5000,
  802. loop: true,
  803. classes: [
  804. "digestion"
  805. ]
  806. });
  807. startTimer({
  808. id: "digest",
  809. func: () => {
  810. changeStat("health", -0.3 * state.geta.acidStrength);
  811. if (getStat("health") <= 0) {
  812. print(["You're digested before too long."]);
  813. goToRoom("digested");
  814. return false;
  815. }
  816. return true;
  817. },
  818. delay: 100,
  819. loop: true,
  820. classes: [
  821. "digestion"
  822. ]
  823. });
  824. },
  825. "exit": (room) => {
  826. },
  827. "actions": [
  828. {
  829. name: "Squirm",
  830. desc: "Rub at the walls of the fox's churning stomach",
  831. execute: (room) => {
  832. printRandom([
  833. ["You punch and kick at the walls"],
  834. ["A powerful churn grabs hold of you, stifling any attempts at struggling"],
  835. ["Your little thumps and kicks do little to faze your captor"]
  836. ]);
  837. },
  838. show: [
  839. ],
  840. conditions: [
  841. ]
  842. },
  843. {
  844. name: "Beg",
  845. desc: "Plead for your life",
  846. execute: (room) => {
  847. printRandom([
  848. [
  849. "\"PLEASE!\" you scream, thumping on the walls of the vulpine's gut. \"Let me out!\"",
  850. ]
  851. ])
  852. if (Math.random() < 0.7) {
  853. print(["Your pleas fall on deaf ears."]);
  854. } else {
  855. printRandom([
  856. ["\"Shhhh,\" growls Geta, \"you're going to die in me. Stop whimpering.\""],
  857. ["A long moment passes. \"Poor thing,\" says your captor."]
  858. ])
  859. }
  860. },
  861. show: [
  862. ],
  863. conditions: [
  864. ]
  865. },
  866. {
  867. name: "Scream",
  868. desc: "IT HURTS",
  869. execute: (room) => {
  870. printRandom([
  871. [
  872. "\"Oh god, oh god, oh god,\" you wail...quivering and quaking as you're digested alive. \"GETA!\""
  873. ],
  874. [
  875. "A blood-curdling scream bellows from your burning lungs."
  876. ],
  877. [
  878. "You let out a hideous wail as the fox digests you alive."
  879. ]
  880. ]);
  881. if (Math.random() < 0.5) {
  882. print(["Geta doesn't notice."]);
  883. } else {
  884. print(["A booming chuckle rocks your body."]);
  885. printRandom([
  886. ["\"I hope you're suffering in there.\""],
  887. ["\"Pathetic little snack.\""],
  888. ["\"Ready to die?\""]
  889. ]);
  890. }
  891. },
  892. show: [
  893. ],
  894. conditions: [
  895. ]
  896. },
  897. ],
  898. "exits": {
  899. },
  900. "hooks": [
  901. ],
  902. "data": {
  903. "stats": {
  904. }
  905. }
  906. },
  907. "digested": {
  908. "id": "digested",
  909. "name": "Fat",
  910. "desc": "You're just fat now",
  911. "move": (room) => {
  912. },
  913. "enter": (room) => {
  914. stopClassTimers("digestion");
  915. playSfx("sfx/absorb.ogg");
  916. },
  917. "exit": (room) => {
  918. },
  919. "actions": [
  920. {
  921. name: "Gurgle",
  922. desc: "Glorp",
  923. execute: (room) => {
  924. printRandom([
  925. ["Grrrrgle"],
  926. ["Glorp"],
  927. ["Glrrrrrrnnnnnn..."],
  928. ["Gwoooooorgle"]
  929. ]);
  930. },
  931. show: [
  932. ],
  933. conditions: [
  934. ]
  935. },
  936. ],
  937. "exits": {
  938. },
  939. "hooks": [
  940. ],
  941. "data": {
  942. "stats": {
  943. }
  944. }
  945. },
  946. }
  947. });
  948. })();