big steppy
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.
 
 
 

842 lines
37 KiB

  1. 'use strict';
  2. /*jshint browser: true*/
  3. var rules = {};
  4. var defaults= {};
  5. function getDefault(name) {
  6. let tokens = name.split("-");
  7. for (let i=0; i<tokens.length; i++) {
  8. tokens[i] = tokens[i].charAt(0).toUpperCase() + tokens[i].slice(1);
  9. }
  10. let funcName = "default" + tokens.join("");
  11. return window[funcName];
  12. }
  13. var actions = ["eat","chew","stomp","kick","anal-vore","ass-crush","tail-slap","tail-vore",
  14. "cleavage-stuff","cleavage-crush","cleavage-drop","cleavage-absorb","breast-crush",
  15. "breast-vore","breast-milk","unbirth","sheath-stuff","sheath-squeeze","sheath-crush",
  16. "sheath-absorb","cock-vore","cockslap","ball-smother","male-spurt","male-orgasm","female-spurt",
  17. "female-orgasm","grind","pouch-stuff","pouch-rub","pouch-eat","pouch-absorb","soul-vore","soul-absorb-paw",
  18. "paw-stench","ass-stench","belch","fart","stomach","womb","balls","bowels","bowels-to-stomach","breasts","bladder","soul-digest",
  19. "wear-shoe","remove-shoe","wear-sock","remove-sock","stuff-shoe","dump-shoe","stuff-sock","dump-sock","piss","bladder-vore","scat"];
  20. for (let i=0; i<actions.length; i++) {
  21. rules[actions[i]] = [];
  22. }
  23. function isNonFatal(macro) {
  24. return macro.brutality == 0;
  25. }
  26. function isFatal(macro) {
  27. return macro.brutality >= 1;
  28. }
  29. function isGory(macro) {
  30. return macro.brutality >= 2;
  31. }
  32. function hasNothing(container, thing, amount) {
  33. for (var key in container.contents) {
  34. if (container.contents.hasOwnProperty(key))
  35. return false;
  36. }
  37. return true;
  38. }
  39. function hasLessThan(container, thing, amount) {
  40. if (container.contents.hasOwnProperty(thing))
  41. if (container.contents[thing].count < amount && container.contents[thing].count > 0)
  42. return true;
  43. return false;
  44. }
  45. function hasExactly(container, thing, amount) {
  46. if (!container.contents.hasOwnProperty(thing) && amount == 0)
  47. return true;
  48. if (container.contents.hasOwnProperty(thing) && container.contents[thing].count == amount)
  49. return true;
  50. return false;
  51. }
  52. function hasOnly(container, things) {
  53. if (!hasNothingElse(container, things))
  54. return false;
  55. for (var i=0; i<things.length; i++) {
  56. if (!container.contents.hasOwnProperty(things[i]))
  57. return false;
  58. }
  59. return true;
  60. }
  61. function hasNothingElse(container, things) {
  62. for (var key in container.contents) {
  63. if (container.contents.hasOwnProperty(key))
  64. if (!things.includes(key))
  65. return false;
  66. }
  67. return true;
  68. }
  69. function nothingLarger(container, thing) {
  70. for (var key in container.contents)
  71. if (container.contents.hasOwnProperty(key))
  72. if (areas[key] > areas[thing])
  73. return false;
  74. return true;
  75. }
  76. function describe(action, container, macro, verbose=true) {
  77. var options = [];
  78. for (var i = 0; i < rules[action].length; i++) {
  79. if(rules[action][i].test(container,macro)) {
  80. options.push(rules[action][i].desc);
  81. }
  82. }
  83. if (options.length > 0 && Math.random() > (1 / (2 + rules[action].length))) {
  84. let choice = Math.floor(Math.random() * options.length);
  85. return options[choice](container, macro, verbose);
  86. }
  87. else {
  88. return getDefault(action)(container, macro, verbose);
  89. }
  90. }
  91. // DEFAULTS
  92. function defaultEat(container, macro, verbose) {
  93. if (container.count == 0)
  94. return "You reach down for a delicious treat and grab - oh, nothing.";
  95. else
  96. return "You scoop up " + container.describe(verbose) + " and swallow " + (container.count > 1 ? "them" : "it") + " whole.";
  97. }
  98. function defaultChew(container, macro, verbose) {
  99. if (container.count == 0)
  100. return "You reach down for a delicious treat and grab - oh, nothing.";
  101. else if (isNonFatal(macro))
  102. return defaultEat(container, macro, verbose);
  103. else {
  104. let pronoun = (container.count > 1 ? "them" : "it");
  105. return "You scoop up " + container.describe(verbose) + " and " + macro.biteDesc() + " " + pronoun + " with your " + macro.jawDesc(true) + ", then swallow them down.";
  106. }
  107. }
  108. function defaultStomp(container, macro, verbose) {
  109. if (container.count == 0)
  110. return "Your " + macro.footDesc() + " thumps the ground.";
  111. else if (isFatal(macro))
  112. return "You crush " + container.describe(verbose) + " under" + macro.footDesc(false,false,true) + ".";
  113. else
  114. return "You step on " + container.describe(verbose) + ".";
  115. }
  116. function defaultKick(container, macro, verbose) {
  117. if (container.count == 0)
  118. return "You swing your mighty " + macro.footDesc() + "..and hit nothing.";
  119. else
  120. return "You punt " + container.describe(verbose) + ", destroying " + (container.count > 1 ? "them" : "it") + ".";
  121. }
  122. function defaultAnalVore(container, macro, verbose) {
  123. if (container.count == 0)
  124. return "You're pretty sure you just sat on a rock.";
  125. else
  126. return "You sit yourself down on " + container.describe(verbose) + ". " + (container.count > 1 ? "They slide" : "It slides") + " inside with ease.";
  127. }
  128. function defaultAssCrush(container, macro, verbose) {
  129. if (container.count == 0)
  130. return "You take a seat. It's good to have a break!";
  131. else if (isFatal(macro))
  132. return "Your heavy ass obliterates " + container.describe(verbose) + ". ";
  133. else
  134. return "You sit on " + container.describe(verbose);
  135. }
  136. function defaultTailSlap(container, macro, verbose) {
  137. if (container.count == 0)
  138. return "Your " + (macro.tailCount > 1 ? "tails swing" : "tail swings") + " to and fro";
  139. else if (isFatal(macro))
  140. return "Your " + macro.describeTail + (macro.tailCount > 1 ? " tails swing" : " tail swings") + " into " + container.describe(verbose) + ", smashing everything in " +
  141. (macro.tailCount > 1 ? "their" : "its") + " path.";
  142. else
  143. return "Your " + macro.describeTail + (macro.tailCount > 1 ? " tails slap" : " tail slaps") + " against " + container.describe(verbose) + ", bowling them over.";
  144. }
  145. function defaultTailVore(container, macro, verbose) {
  146. if (container.count == 0)
  147. return "Your drooling tail swings to and fro";
  148. else if (isFatal(macro))
  149. return "Your tail lunges, maw agape, at " + container.describe(verbose) +
  150. ". It scarfs down everything in seconds, gulping forcefully to drag your prey into your sloppy guts.";
  151. else
  152. return "Your tail lunges, maw agape, at " + container.describe(verbose) +
  153. ". It scarfs down everything in a second, gulping forcefully and pulling everything into your belly.";
  154. }
  155. function defaultCleavageStuff(container, macro, verbose) {
  156. if (container.count == 0)
  157. return "You can't fit anything into your cleavage right now.";
  158. else
  159. return "You snatch up " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your cleavage.";
  160. }
  161. function defaultCleavageCrush(container, macro, verbose) {
  162. if (container.count == 0)
  163. return "You grasp your breasts and forcefully squeeze them together.";
  164. else if (isGory(macro))
  165. return "You grasp your breasts and forcefully shove them together, crushing the life from " + container.describe(false) + ".";
  166. else if (isFatal(macro))
  167. return "You grasp your breasts and forcefully shove them together, crushing " + container.describe(false) + ".";
  168. else
  169. return "You grasp your breasts and squish them together, smooshing " + container.describe(false) + ".";
  170. }
  171. function defaultCleavageDrop(container, macro, verbose) {
  172. if (container.count == 0)
  173. return "You pull your breasts apart and give them a shake.";
  174. if (isFatal(macro))
  175. return "You pull your breasts apart far enough for the " + container.describe(false) + " trapped within to fall out, tumbling to the ground and smashing to bits.";
  176. else
  177. return "You pull your breasts apart far enough for the " + container.describe(false) + " trapped within to fall out.";
  178. }
  179. function defaultCleavageAbsorb(container, macro, verbose) {
  180. if (container.count == 0)
  181. return defaultCleavageCrush(container, macro, verbose);
  182. else
  183. return "Your squeeze your breasts together, swiftly absorbing " + container.describe(false) + " into your chest.";
  184. }
  185. function defaultBreastCrush(container, macro, verbose) {
  186. if (container.count == 0)
  187. return "Your thump your breasts against the ground.";
  188. else if (isFatal(macro))
  189. return "Your heavy breasts obliterate " + container.describe(verbose) + ". ";
  190. else
  191. return "You smoosh " + container.describe(verbose) + " with your breasts.";
  192. }
  193. function defaultBreastVore(container, macro, verbose) {
  194. if (container.count == 0)
  195. return "It'd be pretty hot to stick someone in your breasts. Shame you can't right now.";
  196. else
  197. return "Your nipples envelop " + container.describe(verbose) + ", pulling them into your breasts. ";
  198. }
  199. function defaultBreastMilk(container, macro, verbose) {
  200. if (container.count == 0)
  201. return "You squeeze your breasts, coaxing out $VOLUME of warm, creamy milk that splatters on the ground.";
  202. else if (isFatal(macro))
  203. return "You squeeze your breasts, coaxing out $VOLUME of warm, creamy milk that floods " + container.describe(verbose) + " in an unstoppable wave of white.";
  204. else
  205. return "You squeeze your breasts, coaxing out $VOLUME of warm, creamy milk that floods " + container.describe(verbose) + ".";
  206. }
  207. function defaultUnbirth(container, macro, verbose) {
  208. if (container.count == 0)
  209. return "You grab " + new Person(1).describe(verbose) + " and grind them against your slit...but they won't fit.";
  210. else
  211. return "You gasp as you slide " + container.describe(verbose) + " up your slit. ";
  212. }
  213. function defaultSheathStuff(container, macro, verbose) {
  214. if (container.count == 0)
  215. return "You grab a " + new Person(1).describe(verbose) + " and grind them against your sheath-slit...but they won't fit.";
  216. else
  217. return "You pluck " + container.describe(verbose) + " from the ground and slip them into your musky sheath.";
  218. }
  219. function defaultSheathSqueeze(container, macro, verbose) {
  220. if (container.count > 0) {
  221. if (macro.orgasm) {
  222. return "You stroke your spurting cock, then reach down to give your sheath a firm <i>squeeze</i>. Anything within has been ground away to nothingness by the force of your orgasm.";
  223. } else if (macro.arousal < 25) {
  224. return "You grip your soft sheath and give it a squeeze, feeling " + container.describe(false) + " within rub against your " + macro.describeDick + " cock.";
  225. } else if (macro.arousal < 75) {
  226. return "You grip your swelling sheath and squeeze, feeling " + container.describe(false) + " within grind against your " + macro.describeDick + " cock.";
  227. } else if (macro.arousal < 150) {
  228. return "You run your fingers down your " + macro.describeDick + " shaft and grip your sheath, squeezing it to feel " + container.describe(false) + " being smothered against the musky walls by your throbbing cock.";
  229. } else {
  230. return "Trembling with your impending orgasm, your fingers play over your sheath, feeling " + container.describe(false) + " within rub against your " + macro.describeDick + " cock.";
  231. }
  232. } else {
  233. if (macro.orgasm) {
  234. return "You stroke your spurting cock, then reach down to give your sheath a firm <i>squeeze</i>. Anything within has been ground away to nothingness by the force of your orgasm.";
  235. } else if (macro.arousal < 25) {
  236. return "You grip your soft sheath and give it a squeeze.";
  237. } else if (macro.arousal < 75) {
  238. return "You grip your swelling sheath and squeeze.";
  239. } else if (macro.arousal < 150) {
  240. return "You run your fingers down your " + macro.describeDick + " shaft and grip your sheath, squeezing it gently.";
  241. } else {
  242. return "Trembling with your impending orgasm, your fingers play over your sheath.";
  243. }
  244. }
  245. }
  246. function defaultSheathCrush(container, macro, verbose) {
  247. if (container.count == 0)
  248. return "Your orgasm causes your " + macro.describeDick + " cock to swell and surge.";
  249. else if (isGory(macro))
  250. return "Your powerful orgasm causes your throbbing " + macro.describeDick + " cock to swell and crush the life from everything in your sheath, reducing " + container.describe(false) + " to a gory paste that slickens your spurting shaft.";
  251. else if (isFatal(macro))
  252. return "Your orgasm causes your " + macro.describeDick + " shaft to throb and swell, smashing " + container.describe(false) + " trapped in your musky sheath.";
  253. else
  254. return "Your orgasm causes your " + macro.describeDick + " cock to swell, squeezing " + container.describe(false) + " out from your sheath.";
  255. }
  256. function defaultSheathAbsorb(container, macro, verbose) {
  257. if (container.count > 0)
  258. return "You grip your sheath and give it a firm <i>squeeze</i>, abruptly absorbing " + container.describe(false) + " into your musky body.";
  259. else
  260. return defaultSheathSqueeze(container, macro, verbose);
  261. }
  262. function defaultCockVore(container, macro, verbose) {
  263. if (container.count == 0)
  264. return "You grab " + new Person(1).describe(verbose) + " and grind them against your cock...but they won't fit.";
  265. else
  266. return "You stuff " + container.describe(verbose) + " into your throbbing shaft, forcing them down to your heavy balls.";
  267. }
  268. function defaultCockslap(container, macro, verbose) {
  269. if (container.count == 0)
  270. return "Your " + macro.describeDick + " swings through the air. Lewd!";
  271. else if (isFatal(macro))
  272. return "Your swaying " + macro.describeDick + " cock crushes " + container.describe(verbose) + ". ";
  273. else
  274. return "You smack " + container.describe(verbose) + " with your " + macro.describeDick + " shaft.";
  275. }
  276. function defaultBallSmother(container, macro, verbose) {
  277. if (container.count == 0)
  278. return "You rest your heavy balls on the ground.";
  279. else if (isFatal(macro))
  280. return "Your weighty balls spread over " + container.describe(verbose) + ", drowning them in musk.";
  281. else
  282. return "Your weighty balls spread over " + container.describe(verbose) + ".";
  283. }
  284. function defaultMaleSpurt(container, macro, verbose) {
  285. if (container.count == 0)
  286. return "Your " + macro.describeDick + " cock spews $VOLUME of bitter precum.";
  287. else if (isFatal(macro))
  288. return "Your " + macro.describeDick + " cock spurts out bitter precum, drowning " + container.describe(verbose) + " in $VOLUME of slick musky fluid.";
  289. else
  290. return "Your " + macro.describeDick + " shaft spurts precum, splooging " + container.describe(verbose) + " in $VOLUME of slick musky fluid.";
  291. }
  292. function defaultMaleOrgasm(container, macro, verbose) {
  293. if (container.count == 0)
  294. return "Your " + macro.describeDick + " cock spurts $TIMES times, gushing $VOLUME of seed.";
  295. else if (isFatal(macro))
  296. return "You're cumming! Your " + macro.describeDick + " cock erupts with $TIMES ropes of seed, obliterating " + container.describe(verbose) + " in a $VOLUME-torrent of cum.";
  297. else
  298. return "You're cumming! Your " + macro.describeDick + " shaft erupts with $TIMES ropes of seed, splooging " + container.describe(verbose) + " in a $VOLUME-torrent of cum.";
  299. }
  300. function defaultFemaleSpurt(container, macro, verbose) {
  301. if (container.count == 0)
  302. return "Your moist slit splatters $VOLUME of slick juices.";
  303. else if (isFatal(macro))
  304. return "Your moist slit splatters $VOLUME of slick juices, drowning " + container.describe(verbose) + " in your building lust.";
  305. else
  306. return "Your moist slit splatters $VOLUME of slick juices, splooging " + container.describe(verbose) + ".";
  307. }
  308. function defaultFemaleOrgasm(container, macro, verbose) {
  309. if (container.count == 0)
  310. return "Your moist slit sprays $TIMES times, gushing out $VOLUME of slick femcum.";
  311. else if (isFatal(macro))
  312. return "Your moist slit sprays $VOLUME of slick femcum, obliterating " + container.describe(verbose) + " in $TIMES consecutive bursts of lust.";
  313. else
  314. return "Your moist slit sprays $VOLUME of slick femcum, splooging " + container.describe(verbose) + " with $TIMES orgasmic spurts.";
  315. }
  316. function defaultGrind(container, macro, verbose) {
  317. var mid = isFatal(macro) ? ", smashing them apart" : ", using them as a toy";
  318. var end = macro.arousalEnabled ? " to fuel your lust." : ".";
  319. var desc = container.count > 0 ? container.describe(verbose) + mid + end : "the ground.";
  320. if (macro.maleParts && macro.femaleParts) {
  321. return "You grind your " + macro.describeDick + " cock and " + macro.describeVagina + " slit against " + desc;
  322. } else if (macro.maleParts && !macro.femaleParts) {
  323. return "You grind your " + macro.describeDick + " shaft against " + desc;
  324. } else if (!macro.maleParts && macro.femaleParts) {
  325. return "You grind your " + macro.describeVagina + " slit against " + desc;
  326. } else {
  327. return "You grind your hips against " + desc;
  328. }
  329. }
  330. function defaultPouchStuff(container, macro, verbose) {
  331. if (container.count == 0)
  332. return "You grab " + new Person(1).describe(verbose) + " and stuff them against your pouch...but they won't fit!";
  333. else
  334. return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your pouch.";
  335. }
  336. function defaultPouchRub(container, macro, verbose) {
  337. if (container.count == 0)
  338. return "You rub your empty pouch.";
  339. else
  340. return "You rub your bulging pouch, feeling at " + container.describe(false) + " trapped within.";
  341. }
  342. function defaultPouchEat(container, macro, verbose) {
  343. if (container.count == 0)
  344. return "There's nothing in your pouch!";
  345. else
  346. return "You snatch " + container.describe(verbose) + " from your pouch and shove " + (container.count > 1 ? "them" : "it") + " down your gullet!";
  347. }
  348. function defaultPouchAbsorb(container, macro, verbose) {
  349. if (container.count == 0)
  350. return "There's nothing in your pouch!";
  351. else
  352. return "Your pouch flattens as it absorbs " + container.describe(false);
  353. }
  354. function defaultSoulVore(container, macro, verbose) {
  355. if (container.count == 0)
  356. return "No souls here.";
  357. else
  358. return "You open your " + macro.jawDesc(true) + " and inhale, ripping the souls from " + container.describe(verbose) + " and dragging them down deep inside.";
  359. }
  360. function defaultSoulAbsorbPaw(container, macro, verbose) {
  361. let sum = container.sum()["Person"];
  362. if (container.count == 0)
  363. return "Your " + macro.footDesc() + " thumps against the ground";
  364. else if (sum == 0)
  365. return "Your " + macro.footDesc() + " slams down on " + container.describe(verbose) + "...but there aren't any souls within!";
  366. else
  367. return "Your " + macro.footDesc() + " slams down on " + container.describe(verbose) + ", smashing them to pieces and absorbing " + sum + (sum == 1 ? " soul" : " souls") + " into your pads.";
  368. }
  369. function defaultPawStench(container, macro, verbose) {
  370. let sum = container.sum()["Person"];
  371. if (isFatal(macro))
  372. return "Vile fumes waft from your " + macro.footDesc(true) + " , choking the life from " + (sum > 1 ? sum + " people." : "a person.");
  373. else
  374. return "Your stinky " + macro.footDesc(true) + " overwhelm" + (sum > 1 ? sum + " people" : "a person") + " with your scent!";
  375. }
  376. function defaultAssStench(container, macro, verbose) {
  377. let sum = container.sum()["Person"];
  378. if (isFatal(macro))
  379. return "Vile miasma from your bitter ass snuffs out " + (sum > 1 ? sum + " people" : "a person") + ", suffocating them in your stench.";
  380. else
  381. return "Your stinky ass sicens " + (sum > 1 ? sum + " people" : "a person") + " with your scent!";
  382. }
  383. function defaultBelch(container, macro, verbose) {
  384. let sum = container.sum()["Person"];
  385. if (container.count == 0)
  386. return "An ominous groan precedes a crass belch.";
  387. if (isFatal(macro))
  388. return "A rancid belch flows from your " + macro.jawDesc(verbose) + ", corroding " + container.describe(verbose) + " with your vile fumes.";
  389. else
  390. return "You let out a loud burp, blowing over " + container.describe(verbose) + "!";
  391. }
  392. function defaultFart(container, macro, verbose) {
  393. let sum = container.sum()["Person"];
  394. if (container.count == 0)
  395. return "An ominous groan precedes a loud, pungent fart.";
  396. if (isFatal(macro))
  397. return "An ominous groan precedes a loud, pungent fart, corroding " + container.describe(verbose) + " with truly vile vapors.";
  398. else
  399. return "You let out a crass fart, blowing over " + container.describe(verbose) + "!";
  400. }
  401. function defaultStomach(container, macro, verbose) {
  402. if (isGory(macro))
  403. return "Your caustic stomach grinds " + container.describe(false) + " to a gory pulp.";
  404. else if (isFatal(macro))
  405. return "Your stomach gurgles as it digests " + container.describe(false) + ".";
  406. else
  407. return "Your stomach groans and abosrbs " + container.describe(false) + ".";
  408. }
  409. function defaultBowels(container, macro, verbose) {
  410. if (isFatal(macro))
  411. return "Your bowels churn as they melt down " + container.describe(false) + " and absorb them into your body";
  412. else
  413. return "Your bowels churn as they absorb " + container.describe(false);
  414. }
  415. function defaultBowelsToStomach(container, macro, verbose) {
  416. if (isFatal(macro))
  417. return "Your bowels clench, forcing " + container.describe(false) + " into your roiling, caustic stomach.";
  418. else
  419. return "Your bowels clench, squeezing " + container.describe(false) + " into your belly.";
  420. }
  421. function defaultWomb(container, macro, verbose) {
  422. if (isFatal(macro))
  423. return "Your womb squeezes and dissolves " + container.describe(false) + ", turning them into slick femcum.";
  424. else
  425. return "Your womb squeezes as it absorbs " + container.describe(false);
  426. }
  427. function defaultBalls(container, macro, verbose) {
  428. if (isFatal(macro))
  429. return "Your balls slosh as they digest " + container.describe(false) + " into cum";
  430. else
  431. return "Your balls slosh as they absorb " + container.describe(false);
  432. }
  433. function defaultBreasts(container, macro, verbose) {
  434. if (isFatal(macro))
  435. return "Your breasts grrgle as they digest " + container.describe(false) + " into milk";
  436. else
  437. return "Your breasts slosh as they absorb " + container.describe(false);
  438. }
  439. function defaultBladder(container, macro, verbose) {
  440. if (isFatal(macro))
  441. return "Your bladder swells as it dissolves " + container.describe(false) + " into acrid piss";
  442. else
  443. return "Your bladder squeezes as it absorbs " + container.describe(false);
  444. }
  445. function defaultSoulDigest(container, macro, verbose) {
  446. let sum = container.sum()["Person"];
  447. switch(macro.soulVoreType) {
  448. case "release":
  449. return (sum > 1 ? sum + " souls escape" : "A soul escapes") + " your depths.";
  450. case "predscape":
  451. return "Your depths squeeze " + (sum > 1 ? sum + " souls" : "a soul") + " into your predscape.";
  452. case "afterlife":
  453. return "A tingle of energy washes through you as you sap the energy from " + (sum > 1 ? sum + " souls" : "a soul") + " and consign " + (sum > 1 ? "them" : "it") + " to the afterlife.";
  454. case "body":
  455. return "Your body claims " + (sum > 1 ? sum + " souls" : "a soul") + ", imprisoning " + (sum > 1 ? "them" : "it") + " in your body for good.";
  456. case "oblivion":
  457. return "Energy washes through your depths as you annihilate " + (sum > 1 ? sum + " souls" : "a soul") + ", crushing " + (sum > 1 ? "them" : "it") + " into nothingness.";
  458. }
  459. }
  460. function defaultWearShoe(container, macro, verbose) {
  461. if (container.count == 0) {
  462. return "You slip on your " + macro.shoeDesc(true,false) + ".";
  463. } else {
  464. return "You slip on your " + macro.shoeDesc(true,false) + ", " + macro.toeDesc(true) + " wriggling against " + container.describe(false) + " trapped within!";
  465. }
  466. }
  467. function defaultRemoveShoe(container, macro, verbose) {
  468. if (container.count == 0) {
  469. return "You pull off your " + macro.shoeDesc(true,false) + ".";
  470. } else {
  471. return "You pull off your " + macro.shoeDesc(true,false) + ", " + macro.toeDesc(true) + " rubbing against " + container.describe(false) + " on the way out.";
  472. }
  473. }
  474. function defaultWearSock(container, macro, verbose) {
  475. if (container.count == 0) {
  476. return "You slip on your " + macro.sockDesc(true,false) + ".";
  477. } else {
  478. return "You slip on your " + macro.sockDesc(true,false) + ", " + macro.toeDesc(true) + " grinding against " + container.describe(false) + " trapped in the cotton tube!";
  479. }
  480. }
  481. function defaultRemoveSock(container, macro, verbose) {
  482. if (container.count == 0) {
  483. return "You pull off your " + macro.sockDesc(true,false) + ". Cool air washes over your " + macro.toeOnlyDesc(true);
  484. } else {
  485. return "You pull off your " + macro.sockDesc(true,false) + ", leaving " + container.describe(false) + " trapped at the bottom.";
  486. }
  487. }
  488. function defaultStuffShoe(container, macro, verbose) {
  489. if (container.count == 0) {
  490. return "You don't have anything to stuff into your " + macro.shoeDesc(true) + ".";
  491. } else {
  492. return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your " + macro.shoeDesc(true) + "!";
  493. }
  494. }
  495. function defaultStuffSock(container, macro, verbose) {
  496. if (container.count == 0) {
  497. return "You don't have anything to stuff into your " + macro.sockDesc(true) + ".";
  498. } else {
  499. return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your " + macro.sockDesc(true) + "!";
  500. }
  501. }
  502. function defaultDumpShoe(container, macro, verbose) {
  503. if (container.count == 0) {
  504. return "Your " + macro.shoeDesc(true) + " are empty, silly.";
  505. } else {
  506. return "You shake out your " + macro.shoeDesc(true) + ", dumping " + container.describe(false) + " onto the ground.";
  507. }
  508. }
  509. function defaultDumpSock(container, macro, verbose) {
  510. if (container.count == 0) {
  511. return "You don't have anything to stuff into your " + macro.sockDesc(true) + ".";
  512. } else {
  513. return "You turn your " + macro.shoeDesc(true) + " inside-out, dumping " + container.describe(false) + " onto the ground.";
  514. }
  515. }
  516. function defaultPiss(container, macro, verbose) {
  517. if (macro.maleParts) {
  518. if (container.count == 0) {
  519. return "You sigh with relief as $VOLUME of piss erupts from your " + macro.describeDick + " cock.";
  520. } else {
  521. return "You sigh with relief as $VOLUME of piss erupts from your " + macro.describeDick + " cock, spraying down " + container.describe(verbose) + " in a shower of golden, musky fluid.";
  522. }
  523. } else if (macro.femaleParts) {
  524. if (container.count == 0) {
  525. return "You sigh with relief as $VOLUME of piss erupts from your " + macro.describeVagina + " slit.";
  526. } else {
  527. return "You sigh with relief as $VOLUME of piss erupts from your " + macro.describeVagina + " slit, spraying down " + container.describe(verbose) + " in a shower of golden, musky fluid.";
  528. }
  529. } else {
  530. if (container.count == 0) {
  531. return "You sigh with relief as $VOLUME of piss erupts from between your legs.";
  532. } else {
  533. return "You sigh with relief as $VOLUME of piss erupts from between your legs, spraying down " + container.describe(verbose) + " in a shower of golden, musky fluid.";
  534. }
  535. }
  536. }
  537. function defaultBladderVore(container, macro, verbose) {
  538. if (container.count == 0) {
  539. return "You don't have anything to shove into your bladder!";
  540. }
  541. else {
  542. if (macro.maleParts) {
  543. return "You snatch up " + container.describe(verbose) + " and stuff them into your " + macro.describeDick + ", grinding them to its base and forcing them into your musky bladder.";
  544. } else if (macro.femaleParts) {
  545. return "You snatch " + container.describe(verbose) + " in your iron grip, grinding them against your " + macro.describeVagina + " slit before stuffing them into your urethra, sealing them away in your musky bladder.";
  546. } else {
  547. return "You grab " + container.describe(verbose) + " and grind them between your legs, slipping them into your urethra and imprisoning them in your bladder.";
  548. }
  549. }
  550. }
  551. function defaultScat(container, macro, verbose) {
  552. if (macro.scatStorage.victims.count == 0) {
  553. return "Your bowels are empty.";
  554. } else if (macro.brutality > 0) {
  555. return "You squat down, grunting as your lower guts squeeze out a $MASS, $LENGTH-long log of scat that smothers " + container.describe(verbose) + ". Embedded in the thick, chunky waste are the remains of " + listSum(macro.scatStorage.victims.sum()) + ", now little more than bones and wreckage in your shit.";
  556. } else {
  557. return "You squat down, grunting as your lower guts squeeze out a $MASS, $LENGTH-long log of scat that smothers " + container.describe(verbose);
  558. }
  559. }
  560. // EATING
  561. rules["eat"].push({
  562. "test": function(container, macro) {
  563. return hasNothing(container);
  564. },
  565. "desc": function(container, macro, verbose) {
  566. return "You scoop up...nothing. Oh well.";
  567. }
  568. });
  569. rules["eat"].push({
  570. "test": function(container, macro) {
  571. return hasOnly(container, ["Person"]) &&
  572. hasLessThan(container, "Person", 6) &&
  573. macro.height >= 10;
  574. },
  575. "desc": function(container, macro, verbose) {
  576. return "You pluck up the " + container.describe() + " and stuff them into your mouth, swallowing lightly to drag them down to your bubbling guts.";
  577. }
  578. });
  579. rules["eat"].push({
  580. "test": function(container, macro) {
  581. return hasOnly(container, ["Person"]) &&
  582. hasExactly(container, "Person", 1) &&
  583. macro.height < 10;
  584. },
  585. "desc": function(container, macro, verbose) {
  586. return "You grasp " + container.describe() + " and greedily wolf them down, swallowing forcefully to cram them into your bulging stomach. A crass belch escapes your lips as they curl up in your slimy gut.";
  587. }
  588. });
  589. rules["eat"].push({
  590. "test": function(container, macro) {
  591. return hasOnly(container, ["Person","Car"]) &&
  592. hasExactly(container, "Car", 1) &&
  593. hasLessThan(container, "Person", 5);
  594. },
  595. "desc": function(container, macro, verbose) {
  596. return "You crush " + container.contents["Car"].describe() + " with your tight throat, washing it down with " + container.contents["Person"].describe();
  597. }
  598. });
  599. rules["eat"].push({
  600. "test": function(container, macro) {
  601. return hasExactly(container, "Small Skyscraper", 1) &&
  602. nothingLarger(container, "Small Skyscraper") &&
  603. macro.height < 500;
  604. },
  605. "desc": function(container, macro, verbose) {
  606. return "You drop onto your hands and knees, " + macro.jawDesc(true) + " opening wide to envelop the skyscraper. It glides into your throat as your snout touches the ground,\
  607. and you suckle on it for a long moment before twisting your head to snap it loose. The entire building and the " + describe_all(container.contents["Small Skyscraper"].contents, verbose) + "\
  608. within plunge into your roiling guts, along with some delicious treats you slurped up along with it - " + describe_all(container.contents, verbose, ["Small Skyscraper"]) + ".";
  609. }
  610. });
  611. rules["eat"].push({
  612. "test": function(container, macro) {
  613. return hasExactly(container, "Small Skyscraper", 2) &&
  614. nothingLarger(container, "Small Skyscraper") &&
  615. macro.height < 750;
  616. },
  617. "desc": function(container, macro, verbose) {
  618. return "You drop onto your hands and knees, " + macro.jawDesc(true) + " opening wide to envelop the skyscraper. It glides into your throat as your snout touches the ground,\
  619. and you suckle on it for a long moment before twisting your head to snap it loose. Without missing a beat, you rise back up, sloppy tongue slathering over the side \
  620. of the remaining tower, sucking on its tip and roughly shoving it into your maw. It breaks from its foundation, vanishing past your lips as you use two fingers to shove it \
  621. down your sultry throat. Your gut bubbles as " + describe_all(container.contents["Small Skyscraper"].contents, verbose) + " are crunched and crushed within, along with the \
  622. " + describe_all(container.contents, verbose, ["Small Skyscraper"]) + " that were unfortunate enough to be caught up by your slimy tongue.";
  623. }
  624. });
  625. // CHEWING
  626. rules["chew"].push({
  627. "test": function(container, macro) {
  628. return hasOnly(container, ["Person"]) &&
  629. hasExactly(container, "Person", 1) &&
  630. isGory(macro) &&
  631. macro.height < 5;
  632. }, "desc": function(container, macro, verbose) {
  633. return "You tackle a " + container.describe(verbose) + " and dig into your meal, powerful " + macro.jawDesc(true) + " ripping them to shreds in seconds. You wolf down great mouthfuls \
  634. of meat, consuming them in a terrifying frenzy that ends with naught but bones lying on the ground.";
  635. }
  636. });
  637. rules["chew"].push({
  638. "test": function(container, macro) {
  639. return hasOnly(container, ["Person"]) &&
  640. hasExactly(container, "Person", 1) &&
  641. isGory(macro) &&
  642. macro.height >= 5;
  643. }, "desc": function(container, macro, verbose) {
  644. return "You snatch up a " + container.describe(verbose) + ", then stuff their lower body into the guillotine that is your ravenous maw - slicing off their legs with \
  645. a single disgusting <i>crunch</i>, then finishing them off with another ravenous bite that obliterates their torso. Their bleeding head falls from your lips, only to be \
  646. caught between two fingers and popped back in to be crunched between molars and swallowed.";
  647. }
  648. });
  649. rules["chew"].push({
  650. "test": function(container, macro) {
  651. return hasOnly(container, ["Person"]) &&
  652. hasExactly(container, "Person", 2) &&
  653. isGory(macro);
  654. }, "desc": function(container, macro, verbose) {
  655. var prey1 = new Person(1).describe(verbose);
  656. var prey2 = new Person(1).describe(verbose);
  657. return "Powerful " + macro.jawDesc(true) + " obliterate " + prey1 +"'s body. You toss your head back and swallow their gory remains, your free hand slowly crushing " + prey2 + " like a nut \
  658. in a vice. A heartbeat later, their face is jammed into your bloody throat. A squeeze of your " + macro.jawDesc(true) + " snaps their spine with ease, and their limp body plunges down into \
  659. your churning depths to be destroyed.";
  660. }
  661. });
  662. // STOMPING
  663. rules["stomp"].push({
  664. "test": function(container, macro) {
  665. return hasOnly(container, ["Person"]) &&
  666. hasExactly(container, "Person", 1) &&
  667. isFatal(macro);
  668. }, "desc": function(container, macro, verbose) {
  669. return "Your heavy " + macro.footDesc() + " slams down on " + container.describe(verbose) + ", smashing the poor thing like an insect.";
  670. }
  671. });
  672. rules["stomp"].push({
  673. "test": function(container, macro) {
  674. return hasOnly(container, ["Person"]) &&
  675. hasExactly(container, "Person", 1) &&
  676. isGory(macro);
  677. }, "desc": function(container, macro, verbose) {
  678. return "Your " + macro.footDesc() + " thumps " + container.describe(verbose) + ", shoving your victim to the ground and cracking them open like an egg.";
  679. }
  680. });
  681. rules["stomp"].push({
  682. "test": function(container, macro) {
  683. return hasOnly(container, ["Person"]) &&
  684. hasExactly(container, "Person", 1) &&
  685. isGory(macro);
  686. }, "desc": function(container, macro, verbose) {
  687. return "Your shadow falls over " + container.describe(verbose) + ", and your " + macro.footDesc() + " follows, crushing their soft body and reducing them to a heap of broken gore.";
  688. }
  689. });
  690. rules["stomp"].push({
  691. "test": function(container, macro) {
  692. return hasNothingElse(container, ["Person","Cow","Car"]) &&
  693. isNonFatal(macro);
  694. }, "desc": function(container, macro, verbose) {
  695. return "Your " + macro.footDesc() + " smooshes over " + container.describe(verbose) + ". They stick to your " + macro.toeDesc(true) + ", carried along for the ride as you take another few steps before finally\
  696. falling off.";
  697. }
  698. });
  699. // ANAL VORE
  700. rules["anal-vore"].push({
  701. "test": function(container, macro) {
  702. return hasExactly(container, "Person", 1) &&
  703. hasOnly(container, ["Person"]);
  704. }, "desc": function(container, macro, verbose) {
  705. let adjective = ["musky","winding","churning"][Math.floor(Math.random()*3)];
  706. return "Your weighty rump slams against the ground. A shock of pleasure runs up your spine as a " + container.describe(verbose) + " slides up your ass," +
  707. (macro.maleParts ? " grinding against your prostate" : "") + ". A powerful clench drags them deeper into your bowels, sealing them away in your " + adjective + " depths.";
  708. }
  709. });
  710. rules["anal-vore"].push({
  711. "test": function(container, macro) {
  712. return hasExactly(container, "Car", 1) &&
  713. hasOnly(container, ["Car"]);
  714. }, "desc": function(container, macro, verbose) {
  715. return "You ram " + container.describe(verbose) + " up your ass, biting your lip as it" + (macro.maleParts ? " rubs along your prostate" : " slides into velvety depths") + ".\
  716. You moan and clench hard, yanking it in with a wet <i>shlrrp</i> and abruplty silencing its blaring horn.";
  717. }
  718. });
  719. rules["anal-vore"].push({
  720. "test": function(container, macro) {
  721. return hasExactly(container, "Bus", 1) &&
  722. hasOnly(container, ["Bus"]);
  723. }, "desc": function(container, macro, verbose) {
  724. return "A speeding bus slams on its brakes as you abruptly sit - but it's too late to stop. A gasp flies from your lips as it penetrates your greedy ass, sinking halfway in and coming to a halt. \
  725. You grunt and squeeze, causing its frame to creak and groan. Two fingers to the back are enough to get it moving again, and it slowly works inside. You shiver and moan, taking it in all the way. \
  726. Your ass claims " + container.describe(verbose) + ".";
  727. }
  728. });
  729. rules["anal-vore"].push({
  730. "test": function(container, macro) {
  731. return hasExactly(container, "Train", 1) &&
  732. hasOnly(container, ["Train"]);
  733. }, "desc": function(container, macro, verbose) {
  734. var cars = container.contents["Train"].contents["Train Car"].count;
  735. return "Your massive fingers wrap around a train, yanking it from the rails with a tremendous screech of metal-on-metal. You squat down low, eyes rolling back in anticipation as you thrust the locomotive towards your massive ass - and then it hits home. A moan of pleasure shakes the earth, your ravenous pucker spread around the engine and sucking it in with a <i>squelch</i>. Powerful muscles squeeze and grab...and " + container.describe(verbose) + " swiftly vanishes into your bowels, every one of the " + cars + " cars a fresh shock of pleasure as they glide into your musky depths.";
  736. }
  737. });