Situation
Treaty of [Location]
This treaty was signed in Location by the Country and the 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.
Outcomes
The Line Endures
- Happens if
- The Treaty of Location is in its second phase and all treaty relevance has been depleted
The Signatories Fall
- Happens if
- The same country has come to hold both signatory positions of the Treaty of Location
Effects
On start
- Claim non conflicting owned areas (the owner var west country)
- Claim non conflicting owned areas (the owner var east country)
On monthly
- If variable 'var treaty phase' is 1:
- If variable 'var treaty progress' is at least 100:
- Distribute world
- If variable 'var treaty progress' is at least 100:
- Else if variable 'var treaty phase' is 2:
- Every country:
- Where:
- Has Violate the Treaty of Location
- Where:
- Every country:
On ending
- Catholicism:
- Every country in religion:
- Where:
- Is aware of the Treaty of Location Situation
- Triggers the event “The End of the Treaty of [Location]”
- Where:
- Every country in religion:
On ended
- var east country:
- Every colonial claim province definition:
- Claim in this will be removed
- Every colonial claim province definition:
- var west country:
- Every colonial claim province definition:
- Claim in this will be removed
- Every colonial claim province definition:
- Every country:
- Where:
- Has Violate the Treaty of Location
- Loses the effect of Violate the Treaty of Location
- Where:
Conditions
- Religion is Catholicism
- If:
- Treaty of Location:
- Situation is active
- Has Variable: var treaty phase
- Variable 'var treaty phase' is 1
- Treaty of Location:
- Then:
- Any of:
- This is Treaty of Location's var west country
- This is Treaty of Location's var east country
- Any of:
Properties
- Hint tag
- Hint treaty of tordesillas
- Custom description
- GetTreatyOfToredesillasDesc
Referenced by 2
Technical details
- Game id
treaty_of_tordesillas- Defined in
in_game/common/situations/treaty_of_tordesillas.txt:1
Other
- Tooltip
- If
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Is location claimable
- Yes
- NOT
- Is east of
- scope:target.var:var_line_location
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_west_of_line
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Situation:treaty of tordesillas
- Has variable
- var line location
- Situation:treaty of tordesillas.var:var line location
- ?=
- This
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_line_origin
- Limit
- Situation:treaty of tordesillas
- Has variable
- var east country
- Has owner
- Yes
- Top owner
- ?=
- situation:treaty_of_tordesillas.var:var_east_country
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_first_country
- Else if
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Is location claimable
- Yes
- Is east of
- scope:target.var:var_line_location
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_east_of_line
- Limit
- Situation:treaty of tordesillas
- Has variable
- var west country
- Has owner
- Yes
- Top owner
- ?=
- situation:treaty_of_tordesillas.var:var_west_country
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_second_country
- Limit
- Situation:treaty of tordesillas.var:var east country
- ?=
- Has colonial claim
- root.province_definition
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_claim_of_first_country
- Limit
- Situation:treaty of tordesillas.var:var west country
- ?=
- Has colonial claim
- root.province_definition
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_claim_of_second_country
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Area
- Any ownable location in area
Has owner Is owned or owned by subjects or below of Yes scope:target.var:var_east_country Yes scope:target.var:var_west_country
- Custom tooltip
- treaty_of_tordesillas.tt.location_is_in_conflict
- Map color
- If
- Limit
- Scope:target
- ?=
- Has variable
- var east country
- Has owner
- Yes
- Top owner
- ?=
- scope:target.var:var_east_country
- Value
- top_owner.country_color
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Scope:target
- Has variable
- var line location
- Scope:target.var:var line location
- ?=
- This
- Value
- Rgb
0.502, 0, 0.612
- Else if
- Limit
- Scope:target
- ?=
- Has variable
- var west country
- Has owner
- Yes
- Top owner
- ?=
- scope:target.var:var_west_country
- Value
- top_owner.country_color
- Else
- define:NMapColors|DEFAULT_COLOR
- Legend key
- Limit
- Scope:target
- ?=
- Has variable
- var east country
- Has owner
- Yes
- Top owner
- ?=
- scope:target.var:var_east_country
- Desc
- EAST
- Color
- top_owner.country_color
- Limit
- Scope:target
- ?=
- Has variable
- var west country
- Has owner
- Yes
- Top owner
- ?=
- scope:target.var:var_west_country
- Desc
- WEST
- Color
- top_owner.country_color
- Secondary map color
- If
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Is location colonial
- Yes
- NOT
- Is east of
- scope:target.var:var_line_location
- Value
- Lerp
- Min color
- scope:target.var:var_west_country.country_color
- Max color
- define:NMapColors|DEFAULT_COLOR
- Factor
- 0.4
- Limit
- Is location claimed or owned by country
- Owner country
- scope:target.var:var_east_country
- Value
- scope:target.var:var_east_country.country_color
- Else if
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Is location colonial
- Yes
- Is east of
- scope:target.var:var_line_location
- Value
- Lerp
- Min color
- scope:target.var:var_east_country.country_color
- Max color
- define:NMapColors|DEFAULT_COLOR
- Factor
- 0.4
- Limit
- Is location claimed or owned by country
- Owner country
- scope:target.var:var_west_country
- Value
- scope:target.var:var_west_country.country_color
- Limit
- Situation:treaty of tordesillas.var:var treaty phase
- 1
- Area
- Any ownable location in area
Has owner Is owned or owned by subjects or below of Yes scope:target.var:var_east_country Yes scope:target.var:var_west_country
- Value
- define:NMapColors|MAP_COLOR_LOW