From 049c20a891e786bf217d507700bd725abe282fe7 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 28 Feb 2018 12:32:17 -0500 Subject: [PATCH] Added pouch rubbing and absorption --- game.js | 49 +++++++++++++++++++++++++++++++++++++++++++++++ recursive-desc.js | 16 +++++++++++++++- stroll.html | 2 ++ 3 files changed, 66 insertions(+), 1 deletion(-) diff --git a/game.js b/game.js index 29747a5..f887665 100644 --- a/game.js +++ b/game.js @@ -2144,6 +2144,15 @@ function pouch_stuff() macro.arouse(5); } +function pouch_rub() +{ + let prey = macro.pouch.container; + + let line = describe("pouch-rub", prey, macro, verbose); + let linesummary = summarize(prey.sum(), false); + update([line,linesummary,newline]) +} + function pouch_eat() { let prey = macro.pouch.container; @@ -2182,6 +2191,44 @@ function pouch_eat() macro.arouse(5); } +function pouch_absorb() +{ + let prey = macro.pouch.container; + macro.pouch.container = new Container(); + + let line = describe("pouch-absorb", prey, macro, verbose); + let linesummary = summarize(prey.sum(), false); + + let people = get_living_prey(prey.sum()); + let sound = ""; + if (people == 0) { + sound = ""; + } else if (people < 3) { + sound = "Slp."; + } else if (people < 10) { + sound = "Shlp."; + } else if (people < 50) { + sound = "Shlorp."; + } else if (people < 500) { + sound = "Shlrrrrp!"; + } else if (people < 5000) { + sound = "SHLRP!"; + } else { + sound = "Oh the humanity!"; + } + + let preyMass = prey.sum_property("mass"); + + macro.addGrowthPoints(preyMass); + + macro.stomach.feed(prey); + + updateVictims("stomach",prey); + update([sound,line,linesummary,newline]); + + macro.arouse(25); +} + function soul_vore() { let area = macro.height * macro.height; @@ -2691,7 +2738,9 @@ function startGame(e) { enable_panel("misc"); enable_button("pouch_stuff"); + enable_button("pouch_rub"); enable_button("pouch_eat"); + enable_button("pouch_absorb"); } diff --git a/recursive-desc.js b/recursive-desc.js index 6506235..efcaf5e 100644 --- a/recursive-desc.js +++ b/recursive-desc.js @@ -20,7 +20,7 @@ var actions = ["eat","chew","stomp","kick","anal-vore","ass-crush","tail-slap"," "cleavage-stuff","cleavage-crush","cleavage-drop","cleavage-absorb","breast-crush", "breast-vore","breast-milk","unbirth","sheath-stuff","sheath-squeeze","sheath-crush", "sheath-absorb","cock-vore","cockslap","ball-smother","male-spurt","male-orgasm","female-spurt", -"female-orgasm","grind","pouch-stuff","soul-vore","soul-absorb-paw","pouch-eat","stomach","womb", +"female-orgasm","grind","pouch-stuff","pouch-rub","pouch-eat","pouch-absorb","soul-vore","soul-absorb-paw","stomach","womb", "balls","bowels","breasts","soul-digest"]; for (let i=0; i 1 ? "them" : "it") + " into your pouch."; } +function defaultPouchRub(container, macro, verbose) { + if (container.count == 0) + return "You rub your empty pouch."; + else + return "You rub your bulging pouch, feeling at " + container.describe(false) + " trapped within."; +} + function defaultPouchEat(container, macro, verbose) { if (container.count == 0) return "There's nothing in your pouch!"; @@ -393,6 +400,13 @@ function defaultPouchEat(container, macro, verbose) { return "You snatch " + container.describe(verbose) + " from your pouch and shove " + (container.count > 1 ? "them" : "it") + " down your gullet!"; } +function defaultPouchAbsorb(container, macro, verbose) { + if (container.count == 0) + return "There's nothing in your pouch!"; + else + return "Your pouch flattens as it absorbs " + container.describe(false); +} + function defaultSoulVore(container, macro, verbose) { if (container.count == 0) return "No souls here."; diff --git a/stroll.html b/stroll.html index e387638..3a43802 100644 --- a/stroll.html +++ b/stroll.html @@ -129,7 +129,9 @@
+ +