From f0739a4c48ae06f5f05b5d81b491bbb90db95ebe Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 3 Mar 2018 16:01:26 -0500 Subject: [PATCH] Shoes and socks go on after the description. Made them plural for stuffing --- game.js | 6 ++++-- recursive-desc.js | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/game.js b/game.js index 9b2b908..4b1b9c8 100644 --- a/game.js +++ b/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]); diff --git a/recursive-desc.js b/recursive-desc.js index 1261869..22634bd 100644 --- a/recursive-desc.js +++ b/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) + "!"; } }