diff --git a/game.js b/game.js index 6d1aa28..fae0268 100644 --- a/game.js +++ b/game.js @@ -2670,30 +2670,95 @@ function fart(vol) function wear_shoes() { macro.footShoeWorn = true; + let line = describe("wear-shoe",macro.shoe.container,macro,verbose); + let summary = summarize(macro.shoe.container.sum(),false); + footwearUpdate(); + + update([line,summary,newline]); } function remove_shoes() { macro.footShoeWorn = false; + let line = describe("remove-shoe",macro.shoe.container,macro,verbose); + let summary = summarize(macro.shoe.container.sum(),false); + footwearUpdate(); + + update([line,summary,newline]); } function wear_socks() { macro.footSockWorn = true; + let line = describe("wear-sock",macro.sock.container,macro,verbose); + let summary = summarize(macro.sock.container.sum(),false); + footwearUpdate(); + + update([line,summary,newline]); } function remove_socks() { macro.footSockWorn = false; + let line = describe("remove-sock",macro.sock.container,macro,verbose); + let summary = summarize(macro.sock.container.sum(),false); + footwearUpdate(); + + update([line,summary,newline]); } +function stuff_shoes() { + let prey = getPrey(biome, macro.pawArea/5, false); + + macro.shoe.add(prey); + + let line = describe("stuff-shoe",prey,macro,verbose); + let summary = summarize(prey.sum(),false); + + update([line,summary,newline]); +} + +function stuff_socks() { + let prey = getPrey(biome, macro.pawArea/5, false); + + macro.sock.add(prey); + + let line = describe("stuff-sock",prey,macro,verbose); + let summary = summarize(prey.sum(),false); + + update([line,summary,newline]); +} + +function dump_shoes() { + let prey = macro.shoe.container; + + macro.shoe.container = new Container(); + + let line = describe("dump-shoe",prey,macro,verbose); + let summary = summarize(prey.sum(),false); + + update([line,summary,newline]); +} + +function dump_socks() { + let prey = macro.sock.container; + + macro.sock.container = new Container(); + + let line = describe("dump-sock",prey,macro,verbose); + let summary = summarize(prey.sum(),false); + + update([line,summary,newline]); +} + + function footwearUpdate() { disable_button("wear_shoes"); - disable_button("remove_socks"); + disable_button("remove_shoes"); disable_button("wear_socks"); disable_button("remove_socks"); disable_button("stuff_shoes"); @@ -2701,21 +2766,31 @@ function footwearUpdate() { disable_button("stuff_socks"); disable_button("dump_socks"); - if (macro.footShoeWorn) { - enable_button("remove_shoes"); - } else { - enable_button("wear_shoes"); - enable_button("stuff_shoes"); - enable_button("dump_shoes"); - - if (macro.footSockWorn) { - enable_button("remove_socks"); + if (macro.footShoeEnabled) { + if (macro.footShoeWorn) { + enable_button("remove_shoes"); } else { - enable_button("wear_socks"); - enable_button("stuff_socks"); - enable_button("dump_socks"); + enable_button("stuff_shoes"); + enable_button("dump_shoes"); + + if (!macro.footSockEnabled || macro.footSockWorn) { + enable_button("wear_shoes"); + } + } + } + + if (!macro.footShoeEnabled || !macro.footShoeWorn) { + if (macro.footSockEnabled) { + if (macro.footSockWorn) { + enable_button("remove_socks"); + } else { + enable_button("wear_socks"); + enable_button("stuff_socks"); + enable_button("dump_socks"); + } } } + } function transformNumbers(line) @@ -3229,9 +3304,12 @@ function startGame(e) { } } - if (macro.footShoeEnabled || macro.footSockEnabled) { + if (macro.footWear) { enable_panel("shoes"); + macro.footShoeWorn = macro.footShoeEnabled; + macro.footSockWorn = macro.footSockEnabled; + footwearUpdate(); } diff --git a/recursive-desc.js b/recursive-desc.js index 22cad5b..ee43b3a 100644 --- a/recursive-desc.js +++ b/recursive-desc.js @@ -21,7 +21,8 @@ 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", -"paw-stench","ass-stench","belch","fart","stomach","womb","balls","bowels","bowels-to-stomach","breasts","soul-digest"]; +"paw-stench","ass-stench","belch","fart","stomach","womb","balls","bowels","bowels-to-stomach","breasts","soul-digest", +"wear-shoe","remove-shoe","wear-sock","remove-sock","stuff-shoe","dump-shoe","stuff-sock","dump-sock"]; for (let i=0; i 1 ? "them" : "it") + " into your shoe!"; + } +} + +function defaultStuffSock(container, macro, verbose) { + if (container.count == 0) { + return "You don't have anything to stuff into your socks."; + } else { + return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your sock!"; + } +} + +function defaultDumpShoe(container, macro, verbose) { + if (container.count == 0) { + return "Your shoes are empty, silly."; + } else { + return "You shake out your shoes, dumping " + container.describe(false) + " onto the ground."; + } +} + +function defaultDumpSock(container, macro, verbose) { + if (container.count == 0) { + return "You don't have anything to stuff into your socks."; + } else { + return "You turn your socks inside-out, dumping " + container.describe(false) + " onto the ground."; + } +} + + + + + // EATING rules["eat"].push({ diff --git a/stroll.html b/stroll.html index f488d5b..012ac96 100644 --- a/stroll.html +++ b/stroll.html @@ -75,7 +75,7 @@
-
Welcome to Stroll 0.5.16
+
Welcome to Stroll 0.5.17
This game features 18+ content
Changelog
Telegram discussion group
@@ -91,6 +91,7 @@ +
@@ -159,7 +160,7 @@
-

Welcome to Stroll 0.5.16

+

Welcome to Stroll 0.5.178

This game features 18+ content

Changelog

Telegram discussion group