On Action
on_civil_war_lost
root and scope:winner = winner, scope:loser = loser
BalliolCountryeffect
Revolution!Disastereffect
Holy Roman EmpireInternational Organizationeffect
Archbishop-ElectorSpecial Statuseffect
Prince-ElectorSpecial Statuseffectccw_is_rebel_countryVariableeffectccw_proper_civil_war_activeVariableeffectchosen_parliamentarist_country_variableVariableeffectglyndwr_revolt_warVariableeffectDefinitionin_game/common/on_action/_hardcoded.txt:1161
1166effect = {
1168scope:loser = {
1169every_international_organizations_member_of = {
1170limit = {
1171leader_change_method = none
1172international_organization_has_leader = yes
1173leader_country ?= scope:loser
}
1175set_leader_country = scope:winner
}
}
1179if = {
1180limit = {
1181scope:loser = {
1182has_ruler = yes
1183exists = union
}
1185scope:winner = {
1186NOT = {
1186exists = union
}
1187has_ruler = yes
1188ruler = scope:loser.ruler
}
}
}
1199if = {
1203scope:winner = {
}
}
1209if = {
1210limit = {
1211exists = scope:winner
}
1219if = {
1220limit = {
}
}
1226international_organization_remove_special_status = {
1226country = root
}
1227international_organization_add_special_status = {
1227country = scope:winner
}
}
}
1230if = {
1231limit = {
}
}
1237international_organization_remove_special_status = {
1237country = root
}
1238international_organization_add_special_status = {
1238country = scope:winner
}
}
}
}
1243if = {
1248character:sco_robert_the_bruce = {
1249every_child = {
}
}
}
1255scope:winner = {
1256if = {
}
}
1265if = {
1266limit = {
1267OR = {
1268is_human = no
1270AND = {
1271is_human = yes
1272scope:loser = {
1272is_human = yes
}
}
}
1275OR = {
1276scope:winner = {
}
1277scope:loser = {
}
}
}
1280scope:winner = {
1281if = {
1282limit = {
1282exists = root.ruler_or_heir_if_regent
}
}
}
}
1293if = {
1300scope:loser.overlord ?= {
1301cancel_subject = scope:loser
}
}
}