Link Search Menu Expand Document

Game_Party.d overview


Table of contents


utils

Game_Party (class)

Game_Party

The game object class for the party. Information such as gold and items is // included.

Signature

export declare class Game_Party {
  constructor()
}

initAllItems (method)

Signature

initAllItems(): void

exists (method)

Signature

exists(): boolean

size (method)

Signature

size(): number

isEmpty (method)

Signature

isEmpty(): boolean

members (method)

Signature

members(): Game_Actor[]

allMembers (method)

Signature

allMembers(): Game_Actor[]

battleMembers (method)

Signature

battleMembers(): Game_Actor[]

hiddenBattleMembers (method)

Signature

hiddenBattleMembers(): Game_Actor[]

allBattleMembers (method)

Signature

allBattleMembers(): Game_Actor[]

maxBattleMembers (method)

Signature

maxBattleMembers(): number

leader (method)

Signature

leader(): Game_Actor

removeInvalidMembers (method)

Signature

removeInvalidMembers(): void

reviveBattleMembers (method)

Signature

reviveBattleMembers(): void

items (method)

Signature

items(): import("../data").DataItem[]

weapons (method)

Signature

weapons(): import("../data").DataWeapon[]

armors (method)

Signature

armors(): import("../data").DataArmor[]

equipItems (method)

Signature

equipItems(): DataEquipment[]

allItems (method)

Signature

allItems(): DataItemBase[]

itemContainer (method)

Signature

itemContainer(item: DataItemBase | null): Record<number, number> | null

setupStartingMembers (method)

Signature

setupStartingMembers(): void

name (method)

Signature

name(): string

setupBattleTest (method)

Signature

setupBattleTest(): void

setupBattleTestMembers (method)

Signature

setupBattleTestMembers(): void

setupBattleTestItems (method)

Signature

setupBattleTestItems(): void

highestLevel (method)

Signature

highestLevel(): number

addActor (method)

Signature

addActor(actorId: ActorID): void

removeActor (method)

Signature

removeActor(actorId: ActorID): void

gold (method)

Signature

gold(): number

gainGold (method)

Signature

gainGold(amount: number): void

loseGold (method)

Signature

loseGold(amount: number): void

maxGold (method)

Signature

maxGold(): number

steps (method)

Signature

steps(): number

increaseSteps (method)

Signature

increaseSteps(): void

numItems (method)

Signature

numItems(item: DataItemBase | null): number

maxItems (method)

Signature

maxItems(_item: DataItemBase | null): number

hasMaxItems (method)

Signature

hasMaxItems(item: DataItemBase): boolean

hasItem (method)

Signature

hasItem(item: DataItemBase, includeEquip?: boolean): boolean

isAnyMemberEquipped (method)

Signature

isAnyMemberEquipped(item: DataEquipment): boolean

gainItem (method)

Signature

gainItem(item: DataItemBase | null, amount: number, includeEquip?: boolean): void

discardMembersEquip (method)

Signature

discardMembersEquip(item: DataEquipment, amount: number): void

loseItem (method)

Signature

loseItem(item: DataItemBase | null, amount: number, includeEquip?: boolean): void

consumeItem (method)

Signature

consumeItem(item: DataItemBase): void

canUse (method)

Signature

canUse(item: DataItemBase | null): boolean

canInput (method)

Signature

canInput(): boolean

isAllDead (method)

Signature

isAllDead(): boolean

isEscaped (method)

Signature

isEscaped(): boolean

onPlayerWalk (method)

Signature

onPlayerWalk(): void

Signature

menuActor(): Game_Actor

setMenuActor (method)

Signature

setMenuActor(actor: Game_Actor): void

makeMenuActorNext (method)

Signature

makeMenuActorNext(): void

makeMenuActorPrevious (method)

Signature

makeMenuActorPrevious(): void

targetActor (method)

Signature

targetActor(): Game_Actor

setTargetActor (method)

Signature

setTargetActor(actor: Game_Actor): void

lastItem (method)

Signature

lastItem(): DataItemBase

setLastItem (method)

Signature

setLastItem(item: DataItemBase | null): void

swapOrder (method)

Signature

swapOrder(index1: ActorID, index2: ActorID): void

charactersForSavefile (method)

Signature

charactersForSavefile(): [string, number][]

facesForSavefile (method)

Signature

facesForSavefile(): [string, number][]

partyAbility (method)

Signature

partyAbility(abilityId: DataID): boolean

hasEncounterHalf (method)

Signature

hasEncounterHalf(): boolean

hasEncounterNone (method)

Signature

hasEncounterNone(): boolean

hasCancelSurprise (method)

Signature

hasCancelSurprise(): boolean

hasRaisePreemptive (method)

Signature

hasRaisePreemptive(): boolean

hasGoldDouble (method)

Signature

hasGoldDouble(): boolean

hasDropItemDouble (method)

Signature

hasDropItemDouble(): boolean

ratePreemptive (method)

Signature

ratePreemptive(troopAgi: number): number

rateSurprise (method)

Signature

rateSurprise(troopAgi: number): number

performVictory (method)

Signature

performVictory(): void

performEscape (method)

Signature

performEscape(): void

removeBattleStates (method)

Signature

removeBattleStates(): void

requestMotionRefresh (method)

Signature

requestMotionRefresh(): void

onEscapeFailure (method)

Signature

onEscapeFailure(): void

_gold (property)

Signature

_gold: number

_steps (property)

Signature

_steps: number

_lastItem (property)

Signature

_lastItem: Game_Item<DataItemBase>

_menuActorId (property)

Signature

_menuActorId: number

_targetActorId (property)

Signature

_targetActorId: number

_actors (property)

Signature

_actors: number[]

_items (property)

Signature

_items: Record<number, number>

_weapons (property)

Signature

_weapons: Record<number, number>

_armors (property)

Signature

_armors: Record<number, number>