Просмотр исходного кода

Added pouch rubbing and absorption

tags/v0.7.0
Fen Dweller 7 лет назад
Родитель
Сommit
049c20a891
3 измененных файлов: 66 добавлений и 1 удалений
  1. +49
    -0
      game.js
  2. +15
    -1
      recursive-desc.js
  3. +2
    -0
      stroll.html

+ 49
- 0
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");

}



+ 15
- 1
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<actions.length; i++) {
@@ -386,6 +386,13 @@ function defaultPouchStuff(container, macro, verbose) {
return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 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.";


+ 2
- 0
stroll.html Просмотреть файл

@@ -129,7 +129,9 @@
</div>
<div class="action-tab" id="actions-misc">
<button class="action-button" id="button-action-pouch_stuff">Stuff Pouch</button>
<button class="action-button" id="button-action-pouch_rub">Rub Pouch</button>
<button class="action-button" id="button-action-pouch_eat">Eat From Pouch</button>
<button class="action-button" id="button-action-pouch_absorb">Absorb Pouch</button>
</div>
</div>
</div>


Загрузка…
Отмена
Сохранить