2022-10-21 17:16:00 +02:00
|
|
|
<!-- 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.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```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. |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|