forked from Aetherum17/WWU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFormable - Exodar.txt
107 lines (95 loc) · 2 KB
/
Formable - Exodar.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
country_decisions = {
form_exodar = {
major = yes
ai_importance = 300
potential = {
NOT = { has_country_flag = enacted_final_tag_formation }
# Exclusions
NOT = { exists = A56 }
NOT = { has_global_flag = exodar_escaped }
# Requisites
has_global_flag = setup_outland
OR = {
tag = A54
AND = {
NOT = { exists = A54 }
culture_group = culture_group_draenei
}
}
}
provinces_to_highlight = {
NOT = { owned_by = ROOT }
province_id = 1717
}
allow = {
# Ownership
1717 = {
controlled_by = ROOT
}
# General
is_at_war = no
stability = 1
# Cost
adm_power = 200
dip_power = 200
mil_power = 200
}
effect = {
# Cost
add_adm_power = -200
add_dip_power = -200
add_mil_power = -200
# Switch
custom_tooltip = form_exodar_tt
change_tag = A56
1717 = {
cede_province = ROOT
add_core = ROOT
change_culture = ROOT
change_religion = ROOT
set_province_flag = exodar_ship
}
hidden_effect = {
every_owned_province = {
limit = {
NOT = { has_province_flag = exodar_ship }
}
remove_core = ROOT
kill_units = {
who = ROOT
amount = 500
}
cede_province = V73
add_core = V73
}
}
if = {
limit = { ai = no }
country_event = {
id = wwu_exodar.1
days = 182
}
}
else = {
country_event = {
id = wwu_exodar.1
days = 3650
}
}
set_global_flag = exodar_escaped
#set_country_flag = complete_stasis
# Bonus
add_formable_bonus = yes
trigger_ni_switch = yes
#trigger_mission_switch = yes
set_final_tag_status = yes
}
ai_will_do = {
factor = 1
modifier = {
factor = 0
total_development = 40
}
}
}
}