big steppy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

1509 Zeilen
41 KiB

  1. var strolling = false;
  2. var maxStomachDigest = 10;
  3. var maxBowelsDigest = 10;
  4. var unit = "metric";
  5. var numbers = "full";
  6. var verbose = true;
  7. var biome = "suburb";
  8. var newline = " ";
  9. victims = {};
  10. var macro =
  11. {
  12. "scaling": function(value, scale, factor) { return value * Math.pow(scale,factor); },
  13. "species": "crux",
  14. "color" : "blue",
  15. "baseHeight": 2.26,
  16. get height() { return this.scaling(this.baseHeight, this.scale, 1); },
  17. "baseMass": 135,
  18. get mass () { return this.scaling(this.baseMass, this.scale, 3); },
  19. "basePawArea": 0.1,
  20. get pawArea() { return this.scaling(this.basePawArea, this.scale, 2); },
  21. "baseAnalVoreArea": 0.1,
  22. get analVoreArea() { return this.scaling(this.baseAnalVoreArea, this.scale, 2); },
  23. "baseAssArea": 0.4,
  24. get assArea() { return this.scaling(this.baseAssArea * this.assScale, this.scale, 2); },
  25. "baseHandArea": 0.1,
  26. get handArea() { return this.scaling(this.baseHandArea, this.scale, 2); },
  27. "assScale": 1,
  28. "dickType": "canine",
  29. "baseDickLength": 0.3,
  30. "baseDickDiameter": 0.08,
  31. "dickDensity": 1000,
  32. "dickScale": 1,
  33. get dickLength() {
  34. factor = 1;
  35. if (!this.arousalEnabled || this.arousal < 25) {
  36. factor = 0.5;
  37. } else if (this.arousal < 75) {
  38. factor = 0.5 + (this.arousal - 25) / 100;
  39. }
  40. return this.scaling(this.baseDickLength * this.dickScale * factor, this.scale, 1);
  41. },
  42. get dickDiameter() {
  43. factor = 1;
  44. if (!this.arousalEnabled || this.arousal < 25) {
  45. factor = 0.5;
  46. } else if (this.arousal < 75) {
  47. factor = 0.5 + (this.arousal - 25) / 100;
  48. }
  49. return this.scaling(this.baseDickDiameter * this.dickScale * factor, this.scale, 1);
  50. },
  51. get dickGirth() {
  52. return Math.pow((this.dickDiameter/ 2),2) * Math.PI;
  53. },
  54. get dickArea() {
  55. return this.dickLength* this.dickDiameter* Math.PI / 2;
  56. },
  57. get dickVolume() {
  58. return this.dickLength* Math.pow(this.dickDiameter2,2) * Math.PI;
  59. },
  60. get dickMass() {
  61. return this.dickVolume* this.dickDensity;
  62. },
  63. "baseBallDiameter": 0.05,
  64. "ballDensity": 1000,
  65. "ballScale": 1,
  66. get ballDiameter() { return this.scaling(this.baseBallDiameter * this.ballScale, this.scale, 1); },
  67. get ballArea() { return 2 * Math.PI * Math.pow(this.ballDiameter/2, 2) },
  68. get ballVolume() {
  69. var radius = this.ballDiameter / 2;
  70. return 4/3 * Math.PI * Math.pow(radius,3);
  71. },
  72. get ballMass() {
  73. var volume = this.ballVolume;
  74. return volume * this.ballDensity;
  75. },
  76. "baseCumRatio": 1,
  77. "cumScale": 1,
  78. get cumVolume() {
  79. return this.dickGirth * this.baseCumRatio * this.cumScale * (1 + this.edge) + Math.max(0,this.cumStorage.amount - this.cumStorage.limit);
  80. },
  81. "baseVaginaLength": 0.1,
  82. "baseVaginaWidth": 0.05,
  83. "vaginaScale": 1,
  84. get vaginaLength() { return this.scaling(this.baseVaginaLength * this.vaginaScale, this.scale, 1); },
  85. get vaginaWidth() { return this.scaling(this.baseVaginaWidth * this.vaginaScale, this.scale, 1); },
  86. get vaginaArea() { return this.vaginaLength * this.vaginaWidth },
  87. get vaginaVolume() { return this.vaginaArea * this.vaginaWidth },
  88. "baseFemcumRatio": 1,
  89. "femcumScale": 1,
  90. get femcumVolume() {
  91. return this.vaginaArea * this.baseFemcumRatio * this.femcumScale * (1 + this.edge) + Math.max(0,this.femcumStorage.amount - this.femcumStorage.limit);
  92. },
  93. "baseBreastDiameter": 0.1,
  94. "breastScale": 1,
  95. "breastDensity": 1000,
  96. get breastDiameter() { return this.scaling(this.baseBreastDiameter * this.breastScale, this.scale, 1); },
  97. get breastArea() {
  98. return 2 * Math.PI * Math.pow(this.breastDiameter/2,2);
  99. },
  100. get breastVolume() {
  101. var radius = this.breastDiameter / 2;
  102. return 4/3 * Math.PI * Math.pow(radius,3);
  103. },
  104. get breastMass() {
  105. var volume = this.breastVolume;
  106. return volume * this.breastDensity;
  107. },
  108. "digest": function(owner,organ) {
  109. var count = Math.min(organ.contents.length, organ.maxDigest);
  110. var container = new Container();
  111. while (count > 0) {
  112. var victim = organ.contents.shift();
  113. if (victim.name != "Container")
  114. victim = new Container([victim]);
  115. container = container.merge(victim);
  116. --count;
  117. }
  118. var digested = container.sum();
  119. for (var key in victims[organ.name]) {
  120. if (victims[organ.name].hasOwnProperty(key) && digested.hasOwnProperty(key) ) {
  121. victims["digested"][key] += digested[key];
  122. victims[organ.name][key] -= digested[key];
  123. }
  124. }
  125. var line = organ.describeDigestion(container);
  126. organ.fill(this,container);
  127. var summary = summarize(container.sum());
  128. if (organ.contents.length > 0) {
  129. setTimeout(function() { owner.digest(owner,organ) }, 15000);
  130. }
  131. update([line,summary,newline]);
  132. },
  133. "stomach": {
  134. "name": "stomach",
  135. "feed": function(prey) {
  136. this.feedFunc(prey,this,this.owner);
  137. },
  138. "feedFunc": function(prey,self,owner) {
  139. if (self.contents.length == 0)
  140. setTimeout(function() { owner.digest(owner,self) }, 15000);
  141. this.contents.push(prey);
  142. },
  143. "describeDigestion": function(container) {
  144. return "Your stomach gurgles as it digests " + container.describe(false);
  145. },
  146. "fill": function(owner,container) {
  147. //no-op
  148. },
  149. "contents": [],
  150. "maxDigest": 5
  151. },
  152. "bowels": {
  153. "name" : "bowels",
  154. "feed": function(prey) {
  155. this.feedFunc(prey,this,this.owner);
  156. },
  157. "feedFunc": function(prey,self,owner) {
  158. if (self.contents.length == 0)
  159. setTimeout(function() { owner.digest(owner,self) }, 15000);
  160. this.contents.push(prey);
  161. },
  162. "describeDigestion" : function(container) {
  163. return "Your bowels churn as they absorb " + container.describe(false);
  164. },
  165. "fill": function(owner,container) {
  166. //no-op
  167. },
  168. "contents" : [],
  169. "maxDigest" : 3
  170. },
  171. "womb": {
  172. "name" : "womb",
  173. "feed": function(prey) {
  174. this.feedFunc(prey,this,this.owner);
  175. },
  176. "feedFunc": function(prey,self,owner) {
  177. if (self.contents.length == 0)
  178. setTimeout(function() { owner.digest(owner,self) }, 15000);
  179. this.contents.push(prey);
  180. },
  181. "describeDigestion" : function(container) {
  182. return "Your womb squeezes as it dissolves " + container.describe(false);
  183. },
  184. "fill": function(owner,container) {
  185. owner.femcumStorage.amount += container.sum_property("mass") / 1e3;
  186. },
  187. "contents" : [],
  188. "maxDigest" : 1
  189. },
  190. "balls": {
  191. "name" : "balls",
  192. "feed": function(prey) {
  193. this.feedFunc(prey,this,this.owner);
  194. },
  195. "feedFunc": function(prey,self,owner) {
  196. if (self.contents.length == 0)
  197. setTimeout(function() { owner.digest(owner,self) }, 15000);
  198. this.contents.push(prey);
  199. },
  200. "describeDigestion": function(container) {
  201. return "Your balls slosh as they transform " + container.describe(false) + " into cum";
  202. },
  203. "fill": function(owner,container) {
  204. owner.cumStorage.amount += container.sum_property("mass") / 1e3;
  205. },
  206. "contents" : [],
  207. "maxDigest" : 1
  208. },
  209. "init": function() {
  210. this.stomach.owner = this;
  211. this.bowels.owner = this;
  212. this.womb.owner = this;
  213. this.balls.owner = this;
  214. this.cumStorage.owner = this;
  215. this.femcumStorage.owner = this;
  216. if (this.maleParts)
  217. this.fillCum(this)
  218. if (this.femaleParts)
  219. this.fillFemcum(this)
  220. if (this.maleParts || this.femaleParts) {
  221. this.quenchExcess(this);
  222. }
  223. },
  224. "maleParts": true,
  225. "femaleParts": true,
  226. "fillCum": function(self) {
  227. self.cumStorage.amount += self.cumScale * self.ballVolume / 120;
  228. if (self.cumStorage.amount > self.cumStorage.limit)
  229. self.arouse(10 * (self.cumStorage.amount / self.cumStorage.limit - 1));
  230. setTimeout(function () { self.fillCum(self) }, 1000);
  231. update();
  232. },
  233. "fillFemcum": function(self) {
  234. self.femcumStorage.amount += self.femcumScale * self.vaginaVolume / 120;
  235. if (self.femcumStorage.amount > self.femcumStorage.limit)
  236. self.arouse(10 * (self.femcumStorage.amount / self.femcumStorage.limit - 1));
  237. setTimeout(function () { self.fillFemcum(self) }, 1000);
  238. update();
  239. },
  240. "cumStorage": {
  241. "amount": 0,
  242. get limit() {
  243. return this.owner.ballVolume;
  244. }
  245. },
  246. "femcumStorage": {
  247. "amount": 0,
  248. get limit() {
  249. return this.owner.vaginaVolume;
  250. }
  251. },
  252. "orgasm": false,
  253. "afterglow": true,
  254. "arousalEnabled": true,
  255. "arousalFactor": 1,
  256. "arousal": 0,
  257. "edge": 0,
  258. "arouse": function(amount) {
  259. if (!this.arousalEnabled)
  260. return;
  261. if (this.afterglow)
  262. return;
  263. this.arousal += amount * this.arousalFactor;
  264. if (this.arousal >= 200) {
  265. this.arousal = 200;
  266. if (!this.orgasm) {
  267. this.orgasm = true;
  268. if (this.maleParts) {
  269. this.maleOrgasm(this);
  270. }
  271. if (this.femaleParts) {
  272. this.femaleOrgasm(this);
  273. }
  274. }
  275. }
  276. },
  277. "quench": function(amount) {
  278. if (!this.arousalEnabled)
  279. return;
  280. this.arousal -= amount;
  281. if (this.arousal <= 100) {
  282. if (this.orgasm) {
  283. this.orgasm = false;
  284. this.afterglow = true;
  285. }
  286. }
  287. if (this.arousal < 0) {
  288. this.arousal = 0;
  289. this.afterglow = false;
  290. }
  291. update();
  292. },
  293. "quenchExcess": function(self) {
  294. if (self.arousalEnabled) {
  295. if (self.arousal > 100 && !self.orgasm) {
  296. self.arousal = Math.max(100,self.arousal-1);
  297. self.edge += Math.sqrt((self.arousal - 100)) / 500;
  298. self.edge = Math.min(1,self.edge);
  299. self.edge = Math.max(0,self.edge - 0.002);
  300. update();
  301. } else if (self.afterglow) {
  302. self.quench(0.5);
  303. self.edge = Math.max(0,self.edge - 0.01);
  304. }
  305. }
  306. setTimeout(function() { self.quenchExcess(self); }, 200);
  307. },
  308. "maleOrgasm": function(self) {
  309. if (!this.arousalEnabled)
  310. return;
  311. if (self.orgasm) {
  312. self.quench(10);
  313. var amount = Math.min(this.cumVolume, this.cumStorage.amount);
  314. this.cumStorage.amount -= amount;
  315. male_orgasm(amount);
  316. setTimeout(function() { self.maleOrgasm(self) }, 2000);
  317. }
  318. },
  319. "femaleOrgasm": function(self) {
  320. if (!this.arousalEnabled)
  321. return;
  322. if (this.orgasm) {
  323. this.quench(10);
  324. var amount = Math.min(this.femcumVolume, this.femcumStorage.amount);
  325. this.femcumStorage.amount -= amount;
  326. female_orgasm(amount);
  327. setTimeout(function() { self.femaleOrgasm(self) }, 2000);
  328. }
  329. },
  330. get description() {
  331. result = [];
  332. line = "You are a " + length(macro.height, unit, true) + " tall " + macro.species + ". You weigh " + mass(macro.mass, unit) + ".";
  333. result.push(line);
  334. if (this.arousalEnabled) {
  335. if (this.afterglow) {
  336. result.push("You're basking in the afterglow of a powerful orgasm.");
  337. }
  338. else if (this.orgasm) {
  339. result.push("You're cumming!");
  340. } else if (this.arousal < 25) {
  341. } else if (this.arousal < 75) {
  342. result.push("You're feeling a little aroused.");
  343. } else if (this.arousal < 150) {
  344. result.push("You're feeling aroused.");
  345. } else if (this.arousal < 200) {
  346. result.push("You're on the edge of an orgasm!");
  347. }
  348. }
  349. if (this.maleParts) {
  350. state = "";
  351. if (!this.arousalEnabled) {
  352. state = "limp";
  353. } else if (this.orgasm) {
  354. state = "spurting";
  355. } else {
  356. if (this.arousal < 25) {
  357. state = "limp";
  358. } else if (this.arousal < 75) {
  359. state = "swelling";
  360. } else if (this.arousal < 100) {
  361. state = "erect";
  362. } else if (this.arousal < 150) {
  363. state = "erect, throbbing";
  364. } else if (this.arousal < 200) {
  365. state = "erect, throbbing, pre-soaked";
  366. }
  367. }
  368. line = "Your " + length(macro.dickLength, unit, true) + " long " + state + " " + macro.dickType + " cock hangs from your hips, with two " + mass(macro.ballMass, unit, true) + ", " + length(macro.ballDiameter, unit, true) + "-wide balls hanging beneath.";
  369. result.push(line);
  370. }
  371. if (this.femaleParts) {
  372. state = "";
  373. if (!this.arousalEnabled) {
  374. state = "unassuming";
  375. } else if (this.orgasm) {
  376. state = "gushing, quivering";
  377. } else {
  378. if (this.arousal < 25) {
  379. state = "unassuming";
  380. } else if (this.arousal < 75) {
  381. state = "moist";
  382. } else if (this.arousal < 100) {
  383. state = "glistening";
  384. } else if (this.arousal < 150) {
  385. state = "dripping";
  386. } else if (this.arousal < 200) {
  387. state = "dripping, quivering";
  388. }
  389. }
  390. line = "Your glistening " + length(macro.vaginaLength, unit, true) + " long " + state + " slit is oozing between your legs."
  391. result.push(line);
  392. line = "You have two " + length(macro.breastDiameter, unit, true) + "-wide breasts that weigh " + mass(macro.breastMass, unit) + " apiece.";
  393. result.push(line);
  394. }
  395. return result;
  396. },
  397. "growthPoints": 0,
  398. "addGrowthPoints": function(mass) {
  399. this.growthPoints += Math.round(50 * mass / (this.scale*this.scale));
  400. },
  401. "scale": 1,
  402. }
  403. function look()
  404. {
  405. var desc = macro.description;
  406. var line2 = ""
  407. if (macro.height > 1e12)
  408. line2 = "You're pretty much everywhere at once.";
  409. else if (macro.height > 1e6)
  410. line2 = "You're standing...on pretty much everything at once.";
  411. else
  412. switch(biome) {
  413. case "rural": line2 = "You're standing amongst rural farmhouses and expansive ranches. Cattle are milling about at your feet."; break;
  414. case "suburb": line2 = "You're striding through the winding roads of a suburb."; break;
  415. case "city": line2 = "You're terrorizing the streets of a city. Heavy traffic, worsened by your rampage, is everywhere."; break;
  416. case "downtown": line2 = "You're lurking amongst the skyscrapers of downtown. The streets are packed, and the buildings are practically begging you to knock them over.";
  417. }
  418. desc = desc.concat([newline,line2,newline]);
  419. update(desc);
  420. }
  421. function get_living_prey(sum) {
  422. var total = 0;
  423. for (var key in sum) {
  424. if (sum.hasOwnProperty(key)) {
  425. if (key == "Person" || key == "Cow")
  426. total += sum[key];
  427. }
  428. }
  429. return total;
  430. }
  431. function toggle_auto()
  432. {
  433. strolling = !strolling;
  434. document.getElementById("button-stroll").innerHTML = "Status: " + (strolling ? "Strolling" : "Standing");
  435. if (strolling)
  436. update(["You start walking.",newline]);
  437. else
  438. update(["You stop walking.",newline]);
  439. }
  440. function change_location()
  441. {
  442. switch(biome) {
  443. case "suburb": biome = "city"; break;
  444. case "city": biome = "downtown"; break;
  445. case "downtown": biome = "rural"; break;
  446. case "rural": biome = "suburb"; break;
  447. }
  448. document.getElementById("button-location").innerHTML = "Location: " + biome.charAt(0).toUpperCase() + biome.slice(1);
  449. }
  450. function toggle_units()
  451. {
  452. switch(unit) {
  453. case "metric": unit = "customary"; break;
  454. case "customary": unit = "approx"; break;
  455. case "approx": unit = "metric"; break;
  456. }
  457. document.getElementById("button-units").innerHTML = "Units: " + unit.charAt(0).toUpperCase() + unit.slice(1);
  458. update();
  459. }
  460. function toggle_numbers() {
  461. switch(numbers) {
  462. case "full": numbers="prefix"; break;
  463. case "prefix": numbers="words"; break;
  464. case "words": numbers = "scientific"; break;
  465. case "scientific": numbers = "full"; break;
  466. }
  467. document.getElementById("button-numbers").innerHTML = "Numbers: " + numbers.charAt(0).toUpperCase() + numbers.slice(1);
  468. update();
  469. }
  470. function toggle_verbose()
  471. {
  472. verbose = !verbose;
  473. document.getElementById("button-verbose").innerHTML = "Descriptions: " + (verbose ? "Verbose" : "Simple");
  474. }
  475. function toggle_arousal()
  476. {
  477. macro.arousalEnabled = !macro.arousalEnabled;
  478. document.getElementById("button-arousal").innerHTML = (macro.arousalEnabled ? "Arousal On" : "Arousal Off");
  479. if (macro.arousalEnabled) {
  480. document.getElementById("arousal").style.display = "block";
  481. document.getElementById("edge").style.display = "block";
  482. } else {
  483. document.getElementById("arousal").style.display = "none";
  484. document.getElementById("edge").style.display = "none";
  485. }
  486. }
  487. function initVictims()
  488. {
  489. return {
  490. "Person": 0,
  491. "Cow": 0,
  492. "Car": 0,
  493. "Bus": 0,
  494. "Tram": 0,
  495. "Motorcycle": 0,
  496. "House": 0,
  497. "Barn": 0,
  498. "Small Skyscraper": 0,
  499. "Large Skyscraper": 0,
  500. "Train": 0,
  501. "Train Car": 0,
  502. "Parking Garage": 0,
  503. "Overpass": 0,
  504. "Town": 0,
  505. "City": 0,
  506. "Continent": 0,
  507. "Planet": 0,
  508. "Star": 0,
  509. "Solar System": 0,
  510. "Galaxy": 0
  511. };
  512. };
  513. // lists out total people
  514. function summarize(sum, fatal = true)
  515. {
  516. var count = get_living_prey(sum);
  517. return "<b>(" + count + " " + (fatal ? (count > 1 ? "kills" : "kill") : (count > 1 ? "prey" : "prey")) + ")</b>";
  518. }
  519. function getOnePrey(biome,area)
  520. {
  521. var potential = ["Person"];
  522. if (macro.height > 1e12)
  523. potential = ["Planet","Star","Solar System","Galaxy"];
  524. else if (macro.height > 1e6)
  525. potential = ["Town","City","Continent","Planet"];
  526. else
  527. switch(biome) {
  528. case "suburb": potential = ["Person", "Car", "Bus", "Train", "House"]; break;
  529. case "city": potential = ["Person", "Car", "Bus", "Train", "Tram", "House", "Parking Garage"]; break;
  530. case "downtown": potential = ["Person", "Car", "Bus", "Tram", "Small Skyscraper", "Large Skyscraper", "Parking Garage"]; break;
  531. case "rural": potential = ["Person", "Barn", "House", "Cow"]; break;
  532. }
  533. var potAreas = []
  534. potential.forEach(function (x) {
  535. potAreas.push([x,areas[x]]);
  536. });
  537. potAreas = potAreas.sort(function (x,y) {
  538. return y[1] - x[1];
  539. });
  540. for (var i=0; i<potAreas.length; i++) {
  541. x = potAreas[i];
  542. if (x[1] < area) {
  543. return new Container([new things[x[0]](1)]);
  544. }
  545. };
  546. return new Container([new Person(1)]);
  547. }
  548. function getPrey(region, area)
  549. {
  550. var weights = {"Person": 1};
  551. if (macro.height > 1e12) {
  552. weights = {
  553. "Planet": 1e-10,
  554. "Star": 1e-10,
  555. "Solar System": 1e-10,
  556. "Galaxy": 1e-10
  557. }
  558. }
  559. else if (macro.height > 1e6) {
  560. weights = {
  561. "Town": 0.1,
  562. "City": 0.05,
  563. "Continent": 0.005,
  564. "Planet": 0.0001
  565. }
  566. }
  567. else {
  568. switch(region)
  569. {
  570. case "rural": weights = {
  571. "Person": 0.05,
  572. "House": 0.01,
  573. "Barn": 0.01,
  574. "Cow": 0.2
  575. }; break;
  576. case "suburb": weights = {
  577. "Person": 0.5,
  578. "House": 0.5,
  579. "Car": 0.2,
  580. "Train": 0.1,
  581. "Bus": 0.1
  582. }; break;
  583. case "city": weights = {
  584. "Person": 0.5,
  585. "House": 0.2,
  586. "Car": 0.2,
  587. "Train": 0.1,
  588. "Bus": 0.1,
  589. "Tram": 0.1,
  590. "Parking Garage": 0.02
  591. }; break;
  592. case "downtown": weights = {
  593. "Person": 0.5,
  594. "Car": 0.3,
  595. "Bus": 0.15,
  596. "Tram": 0.1,
  597. "Parking Garage": 0.02,
  598. "Small Skyscraper": 0.4,
  599. "Large Skyscraper": 0.1
  600. }; break;
  601. }
  602. }
  603. return fill_area(area,weights);
  604. }
  605. function updateVictims(type,prey)
  606. {
  607. var sums = prey.sum();
  608. for (var key in sums) {
  609. if (sums.hasOwnProperty(key)) {
  610. victims[type][key] += sums[key];
  611. }
  612. }
  613. }
  614. function feed()
  615. {
  616. var area = macro.handArea;
  617. var prey = getPrey(biome, area);
  618. var line = describe("eat", prey, macro, verbose)
  619. var linesummary = summarize(prey.sum(), false);
  620. var people = get_living_prey(prey.sum());
  621. var sound = "";
  622. if (people == 0) {
  623. sound = "";
  624. } else if (people < 3) {
  625. sound = "Ulp.";
  626. } else if (people < 10) {
  627. sound = "Gulp.";
  628. } else if (people < 50) {
  629. sound = "Glrrp.";
  630. } else if (people < 500) {
  631. sound = "Glrrrpkh!";
  632. } else if (people < 5000) {
  633. sound = "GLRRKPKH!";
  634. } else {
  635. sound = "Oh the humanity!";
  636. }
  637. var preyMass = prey.sum_property("mass");
  638. macro.addGrowthPoints(preyMass);
  639. macro.stomach.feed(prey);
  640. macro.arouse(5);
  641. updateVictims("stomach",prey);
  642. update([sound,line,linesummary,newline]);
  643. }
  644. function stomp()
  645. {
  646. var area = macro.pawArea;
  647. var prey = getPrey(biome, area);
  648. var line = describe("stomp", prey, macro, verbose)
  649. var linesummary = summarize(prey.sum(), true);
  650. var people = get_living_prey(prey.sum());
  651. var sound = "Thump";
  652. if (people < 3) {
  653. sound = "Thump!";
  654. } else if (people < 10) {
  655. sound = "Squish!";
  656. } else if (people < 50) {
  657. sound = "Crunch!";
  658. } else if (people < 500) {
  659. sound = "CRUNCH!";
  660. } else if (people < 5000) {
  661. sound = "CRRUUUNCH!!";
  662. } else {
  663. sound = "Oh the humanity!";
  664. }
  665. var preyMass = prey.sum_property("mass");
  666. macro.addGrowthPoints(preyMass);
  667. macro.arouse(5);
  668. updateVictims("stomped",prey);
  669. update([sound,line,linesummary,newline]);
  670. }
  671. function anal_vore()
  672. {
  673. var area = macro.analVoreArea;
  674. var prey = getOnePrey(biome,area);
  675. area = macro.assArea;
  676. var crushed = getPrey(biome,area);
  677. var line1 = describe("anal-vore", prey, macro, verbose);
  678. var line1summary = summarize(prey.sum(), false);
  679. var line2 = describe("ass-crush", crushed, macro, verbose);
  680. var line2summary = summarize(crushed.sum(), true);
  681. var people = get_living_prey(prey.sum());
  682. var sound = "Shlp";
  683. if (people < 3) {
  684. sound = "Shlp.";
  685. } else if (people < 10) {
  686. sound = "Squelch.";
  687. } else if (people < 50) {
  688. sound = "Shlurrp.";
  689. } else if (people < 500) {
  690. sound = "SHLRP!";
  691. } else if (people < 5000) {
  692. sound = "SQLCH!!";
  693. } else {
  694. sound = "Oh the humanity!";
  695. }
  696. var people = get_living_prey(crushed.sum());
  697. var sound2 = "Thump";
  698. if (people < 3) {
  699. sound2 = "Thump!";
  700. } else if (people < 10) {
  701. sound2 = "Squish!";
  702. } else if (people < 50) {
  703. sound2 = "Crunch!";
  704. } else if (people < 500) {
  705. sound2 = "CRUNCH!";
  706. } else if (people < 5000) {
  707. sound2 = "CRRUUUNCH!!";
  708. } else {
  709. sound2 = "Oh the humanity!";
  710. }
  711. var preyMass = prey.sum_property("mass");
  712. var crushedMass = prey.sum_property("mass");
  713. macro.addGrowthPoints(preyMass);
  714. macro.addGrowthPoints(crushedMass);
  715. macro.bowels.feed(prey);
  716. macro.arouse(10);
  717. updateVictims("bowels",prey);
  718. updateVictims("stomped",crushed);
  719. update([sound,line1,line1summary,newline,sound2,line2,line2summary,newline]);
  720. }
  721. function breast_crush()
  722. {
  723. var area = macro.breastArea;
  724. var prey = getPrey(biome, area);
  725. var line = describe("breast-crush", prey, macro, verbose);
  726. var linesummary = summarize(prey.sum(), true);
  727. var people = get_living_prey(prey.sum());
  728. var sound = "Thump";
  729. if (people < 3) {
  730. sound = "Thump!";
  731. } else if (people < 10) {
  732. sound = "Squish!";
  733. } else if (people < 50) {
  734. sound = "Crunch!";
  735. } else if (people < 500) {
  736. sound = "CRUNCH!";
  737. } else if (people < 5000) {
  738. sound = "CRRUUUNCH!!";
  739. } else {
  740. sound = "Oh the humanity!";
  741. }
  742. var preyMass = prey.sum_property("mass");
  743. macro.addGrowthPoints(preyMass);
  744. macro.arouse(10);
  745. updateVictims("breasts",prey);
  746. update([sound,line,linesummary,newline]);
  747. }
  748. function unbirth()
  749. {
  750. var area = macro.vaginaArea;
  751. var prey = getPrey(biome, area);
  752. var line = describe("unbirth", prey, macro, verbose)
  753. var linesummary = summarize(prey.sum(), false);
  754. var people = get_living_prey(prey.sum());
  755. var sound = "";
  756. if (people < 3) {
  757. sound = "Shlp.";
  758. } else if (people < 10) {
  759. sound = "Squelch.";
  760. } else if (people < 50) {
  761. sound = "Shlurrp.";
  762. } else if (people < 500) {
  763. sound = "SHLRP!";
  764. } else if (people < 5000) {
  765. sound = "SQLCH!!";
  766. } else {
  767. sound = "Oh the humanity!";
  768. }
  769. var preyMass = prey.sum_property("mass");
  770. macro.addGrowthPoints(preyMass);
  771. macro.womb.feed(prey);
  772. macro.arouse(20);
  773. updateVictims("womb",prey);
  774. update([sound,line,linesummary,newline]);
  775. }
  776. function cockslap()
  777. {
  778. var area = macro.dickArea;
  779. var prey = getPrey(biome, area);
  780. var line = describe("cockslap", prey, macro, verbose)
  781. var linesummary = summarize(prey.sum(), true);
  782. var people = get_living_prey(prey.sum());
  783. var sound = "Thump";
  784. if (people < 3) {
  785. sound = "Thump!";
  786. } else if (people < 10) {
  787. sound = "Squish!";
  788. } else if (people < 50) {
  789. sound = "Crunch!";
  790. } else if (people < 500) {
  791. sound = "CRUNCH!";
  792. } else if (people < 5000) {
  793. sound = "CRRUUUNCH!!";
  794. } else {
  795. sound = "Oh the humanity!";
  796. }
  797. var preyMass = prey.sum_property("mass");
  798. macro.addGrowthPoints(preyMass);
  799. macro.arouse(15);
  800. updateVictims("cock",prey);
  801. update([sound,line,linesummary,newline]);
  802. }
  803. function cock_vore()
  804. {
  805. var area = macro.dickGirth;
  806. var prey = getPrey(biome, area);
  807. var line = describe("cock-vore", prey, macro, verbose)
  808. var linesummary = summarize(prey.sum(), false);
  809. var people = get_living_prey(prey.sum());
  810. var sound = "lp";
  811. if (people < 3) {
  812. sound = "Shlp.";
  813. } else if (people < 10) {
  814. sound = "Squelch.";
  815. } else if (people < 50) {
  816. sound = "Shlurrp.";
  817. } else if (people < 500) {
  818. sound = "SHLRP!";
  819. } else if (people < 5000) {
  820. sound = "SQLCH!!";
  821. } else {
  822. sound = "Oh the humanity!";
  823. }
  824. var preyMass = prey.sum_property("mass");
  825. macro.addGrowthPoints(preyMass);
  826. macro.balls.feed(prey);
  827. macro.arouse(20);
  828. updateVictims("balls",prey);
  829. update([sound,line,linesummary,newline]);
  830. }
  831. function ball_smother()
  832. {
  833. var area = macro.ballArea * 2;
  834. var prey = getPrey(biome, area);
  835. var line = describe("ball-smother", prey, macro, verbose)
  836. var linesummary = summarize(prey.sum(), true);
  837. var people = get_living_prey(prey.sum());
  838. var sound = "Thump";
  839. if (people < 3) {
  840. sound = "Thump!";
  841. } else if (people < 10) {
  842. sound = "Squish!";
  843. } else if (people < 50) {
  844. sound = "Smoosh!";
  845. } else if (people < 500) {
  846. sound = "SMOOSH!";
  847. } else if (people < 5000) {
  848. sound = "SMOOOOOSH!!";
  849. } else {
  850. sound = "Oh the humanity!";
  851. }
  852. var preyMass = prey.sum_property("mass");
  853. macro.addGrowthPoints(preyMass);
  854. macro.arouse(10);
  855. updateVictims("balls",prey);
  856. update([sound,line,linesummary,newline]);
  857. }
  858. function male_orgasm(vol)
  859. {
  860. var area = Math.pow(vol, 2/3);
  861. var prey = getPrey(biome, area);
  862. var line = describe("male-orgasm", prey, macro, verbose).replace("$VOLUME",volume(vol,unit,false))
  863. var linesummary = summarize(prey.sum(), true);
  864. var people = get_living_prey(prey.sum());
  865. var sound = "Spurt!";
  866. if (people < 3) {
  867. sound = "Spurt!";
  868. } else if (people < 10) {
  869. sound = "Sploosh!";
  870. } else if (people < 50) {
  871. sound = "Sploooooosh!";
  872. } else if (people < 500) {
  873. sound = "SPLOOSH!";
  874. } else if (people < 5000) {
  875. sound = "SPLOOOOOOOOOOSH!!";
  876. } else {
  877. sound = "Oh the humanity!";
  878. }
  879. var preyMass = prey.sum_property("mass");
  880. macro.addGrowthPoints(preyMass);
  881. updateVictims("splooged",prey);
  882. update([sound,line,linesummary,newline]);
  883. }
  884. function female_orgasm(vol)
  885. {
  886. var area = Math.pow(vol, 2/3);
  887. var prey = getPrey(biome, area);
  888. var line = describe("female-orgasm", prey, macro, verbose).replace("$VOLUME",volume(vol,unit,false));
  889. var linesummary = summarize(prey.sum(), true);
  890. var people = get_living_prey(prey.sum());
  891. var sound = "Spurt!";
  892. if (people < 3) {
  893. sound = "Spurt!";
  894. } else if (people < 10) {
  895. sound = "Sploosh!";
  896. } else if (people < 50) {
  897. sound = "Sploooooosh!";
  898. } else if (people < 500) {
  899. sound = "SPLOOSH!";
  900. } else if (people < 5000) {
  901. sound = "SPLOOOOOOOOOOSH!!";
  902. } else {
  903. sound = "Oh the humanity!";
  904. }
  905. var preyMass = prey.sum_property("mass");
  906. macro.addGrowthPoints(preyMass);
  907. updateVictims("splooged",prey);
  908. update([sound,line,linesummary,newline]);
  909. }
  910. function transformNumbers(line)
  911. {
  912. return line.toString().replace(/[0-9]+(\.[0-9]+)?(e\+[0-9]+)?/g, function(text) { return number(text, numbers); });
  913. }
  914. function update(lines = [])
  915. {
  916. var log = document.getElementById("log");
  917. lines.forEach(function (x) {
  918. var line = document.createElement('div');
  919. line.innerHTML = transformNumbers(x);
  920. log.appendChild(line);
  921. });
  922. if (lines.length > 0)
  923. log.scrollTop = log.scrollHeight;
  924. document.getElementById("height").innerHTML = "Height: " + transformNumbers(length(macro.height, unit));
  925. document.getElementById("mass").innerHTML = "Mass: " + transformNumbers(mass(macro.mass, unit));
  926. document.getElementById("growth-points").innerHTML = "Growth Points:" + macro.growthPoints;
  927. document.getElementById("arousal").innerHTML = "Arousal: " + round(macro.arousal,0) + "%";
  928. document.getElementById("edge").innerHTML = "Edge: " + round(macro.edge * 100,0) + "%";
  929. document.getElementById("cum").innerHTML = "Cum: " + transformNumbers(volume(macro.cumStorage.amount,unit,false))
  930. document.getElementById("cumPercent").innerHTML = Math.round(macro.cumStorage.amount / macro.cumStorage.limit * 100) + "%";
  931. document.getElementById("femcum").innerHTML = "Femcum: " + transformNumbers(volume(macro.femcumStorage.amount,unit,false));
  932. document.getElementById("femcumPercent").innerHTML = Math.round(macro.femcumStorage.amount / macro.femcumStorage.limit * 100) + "%";
  933. for (var type in victims) {
  934. if (victims.hasOwnProperty(type)) {
  935. for (var key in victims[type]){
  936. if (victims[type].hasOwnProperty(key) && victims[type][key] > 0) {
  937. document.getElementById("stat-" + key).style.display = "table-row";
  938. document.getElementById("stat-" + type + "-" + key).innerHTML = number(victims[type][key],numbers);
  939. }
  940. }
  941. }
  942. }
  943. }
  944. function pick_move()
  945. {
  946. if (!strolling) {
  947. setTimeout(pick_move, 1500 * Math.sqrt(macro.scale));
  948. return;
  949. }
  950. var choice = Math.random();
  951. if (choice < 0.2) {
  952. anal_vore();
  953. } else if (choice < 0.6) {
  954. stomp();
  955. } else {
  956. feed();
  957. }
  958. setTimeout(pick_move, 1500 * Math.sqrt(macro.scale));
  959. }
  960. function grow_pick(times) {
  961. if (document.getElementById("part-body").checked == true) {
  962. grow(times);
  963. }
  964. else if (document.getElementById("part-ass").checked == true) {
  965. grow_ass(times);
  966. }
  967. else if (document.getElementById("part-dick").checked == true) {
  968. grow_dick(times);
  969. }
  970. else if (document.getElementById("part-balls").checked == true) {
  971. grow_balls(times);
  972. }
  973. else if (document.getElementById("part-breasts").checked == true) {
  974. grow_breasts(times);
  975. }
  976. else if (document.getElementById("part-vagina").checked == true) {
  977. grow_vagina(times);
  978. }
  979. }
  980. function grow(times=1)
  981. {
  982. if (macro.growthPoints < 100 * times) {
  983. update(["You don't feel like growing right now."]);
  984. return;
  985. }
  986. macro.growthPoints -= 100 * times;
  987. var oldHeight = macro.height;
  988. var oldMass = macro.mass;
  989. macro.scale *= Math.pow(1.02,times);
  990. var newHeight = macro.height;
  991. var newMass = macro.mass;
  992. var heightDelta = newHeight - oldHeight;
  993. var massDelta = newMass - oldMass;
  994. var heightStr = length(heightDelta, unit);
  995. var massStr = mass(massDelta, unit);
  996. update(["Power surges through you as you grow " + heightStr + " taller and gain " + massStr + " of mass",newline]);
  997. }
  998. function grow_dick(times=1)
  999. {
  1000. if (macro.growthPoints < 10 * times) {
  1001. update(["You don't feel like growing right now."]);
  1002. return;
  1003. }
  1004. macro.growthPoints -= 10 * times;
  1005. var oldLength = macro.dickLength;
  1006. var oldMass = macro.dickMass;
  1007. macro.dickScale = Math.pow(macro.dickScale * macro.dickScale + 1.02*times, 1/2) ;
  1008. var lengthDelta = macro.dickLength - oldLength;
  1009. var massDelta = macro.dickMass - oldMass;
  1010. update(["Power surges through you as your " + macro.dickType + " cock grows " + length(lengthDelta, unit, false) + " longer and gains " + mass(massDelta, unit, false) + " of mass",newline]);
  1011. }
  1012. function grow_balls(times=1)
  1013. {
  1014. if (macro.growthPoints < 10 * times) {
  1015. update(["You don't feel like growing right now."]);
  1016. return;
  1017. }
  1018. macro.growthPoints -= 10 * times;
  1019. var oldDiameter = macro.ballDiameter;
  1020. var oldMass = macro.ballMass;
  1021. macro.ballScale = Math.pow(macro.ballScale * macro.ballScale + 1.02*times, 1/2) ;
  1022. var diameterDelta = macro.ballDiameter - oldDiameter;
  1023. var massDelta = macro.ballMass - oldMass;
  1024. update(["Power surges through you as your balls swell by " + length(diameterDelta, unit, false) + ", gaining " + mass(massDelta, unit, false) + " of mass apiece",newline]);
  1025. }
  1026. function grow_breasts(times=1)
  1027. {
  1028. if (macro.growthPoints < 10 * times) {
  1029. update(["You don't feel like growing right now."]);
  1030. return;
  1031. }
  1032. macro.growthPoints -= 10 * times;
  1033. var oldDiameter = macro.breastDiameter;
  1034. var oldMass = macro.breastMass;
  1035. macro.breastScale = Math.pow(macro.breastScale * macro.breastScale + 1.02*times, 1/2) ;
  1036. var diameterDelta = macro.breastDiameter - oldDiameter;
  1037. var massDelta = macro.breastMass - oldMass;
  1038. update(["Power surges through you as your breasts swell by " + length(diameterDelta, unit, false) + ", gaining " + mass(massDelta, unit, false) + " of mass apiece",newline]);
  1039. }
  1040. function grow_vagina(times=1)
  1041. {
  1042. if (macro.growthPoints < 10 * times) {
  1043. update(["You don't feel like growing right now."]);
  1044. return;
  1045. }
  1046. macro.growthPoints -= 10 * times;
  1047. var oldLength = macro.vaginaLength;
  1048. macro.vaginaScale = Math.pow(macro.vaginaScale * macro.vaginaScale + 1.02*times, 1/2) ;
  1049. var lengthDelta = macro.vaginaLength - oldLength;
  1050. update(["Power surges through you as your moist slit expands by by " + length(lengthDelta, unit, false),newline]);
  1051. }
  1052. function grow_ass(times=1)
  1053. {
  1054. if (macro.growthPoints < 10 * times) {
  1055. update(["You don't feel like growing right now."]);
  1056. return;
  1057. }
  1058. macro.growthPoints -= 10 * times;
  1059. var oldDiameter = Math.pow(macro.assArea,1/2);
  1060. macro.assScale = Math.pow(macro.assScale * macro.assScale + 1.02*times, 1/2) ;
  1061. var diameterDelta = Math.pow(macro.assArea,1/2) - oldDiameter;
  1062. update(["Power surges through you as your ass swells by " + length(diameterDelta, unit, false),newline]);
  1063. }
  1064. function grow_lots()
  1065. {
  1066. var oldHeight = macro.height;
  1067. var oldMass = macro.mass;
  1068. macro.scale *= 100;
  1069. var newHeight = macro.height;
  1070. var newMass = macro.mass;
  1071. var heightDelta = newHeight - oldHeight;
  1072. var massDelta = newMass - oldMass;
  1073. var heightStr = length(heightDelta, unit);
  1074. var massStr = mass(massDelta, unit);
  1075. update(["Power surges through you as you grow " + heightStr + " taller and gain " + massStr + " of mass",newline]);
  1076. }
  1077. function preset(name) {
  1078. switch(name){
  1079. case "Fen":
  1080. macro.species = "crux";
  1081. macro.baseHeight = 2.2606;
  1082. macro.baseMass = 124.738;
  1083. break;
  1084. case "Renard":
  1085. macro.species = "fox";
  1086. macro.baseHeight = 1.549;
  1087. macro.baseMass = 83.9;
  1088. case "Vulpes":
  1089. macro.species = "fox";
  1090. macro.baseHeight = 20000;
  1091. macro.baseMass = 180591661866272;
  1092. }
  1093. }
  1094. function saveSettings() {
  1095. storage = window.localStorage;
  1096. settings = {};
  1097. form = document.forms.namedItem("custom-species-form");
  1098. for (var i=0; i<form.length; i++) {
  1099. if (form[i].value != "") {
  1100. if (form[i].type == "text")
  1101. settings[form[i].name] = form[i].value;
  1102. else if (form[i].type == "number")
  1103. settings[form[i].name] = parseFloat(form[i].value);
  1104. else if (form[i].type == "checkbox") {
  1105. settings[form[i].name] = form[i].checked;
  1106. }
  1107. }
  1108. }
  1109. storage.setItem('settings',JSON.stringify(settings));
  1110. }
  1111. function loadSettings() {
  1112. if (window.localStorage.getItem('settings') == null)
  1113. return;
  1114. storage = window.localStorage;
  1115. settings = JSON.parse(storage.getItem('settings'));
  1116. form = document.forms.namedItem("custom-species-form");
  1117. for (var i=0; i<form.length; i++) {
  1118. if (settings[form[i].name] != undefined) {
  1119. if (form[i].type == "text")
  1120. form[i].value = settings[form[i].name];
  1121. else if (form[i].type == "number")
  1122. form[i].value = settings[form[i].name];
  1123. else if (form[i].type == "checkbox") {
  1124. form[i].checked = settings[form[i].name];
  1125. }
  1126. }
  1127. }
  1128. }
  1129. function startGame(e) {
  1130. form = document.forms.namedItem("custom-species-form");
  1131. for (var i=0; i<form.length; i++) {
  1132. if (form[i].value != "") {
  1133. if (form[i].type == "text")
  1134. macro[form[i].name] = form[i].value;
  1135. else if (form[i].type == "number")
  1136. macro[form[i].name] = parseFloat(form[i].value);
  1137. else if (form[i].type == "checkbox") {
  1138. macro[form[i].name] = form[i].checked;
  1139. }
  1140. }
  1141. }
  1142. document.getElementById("log-area").style.display = 'inline';
  1143. document.getElementById("option-panel").style.display = 'none';
  1144. document.getElementById("action-panel").style.display = 'flex';
  1145. victimTypes = ["stomped","digested","stomach","bowels"];
  1146. if (macro.maleParts) {
  1147. victimTypes = victimTypes.concat(["cock","balls"]);
  1148. } else {
  1149. document.getElementById("button-cockslap").style.display = 'none';
  1150. document.getElementById("button-cock_vore").style.display = 'none';
  1151. document.getElementById("button-ball_smother").style.display = 'none';
  1152. document.getElementById("cum").style.display = 'none';
  1153. document.querySelector("#part-balls+label").style.display = 'none';
  1154. document.querySelector("#part-dick+label").style.display = 'none';
  1155. }
  1156. if (macro.femaleParts) {
  1157. victimTypes = victimTypes.concat(["breasts"],["womb"]);
  1158. } else {
  1159. document.getElementById("button-breast_crush").style.display = 'none';
  1160. document.getElementById("button-unbirth").style.display = 'none';
  1161. document.getElementById("femcum").style.display = 'none';
  1162. document.querySelector("#part-breasts+label").style.display = 'none';
  1163. document.querySelector("#part-vagina+label").style.display = 'none';
  1164. }
  1165. if (macro.maleParts || macro.femaleParts) {
  1166. victimTypes.push("splooged");
  1167. }
  1168. var table = document.getElementById("victim-table");
  1169. var tr = document.createElement('tr');
  1170. var th = document.createElement('th');
  1171. th.innerHTML = "Method";
  1172. tr.appendChild(th);
  1173. for (var i = 0; i < victimTypes.length; i++) {
  1174. var th = document.createElement('th');
  1175. th.classList.add("victim-table-cell");
  1176. th.innerHTML = victimTypes[i].charAt(0).toUpperCase() + victimTypes[i].slice(1);
  1177. tr.appendChild(th);
  1178. }
  1179. table.appendChild(tr);
  1180. for (var key in things) {
  1181. if (things.hasOwnProperty(key) && key != "Container") {
  1182. var tr = document.createElement('tr');
  1183. tr.id = "stat-" + key;
  1184. tr.style.display = "none";
  1185. var th = document.createElement('th');
  1186. th.innerHTML = key;
  1187. tr.appendChild(th);
  1188. for (var i = 0; i < victimTypes.length; i++) {
  1189. var th = document.createElement('th');
  1190. th.innerHTML = 0;
  1191. th.id = "stat-" + victimTypes[i] + "-" + key;
  1192. tr.appendChild(th);
  1193. }
  1194. table.appendChild(tr);
  1195. }
  1196. }
  1197. document.getElementById("button-arousal").innerHTML = (macro.arousalEnabled ? "Arousal On" : "Arousal Off");
  1198. if (!macro.arousalEnabled) {
  1199. document.getElementById("arousal").style.display = "none";
  1200. document.getElementById("edge").style.display = "none";
  1201. }
  1202. //var species = document.getElementById("option-species").value;
  1203. //var re = /^[a-zA-Z\- ]+$/;
  1204. // tricksy tricksy players
  1205. //if (re.test(species)) {
  1206. // macro.species = species;
  1207. //}
  1208. macro.init();
  1209. update();
  1210. document.getElementById("stat-container").style.display = 'flex';
  1211. }
  1212. window.addEventListener('load', function(event) {
  1213. victims["stomped"] = initVictims();
  1214. victims["digested"] = initVictims();
  1215. victims["stomach"] = initVictims();
  1216. victims["bowels"] = initVictims();
  1217. victims["breasts"] = initVictims();
  1218. victims["womb"] = initVictims();
  1219. victims["cock"] = initVictims();
  1220. victims["balls"] = initVictims();
  1221. victims["smothered"] = initVictims();
  1222. victims["splooged"] = initVictims();
  1223. document.getElementById("button-look").addEventListener("click",look);
  1224. document.getElementById("button-feed").addEventListener("click",feed);
  1225. document.getElementById("button-stomp").addEventListener("click",stomp);
  1226. document.getElementById("button-breast_crush").addEventListener("click",breast_crush);
  1227. document.getElementById("button-unbirth").addEventListener("click",unbirth);
  1228. document.getElementById("button-cockslap").addEventListener("click",cockslap);
  1229. document.getElementById("button-cock_vore").addEventListener("click",cock_vore);
  1230. document.getElementById("button-ball_smother").addEventListener("click",ball_smother);
  1231. document.getElementById("button-anal_vore").addEventListener("click",anal_vore);
  1232. document.getElementById("button-stroll").addEventListener("click",toggle_auto);
  1233. document.getElementById("button-location").addEventListener("click",change_location);
  1234. document.getElementById("button-numbers").addEventListener("click",toggle_numbers);
  1235. document.getElementById("button-units").addEventListener("click",toggle_units);
  1236. document.getElementById("button-verbose").addEventListener("click",toggle_verbose);
  1237. document.getElementById("button-arousal").addEventListener("click",toggle_arousal);
  1238. document.getElementById("button-grow-lots").addEventListener("click",grow_lots);
  1239. document.getElementById("button-amount-1").addEventListener("click",function() { grow_pick(1); });
  1240. document.getElementById("button-amount-5").addEventListener("click",function() { grow_pick(5); });
  1241. document.getElementById("button-amount-10").addEventListener("click",function() { grow_pick(10); });
  1242. document.getElementById("button-amount-20").addEventListener("click",function() { grow_pick(20); });
  1243. document.getElementById("button-amount-50").addEventListener("click",function() { grow_pick(50); });
  1244. document.getElementById("button-amount-100").addEventListener("click",function() { grow_pick(100); });
  1245. document.getElementById("button-load-custom").addEventListener("click",loadSettings);
  1246. document.getElementById("button-save-custom").addEventListener("click",saveSettings);
  1247. document.getElementById("button-start").addEventListener("click",startGame);
  1248. setTimeout(pick_move, 2000);
  1249. });