
ActionChanged this version
Exchange Sides
During the negotiations, it became clear to us that our rival's share of the world is much better that ours. We will use our reputation and prestige to try to convince them that it is in their interest to swap our claims with theirs.
Treaty of Treaty Location LocationSituationeffect, potential, select triggervar_east_countryVariablepotentialvar_west_countryVariablepotentialDefinitionin_game/common/generic_actions/treaty_of_tordesillas.txt:1102
1103icon = tordesillas_demand_transfer_colony
1104type = situation
1106potential = {
}
1111trigger_if = {
1112limit = {
}
1116OR = {
}
}
1121trigger_else = {
1122always = no
}
}
1128ai_tick = monthly
1129ai_tick_frequency = 12
1130automation_tick = never
1131automation_tick_frequency = 12
1133price = price:tordesillas_swap_sides
1135cooldown = {
1136type = tordesillas_swap_sides
1137years = 1
}
1140select_trigger = {
1141looking_for_a = situation
1142target_flag = recipient
1143name = "choose_situation" Choose the Situation:
1144column = {
1144data = name
}
}
1151effect = {
1152if = {
}
}
1160else = {
}
}
1165custom_tooltip = {
1166text = tordesillas_move_the_line.tt2 The Progress to Ratification will be delayed by 5
}
}
}
1174ai_will_do = {
1176add = scope:actor.societal_value:land_vs_naval
1177add = {
1178value = {
1179add = scope:actor.societal_value:outward_vs_inward
1180multiply = -1
}
}
1183if = {
1184limit = {
1184scope:actor.modifier:bias_for_colonialist_policies > 0
}
1185add = {
1186value = {
1187value = scope:actor.modifier:bias_for_colonialist_policies
}
}
}
1192add = {
1193value = {
1194every_region = {
1195limit = {
1196continent != continent:europe
1197sub_continent != sub_continent:south_asia
1198sub_continent != sub_continent:east_asia
}
1200every_area_in_region = {
1201every_province_in_area = {
1202limit = {
1203any_location_in_province = {
1204is_ownable = yes
1205NAND = {
1206has_owner = yes
1207owner ?= {
1207is_country_religion_pagan = no
}
}
1209is_east_of = scope:target.var:var_line_location
}
}
1212add = population
1213add = province_capital.proximity
}
}
}
}
1218if = {
1223multiply = -1
}
}
1227add = {
1228value = {
1229every_region = {
1230limit = {
1231continent != continent:europe
1232sub_continent != sub_continent:south_asia
1233sub_continent != sub_continent:east_asia
}
1235every_area_in_region = {
1236every_province_in_area = {
1237limit = {
1238any_location_in_province = {
1239is_ownable = yes
1240NAND = {
1241has_owner = yes
1242owner ?= {
1242is_country_religion_pagan = no
}
}
1244NOT = {
1244is_east_of = scope:target.var:var_line_location
}
}
}
1247add = population
1248add = province_capital.proximity
}
}
}
}
1253if = {
1258multiply = -1
}
}
1262subtract = {
1263desc = "bias against doing stuff"
1264value = 1
}
}