Skip to content

TechnologyState

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference technology state of a technology in the game. Used in the 'Technology State' condition.

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/technology_state.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class TechnologyState(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference technology state of a technology in the game. Used in
    the 'Technology State' condition.

    **Examples**



    """
    DISABLED = -1
    NOT_READY = 0
    """A tech that is not available to be researched (Bombard Tower is not ready before chemistry is researched)"""
    READY = 1
    """A tech that is available to be researched (Bombard Tower is ready after chemistry is researched)"""
    RESEARCHING = 2
    """A tech that is currently being researched"""
    DONE = 3
    """A Tech that has already been researched"""
    QUEUED = 4
    """A tech that is waiting in queue to be researched"""

Attributes

DISABLED = -1 class-attribute instance-attribute

Value: -1

NOT_READY = 0 class-attribute instance-attribute

Value: 0

A tech that is not available to be researched (Bombard Tower is not ready before chemistry is researched)

READY = 1 class-attribute instance-attribute

Value: 1

A tech that is available to be researched (Bombard Tower is ready after chemistry is researched)

RESEARCHING = 2 class-attribute instance-attribute

Value: 2

A tech that is currently being researched

DONE = 3 class-attribute instance-attribute

Value: 3

A Tech that has already been researched

QUEUED = 4 class-attribute instance-attribute

Value: 4

A tech that is waiting in queue to be researched