mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 22:59:42 +02:00
CORPORATION: Remove VeChain (#2245)
This commit is contained in:
@@ -227,5 +227,10 @@ export const breakingChanges300: VersionBreakingChange = {
|
||||
info: 'The "Spring Water" industry was removed. The cost of all Spring Water divisions was refunded.',
|
||||
showWarning: false,
|
||||
},
|
||||
{
|
||||
brokenAPIs: [{ name: "VeChain" }],
|
||||
info: 'The "VeChain" upgrade was removed. The cost of that upgrade was refunded.',
|
||||
showWarning: false,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -614,6 +614,16 @@ Error: ${e}`,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Remove and refund VeChain
|
||||
const unlocks: Set<string> = Player.corporation.unlocks;
|
||||
for (const upgrade of unlocks) {
|
||||
if (upgrade !== "VeChain") {
|
||||
continue;
|
||||
}
|
||||
Player.corporation.gainFunds(10e9, "force majeure");
|
||||
}
|
||||
unlocks.delete("VeChain");
|
||||
}
|
||||
showAPIBreaks("3.0.0", breakingChanges300);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user