scripted_gui = {
    yz_sour_gui = {
        window_name = Yuzusoft_sour_base
        context_type = player_context
        visible = {
            or = {
                has_country_flag = qiyong_youzi_1
                has_country_flag = qiyong_youzi_2
                has_country_flag = qiyong_youzi_3
            }
            #is_debug = yes
        }
        effects = {
            Start_yuzusoftour_click ={
                if = {
                    limit = {
                        has_country_flag = show_yuzusoft_sour_recruit
                    }
                    clr_country_flag = show_yuzusoft_sour_recruit
                }
                else = {
                    set_country_flag = show_yuzusoft_sour_recruit
                }
            }
        }
        triggers = {
            Yuzusoft_sour_base_visible = {
                or = {
                    has_country_flag = qiyong_youzi_1
                    has_country_flag = qiyong_youzi_2
                    has_country_flag = qiyong_youzi_3
                }
            }
        }
    }
    parquet_start_gui = {
        window_name = "parquet_recruit"
        context_type = player_context
        visible = {
            has_country_flag = show_yuzusoft_sour_recruit
            not = {
                has_country_flag = parquet_started
            }
        }
        effects = {
            parquet_click = {
                if = {
                    limit = {
                        has_country_flag = show_parquet_recruit
                    }
                    clr_country_flag = show_parquet_recruit
                }
                else = {
                    set_country_flag = show_parquet_recruit
                }
            }
        }
    }
    parquet_started_gui = {
        window_name = "parquet_gaming"
        context_type = player_context
        visible = {
            has_country_flag = parquet_started
			has_country_flag = show_yuzusoft_sour_recruit
        }
    }
    parquet = {
        window_name = parquet_recruit_ui
        context_type = player_context
        visible = {
            has_country_flag = show_parquet_recruit
        }
        effects = {
            parquet_exit_click = {
                clr_country_flag = show_parquet_recruit
            }
            parquet_story_start_click = {              #因为剧情没有写好，预留——2025.5.30,11:16,伊尔诺
                set_country_flag =  parquet_started
				clr_country_flag = show_parquet_recruit
				meta_effect = {
					 text = {
                        generate_character = {
                            token_base = ibaraki_rino
                            name = "茨木梨乃"
                            gender = female
                            nationality = JAP
                            portraits = {
                                civilian = {
                                    large = "gfx\leader\ibaraki_rino.png"
                                    small = "gfx\leader\ibaraki_rino_small.png"
                                }
                            }
                            allowed_civil_war = { is_ai = no }
                            corps_commander = {
                                desc = ibaraki_rino_corps_desc
                                traits = {
                                    ibaraki_rino_only_at_night
									bmi_device
                                }
                                skill = 5
                                attack_skill = 7
                                defense_skill = 3
                                planning_skill = 5
                                logistics_skill = 3
                            }
                        }
                    }
				}
                meta_effect = {
					text = {
                        generate_character = {
                            token_base = kido_tsubasa
                            name = "城门翼"
                            gender = female
                            nationality = JAP
                            portraits = {
                                civilian = {
                                    large = "gfx\leader\kido_tsubasa.png"
                                    small = "gfx\leader\kido_tsubasa_small.png"
                                }
                            }
                            allowed_civil_war = { is_ai = no }
                            corps_commander = {
                                desc = kido_tsubasa_corps_desc
                                traits = {
									yasaidaburuninnikuaboramashimashibaagaa_trait
                                    kido_tsubasa_only_at_sun
									bmi_device
                                }
                                skill = 5
                                attack_skill = 3
                                defense_skill = 7
                                planning_skill = 6
                                logistics_skill = 7
                            }
                        }
                    }
                }                                          
            }                                          
        }                                              
    }                                                  
}                                                      
#这里也许我能写，也许不能，这几天我到底关于parquet有没有一个真正可行的想法呢？
#或许有，也或许没有。到头来写这些东西还是要靠别人来想这个到底要做些什么内容。
#这一段文字我不知道会有多少人看，也许会有，也可能不会有人在意到这一段话
#就像很多代码里的注释，除了写下注释的人，不知道还会有多少人去看别人写的注释。
#但是这并不代表注释是没有意义的，但是其意义是什么我也不甚明晰。
#它的存在本身或许是一个意义，也可能是其他，我不知道。
#But now when someone see that there is a lot of things, they may doubt:
#who wrote this?
#I don't knwo why I want to do that. Maybe no reasen is the best resaon.
#在代码里塞这么一段不会有多少人看的一段话我不知道是为什么
#我不想再写了
#2025.5.30，11：25——伊尔诺