diff --git a/src/SpecialForce/SpecialForce.js b/src/SpecialForce/SpecialForce.js index 2bac10de259e0df00d4bd5144f5fb8023c76e9d1..945bffbdf8e323f8e0ccf89abc752ec5b28ff2bf 100644 --- a/src/SpecialForce/SpecialForce.js +++ b/src/SpecialForce/SpecialForce.js @@ -3089,7 +3089,6 @@ App.SF.UnitText = function(input) { let recom1 = `has been recommissioned from the old world for ${V.SF.Lower}. It`; let jets = `Formerly mothballed strike jets`, - loc2 = ``, radar = ``, AAG = ``; let prop = ``, @@ -3098,21 +3097,6 @@ App.SF.UnitText = function(input) { power1 = ``, scramble1 = ``; - if (V.week % 6 === 0) { - let loc2 = `is` - if (input !== 'HAT') { - loc2 += ` moored to`; - } else { - loc2 += ` parked on`; - } - loc2 += ` the pier in the Naval Yard`; - if (input === 'HAT') { - loc2 += `, ready to ferry ${tons} tons of soldiers and vehicles`; - } - } else { - const loc2 = `is patrolling the waters near ${V.arcologies[0].name}`; - } - let recom = `has been recommissioned from the old world, and`; let reactor0 = `Because diesel engines provide power and breathing oxygen is kept in pressurized canisters, the sub must frequently surface.`; let reactor1 = ``, @@ -3124,7 +3108,7 @@ App.SF.UnitText = function(input) { let control = ``, missiles = ``; - let recom2 = `; has been recommissioned for use by ${V.SF.Lower}. It`; + let recom2 = `has been recommissioned for use by ${V.SF.Lower}. It `; let tons = `200`, skirt = ``, guns = ``, @@ -3137,6 +3121,21 @@ App.SF.UnitText = function(input) { HATframe = ``, loadout = ``; + let loc2 = ``; + if (V.week % 6 === 0) { + loc2 += `is` + if (input !== 'HAT') { + loc2 += ` moored to`; + } else { + loc2 += ` parked on`; + } + loc2 += ` the pier in the Naval Yard`; + if (input === 'HAT') { + loc2 += `, ready to ferry ${tons} tons of soldiers and vehicles`; + } + } else { + loc2 += `is patrolling the waters near ${V.arcologies[0].name}`; + } switch (input) { case 'firebase': if (S.Firebase >= 0) { @@ -3767,7 +3766,7 @@ App.SF.UnitText = function(input) { const text17 = `<br> ''Amphibious Transport:''`; if (S.HAT >= 2) { skirt = `The skirt has been upgraded to increase durability and improve cushion when traveling over uneven terrain and waves.`; - recom2 = `;`; + recom2 = ``; } if (S.HAT >= 3) { guns = `A minigun`; @@ -3798,7 +3797,7 @@ App.SF.UnitText = function(input) { if (S.HAT >= 10) { loadout = `An experimental loadout sacrifices all carrying capacity to instead act as a floating gun platform by mounting several rotary autocannons the deck, should the need arise.`; } - return `${text17} An air cushion transport vehicle, or hovercraft ${recom2} ${loc2}. ${guns} ${guns2} ${fans} ${turbines} ${speed} ${skirt} ${armor10} ${ramps} ${HATframe} ${loadout}`; + return `${text17} An air cushion transport vehicle, or hovercraft; ${recom2}${loc2}. ${guns} ${guns2} ${fans} ${turbines} ${speed} ${skirt} ${armor10} ${ramps} ${HATframe} ${loadout}`; } break; }