Scripted Effect
destroy_every_sub_unit_of_type
If
Any sub unitCount: allIs sub unit type
ThenIs destroyed
Otherwise
Every sub unitwhere
Is sub unit type
Is destroyed
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$sub_unit_type$
Used by 2
Events
Political Turmoilsub_unit_type = unit_type:a_discovery_qizilbashOption 2
Government Reforms
Catalan Merchant Privilegessub_unit_type = unit_type:a_farfanesWhen deactivated
if = {
limit = {
any_sub_unit = {
sub_unit_type = $sub_unit_type$
count = all
}
}
destroy_unit = yes
}