
ActionNew this version
Expel a League Member
A member of our League has proven disloyal. We must remove them from our ranks before their treachery weakens us further.
First Italian LeagueInternational Organizationselect trigger 1
Second Italian LeagueInternational Organizationselect trigger 1
Third Italian LeagueInternational Organizationselect trigger 1
League SponsorSpecial Statusselect trigger 2Definitionin_game/common/generic_actions/italian_wars.txt:1161
1162type = internationalorganization
1164potential = {
}
1167allow = {
1168scope:actor ?= {
1169at_war = no
}
1171custom_tooltip = {
1172text = iw_expel_league_has_members_tt The League has more than one member
1173scope:recipient = {
1174leader_country ?= scope:actor
1175total_members > 1
}
}
}
1180ai_tick = monthly
1181ai_tick_frequency = 12
1183cooldown = {
1184type = expel_league_member
1185years = 3
}
1188select_trigger = {
1189looking_for_a = international_organization
1190source = actor
1191target_flag = recipient
1192name = "choose_international_organization" Choose the International Organization:
1193column = {
1194data = name
}
1196visible = {
1197OR = {
}
1202leader_country ?= scope:actor
}
}
1206select_trigger = {
1207looking_for_a = country
1208target_flag = target
1209interaction_source_list = {
1210scope:recipient = {
1211every_international_organization_member = {
1212limit = {
1213NOR = {
1214this = scope:actor
1215has_special_status_in_international_organization = {
1217international_organization = scope:recipient
}
}
}
1221add_to_list = source
}
}
}
1225name = "iw_expel_member_choose_text" Choose a member to expel from the League.
1226none_available_msg_key = "iw_expel_no_members"
1227column = {
1227data = name
}
}
1230effect = {
1231if = {
1232limit = {
1232exists = scope:target
}
1233scope:recipient = {
1234remove_country_from_international_organization = scope:target
}
1236scope:target = {
1237add_opinion = {
1238target = scope:actor
1239modifier = opinion_expelled_from_league
}
}
}
}
1246ai_will_do = {
1247add = 1
1249if = {
1250limit = {
1250exists = scope:target
}
1251if = {
1252limit = {
1252scope:target = {
1252is_rival_of = scope:actor
}
}
1253add = {
1254desc = "[rival|e]"
1255value = 100
}
}
1258if = {
1259limit = {
1259scope:target = {
1259is_enemy_of = scope:actor
}
}
1260add = {
1261desc = "[enemy|e]"
1262value = 100
}
}
1265subtract = {
1266desc = "[opinion|e]"
1267value = "scope:target.opinion(scope:actor)"
}
1269if = {
1270limit = {
1271scope:recipient = {
1272total_members < 3
}
}
1275add = {
1276desc = "too few members"
1277value = -50
}
}
1280subtract = {
1281desc = "[situation_tension|e]"
1282value = situation:italian_wars.var:iw_tension
1283multiply = 0.2
}
}
}