-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhmo_civil_war.txt
56 lines (47 loc) · 807 Bytes
/
hmo_civil_war.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
namespace = hmo_civil_war
hmo_civil_war.1 = {
type = country_event
hidden = yes
trigger = {
is_ai = no
has_civil_war = yes
NOT = {
has_variable = civil_war_ongoing
}
}
immediate = {
# after 5 years run this again
set_variable = {
name = civil_war_ongoing
days = 1825
}
every_country_state = {
if = {
limit = {
owner = ROOT
any_state_province = {
state_loyalty < 50
}
NOT = {
has_state_modifier = civil_war_unrest
}
}
}
#state scope
add_state_modifier = {
name = civil_war_unrest
duration = 720
}
random_state_province = {
if = {
limit = {
owner = ROOT
is_state_capital = yes
}
}
#for some reason this is province scope
add_state_loyalty = -25
}
}
}
}