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

610 B

Home > bitburner > Corporation > getUnlockUpgradeCost

Corporation.getUnlockUpgradeCost() method

Gets the cost to unlock a one time unlockable upgrade

Signature:

getUnlockUpgradeCost(upgradeName: string): number;

Parameters

Parameter Type Description
upgradeName string Name of the upgrade

Returns:

number

cost of the upgrade