mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
35 lines
771 B
Markdown
35 lines
771 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Grafting](./bitburner.grafting.md) > [getAugmentationGraftPrice](./bitburner.grafting.getaugmentationgraftprice.md)
|
|
|
|
## Grafting.getAugmentationGraftPrice() method
|
|
|
|
Retrieve the grafting cost of an aug.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
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
|
|
|