mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
allbuild commit 8afacee9
This commit is contained in:
parent
8afacee9e5
commit
214b2645ad
4
dist/main.bundle.js
vendored
4
dist/main.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/main.bundle.js.map
vendored
2
dist/main.bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@ -229,7 +229,7 @@ export const CONSTANTS: {
|
|||||||
|
|
||||||
InfiniteLoopLimit: 2000,
|
InfiniteLoopLimit: 2000,
|
||||||
|
|
||||||
Donations: 21,
|
Donations: 22,
|
||||||
|
|
||||||
LatestUpdate: `
|
LatestUpdate: `
|
||||||
v2.0.0 - 2022-07-19 Work rework
|
v2.0.0 - 2022-07-19 Work rework
|
||||||
|
@ -7,6 +7,7 @@ import { Augmentation } from "../../Augmentation/Augmentation";
|
|||||||
import { StaticAugmentations } from "../../Augmentation/StaticAugmentations";
|
import { StaticAugmentations } from "../../Augmentation/StaticAugmentations";
|
||||||
import { Faction } from "../../Faction/Faction";
|
import { Faction } from "../../Faction/Faction";
|
||||||
import { Factions } from "../../Faction/Factions";
|
import { Factions } from "../../Faction/Factions";
|
||||||
|
import { Multipliers } from "../Multipliers";
|
||||||
|
|
||||||
export function findSleevePurchasableAugs(sleeve: Sleeve, p: IPlayer): Augmentation[] {
|
export function findSleevePurchasableAugs(sleeve: Sleeve, p: IPlayer): Augmentation[] {
|
||||||
// You can only purchase Augmentations that are actually available from
|
// You can only purchase Augmentations that are actually available from
|
||||||
@ -31,7 +32,8 @@ export function findSleevePurchasableAugs(sleeve: Sleeve, p: IPlayer): Augmentat
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const validMults = [
|
type MultKey = keyof Multipliers;
|
||||||
|
const validMults: MultKey[] = [
|
||||||
"hacking",
|
"hacking",
|
||||||
"strength",
|
"strength",
|
||||||
"defense",
|
"defense",
|
||||||
@ -50,8 +52,8 @@ export function findSleevePurchasableAugs(sleeve: Sleeve, p: IPlayer): Augmentat
|
|||||||
"crime_success",
|
"crime_success",
|
||||||
"work_money",
|
"work_money",
|
||||||
];
|
];
|
||||||
for (const mult of Object.keys(aug.mults)) {
|
for (const mult of validMults) {
|
||||||
if (validMults.includes(mult)) {
|
if (aug.mults[mult] !== 1) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
54
src/utils/v2APIBreak.ts
Normal file
54
src/utils/v2APIBreak.ts
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
export const singularity = [
|
||||||
|
"applyToCompany",
|
||||||
|
"b1tflum3",
|
||||||
|
"checkFactionInvitations",
|
||||||
|
"commitCrime",
|
||||||
|
"connect",
|
||||||
|
"createProgram",
|
||||||
|
"destroyW0r1dD43m0n",
|
||||||
|
"donateToFaction",
|
||||||
|
"getAugmentationBasePrice",
|
||||||
|
"getAugmentationCost",
|
||||||
|
"getAugmentationPrereq",
|
||||||
|
"getAugmentationPrice",
|
||||||
|
"getAugmentationRepReq",
|
||||||
|
"getAugmentationsFromFaction",
|
||||||
|
"getAugmentationStats",
|
||||||
|
"getCompanyFavor",
|
||||||
|
"getCompanyFavorGain",
|
||||||
|
"getCompanyRep",
|
||||||
|
"getCrimeChance",
|
||||||
|
"getCrimeStats",
|
||||||
|
"getCurrentServer",
|
||||||
|
"getDarkwebProgramCost",
|
||||||
|
"getDarkwebPrograms",
|
||||||
|
"getFactionFavor",
|
||||||
|
"getFactionFavorGain",
|
||||||
|
"getFactionRep",
|
||||||
|
"getOwnedAugmentations",
|
||||||
|
"getOwnedSourceFiles",
|
||||||
|
"getUpgradeHomeCoresCost",
|
||||||
|
"getUpgradeHomeRamCost",
|
||||||
|
"goToLocation",
|
||||||
|
"gymWorkout",
|
||||||
|
"hospitalize",
|
||||||
|
"installAugmentations",
|
||||||
|
"installBackdoor",
|
||||||
|
"isBusy",
|
||||||
|
"isFocused",
|
||||||
|
"joinFaction",
|
||||||
|
"manualHack",
|
||||||
|
"purchaseAugmentation",
|
||||||
|
"purchaseProgram",
|
||||||
|
"purchaseTor",
|
||||||
|
"quitJob",
|
||||||
|
"setFocus",
|
||||||
|
"softReset",
|
||||||
|
"stopAction",
|
||||||
|
"travelToCity",
|
||||||
|
"universityCourse",
|
||||||
|
"upgradeHomeCores",
|
||||||
|
"upgradeHomeRam",
|
||||||
|
"workForCompany",
|
||||||
|
"workForFaction",
|
||||||
|
];
|
Loading…
Reference in New Issue
Block a user