Browse Source

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

tags/v0.7.0
Fen Dweller 7 years ago
parent
commit
f0739a4c48
2 changed files with 6 additions and 4 deletions
  1. +4
    -2
      game.js
  2. +2
    -2
      recursive-desc.js

+ 4
- 2
game.js View File

@@ -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 View File

@@ -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…
Cancel
Save