bitburner-src/markdown/bitburner.corporation.getunlockcost.md

582 B

Home > bitburner > Corporation > getUnlockCost

Corporation.getUnlockCost() method

Gets the cost to unlock a one time unlockable upgrade

Signature:

getUnlockCost(upgradeName: string): number;

Parameters

Parameter Type Description
upgradeName string Name of the upgrade

Returns:

number

cost of the upgrade