| @@ -610,8 +610,16 @@ function initVictims() | |||||
| // lists out total people | // lists out total people | ||||
| function summarize(sum, fatal = true) | function summarize(sum, fatal = true) | ||||
| { | { | ||||
| var word; | |||||
| var count = get_living_prey(sum); | var count = get_living_prey(sum); | ||||
| return "<b>(" + count + " " + (fatal ? (count > 1 ? "kills" : "kill") : (count > 1 ? "prey" : "prey")) + ")</b>"; | |||||
| if (fatal && macro.brutality > 0) | |||||
| word = count > 1 ? "kills" : "kill"; | |||||
| else if (!fatal && macro.brutality > 0) | |||||
| word = "prey"; | |||||
| else | |||||
| word = count > 1 ? "victims" : "victim"; | |||||
| return "<b>(" + count + " " + word + ")</b>"; | |||||
| } | } | ||||
| function getOnePrey(biome,area) | function getOnePrey(biome,area) | ||||
| @@ -117,7 +117,7 @@ function describeDefault(action, container, macro, verbose=true) { | |||||
| // DEFAULTS | // DEFAULTS | ||||
| function defaultEat(conatiner, macro, verbose) { | |||||
| function defaultEat(container, macro, verbose) { | |||||
| return "You scoop up " + container.describe(verbose) + " and swallow " + (container.count > 1 ? "them" : "it") + " whole."; | return "You scoop up " + container.describe(verbose) + " and swallow " + (container.count > 1 ? "them" : "it") + " whole."; | ||||
| } | } | ||||
| @@ -60,7 +60,7 @@ | |||||
| </div> | </div> | ||||
| <div id=log-area> | <div id=log-area> | ||||
| <div id=log> | <div id=log> | ||||
| <div>Welcome to Stroll 0.3.6</div> | |||||
| <div>Welcome to Stroll 0.4.0</div> | |||||
| <div><b>This game features 18+ content</b></div> | <div><b>This game features 18+ content</b></div> | ||||
| <div><a href="https://chemicalcrux.org/stroll">Changelog</a></div> | <div><a href="https://chemicalcrux.org/stroll">Changelog</a></div> | ||||
| <div>It's a nice day for a walk</div> | <div>It's a nice day for a walk</div> | ||||
| @@ -89,7 +89,7 @@ | |||||
| <div class=option-container id=option-panel> | <div class=option-container id=option-panel> | ||||
| <p>Welcome to Stroll 0.3.6</p> | |||||
| <p>Welcome to Stroll 0.4.0</p> | |||||
| <p><b>This game features 18+ content</b></p> | <p><b>This game features 18+ content</b></p> | ||||
| <a href="https://chemicalcrux.org/stroll">Changelog</a> | <a href="https://chemicalcrux.org/stroll">Changelog</a> | ||||
| <br> | <br> | ||||