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

Worked on a way for digestion to move prey elsewhere

tags/v0.7.0
Fen Dweller 8 лет назад
Родитель
Сommit
fa010c7c32
3 измененных файлов: 33 добавлений и 6 удалений
  1. +14
    -1
      game.js
  2. +8
    -1
      recursive-desc.js
  3. +11
    -4
      stroll.html

+ 14
- 1
game.js Просмотреть файл

@@ -257,8 +257,15 @@ let macro =
if (container.count == 0) if (container.count == 0)
return; return;


let digested = container.sum();
if (organ.moves != undefined) {
organ.moves.feed(container);
let line = organ.describeMove(container);
let summary = summarize(container.sum(),false);
update([line, summary, newline]);
return;
}


let digested = container.sum();
for (let key in victims[organ.name]) { for (let key in victims[organ.name]) {
if (victims[organ.name].hasOwnProperty(key) && digested.hasOwnProperty(key) ) { if (victims[organ.name].hasOwnProperty(key) && digested.hasOwnProperty(key) ) {
victims["digested"][key] += digested[key]; victims["digested"][key] += digested[key];
@@ -340,6 +347,9 @@ let macro =
"feedFunc": function(prey,self,owner) { "feedFunc": function(prey,self,owner) {
this.contents[0] = this.contents[0].merge(prey); this.contents[0] = this.contents[0].merge(prey);
}, },
"describeMove" : function(container) {
return describe("bowels-to-stomach",container,this.owner,verbose);
},
"describeDigestion" : function(container) { "describeDigestion" : function(container) {
return describe("bowels",container,this.owner,verbose); return describe("bowels",container,this.owner,verbose);
}, },
@@ -588,6 +598,9 @@ let macro =
this.femcumStorage.owner = this; this.femcumStorage.owner = this;
this.milkStorage.owner = this; this.milkStorage.owner = this;


if (this.analVoreToStomach) {
this.bowels.moves = this.stomach;
}
if (this.maleParts) if (this.maleParts)
this.fillCum(this); this.fillCum(this);
if (this.femaleParts) if (this.femaleParts)


+ 8
- 1
recursive-desc.js Просмотреть файл

@@ -21,7 +21,7 @@ var actions = ["eat","chew","stomp","kick","anal-vore","ass-crush","tail-slap","
"breast-vore","breast-milk","unbirth","sheath-stuff","sheath-squeeze","sheath-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", "sheath-absorb","cock-vore","cockslap","ball-smother","male-spurt","male-orgasm","female-spurt",
"female-orgasm","grind","pouch-stuff","pouch-rub","pouch-eat","pouch-absorb","soul-vore","soul-absorb-paw","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"];
"balls","bowels","bowels-to-stomach","breasts","soul-digest"];


for (let i=0; i<actions.length; i++) { for (let i=0; i<actions.length; i++) {
rules[actions[i]] = []; rules[actions[i]] = [];
@@ -438,6 +438,13 @@ function defaultBowels(container, macro, verbose) {
return "Your bowels churn as they absorb " + container.describe(false); return "Your bowels churn as they absorb " + container.describe(false);
} }


function defaultBowelsToStomach(container, macro, verbose) {
if (isFatal(macro))
return "Your bowels clench, forcing " + container.describe(false) + " into your roiling, caustic stomach.";
else
return "Your bowels clench, squeezing " + container.describe(false) + " into your belly.";
}

function defaultWomb(container, macro, verbose) { function defaultWomb(container, macro, verbose) {
if (isFatal(macro)) if (isFatal(macro))
return "Your womb squeezes and dissolves " + container.describe(false) + ", turning them into slick femcum."; return "Your womb squeezes and dissolves " + container.describe(false) + ", turning them into slick femcum.";


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

@@ -180,10 +180,6 @@
<label for="baseAnalVoreArea">Tailhole area</label> <label for="baseAnalVoreArea">Tailhole area</label>
<input type="number" name="baseAnalVoreArea" placeholder="0.1"> <input type="number" name="baseAnalVoreArea" placeholder="0.1">
</li> </li>
<li>
<label for="analVore">Anal vore</label>
<input type="checkbox" checked="true" name="analVore"/>
</li>
<li> <li>
<label for="baseAssArea">Ass area</label> <label for="baseAssArea">Ass area</label>
<input type="number" name="baseAssArea" placeholder="0.4"> <input type="number" name="baseAssArea" placeholder="0.4">
@@ -260,6 +256,17 @@
</li> </li>
</div> </div>
</div> </div>
<div class="custom-category">
<input class="custom-header-checkbox" type="checkbox" checked="true" id="analVore" name="analVore"/>
<label class="custom-header" for="analVore">Anal Vore</label>
<div class="reveal-if-active">
<li>
<label class="has-tooltip" for="analVoreToStomach" title="Otherwise, bowels absorb/digest">Anal vore goes to stomach</label>
<input type="checkbox" name="analVoreToStomach" id="analVoreToStomach"/>
</li>
</div>
</div>

<div class="custom-category"> <div class="custom-category">
<input class="custom-header-checkbox" type="checkbox" checked="true" id="arousalEnabled" name="arousalEnabled"/> <input class="custom-header-checkbox" type="checkbox" checked="true" id="arousalEnabled" name="arousalEnabled"/>
<label class="custom-header" for="arousalEnabled">Arousal</label> <label class="custom-header" for="arousalEnabled">Arousal</label>


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