mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-02 05:47:14 +02:00
fix sleeve memory bug
This commit is contained in:
@@ -59,8 +59,7 @@ function listAllDarkwebItems(): void {
|
||||
const item = DarkWebItems[key];
|
||||
postElement(
|
||||
<>
|
||||
{item.program} - <Money money={item.price} player={Player} /> -{" "}
|
||||
{item.description}
|
||||
{item.program} - <Money money={item.price} player={Player} /> - {item.description}
|
||||
</>,
|
||||
);
|
||||
}
|
||||
@@ -99,9 +98,5 @@ function buyDarkwebItem(itemName: string): void {
|
||||
// buy and push
|
||||
Player.loseMoney(item.price);
|
||||
Player.getHomeComputer().programs.push(item.program);
|
||||
post(
|
||||
"You have purchased the " +
|
||||
item.program +
|
||||
" program. The new program can be found on your home computer.",
|
||||
);
|
||||
post("You have purchased the " + item.program + " program. The new program can be found on your home computer.");
|
||||
}
|
||||
|
||||
@@ -3,46 +3,14 @@ import { IMap } from "../types";
|
||||
import { Programs } from "../Programs/Programs";
|
||||
|
||||
export const DarkWebItems: IMap<DarkWebItem> = {
|
||||
BruteSSHProgram: new DarkWebItem(
|
||||
Programs.BruteSSHProgram.name,
|
||||
500e3,
|
||||
"Opens up SSH Ports",
|
||||
),
|
||||
FTPCrackProgram: new DarkWebItem(
|
||||
Programs.FTPCrackProgram.name,
|
||||
1500e3,
|
||||
"Opens up FTP Ports",
|
||||
),
|
||||
RelaySMTPProgram: new DarkWebItem(
|
||||
Programs.RelaySMTPProgram.name,
|
||||
5e6,
|
||||
"Opens up SMTP Ports",
|
||||
),
|
||||
HTTPWormProgram: new DarkWebItem(
|
||||
Programs.HTTPWormProgram.name,
|
||||
30e6,
|
||||
"Opens up HTTP Ports",
|
||||
),
|
||||
SQLInjectProgram: new DarkWebItem(
|
||||
Programs.SQLInjectProgram.name,
|
||||
250e6,
|
||||
"Opens up SQL Ports",
|
||||
),
|
||||
DeepscanV1: new DarkWebItem(
|
||||
Programs.DeepscanV1.name,
|
||||
500000,
|
||||
"Enables 'scan-analyze' with a depth up to 5",
|
||||
),
|
||||
DeepscanV2: new DarkWebItem(
|
||||
Programs.DeepscanV2.name,
|
||||
25e6,
|
||||
"Enables 'scan-analyze' with a depth up to 10",
|
||||
),
|
||||
AutolinkProgram: new DarkWebItem(
|
||||
Programs.AutoLink.name,
|
||||
1e6,
|
||||
"Enables direct connect via 'scan-analyze'",
|
||||
),
|
||||
BruteSSHProgram: new DarkWebItem(Programs.BruteSSHProgram.name, 500e3, "Opens up SSH Ports"),
|
||||
FTPCrackProgram: new DarkWebItem(Programs.FTPCrackProgram.name, 1500e3, "Opens up FTP Ports"),
|
||||
RelaySMTPProgram: new DarkWebItem(Programs.RelaySMTPProgram.name, 5e6, "Opens up SMTP Ports"),
|
||||
HTTPWormProgram: new DarkWebItem(Programs.HTTPWormProgram.name, 30e6, "Opens up HTTP Ports"),
|
||||
SQLInjectProgram: new DarkWebItem(Programs.SQLInjectProgram.name, 250e6, "Opens up SQL Ports"),
|
||||
DeepscanV1: new DarkWebItem(Programs.DeepscanV1.name, 500000, "Enables 'scan-analyze' with a depth up to 5"),
|
||||
DeepscanV2: new DarkWebItem(Programs.DeepscanV2.name, 25e6, "Enables 'scan-analyze' with a depth up to 10"),
|
||||
AutolinkProgram: new DarkWebItem(Programs.AutoLink.name, 1e6, "Enables direct connect via 'scan-analyze'"),
|
||||
ServerProfilerProgram: new DarkWebItem(
|
||||
Programs.ServerProfiler.name,
|
||||
1e6,
|
||||
|
||||
Reference in New Issue
Block a user