on_actions = {
on_declare_war = { # ROOT = attacker, FROM = defender
if = {
limit = {
is_major = yes
not = { tag = event_target:WTT_current_china_leader} #special exception
FROM = { has_naval_treaty_trigger = yes }
}
FROM = { effects... }
}
else_if = {
limit = {
FROM = {
is_major = yes
not = { tag = event_target:WTT_current_china_leader} #special exception
}
has_naval_treaty_trigger = yes
}
effects...
}
}
}