Skip to content

Age

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference the different ages in the game. These values are used by the 'Current Age' player resource

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/age.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class Age(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference the different ages in the game. These values are
    used by the 'Current Age' player resource

    **Examples**



    """
    DARK_AGE = 0
    FEUDAL_AGE = 1
    CASTLE_AGE = 2
    IMPERIAL_AGE = 3

Attributes

DARK_AGE = 0 class-attribute instance-attribute

Value: 0

FEUDAL_AGE = 1 class-attribute instance-attribute

Value: 1

CASTLE_AGE = 2 class-attribute instance-attribute

Value: 2

IMPERIAL_AGE = 3 class-attribute instance-attribute

Value: 3