big steppy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

300 wiersze
11 KiB

  1. rules = {};
  2. rules["eat"] = [];
  3. rules["stomp"] = [];
  4. rules["kick"] = [];
  5. rules["anal-vore"] = [];
  6. rules["ass-crush"] = [];
  7. rules["breast-crush"] = [];
  8. rules["unbirth"] = [];
  9. rules["cock-vore"] = [];
  10. rules["cockslap"] = [];
  11. rules["ball-smother"] = [];
  12. rules["male-orgasm"] = [];
  13. rules["female-orgasm"] = [];
  14. rules["grind"] = [];
  15. rules["stomach"] = [];
  16. rules["balls"] = [];
  17. rules["womb"] = [];
  18. rules["bowels"] = [];
  19. function isFatal(macro) {
  20. return macro.brutality >= 1;
  21. }
  22. function isGory(macro) {
  23. return macro.brutality >= 2;
  24. }
  25. function hasNothing(container, thing, amount) {
  26. for (var key in container.contents) {
  27. if (container.contents.hasOwnProperty(key))
  28. return false;
  29. }
  30. return true;
  31. }
  32. function hasLessThan(container, thing, amount) {
  33. if (container.contents.hasOwnProperty(thing))
  34. if (container.contents[thing].count < amount && container.contents[thing].count > 0)
  35. return true;
  36. return false;
  37. }
  38. function hasExactly(container, thing, amount) {
  39. if (!container.contents.hasOwnProperty(thing) && amount == 0)
  40. return true;
  41. if (container.contents.hasOwnProperty(thing) && container.contents[thing].count == amount)
  42. return true;
  43. return false;
  44. }
  45. function hasOnly(container, things) {
  46. for (var key in container.contents) {
  47. if (container.contents.hasOwnProperty(key))
  48. if (!things.includes(key))
  49. return false;
  50. }
  51. for (var i=0; i<things.length; i++) {
  52. if (!container.contents.hasOwnProperty(things[i]))
  53. return false;
  54. }
  55. return true;
  56. }
  57. function nothingLarger(container, thing) {
  58. for (var key in container.contents)
  59. if (container.contents.hasOwnProperty(key))
  60. if (areas[key] > areas[thing])
  61. return false;
  62. return true;
  63. }
  64. function describe(action, container, macro, verbose=true) {
  65. options = [];
  66. for (var i = 0; i < rules[action].length; i++) {
  67. if(rules[action][i].test(container,macro)) {
  68. options.push(rules[action][i].desc);
  69. }
  70. }
  71. if (options.length > 0) {
  72. let choice = Math.floor(Math.random() * options.length);
  73. return options[choice](container, macro, verbose);
  74. }
  75. else {
  76. return describeDefault(action, container, macro, verbose);
  77. }
  78. }
  79. function describeDefault(action, container, macro, verbose=true) {
  80. switch(action) {
  81. case "eat": return defaultEat(action, container, macro, verbose);
  82. case "stomp": return defaultStomp(action, container, macro, verbose);
  83. case "kick": return defaultKick(action, container, macro, verbose);
  84. case "anal-vore": return defaultAnalVore(action, container, macro, verbose);
  85. case "ass-crush": return defaultAssCrush(action, container, macro, verbose);
  86. case "breast-crush": return defaultBreastCrush(action, container, macro, verbose);
  87. case "unbirth": return defaultUnbirth(action, container, macro, verbose);
  88. case "cock-vore": return defaultCockVore(action, container, macro, verbose);
  89. case "cockslap": return defaultCockslap(action, container, macro, verbose);
  90. case "ball-smother": return defaultBallSmother(action, container, macro, verbose);
  91. case "male-orgasm": return defaultMaleOrgasm(action, container, macro, verbose);
  92. case "female-orgasm": return defaultFemaleOrgasm(action, container, macro, verbose);
  93. case "grind": return defaultGrind(action, container, macro, verbose);
  94. case "stomach": return defaultStomach(action, container, macro, verbose);
  95. case "bowels": return defaultBowels(action, container, macro, verbose);
  96. case "womb": return defaultWomb(action, container, macro, verbose);
  97. case "balls": return defaultBalls(action, container, macro, verbose);
  98. }
  99. }
  100. // DEFAULTS
  101. function defaultEat(action, conatiner, macro, verbose) {
  102. return "You scoop up " + container.describe(verbose) + " and swallow " + (container.count > 1 ? "them" : "it") + " whole.";
  103. }
  104. function defaultStomp(action, container, macro, verbose) {
  105. return "You crush " + container.describe(verbose) + " underfoot.";
  106. }
  107. function defaultKick(action, container, macro, verbose) {
  108. return "You punt " + container.describe(verbose) + ", destroying " + (container.count > 1 ? "them" : "it") + ".";
  109. }
  110. function defaultAnalVore(action, container, macro, verbose) {
  111. return "You sit yourself down on " + container.describe(verbose) + ". " + (container.count > 1 ? "They slide" : "It slides") + " inside with ease.";
  112. }
  113. function defaultAssCrush(action, container, macro, verbose) {
  114. return "Your heavy ass obliterates " + container.describe(verbose) + ". ";
  115. }
  116. function defaultBreastCrush(action, container, macro, verbose) {
  117. return "Your heavy breasts obliterate " + container.describe(verbose) + ". ";
  118. }
  119. function defaultUnbirth(action, container, macro, verbose) {
  120. return "You gasp as you slide " + container.describe(verbose) + " up your slit. ";
  121. }
  122. function defaultCockVore(action, container, macro, verbose) {
  123. return "You stuff " + container.describe(verbose) + " into your throbbing shaft, forcing them down to your heavy balls.";
  124. }
  125. function defaultCockslap(action, container, macro, verbose) {
  126. return "Your swaying shaft crushes " + container.describe(verbose) + ". ";
  127. }
  128. function defaultBallSmother(action, container, macro, verbose) {
  129. return "Your weighty balls spread over " + container.describe(verbose) + ", smothering them in musk.";
  130. }
  131. function defaultMaleOrgasm(action, container, macro, verbose) {
  132. return "You're cumming! Your thick cock spurts out $VOLUME of seed, splooging " + container.describe(verbose) + ".";
  133. }
  134. function defaultFemaleOrgasm(action, container, macro, verbose) {
  135. return "You're cumming! Your moist slit sprays $VOLUME of slick femcum, splooging " + container.describe(verbose) + ".";
  136. }
  137. function defaultGrind(action, container, macro, verbose) {
  138. var end = (macro.arousalEnabled ? ", smashing them to fuel your lust." : ", smashing them to bits.");
  139. if (macro.maleParts && macro.femaleParts) {
  140. return "You grind your " + macro.describeDick + " cock and " + macro.describeVagina + " slit against " + container.describe(verbose) + end;
  141. } else if (macro.maleParts && !macro.femaleParts) {
  142. return "You grind your " + macro.describeDick + " shaft against " + container.describe(verbose) + end;
  143. } else if (!macro.maleParts && macro.femaleParts) {
  144. return "You grind your " + macro.describeVagina + " slit against " + container.describe(verbose) + end;
  145. } else {
  146. return "You grind your hips against " + container.describe(verbose) + end;
  147. }
  148. }
  149. function defaultStomach(action, container, macro, verbose) {
  150. return "Your stomach gurgles as it digests " + container.describe(false);
  151. }
  152. function defaultBowels(action, container, macro, verbose) {
  153. return "Your bowels churn as they absorb " + container.describe(false);
  154. }
  155. function defaultWomb(action, container, macro, verbose) {
  156. return "Your womb squeezes as it dissolves " + container.describe(false);
  157. }
  158. function defaultBalls(action, container, macro, verbose) {
  159. return "Your balls slosh as they transform " + container.describe(false) + " into cum";
  160. }
  161. // EATING
  162. rules["eat"].push({
  163. "test": function(container, macro) {
  164. return hasNothing(container);
  165. },
  166. "desc": function(container, macro, verbose) {
  167. return "You scoop up...nothing. Oh well.";
  168. }
  169. });
  170. rules["eat"].push({
  171. "test": function(container, macro) {
  172. return hasOnly(container, ["Person"])
  173. && hasLessThan(container, "Person", 6)
  174. && macro.height >= 10;
  175. },
  176. "desc": function(container, macro, verbose) {
  177. return "You pluck up the " + container.describe() + " and stuff them into your mouth, swallowing lightly to drag them down to your bubbling guts.";
  178. }
  179. });
  180. rules["eat"].push({
  181. "test": function(container, macro) {
  182. return hasOnly(container, ["Person"])
  183. && hasExactly(container, "Person", 1)
  184. && macro.height < 10;
  185. },
  186. "desc": function(container, macro, verbose) {
  187. 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.";
  188. }
  189. });
  190. rules["eat"].push({
  191. "test": function(container, macro) {
  192. return hasOnly(container, ["Person","Car"])
  193. && hasExactly(container, "Car", 1)
  194. && hasLessThan(container, "Person", 5);
  195. },
  196. "desc": function(container, macro, verbose) {
  197. return "You crush the " + container.contents["Car"].describe() + " with your tight throat, washing it down with " + container.contents["Person"].describe();
  198. }
  199. });
  200. rules["eat"].push({
  201. "test": function(container, macro) {
  202. return hasExactly(container, "Small Skyscraper", 1)
  203. && nothingLarger(container, "Small Skyscraper")
  204. && macro.height < 500;
  205. },
  206. "desc": function(container, macro, verbose) {
  207. return "You drop onto your hands and knees, jaws opening wide to envelop the skyscraper. It glides into your throat as your snout touches the ground,\
  208. 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) + "\
  209. within plunge into your roiling guts, along with some delicious treats you slurped up along with it - " + describe_all(container.contents, verbose, ["Small Skyscraper"]) + ".";
  210. }
  211. });
  212. rules["eat"].push({
  213. "test": function(container, macro) {
  214. return hasExactly(container, "Small Skyscraper", 2)
  215. && nothingLarger(container, "Small Skyscraper")
  216. && macro.height < 750;
  217. },
  218. "desc": function(container, macro, verbose) {
  219. return "You drop onto your hands and knees, jaws opening wide to envelop the skyscraper. It glides into your throat as your snout touches the ground,\
  220. 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 \
  221. 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 \
  222. down your sultry throat. Your gut bubbles as " + describe_all(container.contents["Small Skyscraper"].contents, verbose) + " are crunched and crushed within, along with the \
  223. " + describe_all(container.contents, verbose, ["Small Skyscraper"]) + " that were unfortunate enough to be caught up by your slimy tongue.";
  224. }
  225. });
  226. // STOMPING
  227. rules["stomp"].push({
  228. "test": function(container, macro) {
  229. return hasOnly(container, ["Person"])
  230. && hasExactly(container, "Person", 1)
  231. && isFatal(macro);
  232. }, "desc": function(container, macro, verbose) {
  233. return "Your heavy paw slams down on " + container.describe(verbose) + ", smashing the poor thing like an insect.";
  234. }
  235. });
  236. rules["stomp"].push({
  237. "test": function(container, macro) {
  238. return hasOnly(container, ["Person"])
  239. && hasExactly(container, "Person", 1)
  240. && isGory(macro);
  241. }, "desc": function(container, macro, verbose) {
  242. return "Your paw thumps " + container.describe(verbose) + ", shoving your victim to the ground and cracking them open like an egg.";
  243. }
  244. });
  245. rules["stomp"].push({
  246. "test": function(container, macro) {
  247. return hasOnly(container, ["Person"])
  248. && hasExactly(container, "Person", 1)
  249. && isGory(macro);
  250. }, "desc": function(container, macro, verbose) {
  251. return "Your shadow falls over " + container.describe(verbose) + ", and your paw follows, crushing their soft body and reducing them to a heap of broken gore.";
  252. }
  253. });