mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
merge dev
This commit is contained in:
@@ -22,7 +22,7 @@ export function Augmentations(props: IProps): React.ReactElement {
|
||||
const [augmentation, setAugmentation] = useState("Augmented Targeting I");
|
||||
|
||||
function setAugmentationDropdown(event: SelectChangeEvent<string>): void {
|
||||
setAugmentation(event.target.value );
|
||||
setAugmentation(event.target.value);
|
||||
}
|
||||
function queueAug(): void {
|
||||
props.player.queueAugmentation(augmentation);
|
||||
|
||||
@@ -15,7 +15,7 @@ import { CodingContractTypes } from "../../CodingContracts";
|
||||
export function CodingContracts(): React.ReactElement {
|
||||
const [codingcontract, setCodingcontract] = useState("Find Largest Prime Factor");
|
||||
function setCodingcontractDropdown(event: SelectChangeEvent<string>): void {
|
||||
setCodingcontract(event.target.value );
|
||||
setCodingcontract(event.target.value);
|
||||
}
|
||||
|
||||
function specificContract(): void {
|
||||
|
||||
@@ -18,7 +18,7 @@ const bigNumber = 1e12;
|
||||
export function Companies(): React.ReactElement {
|
||||
const [company, setCompany] = useState(FactionNames.ECorp as string);
|
||||
function setCompanyDropdown(event: SelectChangeEvent<string>): void {
|
||||
setCompany(event.target.value );
|
||||
setCompany(event.target.value);
|
||||
}
|
||||
function resetCompanyRep(): void {
|
||||
AllCompanies[company].playerReputation = 0;
|
||||
|
||||
@@ -29,7 +29,7 @@ export function Factions(props: IProps): React.ReactElement {
|
||||
const [faction, setFaction] = useState(FactionNames.Illuminati as string);
|
||||
|
||||
function setFactionDropdown(event: SelectChangeEvent<string>): void {
|
||||
setFaction(event.target.value );
|
||||
setFaction(event.target.value);
|
||||
}
|
||||
|
||||
function receiveInvite(): void {
|
||||
|
||||
@@ -19,7 +19,7 @@ interface IProps {
|
||||
export function Programs(props: IProps): React.ReactElement {
|
||||
const [program, setProgram] = useState("NUKE.exe");
|
||||
function setProgramDropdown(event: SelectChangeEvent<string>): void {
|
||||
setProgram(event.target.value );
|
||||
setProgram(event.target.value);
|
||||
}
|
||||
function addProgram(): void {
|
||||
if (!props.player.hasProgram(program)) {
|
||||
|
||||
@@ -15,7 +15,7 @@ import MenuItem from "@mui/material/MenuItem";
|
||||
export function Servers(): React.ReactElement {
|
||||
const [server, setServer] = useState("home");
|
||||
function setServerDropdown(event: SelectChangeEvent<string>): void {
|
||||
setServer(event.target.value );
|
||||
setServer(event.target.value);
|
||||
}
|
||||
function rootServer(): void {
|
||||
const s = GetServer(server);
|
||||
|
||||
Reference in New Issue
Block a user