Обмен претензиями
Действие

Обмен претензиями

tordesillas_swap_claimin_game/common/generic_actions/treaty_of_tordesillas.txt:1559

С подписанием Договора LR GEN Treaty Location Location мир оказался разделён между двумя главными колониальными державами, но мы всё равно недовольны результатом. Можно внести туда правки, которые позволят нам улучшить своё положение. Мы могли бы убедить одну из этих держав обменять одну из наших претензий в области на их претензии на соседнюю область.

ТребуетКатоличествоРелигияselect trigger 2, select trigger 3Договор LR GEN Treaty Location LocationСитуацияselect trigger 1

Определениеin_game/common/generic_actions/treaty_of_tordesillas.txt:1559

1560icon = tordesillas_demand_transfer_colony
1561type = situation
1563potential = {
1565scope:actor = {
1566any_colonial_claim_province_definition = {
1567count > 0
}
}
}
1572price = price:tordesillas_revoke_claim
1574cooldown = {
1575type = tordesillas_revoke_claim
1576years = 1
}
1579select_trigger = {
1580looking_for_a = situation
1581target_flag = recipient
1582name = "choose_situation" Выберите Concept:
1583column = {
1583data = name
}
1584visible = {
}
}
1592select_trigger = {
1593looking_for_a = area
1594target_flag = target_actor_area
1595interaction_source_list = {
1598every_country_in_religion = {
1599limit = {
1600NOT = {
1600this = scope:actor
}
}
1602every_colonial_claim_province_definition = {
1603area = {
1605every_neighbor_area = {
1606limit = {
1607NOT = {
1607is_in_list = source
}
}
1609add_to_list = source
}
}
}
}
}
}
1616name = "tordesillas_swap_claim_select_title" Выберите Concept, на которую выдвинута претензия, для обмена:
1617none_available_msg_key = "steal_maps_no_areas"
1618column = {
1618data = name
}
1619visible = {
1621scope:actor = {
1621has_discovered_area = prev
}
1623any_location_in_area = {
1624is_land = yes
}
1627scope:actor = {
1628any_colonial_claim_province_definition = {
1629area = {
1630this = root
}
}
}
}
}
1637select_trigger = {
1638looking_for_a = area
1639target_flag = target_recipient_area
1640interaction_source_list = {
1643every_country_in_religion = {
1644limit = {
1645NOT = {
1645this = scope:actor
}
}
1647every_colonial_claim_province_definition = {
1648limit = {
1649area = {
1650any_neighbor_area = {
1651this = scope:target_actor_area
}
1653NOT = {
1653is_in_list = source
}
}
}
1656area = {
1657add_to_list = source
}
}
}
}
}
1663name = "tordesillas_swap_claim_select_title" Выберите Concept, на которую выдвинута претензия, для обмена:
1664none_available_msg_key = "steal_maps_no_areas"
1665column = {
1665data = name
}
1666visible = {
1668scope:actor = {
1668has_discovered_area = prev
}
1670any_location_in_area = {
1671is_land = yes
}
}
}
1677effect = {
1680every_country_in_religion = {
1681limit = {
1682NOT = {
1682this = scope:actor
}
1683any_colonial_claim_province_definition = {
1684area = {
1685scope:target_recipient_area ?= this
}
}
}
1689save_scope_as = target_country_scope
}
}
1693scope:target_country_scope ?= {
1694trigger_event_non_silently = {
1694days = 7
}
}
}
1698ai_will_do = {
1700add = scope:actor.societal_value:land_vs_naval
1701add = {
1702value = {
1703add = scope:actor.societal_value:outward_vs_inward
1704multiply = -1
}
}
1707if = {
1708limit = {
1708scope:actor.modifier:bias_for_colonialist_policies > 0
}
1709add = {
1710value = {
1711value = scope:actor.modifier:bias_for_colonialist_policies
}
}
}
1716scope:target_actor_area = {
1717every_province_in_area = {
1718subtract = population
1719subtract = province_capital.proximity
}
}
1723scope:target_recipient_area = {
1724every_province_in_area = {
1725add = population
1726add = province_capital.proximity
}
}
1730subtract = {
1731desc = "bias against doing stuff"
1732value = 1
}
}