Skip to content
Snippets Groups Projects
Commit 3406f1d2 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-dev' into 'pregmod-master'

acknowledge amputation in height descriptions

See merge request pregmodfan/fc-pregmod!7672
parents ab355df5 a9069f82
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ App.Desc.dimensions = function(slave) { ...@@ -35,6 +35,7 @@ App.Desc.dimensions = function(slave) {
const r = []; const r = [];
const averageHeight = Height.mean(slave); const averageHeight = Height.mean(slave);
const age = slave.physicalAge < 16 ? ` for ${his} age` : ``; const age = slave.physicalAge < 16 ? ` for ${his} age` : ``;
const amp = !hasBothLegs(slave) ? `, or would be if ${he} had legs` : ``;
r.push(`is`); r.push(`is`);
if (slave.height <= (averageHeight + 5) && slave.height >= (averageHeight - 5)) { if (slave.height <= (averageHeight + 5) && slave.height >= (averageHeight - 5)) {
...@@ -49,7 +50,7 @@ App.Desc.dimensions = function(slave) { ...@@ -49,7 +50,7 @@ App.Desc.dimensions = function(slave) {
r.push(`tall${age}`); r.push(`tall${age}`);
} }
if (V.showHeightCMs === 1) { if (V.showHeightCMs === 1) {
r.push(`at ${heightToEitherUnit(slave.height)},`); r.push(`at ${heightToEitherUnit(slave.height)}${amp},`);
} }
return r.join(" "); return r.join(" ");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment