Skip to content

DiplomacyState

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference the diplomacy states in the game. Used in the 'Change Diplomacy' effect and the 'Diplomacy State' condition

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/diplomacy_state.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
class DiplomacyState(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference the diplomacy states in the game. Used in the 'Change
    Diplomacy' effect and the 'Diplomacy State' condition

    **Examples**



    """
    ALLY = 0
    NEUTRAL = 1
    ENEMY = 3

Attributes

ALLY = 0 class-attribute instance-attribute

Value: 0

NEUTRAL = 1 class-attribute instance-attribute

Value: 1

ENEMY = 3 class-attribute instance-attribute

Value: 3