- 文本太长,就不套用各种图标模板了。
On actions,是指游戏“在动作发生时”的操作,简称“行动”。[1]
在游戏更新时,经常有 on_actions 方面的变化。
On Actions是由硬编码动作触发的效果,如按下按钮。它们可以在/Europa Universalis IV/common/on_actions中找到。从1.36版本开始,On Actions将像《CK2》一样组合在一起。但是,在1.36之前的版本中,最新的On Action将覆盖以前的On Action。例如,如果Mod A添加了一个效果到on_annexed,然后加载的Mod B添加了另一个效果,在1.36之前,只有Mod B的效果运行,在1.36之后,两个效果都将执行。
On Actions支持要触发的事件列表。使用事件自己的触发器来限制它们实际执行的时间。
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 = yes
- }
- save_global_event_target_as = EmperorOfChina
- 仅限于:{
- }
- 事件:{
- muslim_school_events.20 #选择学派
- #
- :flavor_fra.15000 #Make the French Revolution happen if starting in 1789
- }
- 如果:{
- 仅限于:{
- 有DLC = "Cradle of Civilization"
- has_country_modifier = tur_janissary
- }
- remove_country_modifier = tur_janissary
- 仅限于:{
- }
- initialize_schools_effect = yes #这个脚本效果只用在这里,但是为了 on_action 文件的可读性。
- 如果:{
- 仅限于:{
- 不是:{ has_country_flag = new_flavour_bav_13_has_been_triggered }
- 或者:{
- tag = UBV
- tag = LBV
- tag = ING
- }
- }
- set_country_flag = new_flavour_bav_13_has_been_triggered
- country_event:{ id = new_flavour_bav.13 days = 90 } #better not to allow almost instant DOWs
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- tag = FRA
- started_in = 1789.7.14
- 不是:{ is_year = 1790 }
- 不是:{ has_disaster = french_revolution }
- }
- add_disaster_progress:{
- value = 100
- disaster = french_revolution
- }
- 仅限于:{
- }
}
在宗教改变时
- # 国家
on_religion_change:{
- on_religion_change_estate_privileges_effect = yes
- ###removes catholic modifiers
- remove_country_modifier = counter_reformation
- remove_country_modifier = the_statue_in_restraint_of_appeals
- remove_country_modifier = revocation_of_restraint_of_appeals
- remove_country_modifier = bavarian_jesuits
- remove_country_modifier = the_societas_jesu
- remove_country_modifier = the_declaration_of_indulgence
- remove_country_modifier = de_heretico_comburendo
- remove_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 = native
- 或者:{
- religion = nahuatl
- religion = mesoamerican_religion
- religion = inti
- }
- }
- change_government = monarchy
- add_government_reform = autocracy_reform
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_heir = yes
- }
- set_heir_religion = ROOT
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_regency = no
- }
- set_ruler_religion = ROOT
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- 有DLC = "Rights of Man"
- has_consort = yes
- }
- set_consort_religion = ROOT
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- 不是:{ religion = orthodox }
- }
- every_known_country:{
- 仅限于:{
- reverse_has_opinion_modifier:{
- who = ROOT
- modifier = closed_down_the_patriarchate
- }
- reverse_has_opinion_modifier:{
- }
- reverse_remove_opinion:{
- who = ROOT
- modifier = closed_down_the_patriarchate
- }
- 仅限于:{
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- religion = catholic
- has_ruler_flag = personal_catholic_sympathies
- }
- country_event:{ id = protestantism_events.19 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- religion = protestant
- }
- set_country_flag = converted_to_protestantism
- 仅限于:{
- }
- 如果:{
- 仅限于:{ has_country_modifier = bav_religious_mandate_mod }
- remove_country_modifier = bav_religious_mandate_mod
- }
- add_country_modifier:{
- name = recently_changed_religion_dummy
- duration = 10
- hidden = yes
- }
- 如果:{
- 仅限于:{
- 不是:{ religion_group = muslim }
- any_owned_province:{ has_province_modifier = sufi_shrine }
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = sufi_shrine }
- remove_province_modifier = sufi_shrine
- }
- 仅限于:{
- }
- 事件:{
- muslim_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_order
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_shiite_settled_in_capital }
- remove_province_modifier = tengri_shiite_settled_in_capital
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_insincere_leadership }
- remove_province_modifier = tengri_insincere_leadership
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_religious_influx }
- remove_province_modifier = tengri_religious_influx
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_ruler_questioned }
- remove_province_modifier = tengri_ruler_questioned
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_strengthened_local_clans }
- remove_province_modifier = tengri_strengthened_local_clans
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_growing_cities }
- remove_province_modifier = tengri_growing_cities
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_christian_mission }
- remove_province_modifier = tengri_christian_mission
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_unchristian_values }
- remove_province_modifier = tengri_unchristian_values
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_monastic_order }
- remove_province_modifier = tengri_monastic_order
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = hindufication }
- remove_province_modifier = hindufication
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_influx_of_monks }
- remove_province_modifier = tengri_influx_of_monks
- }
- every_owned_province:{
- 仅限于:{ has_province_modifier = tengri_abandoning_the_old_ways }
- remove_province_modifier = tengri_abandoning_the_old_ways
- }
- remove_country_modifier = tengri_devout_muslim
- remove_country_modifier = tengri_confucian_elites_alienated
- remove_country_modifier = tengri_confucian_titles
- remove_country_modifier = tengri_traditionalists_strengthened
- remove_country_modifier = tengri_confucian_nobles
- remove_country_modifier = tengri_pali_legal_traditions
- remove_country_modifier = tengri_religious_pilgrimages
- remove_country_modifier = tengri_monks_in_capital
- remove_country_modifier = tengri_influx_of_monks
- remove_country_modifier = tengri_shiite_immigration
- remove_country_modifier = support_of_the_khojas
- remove_country_modifier = black_shamanism_modifier
- remove_country_modifier = tengri_animist_pantheon
- remove_country_modifier = zoroastrian_traders
- remove_country_modifier = spread_of_tengri_tea_ceremony
- remove_country_modifier = tengri_tea_ceremony
- remove_country_modifier = tengri_japanese_swordsmithing
- remove_country_modifier = tengri_bow_and_arrow_defended
- remove_country_modifier = tengri_support_of_shamans
- remove_country_modifier = tengri_hindu_conflict
- remove_country_modifier = tengri_hindu_syncretism
- remove_country_modifier = tengri_devout_christian_ruler
- remove_country_modifier = tengri_personal_confessor
- remove_country_modifier = tengri_confucian_administrators
- remove_country_modifier = tengri_traditional_elites_alienated
- remove_country_modifier = tengri_jihad
- remove_country_modifier = tengri_stood_up_for_yassa
- remove_country_modifier = tengri_sufi_teacher
- remove_country_modifier = tengri_qadi
- remove_country_modifier = tengri_religious_influx
- remove_country_modifier = tengri_ibadi_scholars
- remove_country_modifier = tengri_clergy_conflicts
- remove_country_modifier = tengri_shamans_spurned
- clr_country_flag = khojas_established
- clr_country_flag = tengri_christian_devout_court
- clr_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 Day
- native_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 = yes
- FROM :{ 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_city
- 不是:{
- prestige = 40
- }
- 不是:{
- has_country_modifier = fc_treatyconference_timer
- }
- }
- add_country_modifier:{
- name = fc_treatyconference_timer
- duration = 3650
- hidden = yes
- }
- country_event:{
- id = free_cities.7
- days = 7
- }
- 仅限于:{
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- tag = MLO
- 不是:{ has_country_flag = emp_mlo_won_war_with_swiss_mercs }
- any_hired_mercenary_company:{
- home_province:{
- 或者:{
- area = switzerland_area
- area = romandie_area
- }
- 或者:{
- }
- home_province:{
- }
- }
- set_country_flag = emp_mlo_won_war_with_swiss_mercs
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- is_hiring_condottiere_from = SWI
- }
- SWI:{ set_country_flag = won_condottiere_war }
- 如果:{
- 仅限于:{
- tag = PAP
- }
- SWI:{
- 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 = no
- is_part_of_hre = yes
- 或者:{
- capital_scope:{ region = italy_region }
- 并且:{
- culture_group = latin
- any_owned_province:{
- region = italy_region
- }
- }
- }
- }
- set_country_flag = reined_in_for_shadow_kingdom
- 仅限于:{
- }
- add_country_modifier:{
- name = just_lost_war_timer
- duration = 10
- hidden = yes
- }
}
国家在战斗胜利时
- # 国家
- # root = 胜利的国家, from = 失利的国家
on_battle_won_country:{
- 如果:{
- 仅限于:{
- ROOT:{
- tag = ALB
- 不是:{ has_country_flag = albanian_victory }
- }
- FROM:{
- tag = TUR
- }
- ROOT:{
- }
- ROOT:{ 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 = 0
- 10 = friendship_events.1 #Historical Friendship Broken
- }
}
省份在战斗胜利时
- # 省份
- # root = 位置,from = 失利的国家
on_battle_won_province:{
- 如果:{
- 仅限于:{
- from:{ tag = REB }
- owner:{
- tag = ENG
- has_disaster = war_of_the_roses
- has_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 = REB
- is_rebel_type = revolutionary_rebels
- }
- owner:{
- any_owned_province:{
- region = root
- has_revolution_in_province = yes
- }
- 不是:{ has_disaster = french_revolution }
- 不是:{ has_disaster = revolution }
- 不是:{ has_spawned_rebels = revolutionary_rebels }
- any_owned_province:{
- }
- from:{
- }
- owner:{ country_event:{ id = center_of_revolution.1600 } }
- 仅限于:{
- }
- random_events:{
- 1000 = 0
- 100 = 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 Scope
- general_with_steam_name = yes #Unit Scope Trigger
- }
- unit_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
- }
- unit_owner:{
- }
- enemy_unit:{
} 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 = 0
- 100 = tyw_events.22:# Capital Battle in Religious War
- }
}
国家在围攻胜利时
- # 国家
- # root = 胜利的国家, from = 位置
on_siege_won_country:{
- 如果:{
- 仅限于:{
- from:{ owned_by = SAX }
- 或者:{
- is_in_war:{
- defenders = root
- defenders = THU
- defenders = emperor
- attackers = SAX
- }
- is_in_war:{
- attackers = root
- attackers = THU
- attackers = emperor
- defenders = SAX
- }
- is_in_war:{
- }
- THU:{
- dynasty = "von Wettin"
- is_elector = no
- is_emperor = no
- alliance_with = emperor
- }
- SAX:{
- is_elector = yes
- all_owned_province:{
- 不是:{ controlled_by = SAX }
- 或者:{
- controlled_by = THU
- controller:{
- 或者:{
- is_in_war:{
- defenders = this
- defenders = THU
- defenders = emperor
- attackers = SAX
- }
- is_in_war:{
- attackers = this
- attackers = THU
- attackers = emperor
- defenders = SAX
- }
- is_in_war:{
- }
- 或者:{
- }
- }
- }
- }
- }
- THU:{ country_event:{ id = flavor_sax.10 } } # Ask Emperor for Saxon Electorate
- 仅限于:{
- }
- 事件:{
- tyw_events.14 # Fall of Prague in Religious War
- flavor_oir.5 # Oirats capture Beijing
- }
- random_events:{
- 10 = army_professionalism_events.1 #City Sacked
- 100 = 0
- }
}
国家在省份失守时
- # 国家
- # root = 失利的国家, from = 位置
on_siege_lost_country:{
- 事件:{
- curia.8
- papacy_events.5
- }
}
省份在围攻胜利时
- # 省份
- # root = 位置, from = 失利的国家
on_siege_won_province:{
- 事件:{
- synthetic_dawn.4
- }
- 如果:{
- 仅限于:{
- from:{
- tag = REB
- is_rebel_type = revolutionary_rebels
- }
- owner:{
- any_owned_province:{
- region = root
- has_revolution_in_province = yes
- }
- 不是:{ has_disaster = french_revolution }
- 不是:{ has_disaster = revolution }
- 不是:{ has_spawned_rebels = revolutionary_rebels }
- any_owned_province:{
- }
- from:{
- }
- owner:{ country_event:{ id = center_of_revolution.1600 } }
- 仅限于:{
- }
}
省份在失守时
- # 省份
- # root = 位置, from = 胜利的国家
on_siege_lost_province = {
- 事件:{
- war_of_the_roses.10::# Lancaster Stronghold
- war_of_the_roses.11::# York Stronghold
- french_wars_of_religion.7 #Ravening Religious Fanatics
- french_wars_of_religion.9 #french_wars_of_religion.9
- }
}
在废弃殖民地时
- # 省份
- # root = 位置, from = 废弃殖民地的国家
- # 在殖民地被废弃之前触发。
on_abandon_colony:{ }
在新君主登基时
- # OBS
- Consider that the following on_actions can be called for Personal Union juniors as well.
- # 国家
on_new_monarch:{
- crimean_succession_effect = yes #Scripted effect
- slesvig_question_effect = yes #Scripted effect
- 如果:{
- 仅限于:{
- has_consort_regency = no
- any_owned_province:{
- has_province_modifier = domain_of_spouses_family
- }
- }
- random_owned_province:{
- 仅限于:{ has_province_modifier = domain_of_spouses_family }
- remove_province_modifier = domain_of_spouses_family
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_consort_regency = no
- any_owned_province:{
- has_province_modifier = home_of_consort
- }
- }
- random_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 = yes
- succession_culture_religion_effect = yes
- sheik_ul_islam_effect = yes
- hab_remove_mission_mods_if_not_emperor_effect = yes
- thu_remain_von_wettin_effect = yes
- ladislaus_postumus_union_effect = yes
- 事件:{
- tribal_succession.1::# Harsh anti-tribals.
- 9492 :::::# Remove some event modifiers
- flavor_boh.8:::# Winter King in Prague
- flavor_kol.1:::# Bavarian Archbishop
- war_of_the_roses.101:# WotR - House of Lancaster wins
- war_of_the_roses.102:# WotR - House of York wins
- war_of_the_roses.106:# WotR - Another dynasty has seized the throne
- flavor_tur.102:::# Janissary Reward
- flavor_ori.7:::# Hamvira Victorious
- flavor_kbo.1:::# The two branches of the Sayfawa dynasty
- flavor_kbo.8:::# Sayfawa pretenders
- flavor_zan.5:::# Coup of Coup of Suleiman and Muhammad al-Mazlum.
- purple_phoenix.1::# BYZ pretenders
- flavor_pol.3480:::# The Pacta Conventa
- protestantism_events.15:# Catholic Leaning Monarch
- tengri_events.17::# Keep the Khojas in Power?
- flavor_tus.15:::# Savonarola Dies
- flavor_brapru.22::# Succession of Albrecht Achilles
- flavor_brapru.25::# Dispositio Achillea (can also trigger from flavor_brapru.22)
- flavor_nor.27:::# Proclamation in Hamar
- china_events.43:::# Picking new Capital for China
- celestial_empire_events.3 #Resistance to Sinicization
- flavor_boh.2:::#Heretic Kings
- flavor_hun.17:::#Maintaining the Black Army
- flavor_tim.1:::#Death of Shah Rukh
- muslim_school_events.20 #No Religious School
- flavor_daimyo.4:::#Shiba Yoshikado
- flavor_fra.9000:::# François Villon
- }
- random_events:{
- 1000 = 0
- 100 = flavor_kol.1::# Bavarian Archbishop
- 100 = flavor_hsa.3::# Hansa: Tagfahrt
- 100 = inti_events.1::# Birth of a Panaca
- 50 = dynastic_events.4
- 50 = dynastic_events.5
- 25 = 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 = ANS
- BRA:{
- has_country_flag = albrecht_achilles_flag
- }
- }
- BRA:{
- clr_country_flag = albrecht_achilles_flag #Just to be sure
- kill_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 = SAX
- has_country_flag = sax_thuringen_split_to_happen
- 或者:{
- 不是:{ dynasty = "von Wettin" }
- 不是:{ senior_union_with = THU }
- has_regency = yes
- }
- }
- clr_country_flag = sax_thuringen_split_to_happen
- 仅限于:{
- }
- burgundian_inheritance_start_effect = yes
- ladislaus_postumus_king_died_effect = yes
- 事件:{
- flavor_wal.1 # Vlad the Impaler. So that he doesn't try to usurp his father.
- flavor_nav.4 # Navarra succession event
- flavor_sax.8 # Treaty of Leipzig
- flavor_pap.16 # Borgia Pope
- flavor_pap.19 # death of borgia pope
- flavor_tus.22 # Medici Pope
- flavor_tus.24 # death of the Medici Pope
- }
}
在摄政时
- # 国家
on_regent:{
- 如果:{
- 仅限于:{
- 不是:{ has_global_flag = death_of_haji_giray } #Also set in history.
- tag = CRI
- exists = TUR
- is_subject = no
- TUR:{
- num_of_cities = ROOT
- is_subject = no
- num_of_ports = 1
- }
- }
- country_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 = yes
- TUR:{ 不是:{ num_of_cities = ROOT } }
- TUR:{ is_subject = yes }
- TUR:{ 不是:{ num_of_ports = 1 } }
- }
- }
- set_global_flag = death_of_haji_giray
- 仅限于:{
- }
- 事件:{
- tribal_succession.1:# harsh anti-tribals.
- flavor_tim.1:::#Death of Shah Rukh
- flavor_daimyo.4:::#Shiba Yoshikado
- }
}
在新选举周期时
- # 国家
on_new_term_election:{
- 事件:{
- 700::# Election event
- elections.720::# Dutch Republic
- pirates.1
- }
}
在首脑补选时
- # 国家
on_death_election:{
- 如果:{
- 仅限于:{ has_reform = presidential_despot_reform }
- remove_government_reform = presidential_despot_reform
- }
- 如果:{
- 仅限于:{
- has_reform = pirate_republic_reform
- }
- set_country_flag = pirate_death_election
- country_event:{ id = pirates.1 }
- 仅限于:{
- }
- 事件:{
- 701::# Election event
- elections.721::# Dutch Republic
- elections.800:# Lottery election
- flavor_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:{
- 事件:{
- 610
- }
}
在继承人死亡时
- # 国家
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_cikma
- every_owned_province:{
- 仅限于:{
- has_province_modifier = heir_in_training
- }
- remove_province_modifier = heir_in_training
- 仅限于:{
- }
- }
- 如果:{
- 仅限于:{ has_ruler_flag = returned_from_sancaga_sikma_province }
- clr_ruler_flag = returned_from_sancaga_sikma_province
- }
- ladislaus_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_church
- }
- clr_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
- }
- 事件:{
- 900
- }
}
在选出了皇帝时
- # Called whenever a new emperor is elected
- # FROM = 前任皇帝
- # ROOT = 新皇帝
on_emperor_elected:{
- every_elector:{
- 如果:{
- 仅限于:{
- preferred_emperor = root
- }
- change_variable:{
- which = supported_successive_emperors
- value = 1
- }
- 仅限于:{
- }
- else:{
- set_variable:{
- which = supported_successive_emperors
- value = 0
- }
- set_variable:{
- }
- 如果:{
- }
- emperor:{
- save_global_event_target_as = Emperor
- }
- FROM:{
- 如果:{
- 仅限于:{ has_country_modifier = diet_occupied }
- remove_country_modifier = diet_occupied
- ROOT:{
- add_country_modifier:{ name = diet_occupied duration = -1 }
- }
- }
- 如果:{
- 仅限于:{
- any_country:{
- reverse_has_opinion_modifier:{
- modifier = opinion_imperial_diplomacy
- who = prev
- }
- reverse_has_opinion_modifier:{
- }
- any_country:{
- }
- every_country:{
- 仅限于:{
- reverse_has_opinion_modifier:{
- modifier = opinion_imperial_diplomacy
- who = prev
- }
- reverse_has_opinion_modifier:{
- }
- reverse_remove_opinion:{
- modifier = opinion_imperial_diplomacy
- who = prev
- }
- ROOT:{
- add_opinion:{
- modifier = opinion_imperial_diplomacy
- who = prev
- }
- add_opinion:{
- }
- 仅限于:{
- }
- 仅限于:{
- }
- 如果:{
- }
}
在释放神罗成员时
- # 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:{
- 事件:{
- 909
- }
}
在神罗省份被收复时
- # 神罗成员在和约中夺取一个神罗省份,从一个域外国家(省份作用域)
on_hre_province_reconquest:{
- 事件:{
- }
}
在确立神罗官方宗教时
on_lock_hre_religion:{
- 事件:{
- religious_leagues.1
- religious_leagues.8
- }
}
在改变神罗宗教时
on_change_hre_religion:{
- 事件:{
- religious_leagues.2
- religious_leagues.3
- }
}
在神罗宗教战争白和平时
on_hre_religion_white_peace:{
- 事件:{
- religious_leagues.4
- }
}
在政府改变时
- # 当一个非土著国家改变政府类型时
on_government_change:{
- clr_country_flag = pirate_mutineer_council
- clr_country_flag = caretaker_revolutionary_government
- 如果:{
- 仅限于:{
- 不是:{ government = monarchy }
- any_owned_province:{
- has_province_modifier = domain_of_spouses_family
- }
- }
- random_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_consort
- }
- }
- random_owned_province:{
- 仅限于:{ has_province_modifier = home_of_consort }
- remove_province_modifier = home_of_consort
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- 或者:{
- tag = ENG
- tag = GBR
- }
- any_owned_province:{
- has_province_modifier = rotten_borough
- }
- 或者:{
- }
- every_owned_province:{
- 仅限于:{
- has_province_modifier = rotten_borough
- }
- remove_province_modifier = rotten_borough
- 仅限于:{
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{ has_country_modifier = the_reign_of_terror }
- remove_country_modifier = the_reign_of_terror
- }
- 如果:{
- 仅限于:{
- has_global_flag = great_peasants_war_flag
- is_part_of_hre = yes
- has_reform = peasants_republic
- }
- 1:{
- change_variable:{
- which = GPW_counting_variable
- value = -3
- }
- change_variable:{
- }
- 仅限于:{
- }
}
在土著改变政府时
- # 当一个土著在满足它们的教改组而改变政府时。
on_native_change_government:{ }
在整合联统国时
- # 国家在联合统治之后被整合(继承)
on_integrate:{
- 事件:{
- 610
- }
}
在完全吞并国家时
- # 国家被吞并
- # FROM 是被吞并的国家
on_annexed:{
- 事件:{
- celestial_empire_events.1 # Empire dismantled
- }
- on_annexed_estate_privileges_effect = yes
- FROM:{
- 如果:{
- 仅限于:{ is_emperor_of_china = yes }
- dismantle_empire_of_china = yes
- set_global_flag = empire_of_china_dismantled
- }
- 如果:{
- 仅限于:{ has_country_modifier = legatus_natus }
- remove_country_modifier = legatus_natus
- set_global_flag = no_legatus_natus
- }
- 如果:{
- 仅限于:{ has_country_modifier = primas_germaniae }
- remove_country_modifier = primas_germaniae
- set_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_group
- }
- change_technology_group = chinese
- change_unit_type = chinese
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- 或者:{
- 不是:{ government = monarchy }
- government = tribal
- }
- 或者:{
- }
- change_government_to_monarchy = yes
- 仅限于:{
- }
- add_government_reform = celestial_empire
- set_mandate = 60
- set_meritocracy = 60
- add_country_modifier:{
- name = new_mandate_holder
- duration = 9125
- }
- 1816:{
- 如果:{
- 仅限于:{
- 不是:{ owned_by = root }
- 不是:{ is_core = root }
- }
- add_core = root
- 仅限于:{
- }
- 如果:{
- }
- 1821:{
- 如果:{
- 仅限于:{
- 不是:{ owned_by = root }
- 不是:{ is_core = root }
- }
- add_core = root
- 仅限于:{
- }
- 如果:{
- }
- 667:{
- 如果:{
- 仅限于:{
- 不是:{ owned_by = root }
- 不是:{ is_core = root }
- }
- add_core = root
- 仅限于:{
- }
- 如果:{
- }
- china_superregion:{
- 仅限于:{
- 不是:{ is_core = ROOT }
- }
- add_permanent_claim = ROOT
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- 有DLC = "Mandate of Heaven"
- }
- remove_faction = temples
- remove_faction = enuchs
- remove_faction = bureaucrats
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_country_modifier = lost_mandate_of_heaven
- }
- remove_country_modifier = lost_mandate_of_heaven
- 仅限于:{
- }
- country_event:{ #Reforming the Bureaucracy
- id = china_events.31
- days = 365
- }
- country_event:{
- id = china_events.32 #Records of the last Empire
- days = 183
- }
- country_event:{
- id = celestial_empire_events.2
- days = 1825
- }
}
在丢失天命时
- # 当一个国家失去天命时
- # FROM = 新皇帝, ROOT = 旧皇帝
on_mandate_of_heaven_lost:{
- remove_government_reform = celestial_empire
- set_government_rank = 2
- add_country_modifier:{
- name = lost_mandate_of_heaven
- duration = 7300:# 20 years
- }
- add_stability = -2
- china_superregion:{
- 仅限于:{
- is_permanent_claim = ROOT
- }
- remove_claim = ROOT
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_country_modifier = new_mandate_holder
- }
- remove_country_modifier = new_mandate_holder
- 仅限于:{
- }
}
在拥抱革命时
on_embrace_revolution:{
- 如果:{:
- 仅限于:{
- any_subject_country:{
- has_country_modifier = colony_inspired_by_revolution
- }
- any_subject_country:{
- }
- every_subject_country:{
- remove_country_modifier = colony_inspired_by_revolution
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{ 不是:{ government = republic } }
- change_government_to_republic = yes
- }
- 如果:{
- 仅限于:{
- revolution_target_exists = no
- is_great_power = yes
- }
- set_revolution_target = ROOT
- add_government_reform = revolutionary_republic_reform
- 如果:{
- 仅限于:{
- any_country:{
- has_country_flag = last_revolutionary_country
- }
- any_country:{
- }
- every_country:{
- 仅限于:{
- has_country_flag = last_revolutionary_country
- }
- clr_country_flag = last_revolutionary_country
- 仅限于:{
- }
- 仅限于:{
- }
- 仅限于:{
- }
- else:{
- add_government_reform = junior_revolutionary_republic_reform
- }
- 如果:{
- 仅限于:{ has_reform = parliamentary_reform }
- remove_government_reform = parliamentary_reform
- }
- kill_ruler = yes
- set_country_flag = revolutionary_republic_flag
- set_country_flag = had_revolution
}
在挫败革命时
- # THIS = 被击败的革命国家, FROM = 强制执行和平条约的国家
on_dismantle_revolution:{
- 事件:{
- center_of_revolution.1500
- }
- 如果:{
- 仅限于:{
- any_country:{
- has_country_flag = last_revolutionary_country
- }
- any_country:{
- }
- every_country:{
- 仅限于:{
- has_country_flag = last_revolutionary_country
- }
- clr_country_flag = last_revolutionary_country
- 仅限于:{
- }
- 仅限于:{
- }
- set_country_flag = last_revolutionary_country
}
在省份行政发展时
- # 省份
on_adm_development:{ }
在省分外交发展时
- # 省份
on_dip_development:{ }
在省份军事发展时
- # 省份
on_mil_development:{ }
在过度扩张脉冲
on_overextension_pulse:{
- random_events:{ 过度扩张事件
- 100 = overextension.1
- 100 = overextension.2
- 100 = overextension.3
- 100 = overextension.4
- 100 = overextension.5
- 100 = overextension.6
- 100 = overextension.7
- 100 = overextension.8
- 100 = overextension.9
- 100 = overextension.10
- }
}
在殖民脉冲
on_colonial_pulse:{
- random_events:{ 殖民事件
- 100 = colonial.1
- 100 = colonial.2
- 100 = colonial.3
- 100 = colonial.4
- 100 = colonial.5
- 100 = colonial.8
- 100 = colonial.9
- 100 = colonial.10
- 100 = colonial.11
- 100 = colonial.12
- 100 = colonial.13
- 100 = colonial.14
- 100 = colonial.15
- 100 = colonial.16
- 100 = colonial.17
- 100 = colonial.18
- 25 = dodo.1
- 15000 = 0
- }
}
在西伯利亚拓荒脉冲
on_siberian_pulse:{ }
在双年脉冲
- # 国家随机事件
on_bi_yearly_pulse:{
- 事件:{
- center_of_revolution.2950
- center_of_revolution.3000
- }
- random_events:{
- # randomevents.txt 通用事件
- 100 = 3051
- 100 = 5008
- 100 = 5014
- 100 = 5015
- 100 = 5017
- 100 = 5018
- 100 = 5019
- 100 = 5020
- 100 = 5021
- 100 = 5022
- 100 = 5023
- 100 = 5024
- 100 = 5025
- 100 = 5027
- 100 = 5032
- 100 = 5040
- 100 = 5045
- 100 = 5050
- 100 = 5051
- 100 = 5052
- 100 = 5053
- 10 = 5054
- 100 = 5055
- 100 = 5056
- 100 = 5058
- 100 = 5059
- 100 = 5060
- 100 = 5061
- 100 = 5064
- 100 = 5065
- 100 = 5066
- 100 = 5068
- 100 = 5070
- 100 = 5071
- 100 = 5072
- 100 = 5074
- 100 = 5075
- 100 = 5076
- 100 = 5077
- 100 = 5082
- 100 = 5083
- 100 = 5084
- 100 = 5085
- 100 = 5086
- 100 = 5088
- 100 = 5089
- 100 = 5090
- 100 = 5091
- 100 = 5092
- 100 = 5093
- 100 = 5094
- 100 = 5095
- 10 = 5096
- 100 = 5097
- 100 = 5098
- 100 = 5099
- 100 = 6000
- 100 = 6001
- 100 = 6003
- 100 = 6004
- 100 = 6005
- 100 = 6006
- 100 = 6012
- 100 = 6013
- 100 = 6015
- 100 = 710
- 100 = 711
- 100 = 712
- 100 = 713
- 100 = 714
- 100 = 715
- 100 = 716
- 100 = 717
- 100 = 718
- 100 = 719
- 100 = 720
- 100 = 722
- 100 = 723
- 100 = 724
- 100 = 725
- 100 = 726
- 100 = 727
- 100 = 728
- 100 = 729
- 100 = random_event.1
- 300 = random_event.2
- 100 = random_event.3
- 100 = random_event.4
- 100 = random_event.5
- 100 = random_event.6
- 100 = random_event.7
- 100 = random_event.8
- 150 = random_event.9
- 100 = random_event.10
- 100 = random_event.11
- 100 = random_event.12
- 100 = random_event.13
- 100 = random_event.14
- 100 = random_event.15
- 100 = random_event.16
- 100 = random_event.26
- #Culture and Religion Events 宫廷文化和宗教事件
- 125 = culture_religion_events.1
- 125 = culture_religion_events.3
- 125 = culture_religion_events.4
- 125 = culture_religion_events.5
- 125 = culture_religion_events.6
- 125 = culture_religion_events.7
- 125 = culture_religion_events.8
- 125 = culture_religion_events.9
- 125 = culture_religion_events.10
- 125 = culture_religion_events.11
- 125 = culture_religion_events.12
- 125 = culture_religion_events.13
- 125 = culture_religion_events.14
- 125 = culture_religion_events.15
- 125 = culture_religion_events.16
- 100 = culture_religion_events.17
- 125 = culture_religion_events.18
- 125 = culture_religion_events.19
- 125 = culture_religion_events.20
- 175 = culture_religion_events.21
- 125 = culture_religion_events.22
- 125 = culture_religion_events.23
- #马穆鲁克事件(政体事件)
- 175 = mamluk_events.1
- 175 = mamluk_events.2
- 175 = mamluk_events.3
- 235 = mamluk_events.4
- 185 = mamluk_events.5
- 175 = mamluk_events.6
- 250 = mamluk_events.7
- 185 = mamluk_events.10
- 185 = mamluk_events.11
- 235 = mamluk_events.12
- #西伯利亚的殖民化 西伯利亚殖民事件
- 125 = siberian_events.2
- 125 = siberian_events.3
- 125 = siberian_events.4
- 125 = siberian_events.5
- 125 = siberian_events.6
- 100 = russian_principality_events.1
- 125 = russian_principality_events.2
- 125 = russian_principality_events.3
- 125 = russian_principality_events.4
- 125 = russian_principality_events.6
- 125 = russian_principality_events.5
- 125 = russian_principality_events.7
- 100 = russian_principality_events.8
- 75 = russian_principality_events.9
- 125 = russian_principality_events.10
- 125 = russian_tsardom_events.1
- 125 = russian_tsardom_events.2
- 125 = russian_tsardom_events.3
- 100 = russian_tsardom_events.4
- 125 = russian_tsardom_events.5
- 100 = russian_tsardom_events.6
- 100 = russian_tsardom_events.7
- 100 = russian_tsardom_events.8
- 125 = russian_tsardom_events.9
- 125 = russian_tsardom_events.10
- 100 = russian_tsardom_events.11
- #射击军事件
- 125 = streltsy_events.1
- 125 = streltsy_events.3
- 125 = streltsy_events.4
- 125 = streltsy_events.5
- 100 = streltsy_events.6
- #东正教都主教事件
- 125 = patriarch_events.1
- 125 = patriarch_events.2
- 125 = patriarch_events.3
- 75 = patriarch_events.4
- 75 = patriarch_events.5
- # 旧的中央集权/分权 稳定度事件#806
- 100 = 806
- # 重商主义 贸易事件
- 100 = 6326
- 100 = 6327
- 100 = 6328
- 100 = 6329
- # 贸易特有的 贸易事件
- 100 = trade.1
- 100 = trade.2
- 100 = trade.3
- 100 = trade.4
- 100 = trade.5
- 100 = trade.6
- 100 = trade.7
- 100 = trade.8
- 100 = trade.9
- 100 = trade.10
- 100 = trade.11
- 100 = trade.12
- # 天主教事件
- 100 = catholic_flavor.4
- 100 = catholic_flavor.5
- 100 = catholic_flavor.6
- 100 = catholic_flavor.7
- 100 = catholic_flavor.8
- 100 = catholic_flavor.9
- 100 = catholic_flavor.10
- # 商品事件
- 100 = 6418
- 100 = 6419
- 100 = 6420
- 100 = 6421
- 100 = 6422
- 100 = 6423
- 100 = 6424
- 100 = 6425
- 100 = 6426
- 100 = 6427
- 100 = 6428
- 100 = 6429
- 100 = 6431
- 100 = 6432
- 100 = 6433
- 100 = 6434
- # 改革,当有议会时。 改革事件
- 100 = reforms.1
- 100 = reforms.2
- 100 = reforms.3
- 100 = reforms.4
- 100 = randomeventsstapehordes.1
- 100 = randomeventsstapehordes.2
- 100 = randomeventsstapehordes.3
- 100 = randomeventsstapehordes.4
- 100 = randomeventsstapehordes.5
- 100 = randomeventsstapehordes.6
- 100 = randomeventsstapehordes.7
- 100 = randomeventsstapehordes.8
- 100 = randomeventsstapehordes.13
- 100 = randomeventsstapehordes.14
- 100 = randomeventsstapehordes.17
- 100 = randomeventsstapehordes.19
- 100 = randomeventsstapehordes.20
- 100 = randomeventsstapehordes.21
- 100 = randomeventsstapehordes.22
- 100 = randomeventsstapehordes.23
- 100 = randomeventsstapehordes.24
- # 水手事件
- 100 = sailor_event.1
- 100 = sailor_event.2
- 100 = sailor_event.3
- 100 = sailor_event.4
- 100 = sailor_event.5
- # 腐败度事件
- 100 = corruption_event.16
- 100 = corruption_event.17
- 100 = corruption_event.18
- 100 = corruption_event.19
- 100 = corruption_event.20
- # 贸易联盟事件
- 100 = trade_league.1
- 100 = trade_league.2
- 100 = trade_league.3
- 100 = trade_league.4
- 100 = trade_league.7
- 100 = trade_league.8
- 100 = trade_league.9
- 100 = trade_league.10
- 100 = trade_league.11
- 100 = trade_league.12
- 100 = trade_league.13
- 100 = trade_league.14
- # 思潮事件
- #封建主义传播事件:
- 150 = institution_events.8
- 150 = institution_events.9
- 150 = institution_events.10
- 150 = institution_events.11
- #全球贸易传播事件:
- 150 = institution_events.50
- 150 = institution_events.51
- 150 = institution_events.52
- #启蒙运动传播事件:
- 150 = institution_events.70
- 150 = institution_events.71
- 150 = institution_events.72
- #特质事件
- 50 = personality_events.10 #Just Dilema
- 50 = personality_events.11 #A righteous King
- 50 = personality_events.12 #A Righteous Republican Ruler
- 50 = personality_events.13
- 50 = personality_events.14
- 50 = personality_events.15
- 50 = personality_events.16
- 50 = personality_events.17
- 50 = personality_events.18
- 50 = personality_events.19
- 50 = personality_events.20
- 50 = personality_events.21
- 50 = personality_events.22
- 50 = personality_events.23
- 50 = personality_events.24
- 50 = personality_events.25
- 50 = personality_events.26
- 50 = personality_events.27
- 50 = personality_events.28
- 50 = personality_events.29
- 50 = personality_events.30
- 50 = personality_events.31
- 50 = personality_events.32
- 50 = personality_events.33
- 50 = personality_events.34
- 50 = personality_events.35
- 50 = personality_events.36
- 50 = personality_events.37
- 50 = personality_events.38
- 50 = personality_events.39
- 50 = personality_events.40
- 50 = personality_events.41
- 50 = personality_events.42
- 50 = personality_events.43
- 50 = personality_events.44
- 50 = personality_events.45
- 50 = personality_events.46
- 50 = personality_events.47
- 50 = personality_events.48
- 50 = personality_events.49
- 50 = personality_events.50
- 50 = personality_events.51
- 50 = personality_events.52
- 50 = personality_events.53
- 50 = personality_events.54
- 50 = personality_events.55
- 50 = personality_events.56
- 50 = personality_events.57
- 50 = personality_events.58
- #工业革命 工业化事件
- 200 = industrialization_events.7
- 200 = industrialization_events.8
- 200 = industrialization_events.9
- 200 = industrialization_events.10
- 200 = industrialization_events.11
- 200 = industrialization_events.12
- 200 = industrialization_events.13
- 200 = industrialization_events.14
- 200 = industrialization_events.15
- 200 = industrialization_events.16
- 200 = industrialization_events.17
- 200 = industrialization_events.18
- 200 = industrialization_events.19
- 200 = industrialization_events.20
- 200 = industrialization_events.21
- 200 = industrialization_events.22
- #儒教事件
- 75 = confucian_events.19
- 75 = confucian_events.20
- # 东正教圣像事件
- 75 = orthodox_icon_events.1
- 75 = orthodox_icon_events.3
- 75 = orthodox_icon_events.4
- 75 = orthodox_icon_events.5
- 75 = orthodox_icon_events.6
- 2000 = 0 #was 1250
- }
}
在双年脉冲2
on_bi_yearly_pulse_2:{
- random_events:{腐败度事件
- 100 = corruption_event.1
- 100 = corruption_event.2
- 100 = corruption_event.3
- 100 = corruption_event.4
- 100 = corruption_event.5
- 100 = corruption_event.6
- 100 = corruption_event.7
- 100 = corruption_event.8
- 100 = corruption_event.9
- 100 = corruption_event.10
- 200 = corruption_event.11
- 200 = corruption_event.12
- 200 = corruption_event.13
- 200 = corruption_event.14
- 200 = corruption_event.15
- 4000 = 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.20
- muslim_school_events.20 #选择学派
- }
- random_events:{
- 100 = new_court_flavour_events.21 #religious resignation
- 100 = new_court_flavour_events.25 #blood is thicker than water
- 200 = 0
- }
}
在双年脉冲4
on_bi_yearly_pulse_4:{
- random_events:{ #all these were shifted from on_bi_yearly_pulse_1
- #随机事件
- 100 = 730
- 100 = 731
- 100 = 732
- 100 = 733
- 100 = 734
- 100 = 735
- 100 = 736
- 100 = 737
- 100 = 738
- 100 = 739
- 100 = 740
- 100 = 741
- 100 = 742
- 100 = 850
- 100 = 851
- 100 = 852
- 100 = 853
- 100 = 854
- 100 = 855
- 100 = 857
- 100 = 858
- 100 = 859
- 100 = 860
- 100 = 861
- 100 = 862
- 100 = 863
- 100 = 864
- 100 = 865
- 100 = 866
- 100 = 867
- 100 = 868
- 100 = 869
- 100 = 870
- 100 = 871
- 100 = 872
- 100 = 873
- 100 = 874
- 100 = 875
- 100 = 876
- 100 = 877
- 100 = 878
- 100 = 879
- 100 = 880
- 100 = 881
- 100 = 882
- 100 = 883
- 100 = 884
- 100 = 885
- 100 = 836
- 100 = 837
- 100 = 838
- 100 = 9472
- 100 = 3097
- 100 = 5005
- 100 = 5026
- 100 = 5037
- 100 = 5063
- 100 = 6014
- # 圣公宗事件
- 100 = anglican_events.1
- 100 = anglican_events.2
- 100 = anglican_events.3
- 100 = anglican_events.4
- 100 = anglican_events.5
- 100 = anglican_events.6
- 100 = anglican_events.7
- 100 = anglican_events.8
- 100 = anglican_events.9
- 100 = anglican_events.10
- 100 = anglican_events.11
- 100 = anglican_events.12
- 100 = anglican_events.13
- 150 = anglican_events.15
- # 胡斯派事件
- 100 = hussite.1
- 100 = hussite.2
- 100 = hussite.3
- 100 = hussite.4
- 100 = hussite.5
- 100 = hussite.6
- 100 = hussite.7
- # 创新度事件
- 100 = innovativeness_events.1
- 100 = innovativeness_events.2
- 50 = innovativeness_events.3
- 100 = innovativeness_events.4
- 100 = innovativeness_events.5
- 100 = innovativeness_events.6
- 100 = innovativeness_events.7
- 100 = innovativeness_events.8
- 100 = innovativeness_events.9
- 100 = innovativeness_events.10
- 100 = innovativeness_events.11
- 100 = innovativeness_events.12
- 100 = innovativeness_events.13
- 100 = innovativeness_events.14
- 100 = innovativeness_events.15
- # 贸易公司投资 投资事件
- 100 = investment_events.1
- 100 = investment_events.2
- 100 = investment_events.3
- 100 = investment_events.4
- 100 = investment_events.5
- 100 = investment_events.6
- 100 = investment_events.7
- 100 = investment_events.8
- 100 = investment_events.9
- 100 = investment_events.10
- # 天主教 修会事件
- 100 = order_events.1
- 100 = order_events.2
- 100 = order_events.3
- 100 = order_events.4
- 100 = order_events.5
- 100 = order_events.6
- 100 = order_events.7
- 100 = order_events.8
- 100 = order_events.9
- # 驱逐少数族群事件
- 100 = expel_minority_events.1
- 100 = expel_minority_events.2
- 100 = expel_minority_events.3
- 100 = expel_minority_events.4
- 100 = expel_minority_events.5
- # 教廷什一税事件
- 100 = curia.1
- 100 = curia.2
- 100 = curia.4
- 100 = curia.9:
- 100 = curia.10
- 100 = curia.11
- 100 = curia.12
- # 信仰守护者
- 100 = dotf.1
- 100 = dotf.4
- 100 = dotf.6
- 100 = dotf.7
- # 雇佣兵
- 100 = mercs.1
- 100 = mercs.2
- 100 = mercs.3
- 100 = mercs.4
- 100 = mercs.7
- 100 = mercs.7
- 100 = mercs.8
- 100 = mercs.10
- 100 = mercs.11
- # 间谍理念组事件
- 100 = espionage_events.1
- 100 = espionage_events.4
- 100 = espionage_events.8
- 80 = espionage_events.9
- #法国恐怖统治
- 150 = french_revolution.302
- 100 = french_revolution.303
- # 教廷事件
- 100 = papacy_events.6
- # 陆军职业度事件
- 100 = army_professionalism_events.4
- 100 = army_professionalism_events.5
- 75 = army_professionalism_events.6
- 100 = army_professionalism_events.8
- 100 = army_professionalism_events.9
- 100 = army_professionalism_events.10
- 100 = army_professionalism_events.11
- 75 = army_professionalism_events.12
- 100 = army_professionalism_events.13
- 75 = army_professionalism_events.16
- # 来自阶层的议程
- 1000 = estate_privileges_and_agendas_events.4
- 2000 = 0
- }
}
在三年脉冲
- # 国家随机事件
on_thri_yearly_pulse:{
- random_events:{
- # 共和制事件
- 100 = republics.4
- 100 = republics.5
- 100 = republics.6
- 100 = republics.7
- 100 = republics.8
- 100 = republics.9
- 100 = republics.10
- 100 = republics.11
- 100 = republics.12
- 100 = republics.13
- 100 = republics.14
- 100 = republics.15
- 100 = republics.16
- 100 = republics.17
- 100 = republics.18
- 100 = republics.19
- 100 = republics.20
- 100 = republics.21
- 100 = republics.22
- 100 = republics.23
- 100 = republics.24
- 100 = republics.25
- 100 = republics.26
- 100 = republics.27
- 100 = republics.28
- 100 = republics.29
- 100 = republics.30
- 100 = republics.31
- 100 = republics.32
- 100 = republics.33
- 100 = republics.34
- 100 = republics.35
- 100 = republics.36
- 100 = republics.37
- 100 = republics.38
- 100 = republics.39
- 100 = republics.40
- 100 = republics.41
- 100 = republics.42
- 100 = republics.43
- # 神权制 奉献度事件
- 100 = devotion_events.1
- 100 = devotion_events.2
- 100 = devotion_events.3
- 100 = devotion_events.4
- 100 = devotion_events.5
- 100 = devotion_events.6
- 100 = devotion_events.7
- 100 = devotion_events.8
- 100 = devotion_events.9
- 100 = devotion_events.10
- 100 = devotion_events.11
- 100 = devotion_events.12
- 100 = devotion_events.13
- 100 = devotion_events.14
- 100 = devotion_events.15
- 100 = devotion_events.16
- 100 = devotion_events.18
- 100 = devotion_events.19
- 100 = devotion_events.22
- 100 = devotion_events.23
- 100 = devotion_events.24
- 100 = devotion_events.26
- 100 = devotion_events.100
- 100 = devotion_events.101
- 100 = devotion_events.102
- 100 = devotion_events.104
- 100 = devotion_events.107
- 100 = devotion_events.110
- 100 = devotion_events.117
- 100 = devotion_events.118
- 100 = devotion_events.119
- 100 = devotion_events.200
- 100 = devotion_events.201
- 100 = devotion_events.202
- 100 = devotion_events.203
- 100 = devotion_events.204
- 100 = devotion_events.205
- 100 = devotion_events.207
- 100 = devotion_events.208
- 100 = devotion_events.209
- 100 = devotion_events.210
- 100 = devotion_events.211
- 100 = devotion_events.212
- 100 = devotion_events.213
- 100 = devotion_events.214
- 100 = devotion_events.215
- 100 = devotion_events.216
- 100 = devotion_events.217
- 100 = devotion_events.218
- 100 = devotion_events.219
- # 日本大名 日本事件
- 15 = flavor_jap.10
- 50 = flavor_jap.28
- 100 = flavor_jap.40
- 100 = flavor_jap.42
- 100 = flavor_jap.43
- 100 = flavor_jap.45
- 100 = flavor_jap.49
- 100 = flavor_jap.51
- 100 = flavor_jap.52
- 100 = flavor_jap.53
- 100 = flavor_jap.54
- 100 = flavor_jap.55
- #革命中心 - post-spawn (比其他更高的权重,因为它们只是短暂的相关)
- 200 = center_of_revolution.1
- 150 = center_of_revolution.2
- 200 = center_of_revolution.3
- 200 = center_of_revolution.8
- 250 = center_of_revolution.9
- 250 = center_of_revolution.10
- 200 = center_of_revolution.12
- #革命中心 - pre-spawn
- 100 = center_of_revolution.2000
- 100 = center_of_revolution.2002
- 100 = center_of_revolution.2003
- 100 = center_of_revolution.2010
- 1000 = 0
- }
}
在三年脉冲2
on_thri_yearly_pulse_2:{
- random_events:{
- # 随机增加或减少牧首权威。 东正教事件
- 25 = orthodox_flavor.1
- 20 = orthodox_flavor.2
- 25 = orthodox_flavor.3
- 25 = orthodox_flavor.4
- 25 = orthodox_flavor.5
- # 穆斯林虔诚事件
- 40 = muslim_piety.1
- 40 = muslim_piety.2
- 40 = muslim_piety.3
- 20 = muslim_piety.4
- 20 = muslim_piety.5
- 40 = muslim_piety.6
- 40 = muslim_piety.7
- 40 = muslim_piety.8
- 40 = muslim_piety.9
- 40 = muslim_piety.10
- 40 = muslim_piety.11
- 40 = muslim_piety.12
- 40 = muslim_piety.13
- 40 = muslim_piety.14
- 40 = muslim_piety.15
- 40 = muslim_piety.16
- 40 = muslim_piety.22
- 300 = 0
- }
}
在三年脉冲3
on_thri_yearly_pulse_3:{
- random_events:{
- # 附属国互动事件
- 50 = subject_interaction_events.1
- 50 = subject_interaction_events.4
- 50 = subject_interaction_events.5
- 50 = subject_interaction_events.6
- 50 = subject_interaction_events.7
- 50 = subject_interaction_events.9
- 50 = subject_interaction_events.11
- 50 = subject_interaction_events.14
- 50 = subject_interaction_events.15
- 50 = subject_interaction_events.17
- 50 = subject_interaction_events.18
- 50 = subject_interaction_events.19
- 50 = subject_interaction_events.20
- 50 = subject_interaction_events.21
- 50 = subject_interaction_events.22
- 50 = subject_interaction_events.23
- 50 = subject_interaction_events.24
- 50 = subject_interaction_events.25
- 50 = subject_interaction_events.26
- 50 = subject_interaction_events.27
- 50 = subject_interaction_events.29
- 50 = subject_interaction_events.30
- 50 = subject_interaction_events.31
- 50 = subject_interaction_events.32
- 50 = subject_interaction_events.34
- 50 = subject_interaction_events.35
- 50 = subject_interaction_events.36
- 50 = subject_interaction_events.38
- 50 = subject_interaction_events.40
- 50 = subject_interaction_events.43
- 75 = tributary_events.1
- 75 = tributary_events.2
- 75 = tributary_events.3
- 75 = tributary_events.4
- 75 = tributary_events.5
- 75 = tributary_events.6
- 75 = tributary_events.7
- 75 = tributary_events.8
- 75 = tributary_events.9
- 75 = tributary_events.10
- 75 = tributary_events.13
- 75 = tributary_events.16
- 75 = tributary_events.17
- 75 = tributary_events.18
- 75 = tributary_events.19
- 75 = tributary_events.23
- 75 = tributary_events.24
- 75 = tributary_events.26
- 75 = tributary_events.25
- 75 = tributary_events.27
- 1000 = 0
- }
}
在三年脉冲4
on_thri_yearly_pulse_4:{
- random_events:{
- #低天命事件 天朝派系事件
- 10 = china_events.45
- 10 = china_events.46
- 50 = china_events.47
- 10 = china_events.48
- 10 = china_events.49
- 10 = china_events.50
- 50 = china_events.51
- 10 = china_events.52
- 10 = china_events.53
- 50 = china_events.54
- #10 = china_events.55 (通过邻国触发)
- 10 = china_events.56
- 75 = china_events.57
- 50 = china_events.58
- 10 = china_events.59
- 50 = china_events.60
- }
}
在四年脉冲
on_four_year_pulse:{
- random_events:{
- # 殖民领事件
- 100 = colonial_nation.1
- 100 = colonial_nation.4
- 100 = colonial_nation.10
- 100 = colonial_nation.12
- 100 = colonial_nation.14
- 100 = colonial_nation.77
- 100 = colonial_nation.100
- 100 = colonial_nation.102
- 100 = colonial_nation.104
- 100 = colonial_nation.106
- 100 = colonial_nation.108
- 100 = colonial_nation.110
- 100 = colonial_nation.112
- 100 = colonial_nation.114
- 100 = colonial_nation.116
- 100 = colonial_nation.118
- 100 = colonial_nation.120
- 100 = colonial_nation.122
- 100 = colonial_nation.124
- 100 = colonial_nation.126
- 100 = colonial_nation.128
- 100 = colonial_nation.130
- 100 = colonial_nation.132
- 100 = colonial_nation.134
- 10 = colonial_nation.140
- 10 = colonial_nation.142
- 10 = colonial_nation.144
- 10 = colonial_nation.146
- 10 = colonial_nation.148
- 10 = colonial_nation.150
- 10 = colonial_nation.152
- 10 = colonial_nation.154
- 10 = colonial_nation.156
- 10 = colonial_nation.158
- 10 = colonial_nation.160
- 10 = colonial_nation.162
- 10 = colonial_nation.164
- 10 = colonial_nation.166
- 10 = colonial_nation.168
- 10 = colonial_nation.170
- 10 = colonial_nation.172
- 10 = colonial_nation.174
- 10 = colonial_nation.176
- # 荷兰共和制 尼德兰事件
- 100 = dutch_republic.1
- 100 = dutch_republic.2
- 100 = dutch_republic.3
- 100 = dutch_republic.4
- 100 = dutch_republic.5
- 100 = dutch_republic.6
- 100 = dutch_republic.7
- 100 = dutch_republic.8
- 100 = dutch_republic.9
- 100 = dutch_republic.10
- 150 = dutch_republic.11
- 100 = dutch_republic.13
- 100 = dutch_republic.14
- 100 = dutch_republic.15
- 100 = dutch_republic.16
- 100 = dutch_republic.17
- 100 = dutch_republic.18
- 100 = dutch_republic.19
- 100 = dutch_republic.20
- 100 = dutch_republic.21
- 100 = dutch_republic.22
- 100 = dutch_republic.23
- 100 = dutch_republic.24
- 100 = dutch_republic.25
- 100 = dutch_republic.27
- # 共和制派系事件
- 100 = republic_factions.2
- 100 = republic_factions.5
- 100 = republic_factions.7
- 100 = republic_factions.9
- 100 = republic_factions.10
- 100 = republic_factions.12
- 100 = republic_factions.13
- 100 = republic_factions.14
- 100 = republic_factions.15
- 100 = republic_factions.16
- 100 = republic_factions.17
- 100 = republic_factions.18
- 100 = republic_factions.19
- 100 = republic_factions.20
- 100 = republic_factions.22
- 100 = republic_factions.23
- 100 = republic_factions.24
- 100 = revolutionary_republic_factions.0
- 100 = revolutionary_republic_factions.1
- 100 = revolutionary_republic_factions.2
- 100 = revolutionary_republic_factions.3
- 100 = revolutionary_republic_factions.4
- 100 = revolutionary_republic_factions.5
- 100 = revolutionary_republic_factions.6
- 100 = revolutionary_republic_factions.7
- 100 = revolutionary_republic_factions.8
- 100 = revolutionary_republic_factions.9
- # 革命帝国事件
- 100 = napoleon.1
- 100 = napoleon.2
- # 海盗派系事件 海盗事件
- 100 = pirates.10
- 100 = pirates.11
- 100 = pirates.12
- 100 = pirates.13
- 100 = pirates.14
- 100 = pirates.15
- 100 = pirates.16
- 100 = pirates.17
- 100 = pirates.18
- 100 = pirates.19
- # 独裁共和制事件
- 100 = republican_dictatorship.1
- 100 = republican_dictatorship.2
- 100 = republican_dictatorship.3
- 100 = republican_dictatorship.4
- 100 = republican_dictatorship.5
- 100 = republican_dictatorship.6
- 100 = republican_dictatorship.7
- 100 = republican_dictatorship.8
- # 选举君主制事件
- 150 = elective_monarchy.1
- 150 = elective_monarchy.2
- 25 = elective_monarchy.3
- 25 = elective_monarchy.4
- 150 = elective_monarchy.6
- 150 = elective_monarchy.8
- 150 = elective_monarchy.9
- 150 = elective_monarchy.10
- 150 = elective_monarchy.11
- 150 = elective_monarchy.12
- 150 = elective_monarchy.14
- 150 = elective_monarchy.17
- 25 = elective_monarchy.18
- # 自由市事件
- 25 = free_cities.3
- 25 = free_cities.8
- 25 = free_cities.10
- 25 = free_cities.13
- 25 = free_cities.17
- 25 = free_cities.19
- #部落联盟事件
- 50 = tribal_federation_events.1
- 50 = tribal_federation_events.2
- 50 = tribal_federation_events.3
- 50 = tribal_federation_events.4
- 50 = tribal_federation_events.5
- 50 = tribal_federation_events.6
- 50 = tribal_federation_events.7
- 50 = tribal_federation_events.8
- 50 = tribal_federation_events.10
- #中华帝国 天朝派系事件
- 100 = china_events.1
- 100 = china_events.2
- 100 = china_events.3
- 100 = china_events.4
- 75 = china_events.5
- 100 = china_events.6
- 100 = china_events.7
- 100 = china_events.8
- 100 = china_events.9
- 100 = china_events.10
- 100 = china_events.11
- 100 = china_events.12
- 100 = china_events.13
- 100 = china_events.14
- 100 = china_events.15
- 100 = china_events.16
- 100 = china_events.17
- 100 = china_events.18
- 100 = china_events.19
- 100 = china_events.20
- 100 = china_events.21
- 100 = china_events.22
- 100 = china_events.23
- 100 = china_events.24
- 100 = china_events.25
- 100 = china_events.26
- 100 = china_events.27
- 100 = china_events.28
- 100 = china_events.29
- 100 = china_events.30
- 100 = china_events.33
- 100 = china_events.34
- 100 = china_events.35
- 100 = china_events.36
- 100 = china_events.37
- 100 = china_events.38
- 100 = china_events.39
- 50 = china_events.40
- 100 = china_events.41
- 100 = china_events.42
- 100 = china_events.44
- 10 = 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.100
- 100 = ideagroups.101
- 100 = ideagroups.102
- 100 = ideagroups.103
- 100 = ideagroups.104
- 100 = ideagroups.105
- 100 = ideagroups.106
- 100 = ideagroups.107
- 100 = ideagroups.108
- 100 = ideagroups.109
- 100 = ideagroups.110
- 100 = ideagroups.111
- 100 = ideagroups.112
- # 财阀理念组事件 19个(12好 7坏)
- 100 = ideagroups.200
- 100 = ideagroups.201
- 100 = ideagroups.202
- 100 = ideagroups.203
- 100 = ideagroups.204
- 100 = ideagroups.205
- 100 = ideagroups.206
- 100 = ideagroups.207
- 100 = ideagroups.208
- 100 = ideagroups.209
- 100 = ideagroups.210
- 100 = ideagroups.211
- 100 = ideagroups.212
- 100 = ideagroups.213
- 100 = ideagroups.214
- 100 = ideagroups.215
- 100 = ideagroups.216
- 100 = ideagroups.217
- 100 = ideagroups.218
- # 革新理念组事件 11个(7好 4坏)
- 100 = ideagroups.300
- 100 = ideagroups.301
- 100 = ideagroups.302
- 100 = ideagroups.303
- 100 = ideagroups.304
- 100 = ideagroups.305
- 100 = ideagroups.306
- 100 = ideagroups.307
- 100 = ideagroups.308
- 100 = ideagroups.309
- 100 = ideagroups.310
- # 宗教理念组事件 18个(11好 7坏)
- 100 = ideagroups.400
- 100 = ideagroups.401
- 100 = ideagroups.402
- 100 = ideagroups.403
- 100 = ideagroups.404
- 100 = ideagroups.405
- 100 = ideagroups.406
- 100 = ideagroups.407
- 100 = ideagroups.408
- 100 = ideagroups.409
- 100 = ideagroups.410
- 100 = ideagroups.411
- 100 = ideagroups.412
- 100 = ideagroups.413
- 100 = ideagroups.414
- 100 = ideagroups.415
- 100 = ideagroups.416
- 100 = ideagroups.417
- # 间谍理念组事件 9个(6好 3坏)
- 100 = ideagroups.500
- 100 = ideagroups.501
- 100 = ideagroups.502
- 100 = ideagroups.503
- 100 = ideagroups.504
- 100 = ideagroups.505
- 100 = ideagroups.506
- 100 = ideagroups.507
- 100 = ideagroups.508
- # 外交理念组事件 9个(6好 3坏)
- 100 = ideagroups.600
- 100 = ideagroups.601
- 100 = ideagroups.602
- 100 = ideagroups.603
- 100 = ideagroups.604
- 100 = ideagroups.605
- 100 = ideagroups.606
- 100 = ideagroups.607
- 100 = ideagroups.608
- # 进攻理念组事件 14个(9好 5坏)
- 100 = ideagroups.700
- 100 = ideagroups.701
- 100 = ideagroups.702
- 100 = ideagroups.703
- 100 = ideagroups.704
- 100 = ideagroups.705
- 100 = ideagroups.706
- 100 = ideagroups.707
- 100 = ideagroups.708
- 100 = ideagroups.709
- 100 = ideagroups.710
- 100 = ideagroups.711
- 100 = ideagroups.712
- 100 = ideagroups.713
- # 防御理念组事件 11个(5好 6坏)
- 100 = ideagroups.800
- 100 = ideagroups.801
- 100 = ideagroups.802
- 100 = ideagroups.803
- 100 = ideagroups.804
- 100 = ideagroups.805
- 100 = ideagroups.806
- 100 = ideagroups.807
- 100 = ideagroups.808
- 100 = ideagroups.809
- 100 = ideagroups.810
- 100 = ideagroups.811
- 100 = ideagroups.812
- 100 = ideagroups.813
- 100 = ideagroups.814
- 100 = ideagroups.815
- # 贸易理念组事件 11个(7好 4坏)
- 100 = ideagroups.900
- 100 = ideagroups.901
- 100 = ideagroups.902
- 100 = ideagroups.903
- 100 = ideagroups.904
- 100 = ideagroups.905
- 100 = ideagroups.906
- 100 = ideagroups.907
- 100 = ideagroups.908
- 100 = ideagroups.909
- 100 = ideagroups.910
- # 航海理念组事件 22个(14好 8坏)
- 100 = ideagroups.1000
- 100 = ideagroups.1001
- 100 = ideagroups.1002
- 100 = ideagroups.1003
- 100 = ideagroups.1004
- 100 = ideagroups.1005
- 100 = ideagroups.1006
- 100 = ideagroups.1007
- 100 = ideagroups.1008
- 100 = ideagroups.1009
- 100 = ideagroups.1010
- 100 = ideagroups.1011
- 100 = ideagroups.1012
- 100 = ideagroups.1013
- 100 = ideagroups.1014
- 100 = ideagroups.1015
- 100 = ideagroups.1016
- 100 = ideagroups.1017
- 100 = ideagroups.1018
- 100 = ideagroups.1019
- 100 = ideagroups.1020
- 100 = ideagroups.1021
- # 经济理念组事件 11个(7好 4坏)
- 100 = ideagroups.1100
- 100 = ideagroups.1101
- 100 = ideagroups.1102
- 100 = ideagroups.1103
- 100 = ideagroups.1104
- 100 = ideagroups.1105
- 100 = ideagroups.1106
- 100 = ideagroups.1107
- 100 = ideagroups.1108
- 100 = ideagroups.1109
- 100 = ideagroups.1110
- # 探索理念组事件 11个(7好 4坏)
- 100 = ideagroups.1200
- 100 = ideagroups.1201
- 100 = ideagroups.1202
- 100 = ideagroups.1203
- 100 = ideagroups.1204
- 100 = ideagroups.1205
- 100 = ideagroups.1206
- 100 = ideagroups.1207
- 100 = ideagroups.1208
- 100 = ideagroups.1209
- 100 = ideagroups.1210
- # 质量理念组事件 11个(7好 4坏)
- 100 = ideagroups.1300
- 100 = ideagroups.1301
- 100 = ideagroups.1302
- 100 = ideagroups.1303
- 100 = ideagroups.1304
- 100 = ideagroups.1305
- 100 = ideagroups.1306
- 100 = ideagroups.1307
- 100 = ideagroups.1308
- 100 = ideagroups.1309
- 100 = ideagroups.1310
- # 数量理念组事件 11个(7好 4坏)
- 100 = ideagroups.1400
- 100 = ideagroups.1401
- 100 = ideagroups.1402
- 100 = ideagroups.1403
- 100 = ideagroups.1404
- 100 = ideagroups.1405
- 100 = ideagroups.1406
- 100 = ideagroups.1407
- 100 = ideagroups.1408
- 100 = ideagroups.1409
- 100 = ideagroups.1410
- # 扩张理念组事件 11个(7好 4坏)
- 100 = ideagroups.1500
- 100 = ideagroups.1501
- 100 = ideagroups.1502
- 100 = ideagroups.1503
- 100 = ideagroups.1504
- 100 = ideagroups.1505
- 100 = ideagroups.1506
- 100 = ideagroups.1507
- 100 = ideagroups.1508
- 100 = ideagroups.1509
- 100 = ideagroups.1510
- # 行政理念组事件 11个(7好 4坏)
- 100 = ideagroups.1600
- 100 = ideagroups.1601
- 100 = ideagroups.1602
- 100 = ideagroups.1603
- 100 = ideagroups.1604
- 100 = ideagroups.1605
- 100 = ideagroups.1606
- 100 = ideagroups.1607
- 100 = ideagroups.1608
- 100 = ideagroups.1609
- 100 = ideagroups.1610
- # 海军理念组事件 11个(7好 4坏)
- 100 = ideagroups.1700
- 100 = ideagroups.1701
- 100 = ideagroups.1702
- 100 = ideagroups.1703
- 100 = ideagroups.1704
- 100 = ideagroups.1705
- 100 = ideagroups.1706
- 100 = ideagroups.1707
- 100 = ideagroups.1708
- 100 = ideagroups.1709
- 100 = ideagroups.1710
- # 影响理念组事件 11个(7好 4坏)
- 100 = ideagroups.1800
- 100 = ideagroups.1801
- 100 = ideagroups.1802
- 100 = ideagroups.1803
- 100 = ideagroups.1804
- 100 = ideagroups.1805
- 100 = ideagroups.1806
- 100 = ideagroups.1807
- 100 = ideagroups.1808
- 100 = ideagroups.1809
- 100 = ideagroups.1810
- # 人文理念组事件 11个(7好 4坏)
- 100 = ideagroups.1900
- 100 = ideagroups.1901
- 100 = ideagroups.1902
- 100 = ideagroups.1903
- 100 = ideagroups.1904
- 100 = ideagroups.1905
- 100 = ideagroups.1906
- 100 = ideagroups.1907
- 100 = ideagroups.1908
- 100 = ideagroups.1909
- 100 = ideagroups.1910
- 1000 = 0
- }
- 事件:{ 黄金七城事件#seven_cities_events.1000
- seven_cities_events.1000 #清除七城的搜寻,当目标不再可能时
- }
}
在五年脉冲2
- # 阶层脉冲
on_five_year_pulse_2:{
- random_events:{
- # 市民 阶层事件
- 100 = burghers_estate_events.1
- 100 = burghers_estate_events.2
- 100 = burghers_estate_events.3
- 100 = burghers_estate_events.4
- 100 = burghers_estate_events.5
- 100 = burghers_estate_events.6
- 100 = burghers_estate_events.7
- 100 = burghers_estate_events.8
- 100 = burghers_estate_events.9
- 400 = burghers_estate_events.10 #要求
- 100 = burghers_estate_events.11 #Bonus
- 100 = burghers_estate_events.12
- 100 = burghers_estate_events.13
- 400 = burghers_estate_events.14 #要求
- 100 = burghers_estate_events.15 #不忠
- # 贵族 阶层事件
- 100 = nobles_estate_events.1 #要求
- 100 = nobles_estate_events.2
- 100 = nobles_estate_events.3
- 100 = nobles_estate_events.4
- 400 = nobles_estate_events.5 #要求
- 100 = nobles_estate_events.6
- 100 = nobles_estate_events.7
- 400 = nobles_estate_events.8 #不忠
- 400 = nobles_estate_events.9 #不忠
- 50 = nobles_estate_events.10
- 100 = nobles_estate_events.11 #Bonus
- # 教士 阶层事件
- 100 = church_estate_events.1
- #区域变体:
- 100 = church_estate_events.101
- 100 = church_estate_events.102
- 100 = church_estate_events.103
- 100 = church_estate_events.104
- 100 = church_estate_events.105
- 100 = church_estate_events.2
- 100 = church_estate_events.3
- 100 = church_estate_events.4
- 400 = church_estate_events.5 #不忠
- 400 = church_estate_events.6 #要求
- 100 = church_estate_events.7 #Bonus
- 100 = church_estate_events.8
- 100 = church_estate_events.9
- 100 = church_estate_events.10
- # 齐米
- 100 = dhimmi_estate_events.1
- 400 = dhimmi_estate_events.2 #要求
- 100 = dhimmi_estate_events.3
- 100 = dhimmi_estate_events.4
- 100 = dhimmi_estate_events.5
- 100 = dhimmi_estate_events.6
- 400 = dhimmi_estate_events.7 #不忠
- 100 = dhimmi_estate_events.8
- # 哥萨克
- 100 = cossack_estate_events.1
- #100 = cossack_estate_events.2 (触发器在邻国)
- 100 = cossack_estate_events.6
- 100 = cossack_estate_events.7
- 100 = cossack_estate_events.8
- 100 = cossack_estate_events.9
- 100 = cossack_estate_events.10
- 100 = cossack_estate_events.11
- 400 = cossack_estate_events.12 #不忠
- 100 = cossack_estate_events.13
- 400 = cossack_estate_events.14 #要求
- # 部落
- 100 = tribal_estate_events.1
- 100 = tribal_estate_events.2
- 100 = tribal_estate_events.3
- 100 = tribal_estate_events.4
- 100 = tribal_estate_events.5
- 100 = tribal_estate_events.6
- 100 = tribal_estate_events.7
- 100 = tribal_estate_events.8
- 100 = tribal_estate_events.9
- 150 = tribal_estate_events.11 #要求
- 150 = tribal_estate_events.12 #要求
- 150 = tribal_estate_events.13 #要求
- 150 = tribal_estate_events.14 #要求
- # 马拉塔
- 100 = marathas_estate_events.2
- 100 = marathas_estate_events.3
- 100 = marathas_estate_events.4
- 100 = marathas_estate_events.5
- 100 = marathas_estate_events.6
- 400 = marathas_estate_events.7 # 要求
- 100 = marathas_estate_events.8
- 100 = marathas_estate_events.9
- 100 = marathas_estate_events.10
- 400 = marathas_estate_events.11 # 不忠
- # 婆罗门
- 400 = brahmins_estate_events.2 # 要求
- 100 = brahmins_estate_events.3
- 100 = brahmins_estate_events.4
- 100 = brahmins_estate_events.5
- 400 = brahmins_estate_events.6 # 不忠
- 100 = brahmins_estate_events.7
- 100 = brahmins_estate_events.8
- 100 = brahmins_estate_events.9
- 100 = brahmins_estate_events.10
- 100 = brahmins_estate_events.11
- # 耆那教徒
- 100 = jains_estate_events.2
- 100 = jains_estate_events.3
- 100 = jains_estate_events.4
- 100 = jains_estate_events.5
- 100 = jains_estate_events.6
- 100 = jains_estate_events.7
- 400 = jains_estate_events.8 # 不忠
- 100 = jains_estate_events.9
- 400 = jains_estate_events.10 # 要求
- 100 = jains_estate_events.11
- # 吠舍
- 100 = vaisyas_estate_events.2
- 100 = vaisyas_estate_events.3
- 100 = vaisyas_estate_events.4
- 100 = vaisyas_estate_events.5
- 100 = vaisyas_estate_events.6
- 100 = vaisyas_estate_events.7
- 100 = vaisyas_estate_events.8
- 400 = vaisyas_estate_events.9
- 100 = vaisyas_estate_events.10
- 100 = vaisyas_estate_events.11
- # 拉杰普特
- 100 = rajputs_estate_events.2
- 100 = rajputs_estate_events.3
- 100 = rajputs_estate_events.4
- 100 = rajputs_estate_events.5
- 400 = rajputs_estate_events.6
- 100 = rajputs_estate_events.7
- 400 = rajputs_estate_events.8
- 100 = rajputs_estate_events.9
- 100 = rajputs_estate_events.10
- 100 = rajputs_estate_events.11
- # 随机
- 5 = flavor_fra.9500
- 1000 = 0
- }
}
在五年脉冲3
on_five_year_pulse_3:{
- random_events:{ 传播宗教事件
- 100 = propagate_religion_events.1
- 100 = propagate_religion_events.2
- 100 = propagate_religion_events.3
- 100 = propagate_religion_events.4
- 100 = propagate_religion_events.5
- 100 = propagate_religion_events.6
- 100 = propagate_religion_events.8
- 100 = propagate_religion_events.9
- 100 = 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_adm
- days = 720
- }
- had_country_flag:{
- }
- clr_country_flag = advisor_events_adm
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- had_country_flag:{
- flag = advisor_events_dip
- days = 720
- }
- had_country_flag:{
- }
- clr_country_flag = advisor_events_dip
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- had_country_flag:{
- flag = advisor_events_mil
- days = 720
- }
- had_country_flag:{
- }
- clr_country_flag = advisor_events_mil
- 仅限于:{
- }
}
在探索海岸时
on_explore_coast:{
- random_events:{ 探索事件
- 10 = exploration_events.1
- 10 = exploration_events.2
- 10 = exploration_events.3
- 10 = exploration_events.4
- 10 = exploration_events.5
- 10 = exploration_events.6
- 10 = exploration_events.7
- 10 = exploration_events.8
- 10 = exploration_events.9
- 10 = exploration_events.10
- 10 = exploration_events.11
- 10 = exploration_events.12
- 10 = exploration_events.13
- 10 = exploration_events.14
- 10 = exploration_events.15
- }
}
在征服者探索空地时
on_conquistador_empty:{
- random_events:{ 黄金七城事件
- 10 = seven_cities_events.1
- 10 = seven_cities_events.2
- 10 = seven_cities_events.3
- 10 = seven_cities_events.4
- 10 = seven_cities_events.5
- 10 = seven_cities_events.6
- 10 = seven_cities_events.7
- 10 = seven_cities_events.8
- 10 = seven_cities_events.100
- 10 = seven_cities_events.101
- 10 = seven_cities_events.102
- 10 = seven_cities_events.103
- 10 = seven_cities_events.104
- 10 = seven_cities_events.105
- 50 = seven_cities_events.200
- 50 = seven_cities_events.201
- 50 = seven_cities_events.202
- 50 = seven_cities_events.203
- 50 = seven_cities_events.204
- 50 = seven_cities_events.205
- 50 = seven_cities_events.206
- 50 = seven_cities_events.207
- 50 = seven_cities_events.208
- 50 = seven_cities_events.209
- 50 = seven_cities_events.210
- 50 = seven_cities_events.211
- 50 = seven_cities_events.212
- 50 = seven_cities_events.213
- 50 = seven_cities_events.214
- 50 = seven_cities_events.215
- 50 = seven_cities_events.216
- 50 = seven_cities_events.217
- 50 = seven_cities_events.218
- 50 = seven_cities_events.219
- 50 = seven_cities_events.220
- 50 = seven_cities_events.221
- 50 = seven_cities_events.222
- 50 = seven_cities_events.223
- 10 = seven_cities_events.302
- 10 = seven_cities_events.303
- 10 = seven_cities_events.308
- 10 = seven_cities_events.309
- 10 = seven_cities_events.400
- 10 = seven_cities_events.401
- 10 = seven_cities_events.402
- 10 = seven_cities_events.405
- 10 = seven_cities_events.406
- 10 = seven_cities_events.407
- 10 = seven_cities_events.408
- 10 = seven_cities_events.409
- 10 = seven_cities_events.410
- 10 = seven_cities_events.413
- 10 = seven_cities_events.414
- 2000 = 0
- }
}
在征服者探索土著时
on_conquistador_native:{
- random_events:{ 黄金七城事件
- 10 = seven_cities_events.300
- 10 = seven_cities_events.301
- 10 = seven_cities_events.303
- 10 = seven_cities_events.304
- 10 = seven_cities_events.305
- 10 = seven_cities_events.306
- 10 = seven_cities_events.307
- 10 = seven_cities_events.308
- 10 = seven_cities_events.309
- 10 = seven_cities_events.310
- 250 = 0
- }
}
在通过美洲宗教改革时
on_buy_religious_reform:{
- 事件:{ 宗教改革事件
- religious_reforms.1
- religious_reforms.2
- religious_reforms.3
- }
}
在环球航行时
on_circumnavigation:{
- 事件:{ 探索事件
- exploration_events.17
- exploration_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, sorry
- add_province_modifier:{
- name = revoked_estate_modifier
- duration = 5475 #15 years
- }
}
在撤销阶层封地时
on_revoke_estate_land:{
- add_province_modifier:{
- name = revoked_estate_modifier
- duration = 5475 #15 years
- }
- 如果:{
- 仅限于:{
- has_estate = estate_cossacks
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_cossacks
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = cossack_rebels
- size = 1
- }
- province_event:{ id = cossack_estate_events.15 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_dhimmi
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_dhimmi
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = religious_rebels
- size = 1
- }
- province_event:{ id = dhimmi_estate_events.9 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_church
- has_owner_religion = yes
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_church
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = religious_rebels
- size = 1
- }
- province_event:{ id = church_estate_events.11 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_church
- has_owner_religion = no
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_church
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = particularist_rebels
- size = 1
- }
- province_event:{ id = church_estate_events.11 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_nobles
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_nobles
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = noble_rebels
- size = 1
- }
- province_event:{ id = nobles_estate_events.12 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_burghers
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_burghers
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = particularist_rebels
- size = 1
- }
- province_event:{ id = burghers_estate_events.16 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_nomadic_tribes
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_nomadic_tribes
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = tribal_rebels
- size = 1
- }
- province_event:{ id = tribal_estate_events.10 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_brahmins
- owner:{
- 不是:{
- religion = hinduism
- }
- 不是:{
- estate_loyalty:{
- estate = estate_brahmins
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = religious_rebels
- size = 1
- }
- province_event:{ id = brahmins_estate_events.1 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_brahmins
- owner:{
- religion = hinduism
- 不是:{
- estate_loyalty:{
- estate = estate_brahmins
- loyalty = 40
- }
- estate_loyalty:{
- }
- }
- }
- spawn_rebels:{
- type = particularist_rebels
- size = 1
- }
- province_event:{ id = brahmins_estate_events.1 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_vaisyas
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_vaisyas
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = particularist_rebels
- size = 1
- }
- province_event:{ id = vaisyas_estate_events.1 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_rajput
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_rajput
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = noble_rebels
- size = 1
- }
- province_event:{ id = rajputs_estate_events.1 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_jains
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_jains
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = particularist_rebels
- size = 1
- }
- province_event:{ id = jains_estate_events.1 }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- has_estate = estate_maratha
- owner:{
- 不是:{
- estate_loyalty:{
- estate = estate_maratha
- loyalty = 40
- }
- estate_loyalty:{
- }
- 不是:{
- }
- }
- spawn_rebels:{
- type = noble_rebels
- size = 1
- }
- province_event:{ id = marathas_estate_events.1 }
- 仅限于:{
- }
}
在AI撤销阶层封地之后
on_revoke_estate_land_ai_post:{
- add_local_autonomy = 25
} on_revoke_estate_land_post:{
- add_local_autonomy = 25
}
在授予阶层封地时
on_grant_estate_land:{
- 如果:{
- 仅限于:{
- has_province_modifier = revoked_estate_modifier
- }
- remove_province_modifier = revoked_estate_modifier
- 仅限于:{
- }
}
在君主死亡但是有后宫时
on_death_has_harem:{
- 如果:{
- 仅限于:{
- has_heir = no
- }
- country_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 picked
- country_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_moluccas
- FROM:{ 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 = 1
- }
- 仅限于:{
- }
- else_如果:{
- 仅限于:{
- ai = no
- check_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_prod
- has_province_modifier = grain_bonus_prod
- }
- FROM:{ has_reform = monastic_breweries_reform }
- 不是:{ owner:{ has_reform = monastic_breweries_reform } }
- 或者:{
- }
- remove_province_modifier = wine_bonus_prod
- remove_province_modifier = grain_bonus_prod
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- 不是:{
- 或者:{
- has_province_modifier = wine_bonus_prod
- has_province_modifier = grain_bonus_prod
- }
- 或者:{
- }
- owner:{ has_reform = monastic_breweries_reform }
- 不是:{ FROM:{ has_reform = monastic_breweries_reform } }
- 不是:{
- }
- hidden_effect:{
- 如果:{
- 仅限于:{
- trade_goods = wine
- }
- add_province_modifier:{
- name = wine_bonus_prod
- duration = -1
- hidden = yes
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- trade_goods = grain
- }
- add_province_modifier:{
- name = grain_bonus_prod
- duration = -1
- hidden = yes
- }
- 仅限于:{
- }
- 如果:{
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- owned_by = SRU
- exists = ARA
- }
- ARA:{
- set_country_flag = ARA_defeat_saruhan
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- 不是:{ owner:{ religion_group = muslim } }
- has_province_modifier = sufi_shrine
- }
- remove_province_modifier = sufi_shrine
- 仅限于:{
- }
- on_province_owner_change_estate_privileges_effect = yes
}
在议会辩论失败时
- # 国家
on_parliament_debate_failed:{ }
议会辩论成功时
- # 国家
on_parliament_debate_succeeded:{ }
在和谐各宗教时(分别)
- # 国家
on_harmonized_pagan:{
- 事件:{ 儒教事件
- confucian_events.1
- }
} on_harmonized_christian:{
- 事件:{
- confucian_events.2
- }
} on_harmonized_muslim:{
- 事件:{
- confucian_events.3
- }
} on_harmonized_jewish_group:{
- 事件:{
- confucian_events.5
- }
} on_harmonized_zoroastrian_group:{
- 事件:{
- confucian_events.6
- }
} on_harmonized_dharmic:{
- 事件:{
- confucian_events.4
- }
} on_harmonized_mahayana:{
- 事件:{
- confucian_events.9
- }
} on_harmonized_buddhism:{ #上座部佛教
- 事件:{
- confucian_events.8
- }
} on_harmonized_shinto:{
- 事件:{
- confucian_events.7
- }
} on_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_owner
- }
- remove_province_modifier = pasha_removed_modifier
- owner:{
- }
- area:{
- 仅限于:{ 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_region
- region = hindusthan_region
- region = west_india_region
- region = deccan_region
- region = coromandel_region
- }
- 或者:{
- }
- ROOT:{
- owner:{
- set_country_flag = the_coin_is_stronger_than_the_sword
- }
- owner:{
- }
- 仅限于:{
- }
}
在获得附属国时
- # 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 = yes
- }
- }
- change_government = republic
- add_government_reform = junior_revolutionary_republic_reform
- set_country_flag = had_revolution
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- tag = PAP
- }
- change_government = theocracy
- add_government_reform = papacy_reform
- adopt_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_buccaneers
- }
- add_faction_influence:{
- faction = pr_buccaneers
- influence = 1
- }
- 仅限于:{
- }
}
在旗舰被俘获时
- # ROOT = Tag 捕获该旗舰, FROM = Tag 失去该旗舰
on_flagship_captured:{
- FROM:{
- set_country_flag = captured_flagship_country_flag
- }
- ROOT:{ 旗舰事件
- country_event:{ id = flagship_events.2 }
- set_country_flag = trophy_hunter_flag
- }
- FROM:{
- country_event:{ id = flagship_events.1 }
- }
}
在旗舰被击沉时
- # ROOT = Tag 摧毁该旗舰, FROM = Tag 失去该旗舰
on_flagship_destroyed:{
- FROM:{
- set_country_flag = sunk_flagship_country_flag
- }
- ROOT:{
- country_event:{ id = flagship_events.4 }
- }
- FROM:{
- country_event:{ id = flagship_events.3 }
- }
}
在国家被释放时
- # this = 被释放的国家, FROM = 执行释放的国家
on_country_released:{
- 如果:{
- 仅限于:{
- tag = PAP
- }
- change_government = theocracy
- change_religion = catholic
- add_government_reform = papacy_reform
- adopt_reform_progress = FROM
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- FROM:{ has_reform = religious_permanent_revolution_reform }
- 不是:{ tag = PAP }
- }
- change_religion = FROM
- adopt_reform_progress = FROM
- add_country_modifier:{
- name = global_holy_war_released_modifier
- duration = 3650
- hidden = yes
- }
- capital_scope:{
- change_religion = FROM
- }
- 仅限于:{
- }
}
在商品改变时
- # ROOT = 省份, FROM = 国家
on_trade_good_changed:{
- on_trade_good_changed_estate_privileges_effect = yes
- 如果:{
- 仅限于:{
- 或者:{
- has_province_modifier = wine_bonus_prod
- has_province_modifier = grain_bonus_prod
- }
- FROM:{ has_reform = monastic_breweries_reform }
- 不是:{ owner:{ has_reform = monastic_breweries_reform } }
- 或者:{
- }
- remove_province_modifier = wine_bonus_prod
- remove_province_modifier = grain_bonus_prod
- 仅限于:{
- }
- hidden_effect:{
- 如果:{
- 仅限于:{
- trade_goods = wine
- }
- remove_province_modifier = grain_bonus_prod
- add_province_modifier:{
- name = wine_bonus_prod
- duration = -1
- hidden = yes
- }
- 仅限于:{
- }
- 如果:{
- 仅限于:{
- trade_goods = grain
- }
- remove_province_modifier = wine_bonus_prod
- add_province_modifier:{
- name = grain_bonus_prod
- duration = -1
- hidden = yes
- }
- 仅限于:{
- }
- 如果:{
- }
}
在贷款被偿还时
- # this = 国家
on_loan_repaid:{
- on_loan_repaid_estate_privileges_effect = yes
}
在叛军毁国时
- # this = 国家
on_rebels_break_country:{
- add_country_modifier:{
- name = just_lost_to_rebels
- duration = 10
- hidden = yes
- }
}
在行政顾问被解雇之前
- # this = 国家
- ## Fires when you fire or replace your ADM advisor, in the moment before they are actually removed from their post.
- ## Note
- Defining 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_advisor
- }
- set_country_flag = just_fired_adm_advisor
- remove_advisor_by_category_no_action = ADM
- 仅限于:{
- }
}
在外交顾问被解雇之前
- # this = 国家
on_pre_dip_advisor_fired:{
- 如果:{
- 仅限于:{
- has_country_flag = need_to_fire_dip_advisor
- }
- set_country_flag = just_fired_dip_advisor
- remove_advisor_by_category_no_action = DIP
- 仅限于:{
- }
}
在军事顾问被解雇之前
- # this = 国家
on_pre_mil_advisor_fired:{
- 如果:{
- 仅限于:{
- has_country_flag = need_to_fire_mil_advisor
- }
- set_country_flag = just_fired_mil_advisor
- remove_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 = yes
- }
- government = republic
- }
- add_government_reform = junior_revolutionary_republic_reform
- set_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_bull
}
在征服时
- # 省份
- spawned whenever a new owner takes over the province
- # FROM = 前拥有者
on_conquest:{
- remove_named_unrest = estate_land_seized
}
在国家创建时
on_country_creation:{
- 如果:{
- 仅限于:{
- tag = PAP
- 或者:{
- 不是:{
- religion = catholic
- }
- 不是:{
- has_reform = papacy_reform
- }
- 不是:{
- government = theocracy
- }
- 不是:{
- }
- }
- change_religion = catholic
- change_government = theocracy
- add_government_reform = papacy_reform
- 仅限于:{
- }
}
参考资料
- ↑ 脚本代码位于:/Europa Universalis IV/common/on_actions/*.txt。