On actions
文本太長,就不套用各種圖標模板了。
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代碼整理
v1.30 腳本代碼位於: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
-
僅限於:{
- }
}
