diff --git a/src/js/utilsPC.js b/src/js/utilsPC.js index 4ac1a68b4ee4f5037d533456e6b3b3679db4fabe..2f18d167e8f575601f86a6a4cdf02d46be985be4 100644 --- a/src/js/utilsPC.js +++ b/src/js/utilsPC.js @@ -468,23 +468,11 @@ globalThis.PCTitle = function() { } if (V.arcologies[0].FSAntebellumRevivalist >= V.FSLockinLevel * 0.9) { - if (V.PC.title === 1) { - titles.push(`Reclaimer of the Cause and Lord of ${V.arcologies[0].name}`); - } else { - titles.push(`Reclaimer of the Cause and Lady of ${V.arcologies[0].name}`); - } + titles.push(`Reclaimer of the Cause and ${V.PC.title === 1 ? 'Lord' : 'Lady'} of ${V.arcologies[0].name}`); } else if (V.arcologies[0].FSAntebellumRevivalist >= V.FSLockinLevel * 0.6) { - if (V.PC.title === 1) { - titles.push(`Lord of ${V.arcologies[0].name}`); - } else { - titles.push(`Lady of ${V.arcologies[0].name}`); - } + titles.push(`${V.PC.title === 1 ? 'Lord' : 'Lady'} of ${V.arcologies[0].name}`); } else if (V.arcologies[0].FSAntebellumRevivalist >= V.FSLockinLevel * 0.3) { - if (V.PC.title === 1) { - titles.push(`Son of the South`); - } else { - titles.push(`Daughter of the South`); - } + titles.push(`${V.PC.title === 1 ? 'Son' : 'Daughter'} of the South`); } const facilities = App.Entity.facilities;