# Scripted AI desire for peace actions.
# See documentation.info file for more detailed scripting information.

peace_ai_desires = {  	
	zja_fascist_non_aligned_prefer_coastal = {
        peace_action_type = take_states
        enable = {
            FROM.FROM.FROM = {
                is_coastal = yes
            }
            ROOT = {
                original_tag = ZJA
            }
			ROOT.FROM = { tag = ROOT }
            ROOT = {
                OR = {
                    has_government = fascism
                    has_government = neutrality
                }
            }
        }
        ai_desire = 40
    }
	
	nenujon_nam_etot_vash_segunat = {
        peace_action_type = liberate
        enable = {
            ROOT.FROM = {
                original_tag = ZJA
                has_government = fascism
            }
        }
        ai_desire = -100
    }
}
