Conventions used for the Deck component

Types

Age cards

Age cards have type fields comprised between 101 and 415. The first digit represents the Age the card belongs to. The remaining digits identify a specific card in the Age.

The type_arg field is set according the following table:

Card type

type_arg value

Science

1

Engineering

2

Culture

3

Knowledge tokens

Knowledge tokens have type fields comprised between 1100 and 1103. The type_arg field isn’t used.

Age tokens

Age tokens have type fiels comprised between 1002 and 1005, the last digit representing the Age of the token. The type_arg field is not used for Age tokens.

Locations

location name

Usage

location_arg usage

Public location

deck

Not used

Not used

N/A

discard

Not used

Not used

N/A

deck_age_{number}

Age {number} deck

Card position in the pile, highest will be next picked, as per the documentation

discard_age_{number}

Age {number} discard

Card position in the pile, highest will be next picked, as per the documentation

Only first card

hand

Player hands

player_id of the owning player, as per the documentation

research_{player_id}

Player research cards

Number of remaining research cubes on the card max 4, min 0

activecards_{player_id}

Player active cards

Not used

tokens_{player_id}

Player tokens

0 if token hasn’t been used during the turn, 1 otherwise

token_reserve

All tokens that can be obtained during the game depending on the number of players

Specifically for age tokens (type_id between 1002 and 1005) 0 if the token hasn’t been drawn by a player, player_id otherwise

Only age tokens

discover

Card being discovered

Not used

discover_discard

Cards being discarded to pay for the card being discovered

Order of the cards being discarded, 1 being the first, 2 the second and so on

discover_tokens

Tokens being used to pay for the card being discovered

Not used