mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
36 lines
968 B
Markdown
36 lines
968 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Grafting](./bitburner.grafting.md) > [graftAugmentation](./bitburner.grafting.graftaugmentation.md)
|
||
|
|
||
|
## Grafting.graftAugmentation() method
|
||
|
|
||
|
Begins grafting the named aug. You must be in New Tokyo to use this.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
graftAugmentation(augName: string, focus?: boolean): boolean;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| augName | string | The name of the aug to begin grafting. Must be an exact match. |
|
||
|
| focus | boolean | Acquire player focus on this Augmentation grafting. Optional. Defaults to true. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
boolean
|
||
|
|
||
|
True if the aug successfully began grafting, false otherwise (e.g. not enough money, or invalid Augmentation name provided).
|
||
|
|
||
|
## Exceptions
|
||
|
|
||
|
Will error if called while you are not in New Tokyo.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 7.5 GB
|
||
|
|