MISC: Clarify conditions of activating Gang, Bladeburner, Stanek's Gift (#2053)

This commit is contained in:
catloversg
2025-04-01 03:37:35 +07:00
committed by GitHub
parent f6e7ef082c
commit b2093a2419
11 changed files with 87 additions and 25 deletions
+3 -2
View File
@@ -37,10 +37,11 @@ export function GangButton({ faction }: IProps): React.ReactElement {
description: "Manage a gang for this Faction. Gangs will earn you money and faction reputation",
};
} else {
const checkResult = Player.canAccessGang();
data = {
enabled: Player.canAccessGang(),
enabled: checkResult.success,
title: "Create Gang",
tooltip: !Player.canAccessGang() ? (
tooltip: !checkResult.success ? (
<Typography>Unlocked when reaching {GangConstants.GangKarmaRequirement} karma</Typography>
) : (
""