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,
"dontSubtractVoidTraces": false,
"dontSubtractConsumables": false,
"bugFixes": {
"ignore1999LastRegionPlayed": false,
"fixXtraCheeseTimer": false
},
"unlockAllShipFeatures": false,
"unlockAllShipDecorations": false,
"unlockAllFlavourItems": false,
@ -62,6 +58,10 @@
"unlockAllSimarisResearchEntries": false,
"spoofMasteryRank": -1,
"nightwaveStandingMultiplier": 1,
"unfaithfulBugFixes": {
"ignore1999LastRegionPlayed": false,
"fixXtraCheeseTimer": false
},
"worldState": {
"creditBoost": false,
"affinityBoost": false,

View File

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

View File

@ -268,7 +268,7 @@ export const addMissionInventoryUpdates = async (
addMissionComplete(inventory, value);
break;
case "LastRegionPlayed":
if (!(config.bugFixes?.ignore1999LastRegionPlayed && value === "1999MapName")) {
if (!(config.unfaithfulBugFixes?.ignore1999LastRegionPlayed && value === "1999MapName")) {
inventory.LastRegionPlayed = value;
}
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
// client show a negative countdown during off-hours. Optionally adjust the
// times so the next activation is always in the future.
if (config.bugFixes?.fixXtraCheeseTimer && timeSecs >= cheeseEnd) {
if (config.unfaithfulBugFixes?.fixXtraCheeseTimer && timeSecs >= cheeseEnd) {
cheeseStart = cheeseNext;
cheeseEnd = cheeseStart + cheeseDuration;
cheeseNext += cheeseInterval;