mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
611 B
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