Pārlūkot izejas kodu

Fixed up the victim counters to reflect your brutality level.

tags/v0.7.0
Fen Dweller pirms 8 gadiem
vecāks
revīzija
22163626d9
3 mainītis faili ar 12 papildinājumiem un 4 dzēšanām
  1. +9
    -1
      game.js
  2. +1
    -1
      recursive-desc.js
  3. +2
    -2
      stroll.html

+ 9
- 1
game.js Parādīt failu

@@ -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)


+ 1
- 1
recursive-desc.js Parādīt failu

@@ -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.";
} }




+ 2
- 2
stroll.html Parādīt failu

@@ -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>


Notiek ielāde…
Atcelt
Saglabāt