mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
Merge pull request #4136 from quacksouls/typo
DOC: Some typo fixes in Netscript functions
This commit is contained in:
commit
8a694c4c1e
@ -954,7 +954,7 @@ export function NetscriptSingularity(): InternalAPI<ISingularity> {
|
|||||||
|
|
||||||
// if the player is in a gang and the target faction is any of the gang faction, fail
|
// if the player is in a gang and the target faction is any of the gang faction, fail
|
||||||
if (player.inGang() && faction.name === player.getGangFaction().name) {
|
if (player.inGang() && faction.name === player.getGangFaction().name) {
|
||||||
helpers.log(ctx, () => `You can't work for '${facName}' because youre managing a gang for it`);
|
helpers.log(ctx, () => `You can't work for '${facName}' because you're managing a gang for it.`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
6
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
6
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -2012,7 +2012,7 @@ export interface Singularity {
|
|||||||
* guarantee that your browser will follow that time limit.
|
* guarantee that your browser will follow that time limit.
|
||||||
*
|
*
|
||||||
* @param crime - Name of crime to attempt.
|
* @param crime - Name of crime to attempt.
|
||||||
* @param focus - Acquire player focus on this program creation. Optional. Defaults to true.
|
* @param focus - Acquire player focus on this crime. Optional. Defaults to true.
|
||||||
* @returns The number of milliseconds it takes to attempt the specified crime.
|
* @returns The number of milliseconds it takes to attempt the specified crime.
|
||||||
*/
|
*/
|
||||||
commitCrime(crime: string, focus?: boolean): number;
|
commitCrime(crime: string, focus?: boolean): number;
|
||||||
@ -3511,7 +3511,7 @@ export interface Gang {
|
|||||||
* Ascend the specified Gang Member.
|
* Ascend the specified Gang Member.
|
||||||
*
|
*
|
||||||
* @param memberName - Name of member to ascend.
|
* @param memberName - Name of member to ascend.
|
||||||
* @returns Object with info about the ascension results. undefined if ascension did not occur.
|
* @returns Object with info about the ascension results. Undefined if ascension did not occur.
|
||||||
*/
|
*/
|
||||||
ascendMember(memberName: string): GangMemberAscension | undefined;
|
ascendMember(memberName: string): GangMemberAscension | undefined;
|
||||||
|
|
||||||
@ -3523,7 +3523,7 @@ export interface Gang {
|
|||||||
* Get the result of an ascension without ascending.
|
* Get the result of an ascension without ascending.
|
||||||
*
|
*
|
||||||
* @param memberName - Name of member.
|
* @param memberName - Name of member.
|
||||||
* @returns Object with info about the ascension results. undefined if ascension is impossible.
|
* @returns Object with info about the ascension results. Undefined if ascension is impossible.
|
||||||
*/
|
*/
|
||||||
getAscensionResult(memberName: string): GangMemberAscension | undefined;
|
getAscensionResult(memberName: string): GangMemberAscension | undefined;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user