Game_Party.d overview
Table of contents
- utils
- Game_Party (class)
- initAllItems (method)
- exists (method)
- size (method)
- isEmpty (method)
- members (method)
- allMembers (method)
- battleMembers (method)
- hiddenBattleMembers (method)
- allBattleMembers (method)
- maxBattleMembers (method)
- leader (method)
- removeInvalidMembers (method)
- reviveBattleMembers (method)
- items (method)
- weapons (method)
- armors (method)
- equipItems (method)
- allItems (method)
- itemContainer (method)
- setupStartingMembers (method)
- name (method)
- setupBattleTest (method)
- setupBattleTestMembers (method)
- setupBattleTestItems (method)
- highestLevel (method)
- addActor (method)
- removeActor (method)
- gold (method)
- gainGold (method)
- loseGold (method)
- maxGold (method)
- steps (method)
- increaseSteps (method)
- numItems (method)
- maxItems (method)
- hasMaxItems (method)
- hasItem (method)
- isAnyMemberEquipped (method)
- gainItem (method)
- discardMembersEquip (method)
- loseItem (method)
- consumeItem (method)
- canUse (method)
- canInput (method)
- isAllDead (method)
- isEscaped (method)
- onPlayerWalk (method)
- menuActor (method)
- setMenuActor (method)
- makeMenuActorNext (method)
- makeMenuActorPrevious (method)
- targetActor (method)
- setTargetActor (method)
- lastItem (method)
- setLastItem (method)
- swapOrder (method)
- charactersForSavefile (method)
- facesForSavefile (method)
- partyAbility (method)
- hasEncounterHalf (method)
- hasEncounterNone (method)
- hasCancelSurprise (method)
- hasRaisePreemptive (method)
- hasGoldDouble (method)
- hasDropItemDouble (method)
- ratePreemptive (method)
- rateSurprise (method)
- performVictory (method)
- performEscape (method)
- removeBattleStates (method)
- requestMotionRefresh (method)
- onEscapeFailure (method)
- _gold (property)
- _steps (property)
- _lastItem (property)
- _menuActorId (property)
- _targetActorId (property)
- _actors (property)
- _items (property)
- _weapons (property)
- _armors (property)
- Game_Party (class)
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
menuActor (method)
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>