mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
UI: Add apostrophe to stanek's gift strings (#1568)
This commit is contained in:
parent
ff80847af6
commit
7029ac9bcc
@ -243,12 +243,12 @@ export class StaneksGift extends BaseGift {
|
|||||||
|
|
||||||
static includedProperties = getKeyList(StaneksGift, { removedKeys: ["justCharged"] });
|
static includedProperties = getKeyList(StaneksGift, { removedKeys: ["justCharged"] });
|
||||||
|
|
||||||
/** Serialize Staneks Gift to a JSON save state. */
|
/** Serialize Stanek's Gift to a JSON save state. */
|
||||||
toJSON(): IReviverValue {
|
toJSON(): IReviverValue {
|
||||||
return Generic_toJSON("StaneksGift", this, StaneksGift.includedProperties);
|
return Generic_toJSON("StaneksGift", this, StaneksGift.includedProperties);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Initializes Staneks Gift from a JSON save state */
|
/** Initializes Stanek's Gift from a JSON save state */
|
||||||
static fromJSON(value: IReviverValue): StaneksGift {
|
static fromJSON(value: IReviverValue): StaneksGift {
|
||||||
return Generic_fromJSON(StaneksGift, value.data, StaneksGift.includedProperties);
|
return Generic_fromJSON(StaneksGift, value.data, StaneksGift.includedProperties);
|
||||||
}
|
}
|
||||||
|
@ -763,7 +763,7 @@ export const FactionInfos: Record<FactionName, FactionInfo> = {
|
|||||||
assignment: (): React.ReactElement => {
|
assignment: (): React.ReactElement => {
|
||||||
return (
|
return (
|
||||||
<Option
|
<Option
|
||||||
buttonText={"Open Staneks Gift"}
|
buttonText={"Open Stanek's Gift"}
|
||||||
infoText={
|
infoText={
|
||||||
"Stanek's Gift is a powerful augmentation that powers up the stat you chose to boost." +
|
"Stanek's Gift is a powerful augmentation that powers up the stat you chose to boost." +
|
||||||
"Gaining reputation with the Church of the Machine God can only be done by charging the gift."
|
"Gaining reputation with the Church of the Machine God can only be done by charging the gift."
|
||||||
|
@ -758,7 +758,7 @@ async function loadGame(saveData: SaveData): Promise<boolean> {
|
|||||||
if (Object.hasOwn(saveObj, "StaneksGiftSave")) {
|
if (Object.hasOwn(saveObj, "StaneksGiftSave")) {
|
||||||
loadStaneksGift(saveObj.StaneksGiftSave);
|
loadStaneksGift(saveObj.StaneksGiftSave);
|
||||||
} else {
|
} else {
|
||||||
console.warn(`Could not load Staneks Gift from save`);
|
console.warn(`Could not load Stanek's Gift from save`);
|
||||||
loadStaneksGift("");
|
loadStaneksGift("");
|
||||||
}
|
}
|
||||||
if (Object.hasOwn(saveObj, "AliasesSave")) {
|
if (Object.hasOwn(saveObj, "AliasesSave")) {
|
||||||
|
@ -112,7 +112,7 @@ const Engine: {
|
|||||||
// Gang
|
// Gang
|
||||||
if (Player.gang) Player.gang.process(numCycles);
|
if (Player.gang) Player.gang.process(numCycles);
|
||||||
|
|
||||||
// Staneks gift
|
// Stanek's gift
|
||||||
staneksGift.process(numCycles);
|
staneksGift.process(numCycles);
|
||||||
|
|
||||||
// Corporation
|
// Corporation
|
||||||
|
@ -33,7 +33,7 @@ export enum SimplePage {
|
|||||||
Work = "Work",
|
Work = "Work",
|
||||||
BladeburnerCinematic = "Bladeburner Cinematic",
|
BladeburnerCinematic = "Bladeburner Cinematic",
|
||||||
Loading = "Loading",
|
Loading = "Loading",
|
||||||
StaneksGift = "Staneks Gift",
|
StaneksGift = "Stanek's Gift",
|
||||||
Recovery = "Recovery",
|
Recovery = "Recovery",
|
||||||
Achievements = "Achievements",
|
Achievements = "Achievements",
|
||||||
ThemeBrowser = "Theme Browser",
|
ThemeBrowser = "Theme Browser",
|
||||||
|
Loading…
Reference in New Issue
Block a user