浏览代码

Worked on a way for digestion to move prey elsewhere

tags/v0.7.0
Fen Dweller 7 年前
父节点
当前提交
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)
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]) {
if (victims[organ.name].hasOwnProperty(key) && digested.hasOwnProperty(key) ) {
victims["digested"][key] += digested[key];
@@ -340,6 +347,9 @@ let macro =
"feedFunc": function(prey,self,owner) {
this.contents[0] = this.contents[0].merge(prey);
},
"describeMove" : function(container) {
return describe("bowels-to-stomach",container,this.owner,verbose);
},
"describeDigestion" : function(container) {
return describe("bowels",container,this.owner,verbose);
},
@@ -588,6 +598,9 @@ let macro =
this.femcumStorage.owner = this;
this.milkStorage.owner = this;

if (this.analVoreToStomach) {
this.bowels.moves = this.stomach;
}
if (this.maleParts)
this.fillCum(this);
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",
"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",
"balls","bowels","breasts","soul-digest"];
"balls","bowels","bowels-to-stomach","breasts","soul-digest"];

for (let i=0; i<actions.length; i++) {
rules[actions[i]] = [];
@@ -438,6 +438,13 @@ function defaultBowels(container, macro, verbose) {
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) {
if (isFatal(macro))
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>
<input type="number" name="baseAnalVoreArea" placeholder="0.1">
</li>
<li>
<label for="analVore">Anal vore</label>
<input type="checkbox" checked="true" name="analVore"/>
</li>
<li>
<label for="baseAssArea">Ass area</label>
<input type="number" name="baseAssArea" placeholder="0.4">
@@ -260,6 +256,17 @@
</li>
</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">
<input class="custom-header-checkbox" type="checkbox" checked="true" id="arousalEnabled" name="arousalEnabled"/>
<label class="custom-header" for="arousalEnabled">Arousal</label>


正在加载...
取消
保存