
SituationChanged this version
Treaty of Treaty Location Location
This treaty was signed in Treaty Location Location by the Var East Country Country and the Var West Country Country. The document establishes a set of rules and parameters that allow the two powers to claim exclusive rights to the colonization and exploitation of any newly discovered lands on the continent of America.
CatholicismReligionvisibleViolate the TreatyStatic Modifieron ended, on monthlytreaty_locationVariableon startvar_east_colonyVariableon startvar_east_countryVariableon startvar_treaty_phaseVariableon monthly, visiblevar_treaty_progressVariableon monthlyvar_west_colonyVariableon startvar_west_countryVariableon startDefinitionin_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 The Treaty of Treaty Location Location is in its second phase and all treaty relevance has been depleted
}
}
21visible = {
25trigger_if = {
26limit = {
}
}
34OR = {
}
}
}
41on_start = {
}
}
70if = {
}
80if = {
}
89if = {
}
99if = {
}
108if = {
}
}
133on_monthly = {
135if = {
144if = {
}
}
}
162else_if = {
170every_country_in_religion = {
}
}
}
}
}
186on_ending = {
188every_country_in_religion = {
}
}
}
197on_ended = {
200every_colonial_claim_province_definition = {
201remove_colonial_claim = this
}
204religion = {
205every_country_in_religion = {
}
}
}
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 = {
257has_owner = yes
}
260custom_tooltip = "treaty_of_tordesillas.tt.location_is_first_country"
}
262else_if = {
263limit = {
267has_owner = yes
}
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 = {
316has_owner = yes
317top_owner ?= scope:target.var:var_east_country
}
319value = top_owner.country_color
}
321else_if = {
322limit = {
326has_owner = yes
327top_owner ?= scope:target.var:var_west_country
}
329value = top_owner.country_color
}
332else = {
333value = define:NMapColors|DEFAULT_COLOR
}
337if = {
338limit = {
343scope:target.var:var_line_location ?= this
}
345value = rgb {
0.502
0
0.612
}
}
}
350legend_key = {
351limit = {
355has_owner = yes
356top_owner ?= scope:target.var:var_east_country
}
358desc = "EAST"
359color = top_owner.country_color
}
361legend_key = {
362limit = {
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
}
}