engine in ts

This commit is contained in:
Olivier Gagnon
2021-09-24 18:29:25 -04:00
parent ad75fa5ebc
commit 43723a3fbb
8 changed files with 62 additions and 46 deletions

View File

@@ -2015,8 +2015,8 @@ export function reapplyAllSourceFiles(this: IPlayer): void {
//This function sets the requirements to join a Faction. It checks whether the Player meets
//those requirements and will return an array of all factions that the Player should
//receive an invitation to
export function checkForFactionInvitations(this: IPlayer) {
let invitedFactions = []; //Array which will hold all Factions the player should be invited to
export function checkForFactionInvitations(this: IPlayer): Faction[] {
let invitedFactions: Faction[] = []; //Array which will hold all Factions the player should be invited to
var numAugmentations = this.augmentations.length;