-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathml_terrain_master_distinctions.txt
118 lines (107 loc) · 2.62 KB
/
ml_terrain_master_distinctions.txt
1
2
3
4
5
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
namespace = ml_terrain_master_distinctions
## adds any terrain distinctions
ml_terrain_master_distinctions.1 = {
type = country_event
hidden = yes
trigger = {
scope:actor = {
has_legion_trigger = yes
has_variable = terrain_master
}
}
immediate = {
scope:actor = {
if = {
limit = {
var:terrain_master = 1
NOT = {
legion = {
has_distinction = distinction_terrain_master_01
has_distinction = distinction_terrain_master_02
has_distinction = distinction_terrain_master_03
has_distinction = distinction_terrain_master_04
has_distinction = distinction_terrain_master_05
}
}
}
scope:actor.legion = {
add_distinction = distinction_terrain_master_01
}
}
else_if = {
limit = {
var:terrain_master = 2
legion = {
has_distinction = distinction_terrain_master_01
}
NOT = {
legion = {
has_distinction = distinction_terrain_master_02
has_distinction = distinction_terrain_master_03
has_distinction = distinction_terrain_master_04
has_distinction = distinction_terrain_master_05
}
}
}
scope:actor.legion = {
remove_distinction = distinction_terrain_master_01
add_distinction = distinction_terrain_master_02
}
}
else_if = {
limit = {
var:terrain_master = 3
legion = {
has_distinction = distinction_terrain_master_02
}
NOT = {
legion = {
has_distinction = distinction_terrain_master_03
has_distinction = distinction_terrain_master_04
has_distinction = distinction_terrain_master_05
}
}
}
scope:actor.legion = {
remove_distinction = distinction_terrain_master_02
add_distinction = distinction_terrain_master_03
}
}
else_if = {
limit = {
var:terrain_master = 4
legion = {
has_distinction = distinction_terrain_master_03
}
NOT = {
legion = {
has_distinction = distinction_terrain_master_04
has_distinction = distinction_terrain_master_05
}
}
}
scope:actor.legion = {
remove_distinction = distinction_terrain_master_03
add_distinction = distinction_terrain_master_04
}
}
else_if = {
limit = {
var:terrain_master = 5
legion = {
has_distinction = distinction_terrain_master_04
}
NOT = {
legion = {
has_distinction = distinction_terrain_master_05
}
}
}
scope:actor.legion = {
remove_distinction = distinction_terrain_master_04
add_distinction = distinction_terrain_master_05
}
}
}
}
}