convert BN13 to a more conventional one.

This commit is contained in:
Olivier Gagnon
2021-11-18 15:38:19 -05:00
266 changed files with 478 additions and 5178 deletions
+1 -1
View File
@@ -530,7 +530,6 @@ export function NetscriptSingularity(
if (player.hasProgram(item.program)) {
workerScript.log("purchaseProgram", `You already have the '${item.program}' program`);
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
return true;
}
@@ -540,6 +539,7 @@ export function NetscriptSingularity(
"purchaseProgram",
`You have purchased the '${item.program}' program. The new program can be found on your home computer.`,
);
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
return true;
},
getCurrentServer: function (): any {