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

635 lines
23 KiB

  1. function KuroLuxray() {
  2. Creature.call(this, "Kuro", 25, 30, 25);
  3. this.hasName = true;
  4. this.description = function() { return "Kuro"; };
  5. this.attacks = [];
  6. this.attacks.push(kuroPounce(this));
  7. this.attacks.push(kuroSit(this));
  8. this.attacks.push(kuroBat(this));
  9. this.attacks.push(kuroLick(this));
  10. this.attacks.push(kuroKnead(this));
  11. this.attacks.push(kuroOralVore(this));
  12. this.attacks.push(kuroAnalSmother(this));
  13. this.attacks.push(kuroAnalVore(this));
  14. this.attacks.push(kuroOralSuckle(this));
  15. this.attacks.push(kuroOralSwallow(this));
  16. this.attacks.push(kuroAnalPull(this));
  17. this.attacks.push(kuroAnalSqueeze(this));
  18. this.attacks.push(kuroAnalIngest(this));
  19. this.attacks.push(kuroStomachDigest(this));
  20. this.flags.state = "chase";
  21. this.flags.distance = 6;
  22. this.playerAttacks = [];
  23. this.playerAttacks.push(kuroPlayerRun);
  24. this.playerAttacks.push(kuroPlayerEscape);
  25. this.playerAttacks.push(kuroPlayerPawStruggle);
  26. this.playerAttacks.push(kuroPlayerAssStruggle);
  27. this.playerAttacks.push(kuroPlayerOralStruggle);
  28. this.playerAttacks.push(kuroPlayerAnalStruggle);
  29. this.playerAttacks.push(kuroPlayerStomachStruggleUp);
  30. this.playerAttacks.push(kuroPlayerStomachStruggleDown);
  31. this.playerAttacks.push(pass);
  32. this.prefs.prey = false;
  33. this.startCombat = function(player) {
  34. player.flags.teases = 0;
  35. return ["Vertigo abruptly overwhelms you. Stumbling and grasping for something to steady yourself with, you eventually find yourself lying on the floor...and only a few inches tall. You scramble to your feet, ears perking at the sound of footfalls. Alas, it is not a chance of rescue - rather, it's a massive black-and-yellow cat, skulking from the shadows and licking his lips."];
  36. };
  37. this.finishCombat = function() {
  38. switch(this.flags.state) {
  39. case "stomach":
  40. return ["You pass out in the Luxray's gut, gradually melting away..."];
  41. }
  42. };
  43. }
  44. function kuroBat(attacker) {
  45. return {
  46. attackPlayer: function(defender) {
  47. let line = "The Luxray leaps towards you and smacks you with his heavy paw. ";
  48. let choice = Math.random();
  49. if (choice < 0.4) {
  50. player.changeStamina(-25);
  51. line += "You're knocked sideways, tossed into the wall! The impact dazes you for a moment.";
  52. } else if (choice < 0.75) {
  53. player.changeStamina(-15);
  54. let distance = Math.round(Math.random()*2+1);
  55. attacker.flags.distance += distance;
  56. line += "You tumble backwards, tossed between the lion's legs and thrown backward " + (distance == 1 ? "a foot" : "two feet") + ".";
  57. } else {
  58. player.changeStamina(-15);
  59. attacker.flags.distance -= 1;
  60. line += "He bats you from behind, sending you tumbling a foot forward.";
  61. }
  62. return [line];
  63. },
  64. requirements: [
  65. function(attacker, defender) {
  66. return attacker.flags.state == "chase";
  67. }
  68. ],
  69. priority: 1,
  70. weight: function(attacker, defender) { return 1; }
  71. };
  72. }
  73. function kuroPounce(attacker) {
  74. return {
  75. attackPlayer: function(defender) {
  76. let result = statHealthCheck(attacker, defender, "dex");
  77. if (result) {
  78. attacker.flags.state = "paws";
  79. return ["A scrape of claws on concrete precedes the looming shadow of the lion. You turn and gasp in surprise, trying to dive out of the way as he comes hurtling down towards you - but it's too late. Kuro lands hard on his forepaws, pinning you to the cold, damp pavement and smothering your body in those weighty toes."];
  80. } else {
  81. return ["You hear the Luxray's claws scrape on the pavement as he pounces. It's just enough of a warning for you to dive out of the way. Heavy paws thump down on the ground, narrowly missing your body as you roll and get back to your feet."];
  82. }
  83. },
  84. requirements: [
  85. function(attacker, defender) {
  86. return attacker.flags.state == "chase";
  87. },
  88. function(attacker, defender) {
  89. return defender.prefs.prey && defender.prefs.vore.oral > 0;
  90. }
  91. ],
  92. priority: 1,
  93. weight: function(attacker, defender) { return 1; }
  94. };
  95. }
  96. function kuroSit(attacker) {
  97. return {
  98. attackPlayer: function(defender) {
  99. let success = statHealthCheck(attacker, defender, "dex");
  100. if (success) {
  101. attacker.flags.state = "sit";
  102. return ["You gasp as the Luxray saunters over you, his regal body blotting out the light from above. It seems like he's just...walking past? You slow and stop, gazing upward as his black-and-yellow body walks by - chest, then belly, then his half-erect shaft, and then...<i>WHUMP</i>. His hind legs bend as his hips slam down on your body, pinning you up against his heavy ass. A hot, musk-tinged pucker grinds over your snout as he lets out a satisfied <i>purr.</i>"];
  103. } else {
  104. return ["You gasp as the Luxray saunters right onto you - tongue lolling from his parted jaws, eyes briefly making contact with yours - before his head becomes obscured by his regal chest and belly. For a brief moment, you think he's just letting you go...and then you realize what's about to happen, lunging to the side a heartbeat before his hips slam down on the ground. A delighted purr is cut short as he looks to the side and sees you stumbling to your feet; the Luxray rises back up and snarls. He really does want you..."];
  105. }
  106. },
  107. requirements: [
  108. function(attacker, defender) {
  109. return attacker.flags.state == "chase";
  110. },
  111. function(attacker, defender) {
  112. return defender.prefs.prey && defender.prefs.vore.anal > 0;
  113. }
  114. ],
  115. priority: 1,
  116. weight: function(attacker, defender) { return 1; }
  117. };
  118. }
  119. function kuroLick(attacker) {
  120. return {
  121. attackPlayer: function(defender) {
  122. defender.changeStamina(-25);
  123. return ["The big cat's hot, pink tongue drags over your body as he savors your little squirmy body."];
  124. },
  125. requirements: [
  126. function(attacker, defender) {
  127. return attacker.flags.state == "paws";
  128. }
  129. ],
  130. priority: 1,
  131. weight: function(attacker, defender) { return defender.staminaPercentage(); }
  132. };
  133. }
  134. function kuroKnead(attacker) {
  135. return {
  136. attackPlayer: function(defender) {
  137. defender.changeStamina(-45);
  138. return ["Heavy paws knead over your body, smothering you against the pavement."];
  139. },
  140. requirements: [
  141. function(attacker, defender) {
  142. return attacker.flags.state == "paws";
  143. }
  144. ],
  145. priority: 1,
  146. weight: function(attacker, defender) { return defender.staminaPercentage(); }
  147. };
  148. }
  149. function kuroOralVore(attacker) {
  150. return {
  151. attackPlayer: function(defender) {
  152. attacker.flags.state = "oral";
  153. attacker.flags.oralstage = 1;
  154. return ["Pinned and helpless, you can do little but squirm as the big cat's jaws lower to envelop you...hot, slimy tongue curling under your pinned body, cradling you in muscle and easing you into that powerful maw. He suckles on you for a long minute, sloshing you from side to side - savoring your fear, no doubt."];
  155. },
  156. requirements: [
  157. function(attacker, defender) {
  158. return attacker.flags.state == "paws";
  159. },
  160. function(attacker, defender) {
  161. return defender.prefs.prey && defender.prefs.vore.oral > 0;
  162. }
  163. ],
  164. priority: 1,
  165. weight: function(attacker, defender) { return 2 - 1 * defender.staminaPercentage(); }
  166. };
  167. }
  168. function kuroOralSuckle(attacker) {
  169. return {
  170. attackPlayer: function(defender) {
  171. defender.changeStamina(-35);
  172. return ["Hot, wet flesh grinds over your body as Kuro slurps and sucks on your bite-sized frame."];
  173. },
  174. requirements: [
  175. function(attacker, defender) {
  176. return attacker.flags.state == "oral";
  177. },
  178. function(attacker, defender) {
  179. return attacker.flags.oralstage == 1;
  180. }
  181. ],
  182. priority: 1,
  183. weight: function(attacker, defender) { return defender.staminaPercentage() * 1.25; }
  184. };
  185. }
  186. function kuroOralSwallow(attacker) {
  187. return {
  188. attackPlayer: function(defender) {
  189. attacker.flags.oralstage++;
  190. if (attacker.flags.oralstage == 2) {
  191. return ["The Luxray flicks back his head, tossing you against the roof of that slimy, humid maw...and then letting you slide right down into his tight throat. A powerful <i>glk</i> of muscle grasps your body and sucks you down deep, your struggles forming faint bulges in the big cat's bared neck."];
  192. } else if (attacker.flags.oralstage == 3) {
  193. attacker.flags.state = "stomach";
  194. return ["One final swallow tugs you down into Kuro's tight, sloppy stomach."];
  195. }
  196. },
  197. requirements: [
  198. function(attacker, defender) {
  199. return attacker.flags.state == "oral";
  200. }
  201. ],
  202. priority: 1,
  203. weight: function(attacker, defender) { return 2/3; }
  204. };
  205. }
  206. function kuroAnalSmother(attacker) {
  207. return {
  208. attackPlayer: function(defender) {
  209. defender.changeStamina(-45);
  210. return ["Kuro's ass grinds over your pinned body, knocking the wind from your lungs"];
  211. },
  212. requirements: [
  213. function(attacker, defender) {
  214. return attacker.flags.state == "sit";
  215. }
  216. ],
  217. priority: 1,
  218. weight: function(attacker, defender) { return defender.staminaPercentage(); }
  219. };
  220. }
  221. function kuroAnalVore(attacker) {
  222. return {
  223. attackPlayer: function(defender) {
  224. attacker.flags.state = "anal";
  225. attacker.flags.analstage = 1;
  226. return ["The heavy cat's weight shifts and slides...and his soft pucker takes you in. He eases himself down just an inch or two, enough to slide your upper body within...churring and swishing his tail as you're locked into his bitter, musky bowels. He clenches firmly, sealing that donut around your hips and easing you further inside."];
  227. },
  228. requirements: [
  229. function(attacker, defender) {
  230. return attacker.flags.state == "sit";
  231. },
  232. function(attacker, defender) {
  233. return defender.prefs.prey && defender.prefs.vore.anal > 0;
  234. }
  235. ],
  236. priority: 1,
  237. weight: function(attacker, defender) { return 2 - defender.staminaPercentage(); }
  238. };
  239. }
  240. function kuroAnalPull(attacker) {
  241. return {
  242. attackPlayer: function(defender) {
  243. attacker.flags.analstage++;
  244. if (attacker.flags.analstage == 2) {
  245. return ["A slow, unstoppable squeeze drags you deeper into the Luxray's bowels."];
  246. } else if (attacker.flags.analstage == 3) {
  247. return ["The fleshy walls grow tighter as you're clenched up against the big cat's small intestine."];
  248. } else if (attacker.flags.analstage == 4) {
  249. return ["A wet <i>shlllck</i> fills your ears as you're sucked into tighter, mazelike guts, pressed and squeezed on from every direction..."];
  250. } else if (attacker.flags.analstage == 5) {
  251. return ["You're dragged so very deep, disoriented and lost in a haze of musk and humidity. The walls ripple and clench with a slow, steady rhythm."];
  252. } else if (attacker.flags.analstage == 6) {
  253. attacker.flags.state = "stomach";
  254. return ["Kuro's guts clench hard, squeezing you headfirst into his gurgling stomach and smothering you in sloppy flesh."];
  255. }
  256. },
  257. requirements: [
  258. function(attacker, defender) {
  259. return attacker.flags.state == "anal";
  260. }
  261. ],
  262. priority: 1,
  263. weight: function(attacker, defender) { return 1; }
  264. };
  265. }
  266. function kuroAnalSqueeze(attacker) {
  267. return {
  268. attackPlayer: function(defender) {
  269. attack(attacker, defender, 15);
  270. defender.changeStamina(-25);
  271. return pickRandom([
  272. ["Muscular walls clench and squeeze your little body, wearing you down."],
  273. ["A long, drawn-out squeeze grips your body, smearing your face against those musky, meaty walls."],
  274. ["Your body is bent and squeezed by unrelenting force."]
  275. ]);
  276. },
  277. requirements: [
  278. function(attacker, defender) {
  279. return attacker.flags.state == "anal";
  280. }
  281. ],
  282. priority: 1,
  283. weight: function(attacker, defender) { return 1; }
  284. };
  285. }
  286. function kuroAnalIngest(attacker) {
  287. return {
  288. attackPlayer: function(defender) {
  289. attacker.flags.analstage = 6;
  290. attacker.flags.state = "stomach";
  291. return ["Exhauted and beaten, you dimly feel yourself being dragged all the way into the cat's gut...sucked so very deep in one smooth, satisfying clench."];
  292. },
  293. requirements: [
  294. function(attacker, defender) {
  295. return attacker.flags.state == "anal";
  296. },
  297. function(attacker, defender) {
  298. return defender.health <= 0 || defender.stamina <= 0;
  299. }
  300. ],
  301. priority: 2,
  302. weight: function(attacker, defender) { return 1; }
  303. };
  304. }
  305. function kuroStomachDigest(attacker) {
  306. return {
  307. attackPlayer: function(defender) {
  308. attack(attacker, defender, 33);
  309. return pickRandom([
  310. ["Powerful muscle grinds and squeezes your body, wearing you down in the depths of the Luxray."],
  311. ["You moan and whimper, smothered and squashed in a pit of flesh and frothy slime."],
  312. ["The Luxray's stomach gurgles and bubbles as it melts you down."],
  313. ["Hot flesh clenches all around, grinding your body into the acidic slime."],
  314. ["A soft <i>burp</i> spills from the cat's jaws as he digests you down."],
  315. ["Deep, thrumming purrs and thick, slimy sloshes are all you can hear in the Luxray's deepest depths..."]
  316. ]);
  317. },
  318. requirements: [
  319. function(attacker, defender) {
  320. return attacker.flags.state == "stomach";
  321. }
  322. ],
  323. priority: 1,
  324. weight: function(attacker, defender) { return 1; },
  325. gameover: function() { return "Shrunk down and digested by Kuro"; }
  326. };
  327. }
  328. function kuroPlayerRun(attacker) {
  329. return {
  330. name: "Run",
  331. desc: "Run away!",
  332. attack: function(defender) {
  333. defender.flags.distance -= 1;
  334. let line = pickRandom([
  335. ["You run towards the entrance of the alley, trying not to think about what'll happen if you trip..."],
  336. ["Your tiny footsteps echo off the canyonlike walls of the alley."],
  337. ["You sprint towards the relative safety of the street, panting and gasping as the cat's heavy footfalls keep pace behind you."]
  338. ]);
  339. let distance = "";
  340. if (defender.flags.distance > 5) {
  341. distance = "You still have a long way to go.";
  342. } else if (defender.flags.distance > 3) {
  343. distance = "You're getting closer to freedom.";
  344. } else if (defender.flags.distance > 1) {
  345. distance = "You're only a dozen feet away now.";
  346. } else if (defender.flags.distance == 1) {
  347. distance = "Just a few more steps and you're free!";
  348. } else {
  349. distance = "You're out of the alley! Now you just need to turn the corner...";
  350. }
  351. return line.concat(newline,distance);
  352. },
  353. requirements: [
  354. function(attacker, defender) {
  355. return defender.flags.state == "chase";
  356. },
  357. function(attacker, defender) {
  358. return defender.flags.distance > 0;
  359. }
  360. ],
  361. priority: 1,
  362. weight: function(attacker, defender) { return 1; }
  363. };
  364. }
  365. function kuroPlayerEscape(attacker) {
  366. return {
  367. name: "Escape",
  368. desc: "Get away from the alley!",
  369. attack: function(defender) {
  370. changeMode("explore");
  371. moveToByName("North Street","");
  372. advanceTime(60 * 60 * 6 * (Math.random() + 0.2));
  373. attacker.health = attacker.maxHealth * 0.2;
  374. attacker.stamina = attacker.maxStamina * 0.2;
  375. return ["You turn the corner and flee, leaving the predatory cat behind. You stumble along for a few minutes before collapsing under a bench and passing out. When you awaken, you're back to normal size - and a little bit woozy feeling."];
  376. },
  377. requirements: [
  378. function(attacker, defender) {
  379. return defender.flags.state == "chase";
  380. },
  381. function(attacker, defender) {
  382. return defender.flags.distance <= 0;
  383. }
  384. ],
  385. priority: 1,
  386. weight: function(attacker, defender) { return 1; }
  387. };
  388. }
  389. function kuroPlayerPawStruggle(attacker) {
  390. return {
  391. name: "Struggle",
  392. desc: "Squirm under the Luxray's toes",
  393. attack: function(defender) {
  394. let result = statHealthCheck(attacker, defender, "str");
  395. if (result) {
  396. defender.flags.state = "chase";
  397. return ["You squirm out from beneath the Luxray's crushing paws!"];
  398. } else {
  399. return ["You squirm and writhe...but get nowhere, pinned hard against the pavement."];
  400. }
  401. },
  402. requirements: [
  403. function(attacker, defender) {
  404. return defender.flags.state == "paws";
  405. }, function(attacker, defender) {
  406. return attacker.health > 0 && attacker.stamina > 0;
  407. }
  408. ],
  409. priority: 1,
  410. weight: function(attacker, defender) { return 1; }
  411. };
  412. }
  413. function kuroPlayerAssStruggle(attacker) {
  414. return {
  415. name: "Struggle",
  416. desc: "Squirm under the Luxray's ass",
  417. attack: function(defender) {
  418. let result = statHealthCheck(attacker, defender, "str");
  419. if (result) {
  420. defender.flags.state = "chase";
  421. return ["You push and thrust and squeeze...and free yourself! The cat takes a moment to notice you've escaped, and you're back in a sprint by the time he's raised himself back up."];
  422. } else {
  423. return ["You push and shove and writhe...and do nothing but pleasure Kuro, smearing your face in his bitter pucker."];
  424. }
  425. },
  426. requirements: [
  427. function(attacker, defender) {
  428. return defender.flags.state == "sit";
  429. }, function(attacker, defender) {
  430. return attacker.health > 0 && attacker.stamina > 0;
  431. }
  432. ],
  433. priority: 1,
  434. weight: function(attacker, defender) { return 1; }
  435. };
  436. }
  437. function kuroPlayerOralStruggle(attacker) {
  438. return {
  439. name: "Struggle",
  440. desc: "Try to escape the Luxray's gullet...",
  441. attack: function(defender) {
  442. let result = statHealthCheck(attacker, defender, "str");
  443. if (result) {
  444. defender.flags.oralstage--;
  445. if (defender.flags.oralstage == 0) {
  446. defender.flags.state = "paws";
  447. return ["You strain and struggle to push open those massive jaws...and succeed! Your soaking-wet body tumbles to the ground as you force the cat to spit you own.",newline,"The cat promptly stomps on you."];
  448. } else if (defender.flags.oralstage == 1 ) {
  449. return ["Your struggles bear fruit, and you manage to drag yourself back up the cat's throat, much to his surprise."];
  450. }
  451. } else {
  452. return ["You struggle and grind against slick flesh...to no avail."];
  453. }
  454. },
  455. requirements: [
  456. function(attacker, defender) {
  457. return defender.flags.state == "oral";
  458. }, function(attacker, defender) {
  459. return attacker.health > 0 && attacker.stamina > 0;
  460. }
  461. ],
  462. priority: 1,
  463. weight: function(attacker, defender) { return 1; }
  464. };
  465. }
  466. function kuroPlayerAnalStruggle(attacker) {
  467. return {
  468. name: "Struggle",
  469. desc: "Writhe in the Luxray's ass",
  470. attack: function(defender) {
  471. let result = statHealthCheck(attacker, defender, "str");
  472. if (result) {
  473. defender.flags.analstage--;
  474. if (defender.flags.analstage == 0) {
  475. defender.flags.state = "sit";
  476. return ["You give one last mighty heave, pushing yourself out from Kuro's pucker and falling to the ground.",newline,"A moment later, his ass lands hard on you, pinning you hard."];
  477. } else if (defender.flags.analstage == 1) {
  478. return ["You're so very close now. You squirm and press, shoving your lower body back out of the Luxray's ass."];
  479. } else if (defender.flags.analstage == 2) {
  480. return ["You push yourself against arching walls of muscle, workign you way out of the Luxray's bowels bit-by-bit. You pray you're going the right direction..."];
  481. } else if (defender.flags.analstage == 3) {
  482. return ["You slide from Kuro's small intestine. At least you have more room to breathe now."];
  483. } else if (defender.flags.analstage == 4) {
  484. return ["The cat's guts are tangled and winding. You blindly squirm and struggle, making slow, steady progress against those waves of peristalsis."];
  485. } else if (defender.flags.analstage == 5) {
  486. return ["You drag yourself away from the upper half of the cat's small intestine...but there's so very <i>far</i> to go."];
  487. }
  488. } else {
  489. return ["You struggle and grind against slick muscle...to no avail."];
  490. }
  491. },
  492. requirements: [
  493. function(attacker, defender) {
  494. return defender.flags.state == "anal";
  495. }, function(attacker, defender) {
  496. return attacker.health > 0 && attacker.stamina > 0;
  497. }
  498. ],
  499. priority: 1,
  500. weight: function(attacker, defender) { return 1; }
  501. };
  502. }
  503. function kuroPlayerStomachStruggleUp(attacker) {
  504. return {
  505. name: "Struggle up!",
  506. desc: "Try to escape before you're digested by pushing into Kuro's throat.",
  507. attack: function(defender) {
  508. let result = statHealthCheck(attacker, defender, "str");
  509. if (result) {
  510. defender.flags.state = "oral";
  511. defender.flags.oralstage = 2;
  512. return ["You grip the tight sphincter at the top of the cat's stomach and pull with all your might...and pry it open! You shove your head and shoulders in, pulling the rest of your body into the cat's ripppling throat as it tries to pack you back down."];
  513. } else {
  514. return pickRandom([
  515. ["You shove both hands into the tight ring of muscle locking you in that wretched stomach and pull...and get nowhere."],
  516. ["You're too busy being mashed up by crushing peristalsis to struggle."],
  517. ["You try to find your footing to push into the cat's throat. A lazy roll and <i>belch</i> throws you into the chyme."]
  518. ]);
  519. }
  520. },
  521. requirements: [
  522. function(attacker, defender) {
  523. return defender.flags.state == "stomach";
  524. },
  525. function(attacker, defender) {
  526. return attacker.health > 0 && attacker.stamina > 0;
  527. },
  528. function(attacker, defender) {
  529. return attacker.prefs.vore.oral > 0;
  530. }
  531. ],
  532. priority: 1,
  533. weight: function(attacker, defender) { return 1; }
  534. };
  535. }
  536. function kuroPlayerStomachStruggleDown(attacker) {
  537. return {
  538. name: "Struggle down!",
  539. desc: "Try to escape before you're digested by pushing into Kuro's bowels.",
  540. attack: function(defender) {
  541. let result = statHealthCheck(attacker, defender, "str");
  542. if (result) {
  543. defender.flags.state = "anal";
  544. defender.flags.analstage = 4;
  545. return ["You grip the tight sphincter at the bottom of the cat's stomach and pull with all your might...and pry it open! Your entire body plunges in in an instant, and you're now sealed into the cat's intestines. Was this really such a good idea...?"];
  546. } else {
  547. return pickRandom([
  548. ["You shove both hands into the tight ring of muscle locking you in that wretched stomach and pull...and get nowhere."],
  549. ["You're too busy being mashed up by crushing peristalsis to struggle."],
  550. ["You try to find your footing to push into the cat's guts. A lazy roll and <i>belch</i> throws you into the chyme."]
  551. ]);
  552. }
  553. },
  554. requirements: [
  555. function(attacker, defender) {
  556. return defender.flags.state == "stomach";
  557. }, function(attacker, defender) {
  558. return attacker.health > 0 && attacker.stamina > 0;
  559. },
  560. function(attacker, defender) {
  561. return attacker.prefs.vore.anal > 0;
  562. }
  563. ],
  564. priority: 1,
  565. weight: function(attacker, defender) { return 1; }
  566. };
  567. }