Просмотр исходного кода

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

tags/v0.7.0
Fen Dweller 7 лет назад
Родитель
Сommit
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() {
macro.footShoeWorn = true;

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

macro.footShoeWorn = true;

footwearUpdate();

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

function wear_socks() {
macro.footSockWorn = true;

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

macro.footSockWorn = true;

footwearUpdate();

update([line,summary,newline]);


+ 2
- 2
recursive-desc.js Просмотреть файл

@@ -559,7 +559,7 @@ function defaultStuffShoe(container, macro, verbose) {
if (container.count == 0) {
return "You don't have anything to stuff into your " + macro.shoeDesc(true) + ".";
} 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) {
return "You don't have anything to stuff into your " + macro.sockDesc(true) + ".";
} 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) + "!";
}
}



Загрузка…
Отмена
Сохранить