Added sf minus 1, exploits

This commit is contained in:
Olivier Gagnon
2021-03-08 20:31:34 -05:00
parent d9aef91ea3
commit 250841df66
11 changed files with 145 additions and 0 deletions
+4
View File
@@ -142,6 +142,7 @@ import {
import { NetscriptPort } from "./NetscriptPort";
import { SleeveTaskType } from "./PersonObjects/Sleeve/SleeveTaskTypesEnum";
import { findSleevePurchasableAugs } from "./PersonObjects/Sleeve/SleeveHelpers";
import { Exploit } from './Exploits/Exploit.ts';
import { Page, routing } from "./ui/navigationTracking";
import { numeralWrapper } from "./ui/numeralFormat";
@@ -4713,6 +4714,9 @@ function NetscriptFunctions(workerScript) {
break: function() {
return Player.karma;
}
},
exploit: function() {
Player.giveExploit(Exploit.UndocumentedFunctionCall);
}
} // End return
} // End NetscriptFunction()