From 8345b1045bb1dd80b28e8fa9eedcb02e25c27fb8 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 14 Mar 2018 18:17:36 -0400 Subject: [PATCH] Fixed Geta being unable to eat the player; added gore setting for Geta fight --- customs.js | 9 +++++++-- feast.html | 6 +++++- vore.js | 5 +++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/customs.js b/customs.js index 62ffb26..a153c0b 100644 --- a/customs.js +++ b/customs.js @@ -59,8 +59,8 @@ function getaGrab(attacker) { return attacker.description() + " leans down and snatches you up, stuffing you into his maw."; }, conditions: [ - function(prefs) { - return prefs.prey; + function(attacker, defender) { + return defender.prefs.prey; } ], requirements: [ @@ -167,6 +167,11 @@ function getaStompFinish(attacker) { return defender.stamina <= 0; } ], + conditions: [ + function(attacker, defender) { + return defender.prefs.gore; + } + ], priority: 3, }; } diff --git a/feast.html b/feast.html index e7e2e5a..278697b 100644 --- a/feast.html +++ b/feast.html @@ -25,7 +25,7 @@
- Welcome to Feast v0.1.0 + Welcome to Feast v0.1.1
Time: to file a bug report, because you shouldn't see this!
@@ -151,6 +151,10 @@
  • +
  • +
  • + +
  • diff --git a/vore.js b/vore.js index f21a0c1..b44fb30 100644 --- a/vore.js +++ b/vore.js @@ -41,8 +41,9 @@ function Creature(name = "Creature", str=10, dex=10, con=10) { this.prefs = { prey: true, scat: true, - analVore: true - } + analVore: true, + gore: true + }; } function Player(name = "Player") {