瀏覽代碼

Fixed up the victim counters to reflect your brutality level.

tags/v0.7.0
Fen Dweller 7 年之前
父節點
當前提交
22163626d9
共有 3 個文件被更改,包括 12 次插入4 次删除
  1. +9
    -1
      game.js
  2. +1
    -1
      recursive-desc.js
  3. +2
    -2
      stroll.html

+ 9
- 1
game.js 查看文件

@@ -610,8 +610,16 @@ function initVictims()
// lists out total people
function summarize(sum, fatal = true)
{
var word;
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)


+ 1
- 1
recursive-desc.js 查看文件

@@ -117,7 +117,7 @@ function describeDefault(action, container, macro, verbose=true) {

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



+ 2
- 2
stroll.html 查看文件

@@ -60,7 +60,7 @@
</div>
<div id=log-area>
<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><a href="https://chemicalcrux.org/stroll">Changelog</a></div>
<div>It's a nice day for a walk</div>
@@ -89,7 +89,7 @@


<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>
<a href="https://chemicalcrux.org/stroll">Changelog</a>
<br>


Loading…
取消
儲存