소스 검색

Added descriptions for shoe/sock stuffing

tags/v0.7.0
Fen Dweller 8 년 전
부모
커밋
c26309f3f5
1개의 변경된 파일13개의 추가작업 그리고 4개의 파일을 삭제
  1. +13
    -4
      game.js

+ 13
- 4
game.js 파일 보기

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

let strolling = false;

let maxStomachDigest = 10;
let maxBowelsDigest = 10;

let unit = "metric";

let numbers = "full";
@@ -1264,7 +1261,19 @@ let macro =
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);




불러오는 중...
취소
저장