TerrainRestrictions
Bases: _DataSetIntEnums
This enum class provides the integer values used to reference the terrain restriction IDs in the game. Used in the 'Modify Attribute' effects
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/terrain_restrictions.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
Attributes¶
WATER_MEDIUM_TRAIL = 13
class-attribute
instance-attribute
¶
Value:
13
Used by big fish and fishing ship
ALL_EXCEPT_WATER_WHEEL = 20
class-attribute
instance-attribute
¶
Value:
20
Used by units with wheels, such as Rams and Scorpions
ALL_ARROW_FIRE = 23
class-attribute
instance-attribute
¶
Value:
23
Only used by Arrows with fire (After chemistry)
ALL_CANNON_FIRE = 24
class-attribute
instance-attribute
¶
Value:
24
Only used by Cannon balls (After chemistry)
ALL_SPEAR_FIRE = 25
class-attribute
instance-attribute
¶
Value:
25
Only used by Spears with fire (After chemistry)
ALL_DART_FIRE = 26
class-attribute
instance-attribute
¶
Value:
26
Only used by Darts with fire (After chemistry)
ALL_LASER = 27
class-attribute
instance-attribute
¶
Value:
27
Only used by Projectile Laser with id 1595
ALL_EXCEPT_WATER_CAVALRY = 28
class-attribute
instance-attribute
¶
Value:
28
Such as Cavalry Archer, Cavalry, Conquistador, Missionary and Flaming Camel
ALL_EXCEPT_WATER_PACKET_TREBUCHET = 29
class-attribute
instance-attribute
¶
Value:
29
All types of Trebuchet(Packed)
WATER_SMALLEST_TRAIL = 30
class-attribute
instance-attribute
¶
Value:
30
Used by medium ships, such as Trade Cog, Fire Galley and Longboat