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

# peace_ai_desires = {

    # # don't create warlord or PRC puppets
    # JAP_avoid_puppeting_warlords_prc = {
        # peace_action_type = { puppet force_government }
        # enable = {
            # FROM = {
                # OR = {
                    # tag = PRC
                    # WTT_is_chinese_warlord = yes
                # }
            # }
            # ROOT = { original_tag = JAP }
        # }
        # ai_desire = -200
    # }


    # # Try to grab cities and hainan
    # JAP_take_chinese_cities_if_possible = {
        # peace_action_type = take_states
        # enable = {
            # FROM.FROM.FROM = {
               # is_state_japan_wants = yes
            # }
            # ROOT = { original_tag = JAP }
        # }
        # ai_desire = 150
    # }


    # # If Mengkukuo exists, increase the Inner Mongolian state
    # JAP_inner_mongolia = {
        # peace_action_type = take_states
        # enable = {
            # FROM = {
                # original_tag = MEN
                # is_subject_of = ROOT
            # }
            # FROM.FROM.FROM = {
                    # state = 621 # Suiyuan
            # }
            # ROOT = { original_tag = JAP }
        # }
        # ai_desire = 100
    # }


    # # Create a chinese puppet state from the rest of China
    # JAP_create_chinese_puppet = {
        # peace_action_type = puppet
        # enable = {
            # FROM = {
                # original_tag = CHI
            # }
            # FROM.FROM.FROM = {
                # NOT = {
                    # is_state_japan_wants = yes
                # }
                # any_neighbor_state = {
                    # OR = {
                        # is_owned_by = ROOT.FROM
                        # pc_is_state_claimed_by = ROOT.FROM
                        # is_coastal = yes
                    # }
                # }
            # }
            # ROOT = { original_tag = JAP }
        # }
        # ai_desire = 80
    # }


    # #Don't give things to communist china
    # JAP_dont_support_prc = {
        # peace_action_type = take_states
        # enable = {
            # FROM = {
                # OR = {
                    # tag = PRC
                    # tag = SIK
                # }
                # has_government = communism
            # }
            # ROOT = {
                # original_tag = JAP
                # NOT = { has_government = communism }
            # }
        # }
        # ai_desire = -200
    # }
# }
