
Action
Absorb Institutions
The strange ways of these foreigners have our people confused and scared, but surely there are many things we could learn from them and apply to our society.
Columbian ExchangeSituationselect trigger 1Definitionin_game/common/generic_actions/columbian_exchange.txt:993
994type = situation
996potential = {
}
1003allow = {
}
1006ai_tick = monthly
1007ai_tick_frequency = 12
1008automation_tick = monthly
1009automation_tick_frequency = 3
1011price = price:absorb_institutions
1013cooldown = {
1014type = absorb_institutions
1015years = 1
}
1019select_trigger = {
1020looking_for_a = situation
1021target_flag = recipient
1022name = "choose_situation" Choose the Situation:
1023column = {
1023data = name
}
}
1030select_trigger = {
1031looking_for_a = country
1032source = actor
1033source_flags = diplomatic_range
1034target_flag = target
1035name = "choose_country" Choose the Country:
1036none_available_msg_key = "no_valid_countries"
1037column = {
1037data = name
}
1038visible = {
1039NOT = {
1039is_at_war_with = scope:actor
}
1045num_embraced_institutions > scope:actor.num_embraced_institutions
1046OR = {
1047is_discovered_by = scope:actor
1048is_neighbor_of = scope:actor
}
}
}
1053select_trigger = {
1054looking_for_a = institution
1055source = target
1056target_flag = target_institution
1057name = "choose_institution" Choose an Institution
1058none_available_msg_key = "no_valid_institution"
1059column = {
1059data = name
}
1060visible = {
1061scope:target = {
1061has_embraced_institution = root
}
}
}
1066effect = {
1067scope:target ?= {
1068random_institutions_embraced = {
1069limit = {
1070NOT = {
1070scope:actor = {
1070has_embraced_institution = prev
}
}
}
1072save_scope_as = institution_scope
}
}
1075if = {
1076limit = {
1077exists = scope:target
1078exists = scope:target_institution
}
1080scope:actor ?= {
1081every_owned_location = {
1082limit = {
1082is_province_capital = yes
}
1084if = {
1085limit = {
1085scope:actor.institutions_delta > 3
}
1086change_institution_progress = {
1087type = scope:target_institution
}
}
1091else_if = {
1092limit = {
1092scope:actor.institutions_delta > 2
}
1093change_institution_progress = {
1094type = scope:target_institution
}
}
1098else_if = {
1099limit = {
1099scope:actor.institutions_delta > 1
}
1100change_institution_progress = {
1101type = scope:target_institution
}
}
1105else = {
1106change_institution_progress = {
1107type = scope:target_institution
}
}
}
1112add_trust_equilibrium = {
1113modifier = trust_absorb_institutions
1114target = scope:target
}
}
}
}
1120ai_will_do = {
1121add = 5
}