mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
DOC: gang.canRecruitMember()
: when this returns true or false
Elaborate on the conditions under which the function would return true or false. In particular, after a gang is successfully created the function always return true so the player can recruit a number of founding members to their gang. When the gang is at capacity, the function always return false. In between, the function returns true or false depending on the amount of respect the player has.
This commit is contained in:
parent
ac0e7c9595
commit
6f1822bf4d
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -3378,6 +3378,14 @@ export interface Gang {
|
|||||||
*
|
*
|
||||||
* Returns a boolean indicating whether a member can currently be recruited.
|
* Returns a boolean indicating whether a member can currently be recruited.
|
||||||
*
|
*
|
||||||
|
* Once you have successfully created a gang by using the function
|
||||||
|
* {@link Gang.createGang | createGang}, you can immediately recruit a small
|
||||||
|
* number of members to your gang. After you have recruited the founding
|
||||||
|
* members, to recruit another member you must increase your respect. The
|
||||||
|
* more members you want to recruit, the more respect you require. If your
|
||||||
|
* gang has the maximum number of members, then this function would return
|
||||||
|
* false.
|
||||||
|
*
|
||||||
* @returns True if a member can currently be recruited, false otherwise.
|
* @returns True if a member can currently be recruited, false otherwise.
|
||||||
*/
|
*/
|
||||||
canRecruitMember(): boolean;
|
canRecruitMember(): boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user