From a9069f82f3dc962eeb73ad2bb7fbef4bdbd6cde5 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Mon, 7 Sep 2020 16:19:16 -0400 Subject: [PATCH] acknowledge amputation in height descriptions --- src/npc/descriptions/dimensions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/npc/descriptions/dimensions.js b/src/npc/descriptions/dimensions.js index 186d4670d34..b2b60f27e5a 100644 --- a/src/npc/descriptions/dimensions.js +++ b/src/npc/descriptions/dimensions.js @@ -35,6 +35,7 @@ App.Desc.dimensions = function(slave) { const r = []; const averageHeight = Height.mean(slave); const age = slave.physicalAge < 16 ? ` for ${his} age` : ``; + const amp = !hasBothLegs(slave) ? `, or would be if ${he} had legs` : ``; r.push(`is`); if (slave.height <= (averageHeight + 5) && slave.height >= (averageHeight - 5)) { @@ -49,7 +50,7 @@ App.Desc.dimensions = function(slave) { r.push(`tall${age}`); } if (V.showHeightCMs === 1) { - r.push(`at ${heightToEitherUnit(slave.height)},`); + r.push(`at ${heightToEitherUnit(slave.height)}${amp},`); } return r.join(" "); } -- GitLab