bitburner-src/markdown/bitburner.grafting.getaugmentationgraftprice.md

771 B

Home > bitburner > Grafting > getAugmentationGraftPrice

Grafting.getAugmentationGraftPrice() method

Retrieve the grafting cost of an aug.

Signature:

getAugmentationGraftPrice(augName: string): number;

Parameters

Parameter Type Description
augName string Name of the aug to check the price of. Must be an exact match.

Returns:

number

The cost required to graft the named augmentation.

Exceptions

Will error if an invalid Augmentation name is provided.

Remarks

RAM cost: 3.75 GB