rg_all_cluster_mod_check = { OR = { has_global_flag = l_cluster_origin # l-cluster plus has_global_flag = rg_origin_l_cluster # 遥远约定 has_global_flag = gray_origin_activate # 远星之歌 has_global_flag = rg_origin_scion_l_cluster # 未来追迹 rg_has_ag_origin_trigger = yes # 遥远的故事 } } rg_all_cluster_mod_check_for_scion = { OR = { has_global_flag = l_cluster_origin # l-cluster plus # has_global_flag = rg_origin_l_cluster # 遥远约定 has_global_flag = gray_origin_activate # 远星之歌 # has_global_flag = rg_origin_scion_l_cluster # 未来追迹 rg_has_ag_origin_trigger = yes # 遥远的故事 } } RG_planet_can_auto_build = { OR = { AND = { has_deposit_for = shipclass_mining_station has_mining_station = no } AND = { has_deposit_for = shipclass_research_station has_research_station = no } } NOR = { has_deposit = d_trade_value_1 has_deposit = d_trade_value_2 has_deposit = d_trade_value_3 has_deposit = d_trade_value_4 has_deposit = d_trade_value_5 has_deposit = d_trade_value_6 has_deposit = d_trade_value_7 has_deposit = d_trade_value_8 has_deposit = d_trade_value_9 has_deposit = d_trade_value_10 has_planet_flag = RG_work_bees_built } } RG_OR_has_wsg_mod_trigger = { OR = { has_global_flag = has_wsg_mod has_global_flag = kdc_event_mod_active } } RG_AG_has_gray_master_trigger = { has_civic = civic_AG_gray_master } RG_has_gray_cluster_origin_trigger = { OR = { has_country_flag = origin_rg_gray #遥远约定 has_country_flag = origin_gray_country #远星之歌 } } rg_is_main_species_with_maid_trait_trigger = { has_trait = rg_machine_maid_trait OR = { is_same_species = owner_main_species is_subspecies = owner_main_species } } RG_tradition5_or_gray_owner_trigger = { OR = { RG_gray_harbitat_active_trigger = yes has_active_tradition = tr_rg_nanotech_5 } } rg_has_ag_origin_trigger = { any_country = { has_origin = origin_Asgray } }