Skip to content

StartingAge

Bases: _DataSetIntEnums

This is not the same as the "Age" dataset and should !!NOT!! be used in effects/conditions etc.

This enum class provides the integer values used to reference the starting ages in the game. This is used in the player objects to set a starting age.

Examples

Source code in AoE2ScenarioParser/datasets/object_support.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
class StartingAge(_DataSetIntEnums):
    """
    **This is not the same as the "Age" dataset and should !!NOT!! be used in effects/conditions etc.**

    This enum class provides the integer values used to reference the starting ages in the game.
    This is used in the player objects to set a starting age.

    **Examples**



    """
    DARK_AGE = 2
    FEUDAL_AGE = 3
    CASTLE_AGE = 4
    IMPERIAL_AGE = 5
    POST_IMPERIAL_AGE = 6

Attributes

DARK_AGE = 2 class-attribute instance-attribute

Value: 2

FEUDAL_AGE = 3 class-attribute instance-attribute

Value: 3

CASTLE_AGE = 4 class-attribute instance-attribute

Value: 4

IMPERIAL_AGE = 5 class-attribute instance-attribute

Value: 5

POST_IMPERIAL_AGE = 6 class-attribute instance-attribute

Value: 6