mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
Removed requirement to already have WSE access
This commit is contained in:
parent
e46c67a78a
commit
daadecb4e6
@ -390,7 +390,6 @@ export function NetscriptStockMarket(player: IPlayer, workerScript: WorkerScript
|
|||||||
},
|
},
|
||||||
purchaseWseAccount: function (): boolean {
|
purchaseWseAccount: function (): boolean {
|
||||||
helper.updateDynamicRam("PurchaseWseAccount", getRamCost(player, "stock", "purchaseWseAccount"));
|
helper.updateDynamicRam("PurchaseWseAccount", getRamCost(player, "stock", "purchaseWseAccount"));
|
||||||
checkTixApiAccess("purchaseWseAccount");
|
|
||||||
|
|
||||||
if (player.hasWseAccount) {
|
if (player.hasWseAccount) {
|
||||||
workerScript.log("stock.purchaseWseAccount", () => "Already purchased WSE Account");
|
workerScript.log("stock.purchaseWseAccount", () => "Already purchased WSE Account");
|
||||||
@ -412,7 +411,6 @@ export function NetscriptStockMarket(player: IPlayer, workerScript: WorkerScript
|
|||||||
},
|
},
|
||||||
purchaseTixApi: function (): boolean {
|
purchaseTixApi: function (): boolean {
|
||||||
helper.updateDynamicRam("PurchaseTixApi", getRamCost(player, "stock", "purchaseTixApi"));
|
helper.updateDynamicRam("PurchaseTixApi", getRamCost(player, "stock", "purchaseTixApi"));
|
||||||
checkTixApiAccess("purchaseTixApi");
|
|
||||||
|
|
||||||
if (player.hasTixApiAccess) {
|
if (player.hasTixApiAccess) {
|
||||||
workerScript.log("stock.purchaseTixApi", () => "Already purchased TIX API");
|
workerScript.log("stock.purchaseTixApi", () => "Already purchased TIX API");
|
||||||
|
Loading…
Reference in New Issue
Block a user