feat: unfaithful bug fixes #2267

Merged
Sainan merged 2 commits from codex/fix-server-side-behaviors-and-cheats into main 2025-06-23 21:51:51 -07:00
4 changed files with 7 additions and 7 deletions
Showing only changes of commit 48f639ab26 - Show all commits

View File

@ -25,10 +25,6 @@
"dontSubtractPurchaseStandingCost": false, "dontSubtractPurchaseStandingCost": false,
"dontSubtractVoidTraces": false, "dontSubtractVoidTraces": false,
"dontSubtractConsumables": false, "dontSubtractConsumables": false,
"bugFixes": {
"ignore1999LastRegionPlayed": false,
"fixXtraCheeseTimer": false
},
"unlockAllShipFeatures": false, "unlockAllShipFeatures": false,
"unlockAllShipDecorations": false, "unlockAllShipDecorations": false,
"unlockAllFlavourItems": false, "unlockAllFlavourItems": false,
@ -62,6 +58,10 @@
"unlockAllSimarisResearchEntries": false, "unlockAllSimarisResearchEntries": false,
"spoofMasteryRank": -1, "spoofMasteryRank": -1,
"nightwaveStandingMultiplier": 1, "nightwaveStandingMultiplier": 1,
"unfaithfulBugFixes": {
"ignore1999LastRegionPlayed": false,
"fixXtraCheeseTimer": false
},
"worldState": { "worldState": {
"creditBoost": false, "creditBoost": false,
"affinityBoost": false, "affinityBoost": false,

View File

@ -65,7 +65,7 @@ export interface IConfig {
unlockAllSimarisResearchEntries?: boolean; unlockAllSimarisResearchEntries?: boolean;
spoofMasteryRank?: number; spoofMasteryRank?: number;
nightwaveStandingMultiplier?: number; nightwaveStandingMultiplier?: number;
bugFixes?: { unfaithfulBugFixes?: {
ignore1999LastRegionPlayed?: boolean; ignore1999LastRegionPlayed?: boolean;
fixXtraCheeseTimer?: boolean; fixXtraCheeseTimer?: boolean;
}; };

View File

@ -268,7 +268,7 @@ export const addMissionInventoryUpdates = async (
addMissionComplete(inventory, value); addMissionComplete(inventory, value);
break; break;
case "LastRegionPlayed": case "LastRegionPlayed":
if (!(config.bugFixes?.ignore1999LastRegionPlayed && value === "1999MapName")) { if (!(config.unfaithfulBugFixes?.ignore1999LastRegionPlayed && value === "1999MapName")) {
inventory.LastRegionPlayed = value; inventory.LastRegionPlayed = value;
} }
break; break;

View File

@ -1331,7 +1331,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
// Live servers only update the start time once it happens, which makes the // Live servers only update the start time once it happens, which makes the
// client show a negative countdown during off-hours. Optionally adjust the // client show a negative countdown during off-hours. Optionally adjust the
// times so the next activation is always in the future. // times so the next activation is always in the future.
if (config.bugFixes?.fixXtraCheeseTimer && timeSecs >= cheeseEnd) { if (config.unfaithfulBugFixes?.fixXtraCheeseTimer && timeSecs >= cheeseEnd) {
cheeseStart = cheeseNext; cheeseStart = cheeseNext;
cheeseEnd = cheeseStart + cheeseDuration; cheeseEnd = cheeseStart + cheeseDuration;
cheeseNext += cheeseInterval; cheeseNext += cheeseInterval;