-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwartrigger.txt
40 lines (37 loc) · 972 Bytes
/
wartrigger.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
# Root = Country
# From = War
country_event = {
id = aleran_diplomacy.1000
hide_window = yes
is_triggered_only = yes
immediate = {
log = "running event 1200 with root [Root.GetName]"
if = {
limit = {
root = {
has_valid_civic = civic_dragon_gov
}
from = {
using_war_goal = { type = wg_dragon owner = root }
any_attacker = { is_same_value = root }
}
}
log = passing if
root = {save_event_target_as = alerans}
from = {
every_defender = {
log = messaging [This.GetName]
enemy = event_targetalerans
limit = { NOT = {is_same_value = root} }
random_list = {
10 = { country_event = { id = aleran_diplomacy.1201 } }
10 = { country_event = { id = aleran_diplomacy.1202 } }
10 = { country_event = { id = aleran_diplomacy.1203 } }
10 = { country_event = { id = aleran_diplomacy.1204 } }
10 = { country_event = { id = aleran_diplomacy.1205 } }
}
}
}
}
}
}