Skip to Content
The Alchemy Project

struct PARTY_HOLDINGS

What the party holds apart from its items: its summons, coins and Djinn, and what Tolbi's shops and games keep for it. More…

Declared in main_routine_state.h.

Fields

NameDescription
Uint32summonMaskThe summons the party can call, bit n for summon n: the DJINN_RECOVERY_TABLE's summonMask.
Uint32coins0 to COIN_MAX (gmPartyAdjustCoins).
Uint8djinnRecovery [260]The party's Djinn recovery list (DJINN_RECOVERY_LIST), read through gmDjinnGetRecoveryTable.
Sint32shopCreditSpent on a Game Ticket.
Sint8shopGiftsIndexes the Game Ticket's credit cost.
Sint8prizeWeights [15]The spring game's prize weights, three prizes to each of 4, 8, 16, 32 and 64 on a new game.
Sint8wonPrizes [16]Lucky Wheels: 0 to 7 the prize categories won, ended by -1 (-2 once awarded); 8 on the last variant given of each category.

Description

What the party holds apart from its items: its summons, coins and Djinn, and what Tolbi's shops and games keep for it. gmDjinnGetRecoveryTable returns it as the party's DJINN_RECOVERY_TABLE, and Lucky Wheels writes the prizes it wins through it.

struct PARTY_HOLDINGS

Referenced by fdLuckyWheelsRun() and fdLuckyWheelsUpdate().

Definition at line 63 of file main_routine_state.h.

Fields in detail

summonMask

Uint32 summonMask

The summons the party can call, bit n for summon n: the DJINN_RECOVERY_TABLE's summonMask.

coins

Uint32 coins

0 to COIN_MAX (gmPartyAdjustCoins).

djinnRecovery

Uint8 djinnRecovery[260]

The party's Djinn recovery list (DJINN_RECOVERY_LIST), read through gmDjinnGetRecoveryTable.

shopCredit

Sint32 shopCredit

Spent on a Game Ticket.

shopGifts

Sint8 shopGifts

Indexes the Game Ticket's credit cost.

prizeWeights

Sint8 prizeWeights[15]

The spring game's prize weights, three prizes to each of 4, 8, 16, 32 and 64 on a new game.

wonPrizes

Sint8 wonPrizes[16]

Lucky Wheels: 0 to 7 the prize categories won, ended by -1 (-2 once awarded); 8 on the last variant given of each category.