瀏覽代碼

Shoes and socks go on after the description. Made them plural for stuffing

tags/v0.7.0
Fen Dweller 8 年之前
父節點
當前提交
f0739a4c48
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. +4
    -2
      game.js
  2. +2
    -2
      recursive-desc.js

+ 4
- 2
game.js 查看文件

@@ -2702,11 +2702,12 @@ function fart(vol)
} }


function wear_shoes() { function wear_shoes() {
macro.footShoeWorn = true;


let line = describe("wear-shoe",macro.shoe.container,macro,verbose); let line = describe("wear-shoe",macro.shoe.container,macro,verbose);
let summary = summarize(macro.shoe.container.sum(),false); let summary = summarize(macro.shoe.container.sum(),false);


macro.footShoeWorn = true;

footwearUpdate(); footwearUpdate();


update([line,summary,newline]); update([line,summary,newline]);
@@ -2724,11 +2725,12 @@ function remove_shoes() {
} }


function wear_socks() { function wear_socks() {
macro.footSockWorn = true;


let line = describe("wear-sock",macro.sock.container,macro,verbose); let line = describe("wear-sock",macro.sock.container,macro,verbose);
let summary = summarize(macro.sock.container.sum(),false); let summary = summarize(macro.sock.container.sum(),false);


macro.footSockWorn = true;

footwearUpdate(); footwearUpdate();


update([line,summary,newline]); update([line,summary,newline]);


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

@@ -559,7 +559,7 @@ function defaultStuffShoe(container, macro, verbose) {
if (container.count == 0) { if (container.count == 0) {
return "You don't have anything to stuff into your " + macro.shoeDesc(true) + "."; return "You don't have anything to stuff into your " + macro.shoeDesc(true) + ".";
} else { } else {
return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your " + macro.shoeDesc() + "!";
return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your " + macro.shoeDesc(true) + "!";
} }
} }


@@ -567,7 +567,7 @@ function defaultStuffSock(container, macro, verbose) {
if (container.count == 0) { if (container.count == 0) {
return "You don't have anything to stuff into your " + macro.sockDesc(true) + "."; return "You don't have anything to stuff into your " + macro.sockDesc(true) + ".";
} else { } else {
return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your " + macro.sockDesc() + "!";
return "You grab " + container.describe(verbose) + " and stuff " + (container.count > 1 ? "them" : "it") + " into your " + macro.sockDesc(true) + "!";
} }
} }




Loading…
取消
儲存