Skip to content
Snippets Groups Projects
Commit dc45cf5f authored by lowercasedonkey's avatar lowercasedonkey
Browse files

whitespace

parent 7369ccc8
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ window.SFBC = function() { ...@@ -75,7 +75,7 @@ window.SFBC = function() {
Caps:"The Special Force", Caps:"The Special Force",
Lower:V.securityForceName, Lower:V.securityForceName,
Subsidy:V.SubsidyActive}); MainClean(); Subsidy:V.SubsidyActive}); MainClean();
SFNameCapsCheck(); SFNameCapsCheck();
if (V.ColonelCore === undefined) V.ColonelCore=""; if (V.ColonelCore === undefined) V.ColonelCore="";
if (V.ColonelDiscussion === undefined) V.ColonelDiscussion = 0; if (V.ColonelDiscussion === undefined) V.ColonelDiscussion = 0;
...@@ -326,7 +326,7 @@ window.SFReport = function() { ...@@ -326,7 +326,7 @@ window.SFReport = function() {
r += `<br>A ${V.SF.UC.Assign < 2 ? 'small':'large'} portion of the force was assigned as ${V.SF.UC.Assign < 2 ? 'part':'full'} time undercover officers.`; r += `<br>A ${V.SF.UC.Assign < 2 ? 'small':'large'} portion of the force was assigned as ${V.SF.UC.Assign < 2 ? 'part':'full'} time undercover officers.`;
} }
if (deaths > 0) { if (deaths > 0) {
r += ` <span class='red'>${deaths} soldiers fatally overdosed on the drug cocktail</span>`; r += ` <span class='red'>${deaths} soldiers fatally overdosed on the drug cocktail</span>`;
if (V.SF.MercCon.CanAttend === -1) r += `, The Colonel's much heavier than average drug use saves her from this side effect.`; if (V.SF.MercCon.CanAttend === -1) r += `, The Colonel's much heavier than average drug use saves her from this side effect.`;
} }
r += `<br>These activities have, overall, <span class='green'>improved your arcology's prosperity</span>.`; r += `<br>These activities have, overall, <span class='green'>improved your arcology's prosperity</span>.`;
...@@ -341,7 +341,7 @@ window.SFReport = function() { ...@@ -341,7 +341,7 @@ window.SFReport = function() {
r += ` ${V.SF.Caps} managed to recruit ${Math.round(FNG/2)} new soldiers this week, and your reputation has <span class='green'>increased through the improvement of trade security</span>.`; r += ` ${V.SF.Caps} managed to recruit ${Math.round(FNG/2)} new soldiers this week, and your reputation has <span class='green'>increased through the improvement of trade security</span>.`;
r += `<br>//Your instructions to ${SFC()}://`; r += `<br>//Your instructions to ${SFC()}://`;
r += `<br>&nbsp;Deployment focus: `; r += `<br>&nbsp;Deployment focus: `;
r += `<span id="focus"> <<if $SF.Target == "recruit">>''Recruiting and Training''<<elseif $SF.Target == "secure">>''Securing Trade Routes''<<else>>''Raiding and Slaving''<</if>></span>.&nbsp;&nbsp;`; r += `<span id="focus"> <<if $SF.Target == "recruit">>''Recruiting and Training''<<elseif $SF.Target == "secure">>''Securing Trade Routes''<<else>>''Raiding and Slaving''<</if>></span>.&nbsp;&nbsp;`;
r += `<<link "Recruit and Train">> <<set $SF.Target="recruit">> <<replace "#focus">>''Recruiting and Training''<</replace>> <</link>> | <<link "Secure Trade Routes">> <<set $SF.Target="secure">> <<replace "#focus">>''Securing Trade Routes''<</replace>> <</link>> | <<link "Raiding and Slaving">> <<set $SF.Target="raiding">> <<replace "#focus">>''Raiding and Slaving''<</replace>> <</link>>`; r += `<<link "Recruit and Train">> <<set $SF.Target="recruit">> <<replace "#focus">>''Recruiting and Training''<</replace>> <</link>> | <<link "Secure Trade Routes">> <<set $SF.Target="secure">> <<replace "#focus">>''Securing Trade Routes''<</replace>> <</link>> | <<link "Raiding and Slaving">> <<set $SF.Target="raiding">> <<replace "#focus">>''Raiding and Slaving''<</replace>> <</link>>`;
r += `<br>&nbsp;Rules of Engagement: `; r += `<br>&nbsp;Rules of Engagement: `;
r += `<span id="roe"> <<if $SF.ROE === "hold">>''Hold Fire''<<elseif $SF.ROE === "limited">>''Limited Fire''<<else>>''Free Fire''<</if>></span>.&nbsp;&nbsp;`; r += `<span id="roe"> <<if $SF.ROE === "hold">>''Hold Fire''<<elseif $SF.ROE === "limited">>''Limited Fire''<<else>>''Free Fire''<</if>></span>.&nbsp;&nbsp;`;
...@@ -463,9 +463,9 @@ window.Interactions = function() { ...@@ -463,9 +463,9 @@ window.Interactions = function() {
if (V.choice == 1) { if (V.choice == 1) {
choice +=`${V.SF.Caps} is turning over spare capital in tribute this week. `; choice +=`${V.SF.Caps} is turning over spare capital in tribute this week. `;
if (V.SF.MercCon.CanAttend === -1 && (C.Talk + C.Fun !== 1)) { if (V.SF.MercCon.CanAttend === -1 && (C.Talk + C.Fun !== 1)) {
choice += `"I think I can find <span class='yellowgreen'>${cashFormat(Math.ceil(V.CashGift))}</span> for you, boss."`; choice += `"I think I can find <span class='yellowgreen'>${cashFormat(Math.ceil(V.CashGift))}</span> for you, boss."`;
} else { } else {
choice += `"We can spare <span class='yellowgreen'>${cashFormat(Math.ceil(V.CashGift))}</span> in tribute this week, boss".`; } choice += `"We can spare <span class='yellowgreen'>${cashFormat(Math.ceil(V.CashGift))}</span> in tribute this week, boss".`; }
} else if (V.choice == 2) { } else if (V.choice == 2) {
choice += `${V.SF.Caps} will be throwing a military parade this week. `; choice += `${V.SF.Caps} will be throwing a military parade this week. `;
if (V.SF.MercCon.CanAttend === -1 && (C.Talk + C.Fun !== 1)) { if (V.SF.MercCon.CanAttend === -1 && (C.Talk + C.Fun !== 1)) {
...@@ -708,7 +708,7 @@ window.UnitText = function(input) { ...@@ -708,7 +708,7 @@ window.UnitText = function(input) {
if (S.Satellite.lv >= 8) reactor=`A small, efficient nuclear reactor has been installed to continue generating energy while in the Earth's shadow.`; if (S.Satellite.lv >= 8) reactor=`A small, efficient nuclear reactor has been installed to continue generating energy while in the Earth's shadow.`;
if (S.Satellite.lv >= 9) lens=`A higher quality and adjustable lens has been installed on the laser, allowing scalpel precision on armor or wide-area blasts on unarmored targets.`; if (S.Satellite.lv >= 9) lens=`A higher quality and adjustable lens has been installed on the laser, allowing scalpel precision on armor or wide-area blasts on unarmored targets.`;
if (S.Satellite.lv >= 10) kin=`A magazine of directable tungsten rods have been mounted to the exterior of the satellite, allowing for kinetic bombardment roughly equal to a series of nuclear blasts.`; if (S.Satellite.lv >= 10) kin=`A magazine of directable tungsten rods have been mounted to the exterior of the satellite, allowing for kinetic bombardment roughly equal to a series of nuclear blasts.`;
return `${r} ${loc1} ${gyro} ${thrusters} ${telemetry} ${solar} ${reactor} ${surviv} ${laser1}${heat} ${lens} ${kin}`; return `${r} ${loc1} ${gyro} ${thrusters} ${telemetry} ${solar} ${reactor} ${surviv} ${laser1}${heat} ${lens} ${kin}`;
} break; } break;
case 'GR': case 'GR':
let loc=`has been purchased from a crumbling Old World nation. It`, power=`Large batteries mounted in oversized shoulders power the robot for up to ten minutes of use, though they make for large targets.`, knife=`simply a 8.5 meter long knife, though additional weapons are under development.`, armor8=``, actuator=``, cannon1=``, heatsink=``, ammo2=``, missile=``; let loc=`has been purchased from a crumbling Old World nation. It`, power=`Large batteries mounted in oversized shoulders power the robot for up to ten minutes of use, though they make for large targets.`, knife=`simply a 8.5 meter long knife, though additional weapons are under development.`, armor8=``, actuator=``, cannon1=``, heatsink=``, ammo2=``, missile=``;
......
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