bitburner-src/markdown/bitburner.gang.purchaseequipment.md

34 lines
1021 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Gang](./bitburner.gang.md) &gt; [purchaseEquipment](./bitburner.gang.purchaseequipment.md)
## Gang.purchaseEquipment() method
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.
<b>Signature:</b>
```typescript
purchaseEquipment(memberName: string, equipName: GangEquipment | GangAugmentations): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| memberName | string | Name of Gang member to purchase the equipment for. |
| equipName | [GangEquipment](./bitburner.gangequipment.md) \| [GangAugmentations](./bitburner.gangaugmentations.md) | Name of Equipment/Augmentation to purchase. |
<b>Returns:</b>
boolean
True if the equipment was successfully purchased. False otherwise
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 4 GB
2021-10-30 18:34:14 +02:00