remove_naval_treaty_effect = { if = { limit = { has_idea = MTG_naval_treaty_adherent } remove_ideas = MTG_naval_treaty_adherent } else_if = { limit = { has_idea = MTG_naval_treaty_adherent_1936 } remove_ideas = MTG_naval_treaty_adherent_1936 } else_if = { limit = { has_idea = MTG_naval_treaty_cheating } remove_ideas = MTG_naval_treaty_cheating } else_if = { limit = { has_idea = MTG_naval_treaty_adherent_reduced } remove_ideas = MTG_naval_treaty_adherent_reduced } else_if = { limit = { has_idea = MTG_naval_treaty_cheating_reduced } remove_ideas = MTG_naval_treaty_cheating_reduced } set_country_flag = MTG_naval_treaty_abandoned } add_article_xix = { every_state = { limit = { owner = { has_naval_treaty_trigger = yes } OR = { is_on_continent = asia is_on_continent = australia } OR = { is_core_of = HAW is_core_of = FIJ is_core_of = TAH is_core_of = GUM is_core_of = FSM is_owned_by = CHY is_owned_by = BYG } is_island_state = yes } add_dynamic_modifier = { modifier = washington_treaty_article_xix } } }