mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 11:03:48 +01:00
MISC: Disable rumor of Bladeburners in BN8 (#1484)
This commit is contained in:
parent
8d39c7d9fc
commit
0e1e8a9862
@ -32,6 +32,8 @@ import {
|
|||||||
everyCondition,
|
everyCondition,
|
||||||
delayedCondition,
|
delayedCondition,
|
||||||
unsatisfiable,
|
unsatisfiable,
|
||||||
|
notCondition,
|
||||||
|
inBitNode,
|
||||||
} from "./FactionJoinCondition";
|
} from "./FactionJoinCondition";
|
||||||
import { SpecialServers } from "../Server/data/SpecialServers";
|
import { SpecialServers } from "../Server/data/SpecialServers";
|
||||||
import { CONSTANTS } from "../Constants";
|
import { CONSTANTS } from "../Constants";
|
||||||
@ -694,7 +696,7 @@ export const FactionInfos: Record<FactionName, FactionInfo> = {
|
|||||||
),
|
),
|
||||||
rumorText: <>The {CompanyName.NSA} would like to have a word with you once you're ready.</>,
|
rumorText: <>The {CompanyName.NSA} would like to have a word with you once you're ready.</>,
|
||||||
inviteReqs: [haveSomeSourceFile(6, 7), haveBladeburnerRank(BladeburnerConstants.RankNeededForFaction)],
|
inviteReqs: [haveSomeSourceFile(6, 7), haveBladeburnerRank(BladeburnerConstants.RankNeededForFaction)],
|
||||||
rumorReqs: [haveSomeSourceFile(6, 7)],
|
rumorReqs: [haveSomeSourceFile(6, 7), notCondition(inBitNode(8))],
|
||||||
special: true,
|
special: true,
|
||||||
assignment: (): React.ReactElement => {
|
assignment: (): React.ReactElement => {
|
||||||
return (
|
return (
|
||||||
|
@ -27,6 +27,7 @@ import type {
|
|||||||
NotRequirement,
|
NotRequirement,
|
||||||
SomeRequirement,
|
SomeRequirement,
|
||||||
EveryRequirement,
|
EveryRequirement,
|
||||||
|
BitNodeRequirement,
|
||||||
} from "@nsdefs";
|
} from "@nsdefs";
|
||||||
import { calculateEffectiveRequiredReputation } from "../Company/utils";
|
import { calculateEffectiveRequiredReputation } from "../Company/utils";
|
||||||
|
|
||||||
@ -275,6 +276,18 @@ export const haveBladeburnerRank = (n: number): PlayerCondition => ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const inBitNode = (n: number): PlayerCondition => ({
|
||||||
|
toString(): string {
|
||||||
|
return `In BitNode ${n}`;
|
||||||
|
},
|
||||||
|
toJSON(): BitNodeRequirement {
|
||||||
|
return { type: "bitNodeN", bitNodeN: n };
|
||||||
|
},
|
||||||
|
isSatisfied(p: PlayerObject): boolean {
|
||||||
|
return p.bitNodeN == n;
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
export const haveSourceFile = (n: number): PlayerCondition => ({
|
export const haveSourceFile = (n: number): PlayerCondition => ({
|
||||||
toString(): string {
|
toString(): string {
|
||||||
return `In BitNode ${n} or have SourceFile ${n}`;
|
return `In BitNode ${n} or have SourceFile ${n}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user