Fix tons of typos

This commit is contained in:
Olivier Gagnon
2022-10-09 01:25:31 -04:00
parent f8a3a046de
commit f6f023eeb4
110 changed files with 212 additions and 207 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ export class PlayerObject extends Person {
return Generic_toJSON("PlayerObject", this);
}
/** Initiatizes a PlayerObject object from a JSON save state. */
/** Initializes a PlayerObject object from a JSON save state. */
static fromJSON(value: IReviverValue): PlayerObject {
return Generic_fromJSON(PlayerObject, value.data);
}
@@ -26,7 +26,7 @@ import { isSleeveCompanyWork } from "../Sleeve/Work/SleeveCompanyWork";
import { calculateSkillProgress as calculateSkillProgressF, ISkillProgress } from "../formulas/skill";
import { GetServer, AddToAllServers, createUniqueRandomIp } from "../../Server/AllServers";
import { Server } from "../../Server/Server";
import { safetlyCreateUniqueServer } from "../../Server/ServerHelpers";
import { safelyCreateUniqueServer } from "../../Server/ServerHelpers";
import { SpecialServers } from "../../Server/data/SpecialServers";
import { applySourceFile } from "../../SourceFile/applySourceFile";
@@ -48,7 +48,7 @@ import { serverMetadata } from "../../Server/data/servers";
export function init(this: PlayerObject): void {
/* Initialize Player's home computer */
const t_homeComp = safetlyCreateUniqueServer({
const t_homeComp = safelyCreateUniqueServer({
adminRights: true,
hostname: "home",
ip: createUniqueRandomIp(),
@@ -279,7 +279,7 @@ export function applyForJob(this: PlayerObject, entryPosType: CompanyPosition, s
if (!this.isQualified(company, pos)) {
if (!sing) {
dialogBoxCreate("Unfortunately, you do not qualify for this position<br>" + getJobRequirementText(company, pos));
dialogBoxCreate("Unfortunately, you do not qualify for this position\n" + getJobRequirementText(company, pos));
}
return false;
}
@@ -305,7 +305,7 @@ export function applyForJob(this: PlayerObject, entryPosType: CompanyPosition, s
dialogBoxCreate("You are already at the highest position for your field! No promotion available");
} else {
const reqText = getJobRequirementText(company, nextPos);
dialogBoxCreate("Unfortunately, you do not qualify for a promotion<br>" + reqText);
dialogBoxCreate("Unfortunately, you do not qualify for a promotion\n" + reqText);
}
}
return false;
@@ -314,7 +314,7 @@ export function applyForJob(this: PlayerObject, entryPosType: CompanyPosition, s
this.jobs[company.name] = pos.name;
if (!sing) {
dialogBoxCreate("Congratulations! You were offered a new job at " + company.name + " as a " + pos.name + "!");
dialogBoxCreate(`Congratulations! You were offered a new job at ${company.name} for position ${pos.name}!`);
}
return true;
}
@@ -781,7 +781,7 @@ export function checkForFactionInvitations(this: PlayerObject): Faction[] {
invitedFactions.push(kuaigonginternationalFac);
}
//Fulcrum Secret Technologies - If u've unlocked fulcrum secret technolgoies server and have a high rep with the company
//Fulcrum Secret Technologies - If you've unlocked fulcrum secret technologies server and have a high rep with the company
const fulcrumsecrettechonologiesFac = Factions[FactionNames.FulcrumSecretTechnologies];
const fulcrumSecretServer = GetServer(SpecialServers.FulcrumSecretTechnologies);
if (!(fulcrumSecretServer instanceof Server))
+2 -2
View File
@@ -54,7 +54,7 @@ export class Sleeve extends Person {
/**
* Sleeve shock. Number between 0 and 100
* Trauma/shock that comes with being in a sleeve. Experience earned
* is multipled by shock%. This gets applied before synchronization
* is multiplied by shock%. This gets applied before synchronization
*
* Reputation earned is also multiplied by shock%
*/
@@ -482,7 +482,7 @@ export class Sleeve extends Person {
return Generic_toJSON("Sleeve", this);
}
/** Initiatizes a Sleeve object from a JSON save state. */
/** Initializes a Sleeve object from a JSON save state. */
static fromJSON(value: IReviverValue): Sleeve {
return Generic_fromJSON(Sleeve, value.data);
}
@@ -80,7 +80,7 @@ export class SleeveBladeburnerWork extends Work {
return Generic_toJSON("SleeveBladeburnerWork", this);
}
/** Initiatizes a BladeburnerWork object from a JSON save state. */
/** Initializes a BladeburnerWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveBladeburnerWork {
return Generic_fromJSON(SleeveBladeburnerWork, value.data);
}
@@ -50,7 +50,7 @@ export class SleeveClassWork extends Work {
return Generic_toJSON("SleeveClassWork", this);
}
/** Initiatizes a ClassWork object from a JSON save state. */
/** Initializes a ClassWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveClassWork {
return Generic_fromJSON(SleeveClassWork, value.data);
}
@@ -54,7 +54,7 @@ export class SleeveCompanyWork extends Work {
return Generic_toJSON("SleeveCompanyWork", this);
}
/** Initiatizes a CompanyWork object from a JSON save state. */
/** Initializes a CompanyWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveCompanyWork {
return Generic_fromJSON(SleeveCompanyWork, value.data);
}
@@ -73,7 +73,7 @@ export class SleeveCrimeWork extends Work {
return Generic_toJSON("SleeveCrimeWork", this);
}
/** Initiatizes a RecoveryWork object from a JSON save state. */
/** Initializes a RecoveryWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveCrimeWork {
return Generic_fromJSON(SleeveCrimeWork, value.data);
}
@@ -83,7 +83,7 @@ export class SleeveFactionWork extends Work {
return Generic_toJSON("SleeveFactionWork", this);
}
/** Initiatizes a FactionWork object from a JSON save state. */
/** Initializes a FactionWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveFactionWork {
return Generic_fromJSON(SleeveFactionWork, value.data);
}
@@ -41,7 +41,7 @@ export class SleeveInfiltrateWork extends Work {
return Generic_toJSON("SleeveInfiltrateWork", this);
}
/** Initiatizes a BladeburnerWork object from a JSON save state. */
/** Initializes a BladeburnerWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveInfiltrateWork {
return Generic_fromJSON(SleeveInfiltrateWork, value.data);
}
@@ -27,7 +27,7 @@ export class SleeveRecoveryWork extends Work {
return Generic_toJSON("SleeveRecoveryWork", this);
}
/** Initiatizes a RecoveryWork object from a JSON save state. */
/** Initializes a RecoveryWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveRecoveryWork {
return Generic_fromJSON(SleeveRecoveryWork, value.data);
}
@@ -30,7 +30,7 @@ export class SleeveSupportWork extends Work {
return Generic_toJSON("SleeveSupportWork", this);
}
/** Initiatizes a BladeburnerWork object from a JSON save state. */
/** Initializes a BladeburnerWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveSupportWork {
return Generic_fromJSON(SleeveSupportWork, value.data);
}
@@ -28,7 +28,7 @@ export class SleeveSynchroWork extends Work {
return Generic_toJSON("SleeveSynchroWork", this);
}
/** Initiatizes a SynchroWork object from a JSON save state. */
/** Initializes a SynchroWork object from a JSON save state. */
static fromJSON(value: IReviverValue): SleeveSynchroWork {
return Generic_fromJSON(SleeveSynchroWork, value.data);
}