Vertrag von …
SituationIn dieser Version geändert

Vertrag von Treaty Location Location

treaty_of_tordesillasin_game/common/situations/treaty_of_tordesillas.txt:1

Dieser Vertrag wurde Treaty Location Location von Var East Country Country und Var West Country Country unterzeichnet. Der Vertrag legt eine Reihe von Regeln und Bedingungen fest, die den beiden Großmächten das Recht einräumen, alle neu entdeckten Gebiete auf dem Kontinent Amerika für sich zu beanspruchen.

ErfordertKatholizismusReligionvisibleDen Vertrag verletzenStatischer Modifikatoron ended, on monthlytreaty_locationVariableon startvar_east_colonyVariableon startvar_east_countryVariableon startvar_treaty_phaseVariableon monthly, visiblevar_treaty_progressVariableon monthlyvar_west_colonyVariableon startvar_west_countryVariableon start

Definitionin_game/common/situations/treaty_of_tordesillas.txt:1

2monthly_spawn_chance = 0
3hint_tag = hint_treaty_of_tordesillas
5custom_description = GetTreatyOfToredesillasDesc
8can_start = {
10always = no
}
13can_end = {
15custom_tooltip = {
16text = treaty_of_tordesillas_can_end_tt Der Vertrag von Treaty Location Location ist in seiner zweiten Phase, und jegliche Vertragsbedeutung hat sich abgenutzt
}
}
21visible = {
22religion ?= religion:catholic
25trigger_if = {
}
}
41on_start = {
43set_variable = {
45value = {
45value = 0.0
}
}
47set_variable = {
49value = {
49value = 1.0
}
}
51set_variable = {
53value = {
53value = 0.1
}
}
70if = {
71limit = {
72NOT = {
}
}
74set_variable = {
76value = location:tordesillas
}
}
80if = {
81limit = {
82NOT = {
}
}
84set_variable = {
86value = location:kururupu
}
}
89if = {
90limit = {
91NOT = {
}
}
93set_variable = {
95value = location:lokono
}
}
99if = {
100limit = {
101NOT = {
}
}
103set_variable = {
}
}
108if = {
109limit = {
110NOT = {
}
}
112set_variable = {
}
}
119set_variable = {
}
}
133on_monthly = {
135if = {
136limit = {
}
140change_variable = {
140add = 0.5
}
141clamp_variable = {
141max = 100
141min = 0.0
}
144if = {
145limit = {
}
148set_variable = {
148value = {
148value = 100
}
}
149set_variable = {
149value = {
149value = 2.0
}
}
153every_country_in_religion = {
154trigger_event_silently = {
}
}
}
}
}
162else_if = {
164limit = {
}
168set_variable = {
168value = 0.0
}
170every_country_in_religion = {
171limit = {
172has_country_modifier = violate_treaty_of_tordesillas
}
175change_variable = {
175add = 0.1
}
}
}
}
179change_variable = {
179add = 0.1
}
180change_variable = {
}
181clamp_variable = {
181max = 100
181min = 0.0
}
}
}
186on_ending = {
188every_country_in_religion = {
189limit = {
190can_see_situation = situation:treaty_of_tordesillas
}
192trigger_event_non_silently = treaty_of_tordesillas.4
}
}
}
197on_ended = {
200every_colonial_claim_province_definition = {
201remove_colonial_claim = this
}
204religion = {
205every_country_in_religion = {
206limit = {
207has_country_modifier = violate_treaty_of_tordesillas
}
209remove_country_modifier = violate_treaty_of_tordesillas
}
}
}
214every_colonial_claim_province_definition = {
215remove_colonial_claim = this
}
}
}
220tooltip = {
222if = {
223limit = {
225is_location_claimable = yes
226NOT = {
227is_east_of = scope:target.var:var_line_location
}
}
230custom_tooltip = "treaty_of_tordesillas.tt.location_is_west_of_line"
}
232else_if = {
233limit = {
235is_location_claimable = yes
236is_east_of = scope:target.var:var_line_location
}
238custom_tooltip = "treaty_of_tordesillas.tt.location_is_east_of_line"
}
241if = {
242limit = {
247situation:treaty_of_tordesillas.var:var_line_location ?= this
}
249custom_tooltip = "treaty_of_tordesillas.tt.location_is_line_origin"
}
252if = {
253limit = {
}
260custom_tooltip = "treaty_of_tordesillas.tt.location_is_first_country"
}
262else_if = {
263limit = {
}
270custom_tooltip = "treaty_of_tordesillas.tt.location_is_second_country"
}
273else_if = {
274limit = {
276has_colonial_claim = root.province_definition
}
}
279custom_tooltip = "treaty_of_tordesillas.tt.location_is_claim_of_first_country"
}
281else_if = {
282limit = {
284has_colonial_claim = root.province_definition
}
}
287custom_tooltip = "treaty_of_tordesillas.tt.location_is_claim_of_second_country"
}
290else_if = {
291limit = {
293area = {
295any_ownable_location_in_area = {
296has_owner = yes
297is_owned_or_owned_by_subjects_or_below_of = scope:target.var:var_east_country
}
299any_ownable_location_in_area = {
300has_owner = yes
301is_owned_or_owned_by_subjects_or_below_of = scope:target.var:var_west_country
}
}
}
305custom_tooltip = "treaty_of_tordesillas.tt.location_is_in_conflict"
}
}
309map_color = {
311if = {
312limit = {
313scope:target ?= {
314has_variable = var_east_country
}
316has_owner = yes
317top_owner ?= scope:target.var:var_east_country
}
319value = top_owner.country_color
}
321else_if = {
322limit = {
323scope:target ?= {
324has_variable = var_west_country
}
326has_owner = yes
327top_owner ?= scope:target.var:var_west_country
}
329value = top_owner.country_color
}
332else = {
333value = define:NMapColors|DEFAULT_COLOR
}
337if = {
338limit = {
340scope:target = {
341has_variable = var_line_location
}
343scope:target.var:var_line_location ?= this
}
345value = rgb {
0.502
0
0.612
}
}
}
350legend_key = {
351limit = {
352scope:target ?= {
353has_variable = var_east_country
}
355has_owner = yes
356top_owner ?= scope:target.var:var_east_country
}
358desc = "EAST"
359color = top_owner.country_color
}
361legend_key = {
362limit = {
363scope:target ?= {
364has_variable = var_west_country
}
366has_owner = yes
367top_owner ?= scope:target.var:var_west_country
}
369desc = "WEST"
370color = top_owner.country_color
}
373secondary_map_color = {
375if = {
376limit = {
378is_location_colonial = yes
379NOT = {
380is_east_of = scope:target.var:var_line_location
}
}
383value = {
384lerp = {
385min_color = scope:target.var:var_west_country.country_color
386max_color = define:NMapColors|DEFAULT_COLOR
387factor = 0.40
}
}
}
392else_if = {
393limit = {
395is_location_colonial = yes
396is_east_of = scope:target.var:var_line_location
}
398value = {
399lerp = {
400min_color = scope:target.var:var_east_country.country_color
401max_color = define:NMapColors|DEFAULT_COLOR
402factor = 0.40
}
}
}
407if = {
408limit = {
409is_location_claimed_or_owned_by_country = {
410owner_country = scope:target.var:var_east_country
}
}
413value = scope:target.var:var_east_country.country_color
}
415else_if = {
416limit = {
417is_location_claimed_or_owned_by_country = {
418owner_country = scope:target.var:var_west_country
}
}
421value = scope:target.var:var_west_country.country_color
}
423else_if = {
424limit = {
426area = {
428any_ownable_location_in_area = {
429has_owner = yes
430is_owned_or_owned_by_subjects_or_below_of = scope:target.var:var_east_country
}
432any_ownable_location_in_area = {
433has_owner = yes
434is_owned_or_owned_by_subjects_or_below_of = scope:target.var:var_west_country
}
}
}
438value = define:NMapColors|MAP_COLOR_LOW
}
}
© 2026 Soft Santa Cruz, S.L.U.. Alle Rechte vorbehalten. Inoffizielles Fanprojekt, nicht mit Paradox Interactive verbunden. Spielinhalte © Paradox Interactive. Über · Datenschutz · Impressum