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) > [Gang](./bitburner.gang.md) > [purchaseEquipment](./bitburner.gang.purchaseequipment.md)
|
|
|
|
|
|
|
|
## Gang.purchaseEquipment() method
|
|
|
|
|
|
|
|
Purchase an equipment for a gang member.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
purchaseEquipment(memberName: string, equipName: string): boolean;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| memberName | string | Name of Gang member to purchase the equipment for. |
|
|
|
|
| equipName | string | Name of Equipment/Augmentation to purchase. |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
boolean
|
|
|
|
|
|
|
|
True if the equipment was successfully purchased. False otherwise
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 4 GB
|
|
|
|
|
|
|
|
Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.
|
|
|
|
|