mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
35 lines
777 B
Markdown
35 lines
777 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.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```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. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
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
|
||
|
|