소스 검색

butt vore

tags/v0.2.8
Fen Dweller 7 년 전
부모
커밋
6d013f9362
3개의 변경된 파일26개의 추가작업 그리고 2개의 파일을 삭제
  1. +23
    -1
      combat.js
  2. +1
    -0
      feast.js
  3. +2
    -1
      vore.js

+ 23
- 1
combat.js 파일 보기

@@ -99,7 +99,29 @@ function grappleDevour(attacker) {
}, requirements: [
function(attacker, defender) { return isNormal(attacker) && isGrappled(defender); }
], conditions: [
function(prefs, player=false) { return player || prefs.player.prey }
function(prefs, player=false) { return player || prefs.player.prey; }
]
};
}

function grappleAnalVore(attacker) {
return {
name: "Anal Vore",
desc: "Try to shove your opponent up your ass.",
attack: function(defender) {
let success = Math.random() < 0.25 + (1 - defender.health / defender.maxHealth) * 0.75;
if (success) {
attacker.butt.feed(defender);
defender.grappled = false;
changeMode("explore");
return "You shove the " + defender.description() + " between your cheeks. Their head slips into your ass with a wet <i>shlk</i>, and the rest of their body follows suit. You moan and gasp, working them deeper and deeper...";
} else {
return "Your grasp and shove the " + defender.description() + ", but they manage to avoid becoming " + attacker.species + " chow.";
}
}, requirements: [
function(attacker, defender) { return isNormal(attacker) && isGrappled(defender); }
], conditions: [
function(prefs, player=false) { return player || prefs.player.prey; }
]
};
}


+ 1
- 0
feast.js 파일 보기

@@ -172,6 +172,7 @@ function advanceTime(amount) {
time = (time + amount) % 86400;
player.health = Math.min(amount * player.maxHealth / 86400 * 12 + player.health, player.maxHealth);
update(player.stomach.digest(amount));
update(player.butt.digest(amount));
}

function renderTime(time) {


+ 2
- 1
vore.js 파일 보기

@@ -24,7 +24,7 @@ function Player(name = "Player") {
Creature.call(this, name);

this.fullness = function() {
return this.stomach.fullness();
return this.stomach.fullness() + this.butt.fullness();
};

this.attacks.push(new punchAttack(this));
@@ -32,6 +32,7 @@ function Player(name = "Player") {

this.attacks.push(new grapple(this));
this.attacks.push(new grappleDevour(this));
this.attacks.push(new grappleAnalVore(this));
this.attacks.push(new grappleRelease(this));

this.attacks.push(new grappledStruggle(this));


불러오는 중...
취소
저장