From 8f3a8ff0dc43cf4b60eeb1930434b0e070971f3a Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 28 Feb 2018 23:30:28 -0500 Subject: [PATCH] Can now choose one, some, or all tails if you have several --- game.js | 33 ++++++++++++++++++++++++++++++--- stroll.html | 5 ++++- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/game.js b/game.js index 3fc5bc1..a4bed4b 100644 --- a/game.js +++ b/game.js @@ -2119,11 +2119,31 @@ function tail_slap() macro.arouse(5); } -function tail_vore() +function tail_vore_only() +{ + tail_vore(1); +} + +function tail_vore_one() +{ + tail_vore(1); +} + +function tail_vore_some() +{ + tail_vore(Math.floor(Math.random() * macro.tailCount) + 1); +} + +function tail_vore_all() +{ + tail_vore(macro.tailCount); +} + +function tail_vore(count) { let lines = []; let totalPrey = new Container(); - for (let i=0; i 1) { + enable_button("tail_vore_one"); + enable_button("tail_vore_some"); + enable_button("tail_vore_all"); + } else { + enable_button("tail_vore_only"); + } } } diff --git a/stroll.html b/stroll.html index f91e37b..06b06a4 100644 --- a/stroll.html +++ b/stroll.html @@ -100,7 +100,10 @@
- + + + +