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

611 B

Home > bitburner > Corporation > getUnlockCost

Corporation.getUnlockCost() method

Get 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

Remarks

RAM cost: 10 GB