diff --git a/src/neighbor/neighborDescription.js b/src/neighbor/neighborDescription.js index be0408f197757524e9be12a778520fc07010c412..72d1f0f3c4f7a9619b6b8300666b5f5ec18466b9 100644 --- a/src/neighbor/neighborDescription.js +++ b/src/neighbor/neighborDescription.js @@ -35,7 +35,7 @@ App.UI.neighborDescription = function(i) { } let economicUncertainty = App.Utils.economicUncertainty(i); if (V.arcologies[i].direction === 0) { - r.push(`You control <span class="lime">${V.arcologies[i].ownership}%</span> of the arcology, and the largest minority holder controls <span class="orange">${V.arcologies[i].minority}%.</span>`); + r.push(`You control <span class="lime">${V.arcologies[i].ownership}%</span> of the arcology${V.arcologies[0].ownership !== 100 ? `, and the largest minority holder controls <span class="orange">${V.arcologies[i].minority}%.</span>` : `.`}`); } else if ((V.arcologies[i].government !== "your trustees") && (V.arcologies[i].government !== "your agent")) { r.push(`Its leadership has control of approximately <span class="orange">${Math.trunc(V.arcologies[i].ownership*economicUncertainty)}%</span> of the arcology${(V.arcologies[i].minority > V.arcologies[i].ownership-10) ? `, a dangerously narrow margin over competition with a <span class="tan">${Math.trunc(V.arcologies[i].minority*economicUncertainty)}%</span> share` : ``}.`); }