Your character

Progression

Wallet, specializations, story, rewards, Wizard's Vault and more.

Your character's currencies, build, story and rewards. Functions return nil (or false) when the game has nothing to give, for example at character select.

wallet

Every currency: {id, name, quantity}.
How much of one currency you have.
Currency ids, as wallet.COIN and so on
COINKARMALAURELGEMSPIRIT_SHARDTRANSMUTATION_CHARGEFRACTAL_RELICPRISTINE_FRACTAL_RELICBADGE_OF_HONORGUILD_COMMENDATIONUNBOUND_MAGICVOLATILE_MAGICASTRAL_ACCLAIMRESEARCH_NOTEUNUSUAL_COINIMPERIAL_FAVORJADE_SILVERLEGENDARY_INSIGHTWAR_SUPPLIESWVW_SKIRMISH_CLAIM_TICKETPVP_LEAGUE_TICKETPROOF_OF_HEROICSASCENDED_SHARDS_OF_GLORYMAGNETITE_SHARDGAETING_CRYSTALTRADE_CONTRACTELEGY_MOSAICTESTIMONY_OF_DESERT_HEROICSTESTIMONY_OF_JADE_HEROICSTALES_OF_DUNGEON_DELVINGMISTBORN_KEYFESTIVAL_TOKENCACHE_KEYTYRIAN_DEFENSE_SEALCANACH_COINSUNSTABLE_FRACTAL_ESSENCEAIRSHIP_PARTLEY_LINE_CRYSTALLUMP_OF_AURILLIUMGEODEBANDIT_CRESTPROVISIONER_TOKENEXALTED_KEYMACHETEBANDIT_SKELETON_KEYPACT_CROWBARVIAL_OF_CHAK_ACIDZEPHYRITE_LOCKPICKTRADERS_KEYPVP_TOURNAMENT_VOUCHERRACING_MEDALLIONRED_PROPHET_SHARDGREEN_PROPHET_SHARDBLUE_PROPHET_SHARDRED_PROPHET_CRYSTALGREEN_PROPHET_CRYSTALBLUE_PROPHET_CRYSTALJADE_MINERS_KEYCARD

specs

Your specializations and traits. Another player's are on agent:specs().

Your three specializations and their selected traits. See Spec.
Your elite specialization, if one is selected.
Whether a trait is selected.
Puts a specialization in slot index.

builds and gear

Build templates (builds) and equipment templates (gear) work the same way.

The templates' names.
The template in use.
How many templates you have.
Switches to another template.

quests

Your personal story: {id, name, quest = {id, name, completed, step = {uid, name}}}.
Selects a story quest.
Claims a story reward.

rewards

Rewards waiting to be claimed: {idx, reward_type, experience, items}, where items is a list of {count, item}.
Claims a reward, picking item_id where there's a choice.
The reward popup on screen: {uid, id, name}.
Puts a list of Items in the Mystic Forge.
Whether the forge holds these items.

progress

An achievement's progress: {id, state, completed_state, completed}.
Any progress entry, by its id.

vault

The Wizard's Vault. Objectives are {guid, id, name, points, completed, claimed}.

Daily objectives.
Weekly objectives.
Special objectives.
Claims a completed objective.
Whether the daily chest is claimed.
Whether the weekly chest is claimed.
Claims the daily chest.
Claims the weekly chest.
Asks the game to load the vault's rewards.
The rewards: {idx, item_id, item_name, price, current_stock, maximum_stock, out_of_stock}.
Buys a reward.
Which game modes your objectives come from.
Sets them, from vault.PVE, vault.PVP and vault.WVW.

collection

Material storage.

How many of each material fit.
How many of a material are stored.
Deposits an Item.
Takes a material out into a slot.

fishing

The fishing state.
Equips the fishing rod.
Casts with a fishing skill.
How far the catch is.
Where the fish is on the bar.
Where your marker is on the bar.
"left" or "right".

wardrobe

Whether a toy is unlocked.
Whether a mount is unlocked.
Whether a dye is unlocked.
Whether an equipment slot is hidden.
Shows or hides an equipment slot.
Applies a transformation (see content.transformations()).