Bases: _DataSetIntFlags
This enum class provides the integer values for the different garrison type flags that can be used in the 'Modify
Attribute' effect with the 'Garrison Type' attribute. This is a combinable bit field
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/garrison_type.py
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 | class GarrisonType(_DataSetIntFlags):
"""
This enum class provides the integer values for the different garrison type flags that can be used in the 'Modify
Attribute' effect with the 'Garrison Type' attribute. This is a combinable bit field
**Examples**
"""
NONE = 0
VILLAGERS = 1
INFANTRY = 2
CAVALRY = 4
MONKS = 8
HERDABLES = 16
SIEGE = 32
SHIPS = 64
|
Attributes
NONE = 0
class-attribute
instance-attribute
Value:
0
VILLAGERS = 1
class-attribute
instance-attribute
Value:
1
INFANTRY = 2
class-attribute
instance-attribute
Value:
2
CAVALRY = 4
class-attribute
instance-attribute
Value:
4
MONKS = 8
class-attribute
instance-attribute
Value:
8
HERDABLES = 16
class-attribute
instance-attribute
Value:
16
SIEGE = 32
class-attribute
instance-attribute
Value:
32
SHIPS = 64
class-attribute
instance-attribute
Value:
64