4000-520-616
欢迎来到免疫在线!(蚂蚁淘生物旗下平台)  请登录 |  免费注册 |  询价篮
主营:原厂直采,平行进口,授权代理(蚂蚁淘为您服务)
咨询热线电话
4000-520-616
当前位置: 首页 > 新闻动态 >
新闻详情
On actions - 欧陆风云4百科,人人可以编辑的欧陆风云4中文百科全书
来自 : www.eu4cn.com/wiki/On_acti... 发布时间:2021-03-25
on_actions代码整理

脚本代码位于:/Europa Universalis IV/common/on_actions/00_on_actions.txt。#当在 on_actions 中直接添加效果(effects)指令时,总是要考虑如果这样做最好是通过脚本效果。 on_actions 有一大堆脚本在其中,很难一览全貌。

on_startup:{emperor:{save_global_event_target_as = Emperor仅限于:{is_emperor_of_china = yessave_global_event_target_as = EmperorOfChinamuslim_school_events.20 #选择学派:flavor_fra.15000 #Make the French Revolution happen if starting in 1789仅限于:{有DLC = \"Cradle of Civilization\"has_country_modifier = tur_janissaryremove_country_modifier = tur_janissaryinitialize_schools_effect = yes #这个脚本效果只用在这里,但是为了 on_action 文件的可读性。仅限于:{不是:{ has_country_flag = new_flavour_bav_13_has_been_triggered }tag = UBVtag = LBVtag = INGset_country_flag = new_flavour_bav_13_has_been_triggeredcountry_event:{ id = new_flavour_bav.13 days = 90 } #better not to allow almost instant DOWs仅限于:{tag = FRAstarted_in = 1789.7.14不是:{ is_year = 1790 }不是:{ has_disaster = french_revolution }add_disaster_progress:{value = 100disaster = french_revolution在宗教改变时

on_religion_change:{on_religion_change_estate_privileges_effect = yes###removes catholic modifiersremove_country_modifier = counter_reformationremove_country_modifier = the_statue_in_restraint_of_appealsremove_country_modifier = revocation_of_restraint_of_appealsremove_country_modifier = bavarian_jesuitsremove_country_modifier = the_societas_jesuremove_country_modifier = the_declaration_of_indulgenceremove_country_modifier = de_heretico_comburendoremove_country_modifier = the_conventicle_act仅限于:{has_reform = indian_sultanate_reform不是:{ religion_group = muslim }remove_government_reform = indian_sultanate_reform仅限于:{has_reform = feudal_theocracy不是:{ religion_group = muslim }remove_government_reform = feudal_theocracy仅限于:{government = nativereligion = nahuatlreligion = mesoamerican_religionreligion = intichange_government = monarchyadd_government_reform = autocracy_reform


仅限于:{has_heir = yesset_heir_religion = ROOT仅限于:{has_regency = noset_ruler_religion = ROOT仅限于:{有DLC = \"Rights of Man\"has_consort = yesset_consort_religion = ROOT仅限于:{不是:{ religion = orthodox }every_known_country:{仅限于:{reverse_has_opinion_modifier:{who = ROOTmodifier = closed_down_the_patriarchatereverse_remove_opinion:{who = ROOTmodifier = closed_down_the_patriarchate仅限于:{religion = catholichas_ruler_flag = personal_catholic_sympathiescountry_event:{ id = protestantism_events.19 }仅限于:{religion = protestantset_country_flag = converted_to_protestantism仅限于:{ has_country_modifier = bav_religious_mandate_mod }remove_country_modifier = bav_religious_mandate_modadd_country_modifier:{name = recently_changed_religion_dummyduration = 10hidden = yes仅限于:{不是:{ religion_group = muslim }any_owned_province:{ has_province_modifier = sufi_shrine }every_owned_province:{仅限于:{ has_province_modifier = sufi_shrine }remove_province_modifier = sufi_shrinemuslim_school_events.20 #选择学派propagate_religion_events.7 #Propagated Country is now Muslim在副教改变时# 国家.

on_secondary_religion_change:{# Done from code: add_prestige = -50 (Define: CHANGE_SECONDARY_PRESTIGE_HIT)every_owned_province:{仅限于:{ has_province_modifier = tengri_monastic_order }remove_province_modifier = tengri_monastic_orderevery_owned_province:{仅限于:{ has_province_modifier = tengri_shiite_settled_in_capital }remove_province_modifier = tengri_shiite_settled_in_capitalevery_owned_province:{仅限于:{ has_province_modifier = tengri_insincere_leadership }remove_province_modifier = tengri_insincere_leadershipevery_owned_province:{仅限于:{ has_province_modifier = tengri_religious_influx }remove_province_modifier = tengri_religious_influxevery_owned_province:{仅限于:{ has_province_modifier = tengri_ruler_questioned }remove_province_modifier = tengri_ruler_questionedevery_owned_province:{仅限于:{ has_province_modifier = tengri_strengthened_local_clans }remove_province_modifier = tengri_strengthened_local_clansevery_owned_province:{仅限于:{ has_province_modifier = tengri_growing_cities }remove_province_modifier = tengri_growing_citiesevery_owned_province:{仅限于:{ has_province_modifier = tengri_christian_mission }remove_province_modifier = tengri_christian_missionevery_owned_province:{仅限于:{ has_province_modifier = tengri_unchristian_values }remove_province_modifier = tengri_unchristian_valuesevery_owned_province:{仅限于:{ has_province_modifier = tengri_monastic_order }remove_province_modifier = tengri_monastic_orderevery_owned_province:{仅限于:{ has_province_modifier = hindufication }remove_province_modifier = hinduficationevery_owned_province:{仅限于:{ has_province_modifier = tengri_influx_of_monks }remove_province_modifier = tengri_influx_of_monksevery_owned_province:{仅限于:{ has_province_modifier = tengri_abandoning_the_old_ways }remove_province_modifier = tengri_abandoning_the_old_waysremove_country_modifier = tengri_devout_muslimremove_country_modifier = tengri_confucian_elites_alienatedremove_country_modifier = tengri_confucian_titlesremove_country_modifier = tengri_traditionalists_strengthenedremove_country_modifier = tengri_confucian_noblesremove_country_modifier = tengri_pali_legal_traditionsremove_country_modifier = tengri_religious_pilgrimagesremove_country_modifier = tengri_monks_in_capitalremove_country_modifier = tengri_influx_of_monksremove_country_modifier = tengri_shiite_immigrationremove_country_modifier = support_of_the_khojasremove_country_modifier = black_shamanism_modifierremove_country_modifier = tengri_animist_pantheonremove_country_modifier = zoroastrian_tradersremove_country_modifier = spread_of_tengri_tea_ceremonyremove_country_modifier = tengri_tea_ceremonyremove_country_modifier = tengri_japanese_swordsmithingremove_country_modifier = tengri_bow_and_arrow_defendedremove_country_modifier = tengri_support_of_shamansremove_country_modifier = tengri_hindu_conflictremove_country_modifier = tengri_hindu_syncretismremove_country_modifier = tengri_devout_christian_rulerremove_country_modifier = tengri_personal_confessorremove_country_modifier = tengri_confucian_administratorsremove_country_modifier = tengri_traditional_elites_alienatedremove_country_modifier = tengri_jihadremove_country_modifier = tengri_stood_up_for_yassaremove_country_modifier = tengri_sufi_teacherremove_country_modifier = tengri_qadiremove_country_modifier = tengri_religious_influxremove_country_modifier = tengri_ibadi_scholarsremove_country_modifier = tengri_clergy_conflictsremove_country_modifier = tengri_shamans_spurnedclr_country_flag = khojas_establishedclr_country_flag = tengri_christian_devout_courtclr_ruler_flag = tengri_muslim_ruler_questioned仅限于:{check_variable:{ which = khojas_retained value = 1 }set_variable:{which = khojas_retained value = 0在强制执行叛军要求时# 国家。Spawned when Enforcing Rebel Demands through a Support Rebels-war.

on_enforce_rebel_demands:{# ROOT = 胜利的国家# FROM = 失利的国家set_country_flag = helped_rebels_win_war在殖民地解放时

on_colonial_liberation:{仅限于:{不是:{ has_country_flag = old_world_to_new_world_flag }country_event:{ id = colonial_nation.90 days = 1 }在殖民地独立失败时

on_colonial_reintegration:{colonial_nation.91在和约生效时

on_peace_actor:{usa_dlc.36::::# Evacuation Daynative_americans.7::# Appoint Peace Chief在和约接受时

on_peace_recipient:{native_americans.7::# Appoint Peace Chief在战争胜利时# root = 胜利的国家, from = 失利的国家

on_war_won:{FROM:{ country_event:{ id = flavor_cri.6 } }ROOT:{ country_event:{ id = tributary_events.32 } }仅限于:{is_part_of_hre = yesFROM :{ is_part_of_hre = yes }ROOT:{ save_global_event_target_as = hre_winner }FROM:{ save_global_event_target_as = hre_loser }random_known_country:{仅限于:{has_reform = free_cityprestige = 40has_country_modifier = fc_treatyconference_timeradd_country_modifier:{name = fc_treatyconference_timerduration = 3650hidden = yescountry_event:{id = free_cities.7days = 7仅限于:{tag = MLO不是:{ has_country_flag = emp_mlo_won_war_with_swiss_mercs }any_hired_mercenary_company:{home_province:{area = switzerland_areaarea = romandie_areaset_country_flag = emp_mlo_won_war_with_swiss_mercs仅限于:{is_hiring_condottiere_from = SWISWI:{ set_country_flag = won_condottiere_war }仅限于:{tag = PAPSWI:{set_country_flag = hired_to_pope在战争失败时# root = 失利的国家,from = 胜利的国家

on_war_lost:{ROOT:{ country_event:{ id = flavor_cri.6 } }ROOT:{ country_event:{ id = tributary_events.32 } }

 仅限于:{ government = republic is_lesser_in_union = yes
change_government_to_monarchy = yes
 }
仅限于:{不是:{ has_country_flag = reined_in_for_shadow_kingdom }不是:{ has_global_flag = italians_leave_hre }is_emperor = nois_part_of_hre = yescapital_scope:{ region = italy_region }culture_group = latinany_owned_province:{region = italy_regionset_country_flag = reined_in_for_shadow_kingdomadd_country_modifier:{name = just_lost_war_timerduration = 10hidden = yes国家在战斗胜利时# root = 胜利的国家, from = 失利的国家

on_battle_won_country:{仅限于:{ROOT:{tag = ALB不是:{ has_country_flag = albanian_victory }FROM:{tag = TURROOT:{ set_country_flag = albanian_victory }国家在战斗失利时# root = 失利的国家, from = 胜利的国家

on_battle_lost_country:{battle_cult_spreading_effect = yes #Scripted effect for fetishist cult mechanics.random_events:{90 = 010 = friendship_events.1 #Historical Friendship Broken省份在战斗胜利时# root = 位置,from = 失利的国家

on_battle_won_province:{仅限于:{from:{ tag = REB }owner:{tag = ENGhas_disaster = war_of_the_roseshas_country_modifier = wotr_one_year_timer不是:{ has_country_flag = war_of_the_roses_pretender_fled }owner:{ country_event:{ id = war_of_the_roses.200 days = 2 } }仅限于:{from:{tag = REBis_rebel_type = revolutionary_rebelsowner:{any_owned_province:{region = roothas_revolution_in_province = yes不是:{ has_disaster = french_revolution }不是:{ has_disaster = revolution }不是:{ has_spawned_rebels = revolutionary_rebels }owner:{ country_event:{ id = center_of_revolution.1600 } }random_events:{1000 = 0100 = war_of_the_roses.6:# WotR - Rebel Leaders Captured部队在战斗胜利时#Unit Scope OnAction for Battle Won

on_battle_won_unit:{仅限于:{unit_owner:{ ai = no } #Scopes to Unit Owner from Unit Scopegeneral_with_steam_name = yes #Unit Scope Triggerunit_owner:{ set_country_flag = general_with_steam_name_won_battle }部队在战斗失利时# #单位作用域 OnAction 用于战斗失利

on_battle_lost_unit:{

 如果:{ 仅限于:{ unit_owner:{ tag = MNG has_ruler_flag = mng_militry_incompetence is_ruler_commanding_unit = yes
enemy_unit:{unit_owner:{tag = OIR
 } OIR:{ country_event:{ id = flavor_oir.2 }
省份在加入贸易公司时# root = 位置, from = 做它的国家

on_added_to_trade_company ={

}省份在移除贸易公司时# root = 位置, from = 做它的国家

on_removed_from_company ={

}在公司成立时# root = 位置, from = 做它的国家

on_company_formed ={

}在公司废止时# root = 位置, from = 做它的国家

on_company_disolved ={

}省份在战斗失利时# root = 位置, from = 胜利的国家

on_battle_lost_province:{random_events:{1000 = 0100 = tyw_events.22:# Capital Battle in Religious War国家在围攻胜利时# root = 胜利的国家, from = 位置

on_siege_won_country:{仅限于:{from:{ owned_by = SAX }is_in_war:{defenders = rootdefenders = THUdefenders = emperorattackers = SAXis_in_war:{attackers = rootattackers = THUattackers = emperordefenders = SAXTHU:{dynasty = \"von Wettin\"is_elector = nois_emperor = noalliance_with = emperorSAX:{is_elector = yesall_owned_province:{不是:{ controlled_by = SAX }controlled_by = THUcontroller:{is_in_war:{defenders = thisdefenders = THUdefenders = emperorattackers = SAXis_in_war:{attackers = thisattackers = THUattackers = emperordefenders = SAXTHU:{ country_event:{ id = flavor_sax.10 } } # Ask Emperor for Saxon Electoratetyw_events.14 # Fall of Prague in Religious Warflavor_oir.5 # Oirats capture Beijingrandom_events:{10 = army_professionalism_events.1 #City Sacked100 = 0国家在省份失守时# root = 失利的国家, from = 位置

on_siege_lost_country:{curia.8papacy_events.5省份在围攻胜利时# root = 位置, from = 失利的国家

on_siege_won_province:{synthetic_dawn.4仅限于:{from:{tag = REBis_rebel_type = revolutionary_rebelsowner:{any_owned_province:{region = roothas_revolution_in_province = yes不是:{ has_disaster = french_revolution }不是:{ has_disaster = revolution }不是:{ has_spawned_rebels = revolutionary_rebels }owner:{ country_event:{ id = center_of_revolution.1600 } }省份在失守时# root = 位置, from = 胜利的国家

on_siege_lost_province = {war_of_the_roses.10::# Lancaster Strongholdwar_of_the_roses.11::# York Strongholdfrench_wars_of_religion.7 #Ravening Religious Fanaticsfrench_wars_of_religion.9 #french_wars_of_religion.9在废弃殖民地时# root = 位置, from = 废弃殖民地的国家# 在殖民地被废弃之前触发。

on_abandon_colony:{在新君主登基时# OBSConsider that the following on_actions can be called for Personal Union juniors as well.

on_new_monarch:{crimean_succession_effect = yes #Scripted effectslesvig_question_effect = yes #Scripted effect仅限于:{has_consort_regency = noany_owned_province:{has_province_modifier = domain_of_spouses_familyrandom_owned_province:{仅限于:{ has_province_modifier = domain_of_spouses_family }remove_province_modifier = domain_of_spouses_family仅限于:{has_consort_regency = noany_owned_province:{has_province_modifier = home_of_consortrandom_owned_province:{仅限于:{ has_province_modifier = home_of_consort }remove_province_modifier = home_of_consort仅限于:{不是:{ 有DLC = \"Mandate of Heaven\" }has_country_modifier = the_mandate_of_heaven不是:{ legitimacy = 80 }country_event:{ id = china_events.32 }:# History of last ruler# ambrosian_republic_effect = yessuccession_culture_religion_effect = yessheik_ul_islam_effect = yeshab_remove_mission_mods_if_not_emperor_effect = yesthu_remain_von_wettin_effect = yesladislaus_postumus_union_effect = yestribal_succession.1::# Harsh anti-tribals.9492 :::::# Remove some event modifiersflavor_boh.8:::# Winter King in Pragueflavor_kol.1:::# Bavarian Archbishopwar_of_the_roses.101:# WotR - House of Lancaster winswar_of_the_roses.102:# WotR - House of York winswar_of_the_roses.106:# WotR - Another dynasty has seized the throneflavor_tur.102:::# Janissary Rewardflavor_ori.7:::# Hamvira Victoriousflavor_kbo.1:::# The two branches of the Sayfawa dynastyflavor_kbo.8:::# Sayfawa pretendersflavor_zan.5:::# Coup of Coup of Suleiman and Muhammad al-Mazlum.purple_phoenix.1::# BYZ pretendersflavor_pol.3480:::# The Pacta Conventaprotestantism_events.15:# Catholic Leaning Monarchtengri_events.17::# Keep the Khojas in Power?flavor_tus.15:::# Savonarola Diesflavor_brapru.22::# Succession of Albrecht Achillesflavor_brapru.25::# Dispositio Achillea (can also trigger from flavor_brapru.22)flavor_nor.27:::# Proclamation in Hamarchina_events.43:::# Picking new Capital for Chinacelestial_empire_events.3 #Resistance to Sinicizationflavor_boh.2:::#Heretic Kingsflavor_hun.17:::#Maintaining the Black Armyflavor_tim.1:::#Death of Shah Rukhmuslim_school_events.20 #No Religious Schoolflavor_daimyo.4:::#Shiba Yoshikadoflavor_fra.9000:::# François Villonrandom_events:{1000 = 0100 = flavor_kol.1::# Bavarian Archbishop100 = flavor_hsa.3::# Hansa: Tagfahrt100 = inti_events.1::# Birth of a Panaca50 = dynastic_events.450 = dynastic_events.525 = harem_events.7::#Failed Policy of Fratricide在新配偶出现时

on_new_consort:{country_event:{ id = consort_events.2 }仅限于:{ has_ruler_flag = had_10_years_anniversary }clr_ruler_flag = had_10_years_anniversary仅限于:{ has_ruler_flag = had_20_years_anniversary }clr_ruler_flag = had_20_years_anniversary仅限于:{ has_ruler_flag = consort_had_affection_of_ruler }clr_ruler_flag = consort_had_affection_of_ruler仅限于:{ has_country_modifier = sought_after_bachelor }remove_country_modifier = sought_after_bachelor在君主死亡时

on_monarch_death:{仅限于:{tag = ANSBRA:{has_country_flag = albrecht_achilles_flagBRA:{clr_country_flag = albrecht_achilles_flag #Just to be surekill_heir = yes #If Albrecht Achilles dies in Ansbach he will also be dead in Brandenburg, will appear as normal death of heir to BRA.仅限于:{ has_country_modifier = sought_after_bachelor }remove_country_modifier = sought_after_bachelor仅限于:{tag = SAXhas_country_flag = sax_thuringen_split_to_happen不是:{ dynasty = \"von Wettin\" }不是:{ senior_union_with = THU }has_regency = yesclr_country_flag = sax_thuringen_split_to_happenburgundian_inheritance_start_effect = yesladislaus_postumus_king_died_effect = yesflavor_wal.1 # Vlad the Impaler. So that he doesn\'t try to usurp his father.flavor_nav.4 # Navarra succession eventflavor_sax.8 # Treaty of Leipzigflavor_pap.16 # Borgia Popeflavor_pap.19 # death of borgia popeflavor_tus.22 # Medici Popeflavor_tus.24 # death of the Medici Pope

on_regent:{仅限于:{不是:{ has_global_flag = death_of_haji_giray } #Also set in history.tag = CRIexists = TURis_subject = noTUR:{num_of_cities = ROOTis_subject = nonum_of_ports = 1country_event:{ id = flavor_cri.1 } #Death of Haji Giray仅限于:{不是:{ has_global_flag = death_of_haji_giray } #Also set in history.tag = CRI不是:{ exists = TUR }is_subject = yesTUR:{ 不是:{ num_of_cities = ROOT } }TUR:{ is_subject = yes }TUR:{ 不是:{ num_of_ports = 1 } }set_global_flag = death_of_haji_giraytribal_succession.1:# harsh anti-tribals.flavor_tim.1:::#Death of Shah Rukhflavor_daimyo.4:::#Shiba Yoshikado在新选举周期时

on_new_term_election:{700::# Election eventelections.720::# Dutch Republicpirates.1在首脑补选时

on_death_election:{仅限于:{ has_reform = presidential_despot_reform }remove_government_reform = presidential_despot_reform仅限于:{has_reform = pirate_republic_reformset_country_flag = pirate_death_electioncountry_event:{ id = pirates.1 }701::# Election eventelections.721::# Dutch Republicelections.800:# Lottery electionflavor_tus.16 #Savonarola Leaves This World在马穆鲁克外国奴隶统治者死亡时

on_death_foreign_slave_ruler:{mamluk_events.0 # Choose new ruler在替换总督时

on_replace_governor:{elections.707

on_bankruptcy:{在外交吞并时# 国家 (country annexing, root = target)

on_diplomatic_annex:{在继承人死亡时

on_heir_death:{仅限于:{ has_country_flag = heir_dip_education }clr_country_flag = heir_dip_education仅限于:{ has_country_flag = heir_mil_education }clr_country_flag = heir_mil_education仅限于:{ has_country_flag = heir_adm_education }clr_country_flag = heir_adm_education仅限于:{ has_ruler_flag = well_advised_tutored_heir }clr_ruler_flag = well_advised_tutored_heir仅限于:{ has_ruler_flag = heir_went_on_grand_tour }clr_ruler_flag = heir_went_on_grand_tour仅限于:{ has_country_flag = albrecht_achilles_flag }clr_country_flag = albrecht_achilles_flag #Death of original Albrecht Achilles仅限于:{ has_ruler_flag = sancaga_cikma }clr_ruler_flag = sancaga_cikmaevery_owned_province:{仅限于:{has_province_modifier = heir_in_trainingremove_province_modifier = heir_in_training仅限于:{ has_ruler_flag = returned_from_sancaga_sikma_province }clr_ruler_flag = returned_from_sancaga_sikma_provinceladislaus_postumus_heir_died_effect = yes在女王(王配)死亡时

on_queen_death:{仅限于:{ has_consort_flag = 10_years_anniversary }set_ruler_flag = had_10_years_anniversary仅限于:{ has_consort_flag = 20_years_anniversary }set_ruler_flag = had_20_years_anniversary仅限于:{ has_consort_flag = consort_has_affection_of_ruler }set_ruler_flag = consort_had_affection_of_ruler仅限于:{has_regency = no不是:{ has_ruler_flag = widow_widower }set_ruler_flag = widow_widower仅限于:{ has_consort_regency = no }random_owned_province:{仅限于:{ has_province_modifier = domain_of_spouses_family }remove_province_modifier = domain_of_spouses_family仅限于:{ has_ruler_flag = accepted_help_from_spouses_family }clr_ruler_flag = accepted_help_from_spouses_family仅限于:{ has_ruler_flag = helped_spouses_family }clr_ruler_flag = helped_spouses_family仅限于:{ has_ruler_flag = refused_to_help_spouses_family }clr_ruler_flag = refused_to_help_spouses_family仅限于:{ has_ruler_flag = has_lowborn_consort }random_owned_province:{仅限于:{ has_province_modifier = home_of_consort }remove_province_modifier = home_of_consort仅限于:{ has_ruler_flag = has_lowborn_consort }clr_ruler_flag = has_lowborn_consort仅限于:{ has_country_modifier = consort_adm_advice }remove_country_modifier = consort_adm_advice仅限于:{ has_country_modifier = consort_dip_advice }remove_country_modifier = consort_dip_advice仅限于:{ has_country_modifier = consort_mil_advice }remove_country_modifier = consort_mil_advice仅限于:{ has_country_modifier = without_spouse_advice }remove_country_modifier = without_spouse_advice仅限于:{ has_ruler_modifier = affectionate_royal_couple }remove_country_modifier = affectionate_royal_couple仅限于:{ has_ruler_modifier = bav_woman_scorned_mod }remove_country_modifier = bav_woman_scorned_mod仅限于:{ has_ruler_modifier = bav_building_wife_church }remove_country_modifier = bav_building_wife_churchclr_ruler_flag = marriage_length在新继承人出现时

on_new_heir:{在继承人弱宣称时

on_weak_heir_claim:{611::# Pretenders rise up在神权国需要继承人时no heir in theocracy

on_heir_needed_theocracy:{theocracy.1在继承(连任)神罗皇帝时# Emperor from same dynasty

on_successive_emperor:{emperor:{save_global_event_target_as = Emperor在选出了皇帝时# Called whenever a new emperor is elected# FROM = 前任皇帝# ROOT = 新皇帝

on_emperor_elected:{every_elector:{仅限于:{preferred_emperor = rootchange_variable:{which = supported_successive_emperorsvalue = 1else:{set_variable:{which = supported_successive_emperorsvalue = 0emperor:{save_global_event_target_as = EmperorFROM:{仅限于:{ has_country_modifier = diet_occupied }remove_country_modifier = diet_occupiedROOT:{add_country_modifier:{ name = diet_occupied duration = -1 }仅限于:{any_country:{reverse_has_opinion_modifier:{modifier = opinion_imperial_diplomacywho = prevevery_country:{仅限于:{reverse_has_opinion_modifier:{modifier = opinion_imperial_diplomacywho = prevreverse_remove_opinion:{modifier = opinion_imperial_diplomacywho = prevROOT:{add_opinion:{modifier = opinion_imperial_diplomacywho = prev在释放神罗成员时# HRE Prince released by the emperor

on_released_hre_member:{在神罗成员非官方宗教时# HRE Prince converts to non-Emperor religion

on_hre_member_false_religion:{在神罗成员改回官方宗教时# HRE Prince converts to Emperor religion

on_hre_member_true_religion:{在神罗赢得保卫战时# 皇帝赢得神罗防御战

on_hre_wins_defensive_war:{在神罗成员被吞并时# 神罗成员被非神罗国家吞并

on_hre_member_annexed:{在神罗成员被从域外附庸释放时# 神罗成员被从非神罗附庸释放

on_hre_released_vassal:{在神罗成员从域外转为皇帝的附庸时# 神罗成员被从非神罗附庸转移给皇帝

on_hre_transfered_vassal:{在神罗皇帝加入成员的防御战时# 皇帝加入成员的防御战

on_hre_defense:{在神罗皇帝不加入成员的防御战时# 皇帝不加入成员的防御战

on_hre_non_defense:{在神罗省份被收复时# 神罗成员在和约中夺取一个神罗省份,从一个域外国家(省份作用域)

on_hre_province_reconquest:{在确立神罗官方宗教时

on_lock_hre_religion:{religious_leagues.1religious_leagues.8在改变神罗宗教时

on_change_hre_religion:{religious_leagues.2religious_leagues.3在神罗宗教战争白和平时

on_hre_religion_white_peace:{religious_leagues.4在政府改变时# 当一个非土著国家改变政府类型时

on_government_change:{clr_country_flag = pirate_mutineer_councilclr_country_flag = caretaker_revolutionary_government仅限于:{不是:{ government = monarchy }any_owned_province:{has_province_modifier = domain_of_spouses_familyrandom_owned_province:{仅限于:{ has_province_modifier = domain_of_spouses_family }remove_province_modifier = domain_of_spouses_family仅限于:{不是:{ government = monarchy }any_owned_province:{has_province_modifier = home_of_consortrandom_owned_province:{仅限于:{ has_province_modifier = home_of_consort }remove_province_modifier = home_of_consort仅限于:{tag = ENGtag = GBRany_owned_province:{has_province_modifier = rotten_boroughevery_owned_province:{仅限于:{has_province_modifier = rotten_boroughremove_province_modifier = rotten_borough仅限于:{ has_country_modifier = the_reign_of_terror }remove_country_modifier = the_reign_of_terror仅限于:{has_global_flag = great_peasants_war_flagis_part_of_hre = yeshas_reform = peasants_republicchange_variable:{which = GPW_counting_variablevalue = -3在土著改变政府时# 当一个土著在满足它们的教改组而改变政府时。

on_native_change_government:{在整合联统国时# 国家在联合统治之后被整合(继承)

on_integrate:{在完全吞并国家时# 国家被吞并# FROM 是被吞并的国家

on_annexed:{celestial_empire_events.1 # Empire dismantledon_annexed_estate_privileges_effect = yesFROM:{仅限于:{ is_emperor_of_china = yes }dismantle_empire_of_china = yesset_global_flag = empire_of_china_dismantled仅限于:{ has_country_modifier = legatus_natus }remove_country_modifier = legatus_natusset_global_flag = no_legatus_natus仅限于:{ has_country_modifier = primas_germaniae }remove_country_modifier = primas_germaniaeset_global_flag = no_primas_germaniae在中国皇帝废除时# 当中国皇帝被废除时(例如,当皇帝被吞并时)# FROM = 皇帝,ROOT = 当前国家

on_chinese_empire_dismantled:{clear_global_event_target = EmperorOfChina在夺得天命时# 当一个国家获得天命时(成为中国皇帝)# FROM = 旧皇帝, ROOT = 新皇帝

on_mandate_of_heaven_gained:{save_global_event_target_as = EmperorOfChina仅限于:{technology_group = nomad_groupchange_technology_group = chinesechange_unit_type = chinese仅限于:{不是:{ government = monarchy }government = tribalchange_government_to_monarchy = yesadd_government_reform = celestial_empireset_mandate = 60set_meritocracy = 60add_country_modifier:{name = new_mandate_holderduration = 91251816:{仅限于:{不是:{ owned_by = root }不是:{ is_core = root }add_core = root1821:{仅限于:{不是:{ owned_by = root }不是:{ is_core = root }add_core = root667:{仅限于:{不是:{ owned_by = root }不是:{ is_core = root }add_core = rootchina_superregion:{仅限于:{不是:{ is_core = ROOT }add_permanent_claim = ROOT仅限于:{有DLC = \"Mandate of Heaven\"remove_faction = templesremove_faction = enuchsremove_faction = bureaucrats仅限于:{has_country_modifier = lost_mandate_of_heavenremove_country_modifier = lost_mandate_of_heavencountry_event:{ #Reforming the Bureaucracyid = china_events.31days = 365country_event:{id = china_events.32 #Records of the last Empiredays = 183country_event:{id = celestial_empire_events.2days = 1825在丢失天命时# 当一个国家失去天命时# FROM = 新皇帝, ROOT = 旧皇帝

on_mandate_of_heaven_lost:{remove_government_reform = celestial_empireset_government_rank = 2add_country_modifier:{name = lost_mandate_of_heavenduration = 7300:# 20 yearsadd_stability = -2china_superregion:{仅限于:{is_permanent_claim = ROOTremove_claim = ROOT仅限于:{has_country_modifier = new_mandate_holderremove_country_modifier = new_mandate_holder在拥抱革命时

on_embrace_revolution:{如果:{:仅限于:{any_subject_country:{has_country_modifier = colony_inspired_by_revolutionevery_subject_country:{remove_country_modifier = colony_inspired_by_revolution仅限于:{ 不是:{ government = republic } }change_government_to_republic = yes仅限于:{revolution_target_exists = nois_great_power = yesset_revolution_target = ROOTadd_government_reform = revolutionary_republic_reform仅限于:{any_country:{has_country_flag = last_revolutionary_countryevery_country:{仅限于:{has_country_flag = last_revolutionary_countryclr_country_flag = last_revolutionary_countryelse:{add_government_reform = junior_revolutionary_republic_reform仅限于:{ has_reform = parliamentary_reform }remove_government_reform = parliamentary_reformkill_ruler = yesset_country_flag = revolutionary_republic_flagset_country_flag = had_revolution在挫败革命时# THIS = 被击败的革命国家, FROM = 强制执行和平条约的国家

on_dismantle_revolution:{center_of_revolution.1500仅限于:{any_country:{has_country_flag = last_revolutionary_countryevery_country:{仅限于:{has_country_flag = last_revolutionary_countryclr_country_flag = last_revolutionary_countryset_country_flag = last_revolutionary_country在省份行政发展时

on_adm_development:{在省分外交发展时

on_dip_development:{在省份军事发展时

on_mil_development:{在过度扩张脉冲

on_overextension_pulse:{random_events:{ 过度扩张事件100 = overextension.1100 = overextension.2100 = overextension.3100 = overextension.4100 = overextension.5100 = overextension.6100 = overextension.7100 = overextension.8100 = overextension.9100 = overextension.10在殖民脉冲

on_colonial_pulse:{random_events:{ 殖民事件100 = colonial.1100 = colonial.2100 = colonial.3100 = colonial.4100 = colonial.5100 = colonial.8100 = colonial.9100 = colonial.10100 = colonial.11100 = colonial.12100 = colonial.13100 = colonial.14100 = colonial.15100 = colonial.16100 = colonial.17100 = colonial.1825 = dodo.115000 = 0在西伯利亚拓荒脉冲

on_siberian_pulse:{在双年脉冲# 国家随机事件

on_bi_yearly_pulse:{center_of_revolution.2950center_of_revolution.3000random_events:{# randomevents.txt 通用事件100 = 3051100 = 5008100 = 5014100 = 5015100 = 5017100 = 5018100 = 5019100 = 5020100 = 5021100 = 5022100 = 5023100 = 5024100 = 5025100 = 5027100 = 5032100 = 5040100 = 5045100 = 5050100 = 5051100 = 5052100 = 505310 = 5054100 = 5055100 = 5056100 = 5058100 = 5059100 = 5060100 = 5061100 = 5064100 = 5065100 = 5066100 = 5068100 = 5070100 = 5071100 = 5072100 = 5074100 = 5075100 = 5076100 = 5077100 = 5082100 = 5083100 = 5084100 = 5085100 = 5086100 = 5088100 = 5089100 = 5090100 = 5091100 = 5092100 = 5093100 = 5094100 = 509510 = 5096100 = 5097100 = 5098100 = 5099100 = 6000100 = 6001100 = 6003100 = 6004100 = 6005100 = 6006100 = 6012100 = 6013100 = 6015100 = 710100 = 711100 = 712100 = 713100 = 714100 = 715100 = 716100 = 717100 = 718100 = 719100 = 720100 = 722100 = 723100 = 724100 = 725100 = 726100 = 727100 = 728100 = 729100 = random_event.1300 = random_event.2100 = random_event.3100 = random_event.4100 = random_event.5100 = random_event.6100 = random_event.7100 = random_event.8150 = random_event.9100 = random_event.10100 = random_event.11100 = random_event.12100 = random_event.13100 = random_event.14100 = random_event.15100 = random_event.16100 = random_event.26#Culture and Religion Events 宫廷文化和宗教事件125 = culture_religion_events.1125 = culture_religion_events.3125 = culture_religion_events.4125 = culture_religion_events.5125 = culture_religion_events.6125 = culture_religion_events.7125 = culture_religion_events.8125 = culture_religion_events.9125 = culture_religion_events.10125 = culture_religion_events.11125 = culture_religion_events.12125 = culture_religion_events.13125 = culture_religion_events.14125 = culture_religion_events.15125 = culture_religion_events.16100 = culture_religion_events.17125 = culture_religion_events.18125 = culture_religion_events.19125 = culture_religion_events.20175 = culture_religion_events.21125 = culture_religion_events.22125 = culture_religion_events.23#马穆鲁克事件(政体事件)175 = mamluk_events.1175 = mamluk_events.2175 = mamluk_events.3235 = mamluk_events.4185 = mamluk_events.5175 = mamluk_events.6250 = mamluk_events.7185 = mamluk_events.10185 = mamluk_events.11235 = mamluk_events.12#西伯利亚的殖民化 西伯利亚殖民事件125 = siberian_events.2125 = siberian_events.3125 = siberian_events.4125 = siberian_events.5125 = siberian_events.6#俄罗斯公国事件100 = russian_principality_events.1125 = russian_principality_events.2125 = russian_principality_events.3125 = russian_principality_events.4125 = russian_principality_events.6125 = russian_principality_events.5125 = russian_principality_events.7100 = russian_principality_events.875 = russian_principality_events.9125 = russian_principality_events.10#俄罗斯沙皇国事件125 = russian_tsardom_events.1125 = russian_tsardom_events.2125 = russian_tsardom_events.3100 = russian_tsardom_events.4125 = russian_tsardom_events.5100 = russian_tsardom_events.6100 = russian_tsardom_events.7100 = russian_tsardom_events.8125 = russian_tsardom_events.9125 = russian_tsardom_events.10100 = russian_tsardom_events.11#射击军事件125 = streltsy_events.1125 = streltsy_events.3125 = streltsy_events.4125 = streltsy_events.5100 = streltsy_events.6#东正教都主教事件125 = patriarch_events.1125 = patriarch_events.2125 = patriarch_events.375 = patriarch_events.475 = patriarch_events.5# 旧的中央集权/分权 稳定度事件#806100 = 806# 重商主义 贸易事件100 = 6326100 = 6327100 = 6328100 = 6329# 贸易特有的 贸易事件100 = trade.1100 = trade.2100 = trade.3100 = trade.4100 = trade.5100 = trade.6100 = trade.7100 = trade.8100 = trade.9100 = trade.10100 = trade.11100 = trade.12# 天主教事件100 = catholic_flavor.4100 = catholic_flavor.5100 = catholic_flavor.6100 = catholic_flavor.7100 = catholic_flavor.8100 = catholic_flavor.9100 = catholic_flavor.10# 商品事件100 = 6418100 = 6419100 = 6420100 = 6421100 = 6422100 = 6423100 = 6424100 = 6425100 = 6426100 = 6427100 = 6428100 = 6429100 = 6431100 = 6432100 = 6433100 = 6434# 改革,当有议会时。 改革事件100 = reforms.1100 = reforms.2100 = reforms.3100 = reforms.4

草原游牧事件100 = randomeventsstapehordes.1100 = randomeventsstapehordes.2100 = randomeventsstapehordes.3100 = randomeventsstapehordes.4100 = randomeventsstapehordes.5100 = randomeventsstapehordes.6100 = randomeventsstapehordes.7100 = randomeventsstapehordes.8100 = randomeventsstapehordes.13100 = randomeventsstapehordes.14100 = randomeventsstapehordes.17100 = randomeventsstapehordes.19100 = randomeventsstapehordes.20100 = randomeventsstapehordes.21100 = randomeventsstapehordes.22100 = randomeventsstapehordes.23100 = randomeventsstapehordes.24# 水手事件100 = sailor_event.1100 = sailor_event.2100 = sailor_event.3100 = sailor_event.4100 = sailor_event.5# 腐败度事件100 = corruption_event.16100 = corruption_event.17100 = corruption_event.18100 = corruption_event.19100 = corruption_event.20# 贸易联盟事件100 = trade_league.1100 = trade_league.2100 = trade_league.3100 = trade_league.4100 = trade_league.7100 = trade_league.8100 = trade_league.9100 = trade_league.10100 = trade_league.11100 = trade_league.12100 = trade_league.13100 = trade_league.14# 思潮事件#封建主义传播事件:150 = institution_events.8150 = institution_events.9150 = institution_events.10150 = institution_events.11#全球贸易传播事件:150 = institution_events.50150 = institution_events.51150 = institution_events.52#启蒙运动传播事件:150 = institution_events.70150 = institution_events.71150 = institution_events.72


#特质事件50 = personality_events.10 #Just Dilema50 = personality_events.11 #A righteous King50 = personality_events.12 #A Righteous Republican Ruler50 = personality_events.1350 = personality_events.1450 = personality_events.1550 = personality_events.1650 = personality_events.1750 = personality_events.1850 = personality_events.1950 = personality_events.2050 = personality_events.2150 = personality_events.2250 = personality_events.2350 = personality_events.2450 = personality_events.2550 = personality_events.2650 = personality_events.2750 = personality_events.2850 = personality_events.2950 = personality_events.3050 = personality_events.3150 = personality_events.3250 = personality_events.3350 = personality_events.3450 = personality_events.3550 = personality_events.3650 = personality_events.3750 = personality_events.3850 = personality_events.3950 = personality_events.4050 = personality_events.4150 = personality_events.4250 = personality_events.4350 = personality_events.4450 = personality_events.4550 = personality_events.4650 = personality_events.4750 = personality_events.4850 = personality_events.4950 = personality_events.5050 = personality_events.5150 = personality_events.5250 = personality_events.5350 = personality_events.5450 = personality_events.5550 = personality_events.5650 = personality_events.5750 = personality_events.58#工业革命 工业化事件200 = industrialization_events.7200 = industrialization_events.8200 = industrialization_events.9200 = industrialization_events.10200 = industrialization_events.11200 = industrialization_events.12200 = industrialization_events.13200 = industrialization_events.14200 = industrialization_events.15200 = industrialization_events.16200 = industrialization_events.17200 = industrialization_events.18200 = industrialization_events.19200 = industrialization_events.20200 = industrialization_events.21200 = industrialization_events.22#儒教事件75 = confucian_events.1975 = confucian_events.20# 东正教圣像事件75 = orthodox_icon_events.175 = orthodox_icon_events.375 = orthodox_icon_events.475 = orthodox_icon_events.575 = orthodox_icon_events.62000 = 0 #was 1250在双年脉冲2

on_bi_yearly_pulse_2:{random_events:{腐败度事件100 = corruption_event.1100 = corruption_event.2100 = corruption_event.3100 = corruption_event.4100 = corruption_event.5100 = corruption_event.6100 = corruption_event.7100 = corruption_event.8100 = corruption_event.9100 = corruption_event.10200 = corruption_event.11200 = corruption_event.12200 = corruption_event.13200 = corruption_event.14200 = corruption_event.154000 = 0在双年脉冲3

on_bi_yearly_pulse_3:{#Fire estate agenda if you have that privilege# NOTE DOING THIS THROUGH RANDOM EVENT NOW WITH estate_privileges_and_agendas_events.4 INSTEAD!#on_bi_yearly_pulse_estate_privileges_effect = yes事件:{穆斯林学派事件#muslim_school_events.20muslim_school_events.20 #选择学派random_events:{100 = new_court_flavour_events.21 #religious resignation100 = new_court_flavour_events.25 #blood is thicker than water200 = 0在双年脉冲4

on_bi_yearly_pulse_4:{random_events:{ #all these were shifted from on_bi_yearly_pulse_1#随机事件100 = 730100 = 731100 = 732100 = 733100 = 734100 = 735100 = 736100 = 737100 = 738100 = 739100 = 740100 = 741100 = 742100 = 850100 = 851100 = 852100 = 853100 = 854100 = 855100 = 857100 = 858100 = 859100 = 860100 = 861100 = 862100 = 863100 = 864100 = 865100 = 866100 = 867100 = 868100 = 869100 = 870100 = 871100 = 872100 = 873100 = 874100 = 875100 = 876100 = 877100 = 878100 = 879100 = 880100 = 881100 = 882100 = 883100 = 884100 = 885100 = 836100 = 837100 = 838100 = 9472100 = 3097100 = 5005100 = 5026100 = 5037100 = 5063100 = 6014# 圣公宗事件100 = anglican_events.1100 = anglican_events.2100 = anglican_events.3100 = anglican_events.4100 = anglican_events.5100 = anglican_events.6100 = anglican_events.7100 = anglican_events.8100 = anglican_events.9100 = anglican_events.10100 = anglican_events.11100 = anglican_events.12100 = anglican_events.13150 = anglican_events.15# 胡斯派事件100 = hussite.1100 = hussite.2100 = hussite.3100 = hussite.4100 = hussite.5100 = hussite.6100 = hussite.7# 创新度事件100 = innovativeness_events.1100 = innovativeness_events.250 = innovativeness_events.3100 = innovativeness_events.4100 = innovativeness_events.5100 = innovativeness_events.6100 = innovativeness_events.7100 = innovativeness_events.8100 = innovativeness_events.9100 = innovativeness_events.10100 = innovativeness_events.11100 = innovativeness_events.12100 = innovativeness_events.13100 = innovativeness_events.14100 = innovativeness_events.15# 贸易公司投资 投资事件100 = investment_events.1100 = investment_events.2100 = investment_events.3100 = investment_events.4100 = investment_events.5100 = investment_events.6100 = investment_events.7100 = investment_events.8100 = investment_events.9100 = investment_events.10# 天主教 修会事件100 = order_events.1100 = order_events.2100 = order_events.3100 = order_events.4100 = order_events.5100 = order_events.6100 = order_events.7100 = order_events.8100 = order_events.9# 驱逐少数族群事件100 = expel_minority_events.1100 = expel_minority_events.2100 = expel_minority_events.3100 = expel_minority_events.4100 = expel_minority_events.5# 教廷什一税事件100 = curia.1100 = curia.2100 = curia.4100 = curia.9:100 = curia.10100 = curia.11100 = curia.12# 信仰守护者100 = dotf.1100 = dotf.4100 = dotf.6100 = dotf.7# 雇佣兵100 = mercs.1100 = mercs.2100 = mercs.3100 = mercs.4100 = mercs.7100 = mercs.7100 = mercs.8100 = mercs.10100 = mercs.11# 间谍理念组事件100 = espionage_events.1100 = espionage_events.4100 = espionage_events.880 = espionage_events.9#法国恐怖统治150 = french_revolution.302100 = french_revolution.303# 教廷事件100 = papacy_events.6# 陆军职业度事件100 = army_professionalism_events.4100 = army_professionalism_events.575 = army_professionalism_events.6100 = army_professionalism_events.8100 = army_professionalism_events.9100 = army_professionalism_events.10100 = army_professionalism_events.1175 = army_professionalism_events.12100 = army_professionalism_events.1375 = army_professionalism_events.16# 来自阶层的议程1000 = estate_privileges_and_agendas_events.42000 = 0在三年脉冲# 国家随机事件

on_thri_yearly_pulse:{random_events:{# 共和制事件100 = republics.4100 = republics.5100 = republics.6100 = republics.7100 = republics.8100 = republics.9100 = republics.10100 = republics.11100 = republics.12100 = republics.13100 = republics.14100 = republics.15100 = republics.16100 = republics.17100 = republics.18100 = republics.19100 = republics.20100 = republics.21100 = republics.22100 = republics.23100 = republics.24100 = republics.25100 = republics.26100 = republics.27100 = republics.28100 = republics.29100 = republics.30100 = republics.31100 = republics.32100 = republics.33100 = republics.34100 = republics.35100 = republics.36100 = republics.37100 = republics.38100 = republics.39100 = republics.40100 = republics.41100 = republics.42100 = republics.43# 神权制 奉献度事件100 = devotion_events.1100 = devotion_events.2100 = devotion_events.3100 = devotion_events.4100 = devotion_events.5100 = devotion_events.6100 = devotion_events.7100 = devotion_events.8100 = devotion_events.9100 = devotion_events.10100 = devotion_events.11100 = devotion_events.12100 = devotion_events.13100 = devotion_events.14100 = devotion_events.15100 = devotion_events.16100 = devotion_events.18100 = devotion_events.19100 = devotion_events.22100 = devotion_events.23100 = devotion_events.24100 = devotion_events.26100 = devotion_events.100100 = devotion_events.101100 = devotion_events.102100 = devotion_events.104100 = devotion_events.107100 = devotion_events.110100 = devotion_events.117100 = devotion_events.118100 = devotion_events.119100 = devotion_events.200100 = devotion_events.201100 = devotion_events.202100 = devotion_events.203100 = devotion_events.204100 = devotion_events.205100 = devotion_events.207100 = devotion_events.208100 = devotion_events.209100 = devotion_events.210100 = devotion_events.211100 = devotion_events.212100 = devotion_events.213100 = devotion_events.214100 = devotion_events.215100 = devotion_events.216100 = devotion_events.217100 = devotion_events.218100 = devotion_events.219# 日本大名 日本事件15 = flavor_jap.1050 = flavor_jap.28100 = flavor_jap.40100 = flavor_jap.42100 = flavor_jap.43100 = flavor_jap.45100 = flavor_jap.49100 = flavor_jap.51100 = flavor_jap.52100 = flavor_jap.53100 = flavor_jap.54100 = flavor_jap.55


# 中国 贤能值事件 天朝派系事件75 = meritocracy_events.175 = meritocracy_events.275 = meritocracy_events.375 = meritocracy_events.475 = meritocracy_events.550 = china_events.1125 = china_events.1225 = china_events.24#革命中心 - post-spawn (比其他更高的权重,因为它们只是短暂的相关)200 = center_of_revolution.1150 = center_of_revolution.2200 = center_of_revolution.3200 = center_of_revolution.8250 = center_of_revolution.9250 = center_of_revolution.10200 = center_of_revolution.12#革命中心 - pre-spawn100 = center_of_revolution.2000100 = center_of_revolution.2002100 = center_of_revolution.2003100 = center_of_revolution.20101000 = 0在三年脉冲2

on_thri_yearly_pulse_2:{random_events:{# 随机增加或减少牧首权威。 东正教事件25 = orthodox_flavor.120 = orthodox_flavor.225 = orthodox_flavor.325 = orthodox_flavor.425 = orthodox_flavor.5# 穆斯林虔诚事件40 = muslim_piety.140 = muslim_piety.240 = muslim_piety.320 = muslim_piety.420 = muslim_piety.540 = muslim_piety.640 = muslim_piety.740 = muslim_piety.840 = muslim_piety.940 = muslim_piety.1040 = muslim_piety.1140 = muslim_piety.1240 = muslim_piety.1340 = muslim_piety.1440 = muslim_piety.1540 = muslim_piety.1640 = muslim_piety.22300 = 0在三年脉冲3

on_thri_yearly_pulse_3:{random_events:{# 附属国互动事件50 = subject_interaction_events.150 = subject_interaction_events.450 = subject_interaction_events.550 = subject_interaction_events.650 = subject_interaction_events.750 = subject_interaction_events.950 = subject_interaction_events.1150 = subject_interaction_events.1450 = subject_interaction_events.1550 = subject_interaction_events.1750 = subject_interaction_events.1850 = subject_interaction_events.1950 = subject_interaction_events.2050 = subject_interaction_events.2150 = subject_interaction_events.2250 = subject_interaction_events.2350 = subject_interaction_events.2450 = subject_interaction_events.2550 = subject_interaction_events.2650 = subject_interaction_events.2750 = subject_interaction_events.2950 = subject_interaction_events.3050 = subject_interaction_events.3150 = subject_interaction_events.3250 = subject_interaction_events.3450 = subject_interaction_events.3550 = subject_interaction_events.3650 = subject_interaction_events.3850 = subject_interaction_events.4050 = subject_interaction_events.4375 = tributary_events.175 = tributary_events.275 = tributary_events.375 = tributary_events.475 = tributary_events.575 = tributary_events.675 = tributary_events.775 = tributary_events.875 = tributary_events.975 = tributary_events.1075 = tributary_events.1375 = tributary_events.1675 = tributary_events.1775 = tributary_events.1875 = tributary_events.1975 = tributary_events.2375 = tributary_events.2475 = tributary_events.2675 = tributary_events.2575 = tributary_events.271000 = 0在三年脉冲4

on_thri_yearly_pulse_4:{random_events:{#低天命事件 天朝派系事件10 = china_events.4510 = china_events.4650 = china_events.4710 = china_events.4810 = china_events.4910 = china_events.5050 = china_events.5110 = china_events.5210 = china_events.5350 = china_events.54#10 = china_events.55 (通过邻国触发)10 = china_events.5675 = china_events.5750 = china_events.5810 = china_events.5950 = china_events.60在四年脉冲

on_four_year_pulse:{random_events:{# 殖民领事件100 = colonial_nation.1100 = colonial_nation.4100 = colonial_nation.10100 = colonial_nation.12100 = colonial_nation.14100 = colonial_nation.77100 = colonial_nation.100100 = colonial_nation.102100 = colonial_nation.104100 = colonial_nation.106100 = colonial_nation.108100 = colonial_nation.110100 = colonial_nation.112100 = colonial_nation.114100 = colonial_nation.116100 = colonial_nation.118100 = colonial_nation.120100 = colonial_nation.122100 = colonial_nation.124100 = colonial_nation.126100 = colonial_nation.128100 = colonial_nation.130100 = colonial_nation.132100 = colonial_nation.13410 = colonial_nation.14010 = colonial_nation.14210 = colonial_nation.14410 = colonial_nation.14610 = colonial_nation.14810 = colonial_nation.15010 = colonial_nation.15210 = colonial_nation.15410 = colonial_nation.15610 = colonial_nation.15810 = colonial_nation.16010 = colonial_nation.16210 = colonial_nation.16410 = colonial_nation.16610 = colonial_nation.16810 = colonial_nation.17010 = colonial_nation.17210 = colonial_nation.17410 = colonial_nation.176# 荷兰共和制 尼德兰事件100 = dutch_republic.1100 = dutch_republic.2100 = dutch_republic.3100 = dutch_republic.4100 = dutch_republic.5100 = dutch_republic.6100 = dutch_republic.7100 = dutch_republic.8100 = dutch_republic.9100 = dutch_republic.10150 = dutch_republic.11100 = dutch_republic.13100 = dutch_republic.14100 = dutch_republic.15100 = dutch_republic.16100 = dutch_republic.17100 = dutch_republic.18100 = dutch_republic.19100 = dutch_republic.20100 = dutch_republic.21100 = dutch_republic.22100 = dutch_republic.23100 = dutch_republic.24100 = dutch_republic.25100 = dutch_republic.27# 共和制派系事件100 = republic_factions.2100 = republic_factions.5100 = republic_factions.7100 = republic_factions.9100 = republic_factions.10100 = republic_factions.12100 = republic_factions.13100 = republic_factions.14100 = republic_factions.15100 = republic_factions.16100 = republic_factions.17100 = republic_factions.18100 = republic_factions.19100 = republic_factions.20100 = republic_factions.22100 = republic_factions.23100 = republic_factions.24# 革命共和制派系事件100 = revolutionary_republic_factions.0100 = revolutionary_republic_factions.1100 = revolutionary_republic_factions.2100 = revolutionary_republic_factions.3100 = revolutionary_republic_factions.4100 = revolutionary_republic_factions.5100 = revolutionary_republic_factions.6100 = revolutionary_republic_factions.7100 = revolutionary_republic_factions.8100 = revolutionary_republic_factions.9# 革命帝国事件100 = napoleon.1100 = napoleon.2# 海盗派系事件 海盗事件100 = pirates.10100 = pirates.11100 = pirates.12100 = pirates.13100 = pirates.14100 = pirates.15100 = pirates.16100 = pirates.17100 = pirates.18100 = pirates.19# 独裁共和制事件100 = republican_dictatorship.1100 = republican_dictatorship.2100 = republican_dictatorship.3100 = republican_dictatorship.4100 = republican_dictatorship.5100 = republican_dictatorship.6100 = republican_dictatorship.7100 = republican_dictatorship.8# 选举君主制事件150 = elective_monarchy.1150 = elective_monarchy.225 = elective_monarchy.325 = elective_monarchy.4150 = elective_monarchy.6150 = elective_monarchy.8150 = elective_monarchy.9150 = elective_monarchy.10150 = elective_monarchy.11150 = elective_monarchy.12150 = elective_monarchy.14150 = elective_monarchy.1725 = elective_monarchy.18# 自由市事件25 = free_cities.325 = free_cities.825 = free_cities.1025 = free_cities.1325 = free_cities.1725 = free_cities.19#部落联盟事件50 = tribal_federation_events.150 = tribal_federation_events.250 = tribal_federation_events.350 = tribal_federation_events.450 = tribal_federation_events.550 = tribal_federation_events.650 = tribal_federation_events.750 = tribal_federation_events.850 = tribal_federation_events.10#中华帝国 天朝派系事件100 = china_events.1100 = china_events.2100 = china_events.3100 = china_events.475 = china_events.5100 = china_events.6100 = china_events.7100 = china_events.8100 = china_events.9100 = china_events.10100 = china_events.11100 = china_events.12100 = china_events.13100 = china_events.14100 = china_events.15100 = china_events.16100 = china_events.17100 = china_events.18100 = china_events.19100 = china_events.20100 = china_events.21100 = china_events.22100 = china_events.23100 = china_events.24100 = china_events.25100 = china_events.26100 = china_events.27100 = china_events.28100 = china_events.29100 = china_events.30100 = china_events.33100 = china_events.34100 = china_events.35100 = china_events.36100 = china_events.37100 = china_events.38100 = china_events.3950 = china_events.40100 = china_events.41100 = china_events.42100 = china_events.4410 = tortoise.1 # 加拉帕戈斯岛象龟1000 = 0在四年脉冲2

on_four_year_pulse_2:{在四年脉冲3

on_four_year_pulse_3:{在四年脉冲4

on_four_year_pulse_4:{在五年脉冲

on_five_year_pulse:{random_events:{# 创新度事件100 = innovativeness_events.1# 贵族理念组事件 13个(8好 5坏)100 = ideagroups.100100 = ideagroups.101100 = ideagroups.102100 = ideagroups.103100 = ideagroups.104100 = ideagroups.105100 = ideagroups.106100 = ideagroups.107100 = ideagroups.108100 = ideagroups.109100 = ideagroups.110100 = ideagroups.111100 = ideagroups.112


# 财阀理念组事件 19个(12好 7坏)100 = ideagroups.200100 = ideagroups.201100 = ideagroups.202100 = ideagroups.203100 = ideagroups.204100 = ideagroups.205100 = ideagroups.206100 = ideagroups.207100 = ideagroups.208100 = ideagroups.209100 = ideagroups.210100 = ideagroups.211100 = ideagroups.212100 = ideagroups.213100 = ideagroups.214100 = ideagroups.215100 = ideagroups.216100 = ideagroups.217100 = ideagroups.218# 革新理念组事件 11个(7好 4坏)100 = ideagroups.300100 = ideagroups.301100 = ideagroups.302100 = ideagroups.303100 = ideagroups.304100 = ideagroups.305100 = ideagroups.306100 = ideagroups.307100 = ideagroups.308100 = ideagroups.309100 = ideagroups.310# 宗教理念组事件 18个(11好 7坏)100 = ideagroups.400100 = ideagroups.401100 = ideagroups.402100 = ideagroups.403100 = ideagroups.404100 = ideagroups.405100 = ideagroups.406100 = ideagroups.407100 = ideagroups.408100 = ideagroups.409100 = ideagroups.410100 = ideagroups.411100 = ideagroups.412100 = ideagroups.413100 = ideagroups.414100 = ideagroups.415100 = ideagroups.416100 = ideagroups.417


# 间谍理念组事件 9个(6好 3坏)100 = ideagroups.500100 = ideagroups.501100 = ideagroups.502100 = ideagroups.503100 = ideagroups.504100 = ideagroups.505100 = ideagroups.506100 = ideagroups.507100 = ideagroups.508


# 外交理念组事件 9个(6好 3坏)100 = ideagroups.600100 = ideagroups.601100 = ideagroups.602100 = ideagroups.603100 = ideagroups.604100 = ideagroups.605100 = ideagroups.606100 = ideagroups.607100 = ideagroups.608


# 进攻理念组事件 14个(9好 5坏)100 = ideagroups.700100 = ideagroups.701100 = ideagroups.702100 = ideagroups.703100 = ideagroups.704100 = ideagroups.705100 = ideagroups.706100 = ideagroups.707100 = ideagroups.708100 = ideagroups.709100 = ideagroups.710100 = ideagroups.711100 = ideagroups.712100 = ideagroups.713


# 防御理念组事件 11个(5好 6坏)100 = ideagroups.800100 = ideagroups.801100 = ideagroups.802100 = ideagroups.803100 = ideagroups.804100 = ideagroups.805100 = ideagroups.806100 = ideagroups.807100 = ideagroups.808100 = ideagroups.809100 = ideagroups.810100 = ideagroups.811100 = ideagroups.812100 = ideagroups.813100 = ideagroups.814100 = ideagroups.815


# 贸易理念组事件 11个(7好 4坏)100 = ideagroups.900100 = ideagroups.901100 = ideagroups.902100 = ideagroups.903100 = ideagroups.904100 = ideagroups.905100 = ideagroups.906100 = ideagroups.907100 = ideagroups.908100 = ideagroups.909100 = ideagroups.910# 航海理念组事件 22个(14好 8坏)100 = ideagroups.1000100 = ideagroups.1001100 = ideagroups.1002100 = ideagroups.1003100 = ideagroups.1004100 = ideagroups.1005100 = ideagroups.1006100 = ideagroups.1007100 = ideagroups.1008100 = ideagroups.1009100 = ideagroups.1010100 = ideagroups.1011100 = ideagroups.1012100 = ideagroups.1013100 = ideagroups.1014100 = ideagroups.1015100 = ideagroups.1016100 = ideagroups.1017100 = ideagroups.1018100 = ideagroups.1019100 = ideagroups.1020100 = ideagroups.1021# 经济理念组事件 11个(7好 4坏)100 = ideagroups.1100100 = ideagroups.1101100 = ideagroups.1102100 = ideagroups.1103100 = ideagroups.1104100 = ideagroups.1105100 = ideagroups.1106100 = ideagroups.1107100 = ideagroups.1108100 = ideagroups.1109100 = ideagroups.1110# 探索理念组事件 11个(7好 4坏)100 = ideagroups.1200100 = ideagroups.1201100 = ideagroups.1202100 = ideagroups.1203100 = ideagroups.1204100 = ideagroups.1205100 = ideagroups.1206100 = ideagroups.1207100 = ideagroups.1208100 = ideagroups.1209100 = ideagroups.1210# 质量理念组事件 11个(7好 4坏)100 = ideagroups.1300100 = ideagroups.1301100 = ideagroups.1302100 = ideagroups.1303100 = ideagroups.1304100 = ideagroups.1305100 = ideagroups.1306100 = ideagroups.1307100 = ideagroups.1308100 = ideagroups.1309100 = ideagroups.1310# 数量理念组事件 11个(7好 4坏)100 = ideagroups.1400100 = ideagroups.1401100 = ideagroups.1402100 = ideagroups.1403100 = ideagroups.1404100 = ideagroups.1405100 = ideagroups.1406100 = ideagroups.1407100 = ideagroups.1408100 = ideagroups.1409100 = ideagroups.1410


# 扩张理念组事件 11个(7好 4坏)100 = ideagroups.1500100 = ideagroups.1501100 = ideagroups.1502100 = ideagroups.1503100 = ideagroups.1504100 = ideagroups.1505100 = ideagroups.1506100 = ideagroups.1507100 = ideagroups.1508100 = ideagroups.1509100 = ideagroups.1510# 行政理念组事件 11个(7好 4坏)100 = ideagroups.1600100 = ideagroups.1601100 = ideagroups.1602100 = ideagroups.1603100 = ideagroups.1604100 = ideagroups.1605100 = ideagroups.1606100 = ideagroups.1607100 = ideagroups.1608100 = ideagroups.1609100 = ideagroups.1610# 海军理念组事件 11个(7好 4坏)100 = ideagroups.1700100 = ideagroups.1701100 = ideagroups.1702100 = ideagroups.1703100 = ideagroups.1704100 = ideagroups.1705100 = ideagroups.1706100 = ideagroups.1707100 = ideagroups.1708100 = ideagroups.1709100 = ideagroups.1710# 影响理念组事件 11个(7好 4坏)100 = ideagroups.1800100 = ideagroups.1801100 = ideagroups.1802100 = ideagroups.1803100 = ideagroups.1804100 = ideagroups.1805100 = ideagroups.1806100 = ideagroups.1807100 = ideagroups.1808100 = ideagroups.1809100 = ideagroups.1810# 人文理念组事件 11个(7好 4坏)100 = ideagroups.1900100 = ideagroups.1901100 = ideagroups.1902100 = ideagroups.1903100 = ideagroups.1904100 = ideagroups.1905100 = ideagroups.1906100 = ideagroups.1907100 = ideagroups.1908100 = ideagroups.1909100 = ideagroups.19101000 = 0事件:{ 黄金七城事件#seven_cities_events.1000seven_cities_events.1000 #清除七城的搜寻,当目标不再可能时在五年脉冲2# 阶层脉冲

on_five_year_pulse_2:{random_events:{# 市民 阶层事件100 = burghers_estate_events.1100 = burghers_estate_events.2100 = burghers_estate_events.3100 = burghers_estate_events.4100 = burghers_estate_events.5100 = burghers_estate_events.6100 = burghers_estate_events.7100 = burghers_estate_events.8100 = burghers_estate_events.9400 = burghers_estate_events.10 #要求100 = burghers_estate_events.11 #Bonus100 = burghers_estate_events.12100 = burghers_estate_events.13400 = burghers_estate_events.14 #要求100 = burghers_estate_events.15 #不忠# 贵族 阶层事件100 = nobles_estate_events.1 #要求100 = nobles_estate_events.2100 = nobles_estate_events.3100 = nobles_estate_events.4400 = nobles_estate_events.5 #要求100 = nobles_estate_events.6100 = nobles_estate_events.7400 = nobles_estate_events.8 #不忠400 = nobles_estate_events.9 #不忠50 = nobles_estate_events.10100 = nobles_estate_events.11 #Bonus# 教士 阶层事件100 = church_estate_events.1#区域变体:100 = church_estate_events.101100 = church_estate_events.102100 = church_estate_events.103100 = church_estate_events.104100 = church_estate_events.105100 = church_estate_events.2100 = church_estate_events.3100 = church_estate_events.4400 = church_estate_events.5 #不忠400 = church_estate_events.6 #要求100 = church_estate_events.7 #Bonus100 = church_estate_events.8100 = church_estate_events.9100 = church_estate_events.10100 = dhimmi_estate_events.1400 = dhimmi_estate_events.2 #要求100 = dhimmi_estate_events.3100 = dhimmi_estate_events.4100 = dhimmi_estate_events.5100 = dhimmi_estate_events.6400 = dhimmi_estate_events.7 #不忠100 = dhimmi_estate_events.8# 哥萨克100 = cossack_estate_events.1#100 = cossack_estate_events.2 (触发器在邻国)100 = cossack_estate_events.6100 = cossack_estate_events.7100 = cossack_estate_events.8100 = cossack_estate_events.9100 = cossack_estate_events.10100 = cossack_estate_events.11400 = cossack_estate_events.12 #不忠100 = cossack_estate_events.13400 = cossack_estate_events.14 #要求100 = tribal_estate_events.1100 = tribal_estate_events.2100 = tribal_estate_events.3100 = tribal_estate_events.4100 = tribal_estate_events.5100 = tribal_estate_events.6100 = tribal_estate_events.7100 = tribal_estate_events.8100 = tribal_estate_events.9150 = tribal_estate_events.11 #要求150 = tribal_estate_events.12 #要求150 = tribal_estate_events.13 #要求150 = tribal_estate_events.14 #要求# 马拉塔100 = marathas_estate_events.2100 = marathas_estate_events.3100 = marathas_estate_events.4100 = marathas_estate_events.5100 = marathas_estate_events.6400 = marathas_estate_events.7 # 要求100 = marathas_estate_events.8100 = marathas_estate_events.9100 = marathas_estate_events.10400 = marathas_estate_events.11 # 不忠# 婆罗门400 = brahmins_estate_events.2 # 要求100 = brahmins_estate_events.3100 = brahmins_estate_events.4100 = brahmins_estate_events.5400 = brahmins_estate_events.6 # 不忠100 = brahmins_estate_events.7100 = brahmins_estate_events.8100 = brahmins_estate_events.9100 = brahmins_estate_events.10100 = brahmins_estate_events.11# 耆那教徒100 = jains_estate_events.2100 = jains_estate_events.3100 = jains_estate_events.4100 = jains_estate_events.5100 = jains_estate_events.6100 = jains_estate_events.7400 = jains_estate_events.8 # 不忠100 = jains_estate_events.9400 = jains_estate_events.10 # 要求100 = jains_estate_events.11100 = vaisyas_estate_events.2100 = vaisyas_estate_events.3100 = vaisyas_estate_events.4100 = vaisyas_estate_events.5100 = vaisyas_estate_events.6100 = vaisyas_estate_events.7100 = vaisyas_estate_events.8400 = vaisyas_estate_events.9100 = vaisyas_estate_events.10100 = vaisyas_estate_events.11# 拉杰普特100 = rajputs_estate_events.2100 = rajputs_estate_events.3100 = rajputs_estate_events.4100 = rajputs_estate_events.5400 = rajputs_estate_events.6100 = rajputs_estate_events.7400 = rajputs_estate_events.8100 = rajputs_estate_events.9100 = rajputs_estate_events.10100 = rajputs_estate_events.115 = flavor_fra.95001000 = 0在五年脉冲3

on_five_year_pulse_3:{random_events:{ 传播宗教事件100 = propagate_religion_events.1100 = propagate_religion_events.2100 = propagate_religion_events.3100 = propagate_religion_events.4100 = propagate_religion_events.5100 = propagate_religion_events.6100 = propagate_religion_events.8100 = propagate_religion_events.9100 = propagate_religion_events.10#100 = propagate_religion_events.11 #省份事件1000 = 0在五年脉冲4

on_five_year_pulse_4:{如果:{ #fail-safe for flavor_pap.7, making religious leagues happen at some point if there is no PAP仅限于:{is_year = 1610不是:{ exists = PAP }不是:{ has_global_flag = counter_reformation }set_global_flag = counter_reformation#fail-safe if for whatever reason these flags stay after being used in events仅限于:{had_country_flag:{flag = advisor_events_admdays = 720clr_country_flag = advisor_events_adm仅限于:{had_country_flag:{flag = advisor_events_dipdays = 720clr_country_flag = advisor_events_dip仅限于:{had_country_flag:{flag = advisor_events_mildays = 720clr_country_flag = advisor_events_mil在探索海岸时# El Dorado

on_explore_coast:{random_events:{ 探索事件10 = exploration_events.110 = exploration_events.210 = exploration_events.310 = exploration_events.410 = exploration_events.510 = exploration_events.610 = exploration_events.710 = exploration_events.810 = exploration_events.910 = exploration_events.1010 = exploration_events.1110 = exploration_events.1210 = exploration_events.1310 = exploration_events.1410 = exploration_events.15在征服者探索空地时

on_conquistador_empty:{random_events:{ 黄金七城事件10 = seven_cities_events.110 = seven_cities_events.210 = seven_cities_events.310 = seven_cities_events.410 = seven_cities_events.510 = seven_cities_events.610 = seven_cities_events.710 = seven_cities_events.810 = seven_cities_events.10010 = seven_cities_events.10110 = seven_cities_events.10210 = seven_cities_events.10310 = seven_cities_events.10410 = seven_cities_events.10550 = seven_cities_events.20050 = seven_cities_events.20150 = seven_cities_events.20250 = seven_cities_events.20350 = seven_cities_events.20450 = seven_cities_events.20550 = seven_cities_events.20650 = seven_cities_events.20750 = seven_cities_events.20850 = seven_cities_events.20950 = seven_cities_events.21050 = seven_cities_events.21150 = seven_cities_events.21250 = seven_cities_events.21350 = seven_cities_events.21450 = seven_cities_events.21550 = seven_cities_events.21650 = seven_cities_events.21750 = seven_cities_events.21850 = seven_cities_events.21950 = seven_cities_events.22050 = seven_cities_events.22150 = seven_cities_events.22250 = seven_cities_events.22310 = seven_cities_events.30210 = seven_cities_events.30310 = seven_cities_events.30810 = seven_cities_events.30910 = seven_cities_events.40010 = seven_cities_events.40110 = seven_cities_events.40210 = seven_cities_events.40510 = seven_cities_events.40610 = seven_cities_events.40710 = seven_cities_events.40810 = seven_cities_events.40910 = seven_cities_events.41010 = seven_cities_events.41310 = seven_cities_events.4142000 = 0在征服者探索土著时

on_conquistador_native:{random_events:{ 黄金七城事件10 = seven_cities_events.30010 = seven_cities_events.30110 = seven_cities_events.30310 = seven_cities_events.30410 = seven_cities_events.30510 = seven_cities_events.30610 = seven_cities_events.30710 = seven_cities_events.30810 = seven_cities_events.30910 = seven_cities_events.310250 = 0在通过美洲宗教改革时

on_buy_religious_reform:{事件:{ 宗教改革事件religious_reforms.1religious_reforms.2religious_reforms.3在环球航行时

on_circumnavigation:{事件:{ 探索事件exploration_events.17exploration_events.16 #欧洲第一次环球航行在成为自由市时

on_become_free_city:{事件:{ 自由市事件free_cities.1在移除自由市时

on_remove_free_city:{事件:{ 自由市事件free_cities.2在AI撤销阶层封地时

on_revoke_estate_land_ai:{ #AI can\'t handle the rebels atm or perform a gradual revoke, sorryadd_province_modifier:{name = revoked_estate_modifierduration = 5475 #15 years在撤销阶层封地时

on_revoke_estate_land:{add_province_modifier:{name = revoked_estate_modifierduration = 5475 #15 years仅限于:{has_estate = estate_cossacksowner:{estate_loyalty:{estate = estate_cossacksloyalty = 40spawn_rebels:{type = cossack_rebelssize = 1province_event:{ id = cossack_estate_events.15 }仅限于:{has_estate = estate_dhimmiowner:{estate_loyalty:{estate = estate_dhimmiloyalty = 40spawn_rebels:{type = religious_rebelssize = 1province_event:{ id = dhimmi_estate_events.9 }仅限于:{has_estate = estate_churchhas_owner_religion = yesowner:{estate_loyalty:{estate = estate_churchloyalty = 40spawn_rebels:{type = religious_rebelssize = 1province_event:{ id = church_estate_events.11 }仅限于:{has_estate = estate_churchhas_owner_religion = noowner:{estate_loyalty:{estate = estate_churchloyalty = 40spawn_rebels:{type = particularist_rebelssize = 1province_event:{ id = church_estate_events.11 }仅限于:{has_estate = estate_noblesowner:{estate_loyalty:{estate = estate_noblesloyalty = 40spawn_rebels:{type = noble_rebelssize = 1province_event:{ id = nobles_estate_events.12 }仅限于:{has_estate = estate_burghersowner:{estate_loyalty:{estate = estate_burghersloyalty = 40spawn_rebels:{type = particularist_rebelssize = 1province_event:{ id = burghers_estate_events.16 }仅限于:{has_estate = estate_nomadic_tribesowner:{estate_loyalty:{estate = estate_nomadic_tribesloyalty = 40spawn_rebels:{type = tribal_rebelssize = 1province_event:{ id = tribal_estate_events.10 }仅限于:{has_estate = estate_brahminsowner:{religion = hinduismestate_loyalty:{estate = estate_brahminsloyalty = 40spawn_rebels:{type = religious_rebelssize = 1province_event:{ id = brahmins_estate_events.1 }仅限于:{has_estate = estate_brahminsowner:{religion = hinduismestate_loyalty:{estate = estate_brahminsloyalty = 40spawn_rebels:{type = particularist_rebelssize = 1province_event:{ id = brahmins_estate_events.1 }仅限于:{has_estate = estate_vaisyasowner:{estate_loyalty:{estate = estate_vaisyasloyalty = 40spawn_rebels:{type = particularist_rebelssize = 1province_event:{ id = vaisyas_estate_events.1 }仅限于:{has_estate = estate_rajputowner:{estate_loyalty:{estate = estate_rajputloyalty = 40spawn_rebels:{type = noble_rebelssize = 1province_event:{ id = rajputs_estate_events.1 }仅限于:{has_estate = estate_jainsowner:{estate_loyalty:{estate = estate_jainsloyalty = 40spawn_rebels:{type = particularist_rebelssize = 1province_event:{ id = jains_estate_events.1 }仅限于:{has_estate = estate_marathaowner:{estate_loyalty:{estate = estate_marathaloyalty = 40spawn_rebels:{type = noble_rebelssize = 1province_event:{ id = marathas_estate_events.1 }在AI撤销阶层封地之后

on_revoke_estate_land_ai_post:{add_local_autonomy = 25on_revoke_estate_land_post:{add_local_autonomy = 25在授予阶层封地时

on_grant_estate_land:{仅限于:{has_province_modifier = revoked_estate_modifierremove_province_modifier = revoked_estate_modifier在君主死亡但是有后宫时

on_death_has_harem:{仅限于:{has_heir = nocountry_event:{ id = harem_events.2 }在从后宫选择继承人时

on_select_heir_from_harem:{在拜物教崇拜物改变时

on_fetishist_cult_change:{country_event:{ id = fetishist_flavor.302 days = 10 } #removing tomb if incompatible cult is pickedcountry_event:{ id = fetishist_flavor.304 days = 10 } #rebuilding tomb if lost仅限于:{has_country_flag = lost_ancestral_lands不是:{ has_adopted_cult = zanahary_cult }不是:{ has_adopted_cult = central_african_ancestor_cult }clr_country_flag = lost_ancestral_lands在获得列强地位时

on_gain_great_power_status:{仅限于:{不是:{ has_country_flag = became_great_power_flag }set_country_flag = became_great_power_flag在失去列强地位时

on_lose_great_power_status:{在省份宗教转换时

on_province_religion_converted:{on_province_religion_converted_estate_privileges_effect = yes在省份文化转换时

on_province_culture_converted:{在被贸易政策传教时# THIS = 省份, FROM = 传教的国家

on_convert_by_trade_policy:{仅限于:{trade_company_region = trade_company_moluccasFROM:{ is_defender_of_faith = yes }FROM:{仅限于:{ai = no不是:{ check_variable:{ which = religion_propagated_in_moluccas value = 1 } }set_variable:{which = religion_propagated_in_moluccas value = 1else_如果:{仅限于:{ai = nocheck_variable:{ which = religion_propagated_in_moluccas value = 1 }不是:{ check_variable:{ which = religion_propagated_in_moluccas value = 6 } }change_variable:{which = religion_propagated_in_moluccas value = 1在省份拥有者改变时# FROM = 旧拥有者

on_province_owner_change:{japan.1仅限于:{has_province_modifier = wine_bonus_prodhas_province_modifier = grain_bonus_prodFROM:{ has_reform = monastic_breweries_reform }不是:{ owner:{ has_reform = monastic_breweries_reform } }remove_province_modifier = wine_bonus_prodremove_province_modifier = grain_bonus_prod仅限于:{has_province_modifier = wine_bonus_prodhas_province_modifier = grain_bonus_prodowner:{ has_reform = monastic_breweries_reform }不是:{ FROM:{ has_reform = monastic_breweries_reform } }hidden_effect:{仅限于:{trade_goods = wineadd_province_modifier:{name = wine_bonus_prodduration = -1hidden = yes仅限于:{trade_goods = grainadd_province_modifier:{name = grain_bonus_prodduration = -1hidden = yes仅限于:{owned_by = SRUexists = ARAARA:{set_country_flag = ARA_defeat_saruhan仅限于:{不是:{ owner:{ religion_group = muslim } }has_province_modifier = sufi_shrineremove_province_modifier = sufi_shrineon_province_owner_change_estate_privileges_effect = yes在议会辩论失败时

on_parliament_debate_failed:{议会辩论成功时

on_parliament_debate_succeeded:{在和谐各宗教时(分别)

on_harmonized_pagan:{事件:{ 儒教事件confucian_events.1on_harmonized_christian:{confucian_events.2on_harmonized_muslim:{confucian_events.3on_harmonized_jewish_group:{confucian_events.5on_harmonized_zoroastrian_group:{confucian_events.6on_harmonized_dharmic:{confucian_events.4on_harmonized_mahayana:{confucian_events.9on_harmonized_buddhism:{ #上座部佛教confucian_events.8on_harmonized_shinto:{confucian_events.7on_harmonized_vajrayana:{confucian_events.10在改革全俄罗斯法典时

on_russian_sudebnik:{

}在沙俄建立特辖区时

on_russian_oprichnina:{

}在招募射击军时

on_russian_streltsy:{

}在祝圣都主教区时

on_consecrate_patriarch:{在在接受朝贡时# 国家. from = 宗主国

on_accept_tribute:{在拒绝朝贡时# 国家. from = 宗主国

on_refuse_tribute:{在招募将领时

on_leader_recruited:{在招募陆军将领时

on_general_recruited:{add_army_professionalism = 0.01在招募海军将领时

on_admiral_recruited:{在招募征服者时

on_conquistador_recruited:{在招募探险家时

on_explorer_recruited:{在招募常备兵团时# THIS = 省份, FROM = 国家

on_regiment_recruited:{

}在招募雇佣兵团时# THIS = 省份, FROM = 国家

on_mercenary_recruited:{FROM:{add_army_professionalism = -0.05在设立帕夏时# THIS = 国家中的一个省份

on_add_pasha:{在移除帕夏时# THIS = 国家中的一个省份

on_remove_pasha:{hidden_effect:{owner:{save_event_target_as = province_ownerremove_province_modifier = pasha_removed_modifierarea:{仅限于:{ owned_by = event_target:province_owner }add_or_extend_province_modifier_effect:{ MODIFIER = pasha_removed_modifier DURATION = 3650 }在耶切里尼军团征召时# THIS = 省份

on_janissaries_raised:{在革命卫队提升时

on_revolutionary_guard_raised:{在政府改革通过时

on_reform_enacted:{在政府改革改变时

on_reform_changed:{在贸易公司投资时

on_trade_company_investment:{在贸易中心升级时

on_center_of_trade_upgrade:{

}在贸易中心降级时

on_center_of_trade_downgrade:{

}在文化被提升时

on_culture_promoted:{

}在贸易公司特许买地时# FROM = Previous Country, ROOT = 省份

on_company_chartered:{仅限于:{region = bengal_regionregion = hindusthan_regionregion = west_india_regionregion = deccan_regionregion = coromandel_regionROOT:{owner:{set_country_flag = the_coin_is_stronger_than_the_sword在获得附属国时# ROOT = 宗主国, FROM = 小国

on_dependency_gained:{dutch_republic.31 # States General falls under a PU在失去附属国时# ROOT = 宗主国, FROM = 小国

on_dependency_lost:{

}在创建附庸国时# ROOT = 新附庸国, FROM = 宗主国

on_create_vassal:{仅限于:{有DLC = \"Emperor\"FROM:{is_revolutionary = yeschange_government = republicadd_government_reform = junior_revolutionary_republic_reformset_country_flag = had_revolution仅限于:{tag = PAPchange_government = theocracyadd_government_reform = papacy_reformadopt_reform_progress = FROM在修会设立时# ROOT = 建立它的国家# First province in state is set

on_holy_order_established:{

}少数族群被驱逐时# 当少数族群被驱逐到一个殖民地时# THIS = 殖民地, ROOT = 殖民地, FROM = 本土省份

on_minority_expelled:{

}在劫掠海岸时# THIS = 劫掠国家, FROM = 海域省份

on_raid_coast:{仅限于:{has_faction = pr_buccaneersadd_faction_influence:{faction = pr_buccaneersinfluence = 1在旗舰被俘获时# ROOT = Tag 捕获该旗舰, FROM = Tag 失去该旗舰

on_flagship_captured:{FROM:{set_country_flag = captured_flagship_country_flagROOT:{ 旗舰事件country_event:{ id = flagship_events.2 }set_country_flag = trophy_hunter_flagFROM:{country_event:{ id = flagship_events.1 }在旗舰被击沉时# ROOT = Tag 摧毁该旗舰, FROM = Tag 失去该旗舰

on_flagship_destroyed:{FROM:{set_country_flag = sunk_flagship_country_flagROOT:{country_event:{ id = flagship_events.4 }FROM:{country_event:{ id = flagship_events.3 }在国家被释放时# this = 被释放的国家, FROM = 执行释放的国家

on_country_released:{仅限于:{tag = PAPchange_government = theocracychange_religion = catholicadd_government_reform = papacy_reformadopt_reform_progress = FROM仅限于:{FROM:{ has_reform = religious_permanent_revolution_reform }不是:{ tag = PAP }change_religion = FROMadopt_reform_progress = FROMadd_country_modifier:{name = global_holy_war_released_modifierduration = 3650hidden = yescapital_scope:{change_religion = FROM在商品改变时# ROOT = 省份, FROM = 国家

on_trade_good_changed:{on_trade_good_changed_estate_privileges_effect = yes仅限于:{has_province_modifier = wine_bonus_prodhas_province_modifier = grain_bonus_prodFROM:{ has_reform = monastic_breweries_reform }不是:{ owner:{ has_reform = monastic_breweries_reform } }remove_province_modifier = wine_bonus_prodremove_province_modifier = grain_bonus_prodhidden_effect:{仅限于:{trade_goods = wineremove_province_modifier = grain_bonus_prodadd_province_modifier:{name = wine_bonus_prodduration = -1hidden = yes仅限于:{trade_goods = grainremove_province_modifier = wine_bonus_prodadd_province_modifier:{name = grain_bonus_prodduration = -1hidden = yes在贷款被偿还时# this = 国家

on_loan_repaid:{on_loan_repaid_estate_privileges_effect = yes在叛军毁国时# this = 国家

on_rebels_break_country:{add_country_modifier:{name = just_lost_to_rebelsduration = 10hidden = yes在行政顾问被解雇之前# this = 国家## Fires when you fire or replace your ADM advisor, in the moment before they are actually removed from their post.## NoteDefining a new advisor here will result in the shortest appointment in history. Use on_post_adm_advisor_fired instead :)

on_pre_adm_advisor_fired:{仅限于:{has_country_flag = need_to_fire_adm_advisorset_country_flag = just_fired_adm_advisorremove_advisor_by_category_no_action = ADM在外交顾问被解雇之前# this = 国家

on_pre_dip_advisor_fired:{仅限于:{has_country_flag = need_to_fire_dip_advisorset_country_flag = just_fired_dip_advisorremove_advisor_by_category_no_action = DIP在军事顾问被解雇之前# this = 国家

on_pre_mil_advisor_fired:{仅限于:{has_country_flag = need_to_fire_mil_advisorset_country_flag = just_fired_mil_advisorremove_advisor_by_category_no_action = MIL在行政顾问被解雇之后# this = 国家

on_post_adm_advisor_fired:{

}在外交顾问被解雇之后# this = 国家

on_post_dip_advisor_fired:{在军事顾问被解雇之后# this = 国家

on_post_mil_advisor_fired:{在创建仆从国国时# this = new client state, from = parent country

on_create_client_state:{仅限于:{有DLC = \"Emperor\"FROM:{is_revolutionary = yesgovernment = republicadd_government_reform = junior_revolutionary_republic_reformset_country_flag = had_revolution在改变革命目标时# this = 新目标, from = 前目标(两者都能是不存在的tag)

on_change_revolution_target:{仅限于:{ has_reform = junior_revolutionary_republic_reform }add_government_reform = revolutionary_republic_reform在黄金牛通过时# this = curia controller (enactor of the bull)

on_golden_bull_enacted:{set_country_flag = enacted_golden_bullspawned whenever a new owner takes over the province# FROM = 前拥有者

on_conquest:{remove_named_unrest = estate_land_seized在国家创建时

on_country_creation:{仅限于:{tag = PAPreligion = catholichas_reform = papacy_reformgovernment = theocracychange_religion = catholicchange_government = theocracyadd_government_reform = papacy_reform↑ 脚本代码位于:/Europa Universalis IV/common/on_actions/*.txt。

本文链接: http://eu4as.immuno-online.com/view-749184.html

发布于 : 2021-03-25 阅读(0)
公司介绍
品牌分类
Pharmaceutical
联络我们
服务热线:4000-520-616
(限工作日9:00-18:00)
QQ :1570468124
手机:18915418616
官网:http://