diff --git a/src/endWeek/economics/neighborsDevelopment.js b/src/endWeek/economics/neighborsDevelopment.js index b4d54ac9b1a7a976b383d0df4cab4f9ebfce265f..8c19843079103b1056a443714a369a1728472bd3 100644 --- a/src/endWeek/economics/neighborsDevelopment.js +++ b/src/endWeek/economics/neighborsDevelopment.js @@ -32,7 +32,7 @@ App.EndWeek.neighborsDevelopment = function() { for (let i = 0; i < V.arcologies.length; i++) { const arc = V.arcologies[i]; const r = []; - r.push(`<span class="bold"> ${arc.name}</span>, your`); + r.push(`<span class="bold">${arc.name}</span>, your`); if (arc.direction === 0) { r.push(`arcology,`); } else { @@ -421,7 +421,7 @@ App.EndWeek.neighborsDevelopment = function() { if (arc.name === arc2.name) { arc.name = "Arcology X-" + (i < 4 ? i : i + 1); /* X-4 is reserved for player's arcology, so X-1 is available */ - r.push(`It resumes its original name, <span class="bold"> ${arc.name}</span>, since the arcology to the arc.direction of yours is also named arc2.name.`); + r.push(`It resumes its original name, <span class="bold">${arc.name}</span>, since the arcology to the arc.direction of yours is also named arc2.name.`); break; } } @@ -521,7 +521,7 @@ App.EndWeek.neighborsDevelopment = function() { default: arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesSupremacistMixedRace); } - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSSupremacist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on arc.FSSupremacistRace Supremacy.`); @@ -582,7 +582,7 @@ App.EndWeek.neighborsDevelopment = function() { default: arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesSubjugationistMixedRace); } - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSSubjugationist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on arc.FSSubjugationistRace Subjugationism.`); @@ -607,7 +607,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Repopulationism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesRepopulationist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSRepopulationFocus < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Repopulationism.`); @@ -639,7 +639,7 @@ App.EndWeek.neighborsDevelopment = function() { arc.FSRestartResearch = 1; r.push(`Eugenics has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesEugenics); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSRestart < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Eugenics.`); @@ -673,7 +673,7 @@ App.EndWeek.neighborsDevelopment = function() { arc.FSGenderRadicalistResearch = 1; r.push(`Gender Radicalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesGenderRadicalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSGenderRadicalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Gender Radicalism.`); @@ -710,7 +710,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Gender Fundamentalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesGenderFundamentalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSGenderFundamentalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Gender Fundamentalism.`); @@ -735,7 +735,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Paternalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesPaternalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSPaternalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Paternalism.`); @@ -767,7 +767,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Degradationism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesDegradationist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSDegradationist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Degradationism.`); @@ -801,7 +801,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Intellectual Dependency has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesIntellectualDependency); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSIntellectualDependency < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Intellectual Dependency.`); @@ -829,7 +829,7 @@ App.EndWeek.neighborsDevelopment = function() { arc.FSSlaveProfessionalismResearch = 1; r.push(`Slave Professionalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesSlaveProfessionalism); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSSlaveProfessionalism < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Slave Professionalism.`); @@ -872,7 +872,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Body Purism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesBodyPurist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSBodyPurist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Body Purism.`); @@ -898,7 +898,7 @@ App.EndWeek.neighborsDevelopment = function() { arc.FSTransformationFetishistResearch = 1; r.push(`Transformation Fetishism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesTransformationFetishist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSTransformationFetishist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Transformation Fetishism.`); @@ -933,7 +933,7 @@ App.EndWeek.neighborsDevelopment = function() { } else { arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesYouthPreferentialist); } - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); arc.FSYouthPreferentialistResearch = 1; } } else if (arc.FSYouthPreferentialist < 0) { @@ -957,7 +957,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Maturity Preferentialism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesMaturityPreferentialist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSMaturityPreferentialist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Maturity Preferentialism.`); @@ -982,7 +982,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Petite Admiration has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesPetiteAdmiration); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSPetiteAdmiration < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Petite Admiration.`); @@ -1009,7 +1009,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Statuesque Glorification has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesStatuesqueGlorification); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSStatuesqueGlorification < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Statuesque Glorification.`); @@ -1038,7 +1038,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Slimness Enthusiasm has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesSlimnessEnthusiast); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); arc.FSSlimnessEnthusiastResearch = 1; } } else if (arc.FSSlimnessEnthusiast < 0) { @@ -1065,7 +1065,7 @@ App.EndWeek.neighborsDevelopment = function() { arc.FSAssetExpansionistResearch = 1; r.push(`Asset Expansionism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesAssetExpansionist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSAssetExpansionist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Asset Expansionism.`); @@ -1098,7 +1098,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Pastoralism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesPastoralist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSPastoralist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Pastoralism.`); @@ -1125,7 +1125,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Cummunism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesCummunism); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSCummunism < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Cummunism.`); @@ -1158,7 +1158,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Physical Idealism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesPhysicalIdealist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSPhysicalIdealist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Physical Idealism.`); @@ -1190,7 +1190,7 @@ App.EndWeek.neighborsDevelopment = function() { arc.FSHedonisticDecadenceResearch = 1; r.push(`Decadent Hedonism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesHedonisticDecadence); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSHedonisticDecadence < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Decadent Hedonism.`); @@ -1219,7 +1219,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Incest Fetishism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesIncestFetishist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSIncestFetishist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Incest Fetishism.`); @@ -1244,7 +1244,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Chattel Religionism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesChattelReligionist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSChattelReligionist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Chattel Religionism.`); @@ -1273,7 +1273,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Roman Revivalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesRomanRevivalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSRomanRevivalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Roman Revivalism.`); @@ -1296,7 +1296,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Neo-Imperialism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesNeoImperialist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSNeoImperialist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Neo-Imperialism.`); @@ -1319,7 +1319,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Aztec Revivalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesAztecRevivalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSAztecRevivalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Aztec Revivalism.`); @@ -1342,7 +1342,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Egyptian Revivalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesEgyptianRevivalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSEgyptianRevivalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Egyptian Revivalism.`); @@ -1365,7 +1365,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Edo Revivalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesEdoRevivalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSEdoRevivalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Edo Revivalism.`); @@ -1388,7 +1388,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Arabian Revivalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesArabianRevivalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSArabianRevivalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Arabian Revivalism.`); @@ -1415,7 +1415,7 @@ App.EndWeek.neighborsDevelopment = function() { if ((arc.name.indexOf("Arcology") !== -1) && (random(0, 2) === 0)) { r.push(`Chinese Revivalism has reached stability and acceptance there. The arcology has been renamed`); arc.name = App.Neighbor.getUnusedName(setup.ArcologyNamesChineseRevivalist); - r.push(`<span class="bold"> ${arc.name}</span> to mark the occasion.`); + r.push(`<span class="bold">${arc.name}</span> to mark the occasion.`); } } else if (arc.FSChineseRevivalist < 0) { r.push(`${arc.name} <span class="cyan">has given up</span> on Chinese Revivalism.`); @@ -1946,9 +1946,9 @@ App.EndWeek.neighborsDevelopment = function() { } } } else if (desc.length === 2) { - r.push(`<span class="bold"> ${arc2.name}</span>'s culture influences ${arc.name}'s ${desc[0]} and ${desc[1]}.`); + r.push(`<span class="bold">${arc2.name}</span>'s culture influences ${arc.name}'s ${desc[0]} and ${desc[1]}.`); } else { - r.push(`<span class="bold"> ${arc2.name}</span>'s culture is beginning to influence ${arc.name}'s ${desc[0]}.`); + r.push(`<span class="bold">${arc2.name}</span>'s culture is beginning to influence ${arc.name}'s ${desc[0]}.`); } if (_appliedInfluenceBonus > 0) { @@ -1967,10 +1967,10 @@ App.EndWeek.neighborsDevelopment = function() { if (arc2.direction !== 0) { if (desc.length === 0) { - r.push(`<span class="bold"> ${arc2.name}</span> is not satisfied with the impact its directed influence is having, and withdraws it with the intention of targeting it elsewhere.`); + r.push(`<span class="bold">${arc2.name}</span> is not satisfied with the impact its directed influence is having, and withdraws it with the intention of targeting it elsewhere.`); arc2.influenceTarget = -1; } else if (_alignment >= 4) { - r.push(`<span class="bold"> ${arc2.name}</span> is satisfied that its influence has brought ${arc.name} into alignment, and withdraws its direct influence with the intention of targeting it elsewhere.`); + r.push(`<span class="bold">${arc2.name}</span> is satisfied that its influence has brought ${arc.name} into alignment, and withdraws its direct influence with the intention of targeting it elsewhere.`); arc2.influenceTarget = -1; } } @@ -2057,7 +2057,7 @@ App.EndWeek.neighborsDevelopment = function() { let r = []; const {heU, girlU} = getNonlocalPronouns(0).appendSuffix('U'); - r.push(`<span class="bold"> ${arc.name}</span>, your`); + r.push(`<span class="bold">${arc.name}</span>, your`); if (arc.direction === 0) { r.push(`arcology,`); } else {