Diff to HTML by rtfpessoa

Files changed (2) hide show
  1. common/scripted_functions/00_scripted_functions.txt +28 -4
  2. common/scripted_functions/01_scripted_functions_with_effect.txt +0 -2
common/scripted_functions/00_scripted_functions.txt CHANGED
@@ -54,14 +54,19 @@ can_add_province_to_hre = {
54
54
 
55
55
  }
56
56
 
57
+ #ROOT = province, FROM = country
57
58
  can_remove_province_from_hre = {
58
59
  condition = {
59
60
  potential = {
60
- ai = yes
61
+ owner = {
62
+ ai = yes
63
+ }
61
64
  }
62
65
  allow = {
63
- NOT = {
64
- has_country_flag = permanently_left_hre_flag
66
+ owner = {
67
+ NOT = {
68
+ has_country_flag = permanently_left_hre_flag
69
+ }
65
70
  }
66
71
  }
67
72
  }
@@ -147,6 +152,9 @@ can_colonize_province_siberian_frontier = {
147
152
  can_add_seat_in_parliament = {
148
153
  }
149
154
 
155
+ can_remove_seat_in_parliament = {
156
+ }
157
+
150
158
  can_add_estate = {
151
159
  }
152
160
 
@@ -173,7 +181,7 @@ can_have_colonial_nations = {
173
181
  }
174
182
  }
175
183
  allow = {
176
- always = no
184
+ always = no
177
185
  }
178
186
  }
179
187
  }
@@ -201,4 +209,20 @@ will_demand_annexation = {
201
209
  NOT = { hre_reform_passed = landfriede }
202
210
  }
203
211
  }
212
+ }
213
+
214
+ can_join_hre = {
215
+ condition = {
216
+ tooltip = "PERMANENTLY_LEFT_HRE"
217
+ potential = {
218
+ }
219
+ allow = {
220
+ NOT = {
221
+ has_country_flag = permanently_left_hre_flag
222
+ }
223
+ }
224
+ }
225
+ }
226
+
227
+ can_leave_hre = {
204
228
  }
common/scripted_functions/01_scripted_functions_with_effect.txt DELETED
@@ -1,2 +0,0 @@
1
- # If you add support to a scripted to run effects then please move it in here!
2
-