Merge pull request #4136 from quacksouls/typo

DOC: Some typo fixes in Netscript functions
This commit is contained in:
hydroflame 2022-09-23 12:32:57 -03:00 committed by GitHub
commit 8a694c4c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

@ -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 (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;
}

@ -2012,7 +2012,7 @@ export interface Singularity {
* guarantee that your browser will follow that time limit.
*
* @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.
*/
commitCrime(crime: string, focus?: boolean): number;
@ -3511,7 +3511,7 @@ export interface Gang {
* Ascend the specified Gang Member.
*
* @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;
@ -3523,7 +3523,7 @@ export interface Gang {
* Get the result of an ascension without ascending.
*
* @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;