bitburner-src/markdown/bitburner.gang.purchaseequipment.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

1011 B

Home > bitburner > Gang > purchaseEquipment

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.

Signature:

purchaseEquipment(memberName: string, equipName: GangEquipment | GangAugmentations): boolean;

Parameters

Parameter Type Description
memberName string Name of Gang member to purchase the equipment for.
equipName GangEquipment | GangAugmentations Name of Equipment/Augmentation to purchase.

Returns:

boolean

True if the equipment was successfully purchased. False otherwise

Remarks

4 GB