浏览代码

Added descriptions for shoe/sock stuffing

tags/v0.7.0
Fen Dweller 7 年前
父节点
当前提交
c26309f3f5
共有 1 个文件被更改,包括 13 次插入4 次删除
  1. +13
    -4
      game.js

+ 13
- 4
game.js 查看文件

@@ -40,9 +40,6 @@ let started = false;


let strolling = false; let strolling = false;


let maxStomachDigest = 10;
let maxBowelsDigest = 10;

let unit = "metric"; let unit = "metric";


let numbers = "full"; let numbers = "full";
@@ -1264,7 +1261,19 @@ let macro =
result.push(line); result.push(line);
} }


line = "Your two " + macro.footDesc(true) + " shake the earth.";
line = "Your two " + this.footDesc(true) + " shake the earth.";

if (this.footShoeWorn && this.shoe.container.count > 0) {
line += " Within " + (this.shoe.container.count > 1 ? "are" : "is") + " " + this.shoe.container.describe(false);
if (this.footSockWorn && this.sock.container.count > 0) {
line += " and " + this.sock.container.describe(false) + " in your socks.";
}
} else if (this.footSockWorn && this.sock.container.count > 0) {
line += " Within " + (this.sock.container.count > 1 ? "are" : "is") + " " + this.sock.container.describe(false);
} else if (this.paws.container.count > 0) {
line += " You have " + this.paws.container.describe(false) + " wedged between your toes.";
}

result.push(line); result.push(line);






正在加载...
取消
保存