Cleaning Code + Reset Locators
This commit is contained in:
parent
2d547d7848
commit
00f1769c4a
12 changed files with 29050 additions and 29881 deletions
|
|
@ -101,16 +101,6 @@ on_game_start = {
|
|||
value = yes
|
||||
years = 10
|
||||
}
|
||||
#Set Cumania name if there is no MPO DLC
|
||||
if = {
|
||||
limit = {
|
||||
has_mpo_dlc_trigger = no
|
||||
current_date >= 1000.1.1
|
||||
}
|
||||
title:e_caspian-pontic_steppe = {
|
||||
set_title_name = cn_cumania
|
||||
}
|
||||
}
|
||||
#Rabbene Gershom outlaws polygamy
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -126,173 +116,6 @@ on_game_start = {
|
|||
}
|
||||
}
|
||||
}
|
||||
### 867 - RADHANITES IN KHAZARIA ###
|
||||
character:74025 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
is_playable_character = yes
|
||||
}
|
||||
trigger_event = bookmark.0200
|
||||
}
|
||||
}
|
||||
### 867 - WRATH OF THE NORTHMEN ###
|
||||
#Æthelred dying (probably)
|
||||
character:33358 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
is_playable_character = yes
|
||||
}
|
||||
trigger_event = {
|
||||
id = bookmark.0001
|
||||
days = { 365 730 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Alfred the Great becoming the Great
|
||||
character:7627 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
is_playable_character = yes
|
||||
}
|
||||
trigger_event = {
|
||||
id = bookmark.0002
|
||||
days = 1800 #~5 years
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### 867 - THE GREAT ADVENTURERS ###
|
||||
character:251187 = {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
is_playable_character = yes
|
||||
AND = {
|
||||
character:251180 = { is_ai = yes }
|
||||
character:251181 = {
|
||||
is_ai = yes
|
||||
is_alive = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_event = {
|
||||
id = bookmark.0101
|
||||
days = { 21 35 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### 1066 - HASAN SABBAH STORY CYCLE ###
|
||||
character:41702 ?= {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
is_playable_character = yes
|
||||
}
|
||||
house = { set_house_head = prev }
|
||||
trigger_event = {
|
||||
id = hasan_sabbah.1000
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
### 1066 - EL CID STORY CYCLE ###
|
||||
character:107590 ?= {
|
||||
if = {
|
||||
limit = {
|
||||
cid_story_cycle_start_trigger = yes
|
||||
}
|
||||
trigger_event = {
|
||||
id = cid.0001
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
### 1066 - LOUIS THE GERMAN ###
|
||||
if = {
|
||||
limit = {
|
||||
exists = character:90107
|
||||
current_date >= 1066.1.1
|
||||
}
|
||||
character:90107 = { give_nickname = nick_the_german_post_mortem }
|
||||
}
|
||||
|
||||
### 1178 - SIBYLLA ###
|
||||
if = {
|
||||
limit = {
|
||||
exists = character:223522
|
||||
current_date >= 1178.1.1
|
||||
character:223541 = {
|
||||
is_ai = yes
|
||||
is_alive = yes
|
||||
}
|
||||
}
|
||||
character:223522 = {
|
||||
trigger_event = {
|
||||
id = bookmark.0300
|
||||
days = { 21 28 }
|
||||
}
|
||||
}
|
||||
}
|
||||
### 1066 - LIANG LUOYAO ###
|
||||
if = {
|
||||
limit = {
|
||||
exists = character:tangut_liang_1
|
||||
current_date >= 1066.1.1
|
||||
character:tangut_liang_1.primary_spouse ?= character:206651
|
||||
}
|
||||
character:tangut_liang_1 = {
|
||||
add_gold = {
|
||||
value = {
|
||||
value = 0
|
||||
add = { 200 350 }
|
||||
}
|
||||
}
|
||||
trigger_event = {
|
||||
id = bookmark.0400
|
||||
days = { 14 21 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### HRE SETUP ###
|
||||
if = {
|
||||
limit = { exists = title:e_hre.holder }
|
||||
add_to_global_variable_list = {
|
||||
name = hre_elector_list
|
||||
target = title:c_cologne
|
||||
}
|
||||
add_to_global_variable_list = {
|
||||
name = hre_elector_list
|
||||
target = title:c_mainz
|
||||
}
|
||||
add_to_global_variable_list = {
|
||||
name = hre_elector_list
|
||||
target = title:c_trier
|
||||
}
|
||||
add_to_global_variable_list = {
|
||||
name = hre_elector_list
|
||||
target = title:d_bohemia
|
||||
}
|
||||
add_to_global_variable_list = {
|
||||
name = hre_elector_list
|
||||
target = title:d_east_franconia
|
||||
}
|
||||
add_to_global_variable_list = {
|
||||
name = hre_elector_list
|
||||
target = title:d_ostmark
|
||||
}
|
||||
add_to_global_variable_list = {
|
||||
name = hre_elector_list
|
||||
target = title:d_angria
|
||||
}
|
||||
hre_elector_list_save_effect = yes
|
||||
hre_margraves_effect = yes
|
||||
}
|
||||
|
||||
### Britania SETUP ###
|
||||
title:d_normandy.holder ?= {
|
||||
|
|
@ -1244,218 +1067,6 @@ on_game_start = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
### STRUGGLES ###
|
||||
if = {
|
||||
limit = { current_date = 867.1.1 }
|
||||
|
||||
# Iberian Struggle
|
||||
if = { # If we're in 867, Aragonese should be removed from the Struggle, since they don't quite exist yet.
|
||||
limit = { exists = struggle:iberian_struggle }
|
||||
struggle:iberian_struggle = { set_culture_as_uninvolved = culture:aragonese }
|
||||
}
|
||||
|
||||
# Persian Struggle
|
||||
if = { # If the load order ever changes this struggle is going to break. This must always be read before the struggle.
|
||||
limit = { exists = struggle:persian_struggle }
|
||||
debug_log = "Samarra Struggle: Gamne start data has been set"
|
||||
struggle:persian_struggle = { # Use the object explorer to debug this data (yes, the time has come to learn how to use it)
|
||||
|
||||
# Struggle on_start
|
||||
fp3_remove_vassal_contract_cooldown_for_tension_effect = yes
|
||||
|
||||
# Flag some titles as un-dissolutionable within the struggle.
|
||||
title:e_arabia = { set_variable = struggle_block_dissolution_faction }
|
||||
title:d_sunni = { set_variable = struggle_block_dissolution_faction }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### REGENCIES ###
|
||||
# Pre-defined historic regencies setup.
|
||||
## NOTE: we do these first to avoid feed messages getting weird due to regents being replaced immediately after getting their position.
|
||||
## 1066.
|
||||
if = {
|
||||
limit = { game_start_date = 1066.9.15 }
|
||||
# Designate some regents.
|
||||
## King Philippe of France & Duke Boudewijn of Flanders (friend of his dad's)
|
||||
character:214 = {
|
||||
designate_diarch = character:364
|
||||
# Baldwin of Flanders also promised the prior king he'd take care of Philippe, so we add that starting loyalty hook.
|
||||
add_hook = {
|
||||
type = predecessor_loyalty_hook
|
||||
target = character:364
|
||||
years = historic_regent_loyal_after_death_hook_duration_years_char_214_value
|
||||
}
|
||||
}
|
||||
### Plus remember who the promise was made to.
|
||||
character:364 = {
|
||||
add_opinion = {
|
||||
target = character:214
|
||||
modifier = promise_to_predecessor
|
||||
opinion = 50
|
||||
}
|
||||
set_variable = {
|
||||
name = promise_to_predecessor
|
||||
value = character:208
|
||||
years = historic_regent_loyal_after_death_hook_duration_years_char_214_value
|
||||
}
|
||||
}
|
||||
## Count Bouchard of Vendome & Guy de Bachaumont (his uncle)
|
||||
character:40905 = { designate_diarch = character:40376 }
|
||||
## Caliph al-Mustansir & Rasad (his mother)
|
||||
character:3096 = { designate_diarch = character:additional_fatimids_1 }
|
||||
## Count Ermengol of Urgell & Infanta Sancha of Aragon (his stepmother)
|
||||
character:110550 = { designate_diarch = character:110514 }
|
||||
## Duke Dirk of Holland & Count Robrecht of Zeeland (his stepfather)
|
||||
character:106520 = { designate_diarch = character:368 }
|
||||
## Duke Sven of Ostergotland & Kol Sverker (his father)
|
||||
character:100530 = { designate_diarch = character:100529 }
|
||||
## King Salamon of Hungary & Queen Mother Anastasia (his mother, in the absence of any better recorded options, and to keep other hostile relatives out of the job)
|
||||
character:476 = { designate_diarch = character:637 }
|
||||
## Prince Demetre of Georgia & Alda Oseti (his mother)
|
||||
character:9957 = { designate_diarch = character:9956 }
|
||||
## Sultan al-Muazzam Alp Arslan and Hassan "the Order of the Realm".
|
||||
character:3040 = {
|
||||
designate_diarch = character:3050
|
||||
# This is a vizierate as well, so start the diarchy manually.
|
||||
try_start_diarchy = vizierate
|
||||
# Tell Alp that he appointed Hassan so he remembers not to dismiss him.
|
||||
set_variable = {
|
||||
name = my_vizier
|
||||
value = character:3050
|
||||
}
|
||||
}
|
||||
## Constantine X & Michael Doukas.
|
||||
character:1732 = {
|
||||
if = {
|
||||
limit = { has_ep3_dlc_trigger = yes }
|
||||
try_start_diarchy = co_emperorship
|
||||
set_diarch = character:1736
|
||||
set_designated_heir = character:1736
|
||||
}
|
||||
}
|
||||
# Plus remove all the generated opinions.
|
||||
## King Philippe of France & Duke Boudewijn of Flanders
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:364
|
||||
LIEGE = character:214
|
||||
}
|
||||
## Count Bouchard of Vendome & Guy de Bachaumont
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:40376
|
||||
LIEGE = character:40905
|
||||
}
|
||||
## Caliph al-Mustansir & Rasad
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:additional_fatimids_1
|
||||
LIEGE = character:3096
|
||||
}
|
||||
## Count Ermengol of Urgell & Infanta Sancha of Aragon
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:110514
|
||||
LIEGE = character:110550
|
||||
}
|
||||
## Duke Dirk of Holland & Count Robrecht of Zeeland
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:368
|
||||
LIEGE = character:106520
|
||||
}
|
||||
## Duke Sven of Ostergotland & Kol Sverker
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:100529
|
||||
LIEGE = character:100530
|
||||
}
|
||||
## King Salamon of Hungary & Queen Mother Anastasia
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:637
|
||||
LIEGE = character:476
|
||||
}
|
||||
## Prince Demetre of Georgia & Alda Oseti
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:9956
|
||||
LIEGE = character:9957
|
||||
}
|
||||
## Sultan al-Muazzam Alp Arslan and Hassan "the Order of the Realm".
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:3050
|
||||
LIEGE = character:3040
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { game_start_date = 1178.10.1 }
|
||||
# Set up some diarchs.
|
||||
## The future Richard I of England managing Aquitaine in place of his mother (who is under house arrest)
|
||||
character:205730 = { designate_diarch = character:204510 }
|
||||
## Jahan Pahlavan Muhammad as regent for Togrul
|
||||
character:144056 = { designate_diarch = character:144052 }
|
||||
## Manuel Komnenos and Alexios Komnenos
|
||||
character:215530 = {
|
||||
if = {
|
||||
limit = { has_ep3_dlc_trigger = yes }
|
||||
try_start_diarchy = junior_emperorship
|
||||
set_diarch = character:215531
|
||||
set_designated_heir = character:215531
|
||||
}
|
||||
}
|
||||
## Henry II of England and the Young King
|
||||
character:204500 = {
|
||||
designate_diarch = character:204508
|
||||
try_start_diarchy = co_monarchy
|
||||
set_designated_heir = character:204508
|
||||
}
|
||||
## Teresa of Portugal for Afonso the Conqueror
|
||||
character:209503 = {
|
||||
try_start_diarchy = regency
|
||||
set_diarch = character:209510
|
||||
}
|
||||
## Kara Khitai, Wolila for Zhilugu
|
||||
character:188912 = {
|
||||
try_start_diarchy = nomad_regency
|
||||
set_diarch = character:188909
|
||||
}
|
||||
## Dai Viet, Long Trat Vuong & To Hien Thanh
|
||||
character:viet_ly_2 = {
|
||||
set_diarch = character:viet_to_1
|
||||
#designate_diarch = character:viet_to_1
|
||||
}
|
||||
# Plus remove all the generated opinions.
|
||||
## Richard I and Eleanor of Aquitaine
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:204510
|
||||
LIEGE = character:205730
|
||||
}
|
||||
## Muhammad Jahan Pahlavan and Togrul
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:144052
|
||||
LIEGE = character:144056
|
||||
}
|
||||
## Manuel Komnenos and Alexios
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:215531
|
||||
LIEGE = character:215530
|
||||
}
|
||||
## Henry II and Young Henry
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:204508
|
||||
LIEGE = character:204500
|
||||
}
|
||||
## Teresa and Afonso
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:209510
|
||||
LIEGE = character:209503
|
||||
}
|
||||
## Wolila and Zhilugu
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:188909
|
||||
LIEGE = character:188912
|
||||
}
|
||||
## Long Trat Vuong and To Hien Thanh
|
||||
remove_generated_diarch_consequences_effect = {
|
||||
NEW_DIARCH = character:viet_to_1
|
||||
LIEGE = character:viet_ly_2
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { has_tgp_dlc_trigger = no }
|
||||
title:k_yongson_throne ?= {
|
||||
|
|
@ -1702,16 +1313,6 @@ on_game_start = {
|
|||
}
|
||||
}
|
||||
setup_tributaries_effect = yes # defined in 00_tributary_setup_effect.txt
|
||||
# Sort custom regencies.
|
||||
## Fatimid Caliphate - basically stuck in the back-end of an entrenched regencies from game start.
|
||||
if = {
|
||||
limit = { exists = character:3096 }
|
||||
character:3096 = { trigger_event = diarchy.0012 }
|
||||
}
|
||||
else_if = {
|
||||
limit = { exists = character:188912 }
|
||||
character:188912 = { trigger_event = diarchy.0012 }
|
||||
}
|
||||
|
||||
### FERTILE LANDS ###
|
||||
# For deserts that are supposed to be very fertile
|
||||
|
|
@ -1767,15 +1368,6 @@ on_game_start = {
|
|||
title:c_byzantion = { add_county_modifier = pandidakterion_university_modifier }
|
||||
}
|
||||
|
||||
### Varangian Guard ###
|
||||
if = {
|
||||
limit = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
current_date >= 988.1.1
|
||||
}
|
||||
title:e_byzantium = { set_variable = founded_varangian_guard }
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
has_dlc_feature = hybridize_culture
|
||||
|
|
@ -7441,33 +7033,6 @@ on_game_start_after_lobby = {
|
|||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
}
|
||||
culture:khazar = {
|
||||
change_cultural_acceptance = {
|
||||
target = culture:radhanite
|
||||
value = 25
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:mordvin
|
||||
value = 30
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:meshchera
|
||||
value = 30
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:muroma
|
||||
value = 30
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:russian
|
||||
value = 30
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
}
|
||||
culture:norse = {
|
||||
change_cultural_acceptance = {
|
||||
target = culture:sami
|
||||
|
|
@ -7752,21 +7317,6 @@ on_game_start_after_lobby = {
|
|||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:ilmenian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:croatian
|
||||
value = 50
|
||||
|
|
@ -7794,21 +7344,6 @@ on_game_start_after_lobby = {
|
|||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:ilmenian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:croatian
|
||||
value = 50
|
||||
|
|
@ -7837,21 +7372,6 @@ on_game_start_after_lobby = {
|
|||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:ilmenian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:bosnian
|
||||
value = 50
|
||||
|
|
@ -7874,21 +7394,6 @@ on_game_start_after_lobby = {
|
|||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:ilmenian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:serbian
|
||||
value = 50
|
||||
|
|
@ -7906,21 +7411,6 @@ on_game_start_after_lobby = {
|
|||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:ilmenian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:bulgarian
|
||||
value = 50
|
||||
|
|
@ -7933,51 +7423,6 @@ on_game_start_after_lobby = {
|
|||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:ilmenian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
}
|
||||
# East Slavic.
|
||||
culture:russian = {
|
||||
change_cultural_acceptance = {
|
||||
target = culture:ilmenian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
}
|
||||
culture:ilmenian = {
|
||||
change_cultural_acceptance = {
|
||||
target = culture:severian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
change_cultural_acceptance = {
|
||||
target = culture:volhynian
|
||||
value = 50
|
||||
desc = cultural_acceptance_historical_relations
|
||||
}
|
||||
}
|
||||
## Volhynian doesn't get its own box, because we've already applied acceptance to it bilaterally everywhere else.
|
||||
#Splitting up Byzantine heritage means we need a little help reflecting historical relations
|
||||
|
|
@ -8132,77 +7577,6 @@ on_game_start_after_lobby = {
|
|||
add_innovation = innovation_ghilman
|
||||
}
|
||||
}
|
||||
# Custom ruler under the HRE should have lowered feudal obligations
|
||||
if = {
|
||||
limit = { exists = title:e_hre.holder }
|
||||
title:e_hre.holder ?= {
|
||||
every_vassal = {
|
||||
limit = {
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
}
|
||||
vassal_contract_decrease_obligation_level = feudal_government_taxes
|
||||
vassal_contract_decrease_obligation_level = feudal_government_levies
|
||||
set_subject_contract_modification_blocked = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = { # Special historical events for Matilda!
|
||||
limit = {
|
||||
character:7757 ?= { is_alive = yes }
|
||||
}
|
||||
character:7757 ?= {
|
||||
trigger_event = bookmark.1066 # Matildas marriage to her step-brother, with plausible historical options!
|
||||
trigger_event = { # Matildas suspected witchcraft, the player decides if its true or not!
|
||||
id = bookmark.1067
|
||||
years = { 1 5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = { # Special historical events for Vratislav!
|
||||
limit = {
|
||||
character:522 ?= { is_alive = yes }
|
||||
}
|
||||
character:522 ?= {
|
||||
trigger_event = { # Vratislav and the Slavic Marches, he didn't historically get them (one briefly, but eh). The player chooses to appease the emperor or go after the coveted lands themselves!
|
||||
id = bookmark.1068
|
||||
days = { 35 120 }
|
||||
}
|
||||
trigger_event = { # Jaromir, Vratislav's brother, was a pain - this event is an opportunity for the player to handle the rivalry
|
||||
id = bookmark.1069
|
||||
days = { 1 29 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = { # Special historical events for Robert the Fox!
|
||||
limit = {
|
||||
character:1128 ?= { is_alive = yes }
|
||||
}
|
||||
character:1128 ?= {
|
||||
trigger_event = { # A Norman Sicily - Robert historically conquered quite a bit here, the player can choose how far they want to go and the risk they want to take. The more risk, the more event troops/claims.
|
||||
id = bookmark.1070
|
||||
days = { 35 120 }
|
||||
}
|
||||
trigger_event = { # The Pretender Monk - Raiktor is a historical character, a monk wo pretended to be a deposed Byzantine emperor which Robert used to beat up Byzantium. Here you can follow historical conquests (taking a bit of the coast) or go full on 'install him as emperor for real'-mode!
|
||||
id = bookmark.1071
|
||||
years = { 1 7 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = { # Special historical events for Emir Yahya!
|
||||
limit = {
|
||||
character:3924 ?= { is_alive = yes }
|
||||
}
|
||||
character:3924 ?= {
|
||||
trigger_event = { # Conquering Cordoba - Gain an opportunity to conquer Cordoba while gaining one of two buffs; one intrigue-focused, and one military. Historically he was poisoned after having conquered the city... but that's no fun for the player!
|
||||
id = bookmark.1072
|
||||
days = { 10 35 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### EP3 SETUP ###
|
||||
if = {
|
||||
|
|
@ -8638,22 +8012,6 @@ on_game_start_after_lobby = {
|
|||
add_realm_law_skip_effects = camp_purpose_scholars
|
||||
}
|
||||
}
|
||||
## Yoshitsune Minamoto
|
||||
character:japanese_minamoto_seiwa_139 ?= {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
has_government = landless_adventurer_government
|
||||
}
|
||||
add_realm_law_skip_effects = camp_purpose_mercenaries
|
||||
every_courtier = {
|
||||
limit = { dynasty = character:japanese_minamoto_seiwa_139.dynasty }
|
||||
set_employer = character:japanese_minamoto_seiwa_10 # Yoritomo
|
||||
}
|
||||
add_courtier = character:japanese_musashibo_1 # Benkei
|
||||
add_courtier = character:japanese_ise_2_1 # Yoshimori
|
||||
}
|
||||
}
|
||||
every_independent_ruler = {
|
||||
if = {
|
||||
limit = { is_landless_adventurer = yes }
|
||||
|
|
@ -9184,45 +8542,6 @@ on_game_start_after_lobby = {
|
|||
}
|
||||
}
|
||||
}
|
||||
# Byzantium naming
|
||||
title:e_byzantium = {
|
||||
if = {
|
||||
limit = {
|
||||
has_game_rule = eastern_rome_name_of_byzantium
|
||||
}
|
||||
set_title_name = e_eastern_roman_empire
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_game_rule = roman_empire_name_of_byzantium
|
||||
}
|
||||
set_title_name = h_roman_empire
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_game_rule = romania_name_of_byzantium
|
||||
}
|
||||
set_title_name = e_romania_empire
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_game_rule = empire_of_the_greeks_name_of_byzantium
|
||||
}
|
||||
set_title_name = e_empire_of_the_greeks
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_game_rule = rhomaion_name_of_byzantium
|
||||
}
|
||||
set_title_name = e_rhomaion
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_game_rule = unholy_roman_empire_name_of_byzantium
|
||||
}
|
||||
set_title_name = e_unholy_roman_empire
|
||||
}
|
||||
}
|
||||
# Saharan stuff.
|
||||
every_county_in_region = {
|
||||
region = custom_sahara_proper
|
||||
|
|
@ -9568,64 +8887,6 @@ on_game_start_after_lobby = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
##### GENPEI WAR
|
||||
### 1178 - MINATOMO YORITOMO ###
|
||||
if = {
|
||||
limit = {
|
||||
character:japanese_minamoto_seiwa_10 ?= { is_alive = yes }
|
||||
}
|
||||
character:japanese_minamoto_seiwa_10 ?= { trigger_event = tgp_genpei_character.1000 }
|
||||
}
|
||||
### 1178 - MINATOMO YOSHINAKA ###
|
||||
if = {
|
||||
limit = {
|
||||
character:japanese_minamoto_seiwa_207 ?= { is_alive = yes }
|
||||
}
|
||||
character:japanese_minamoto_seiwa_207 = { trigger_event = tgp_genpei_character.1090 }
|
||||
}
|
||||
### 1178 - MINATOMO YOSHITSUNE ###
|
||||
if = {
|
||||
limit = {
|
||||
character:japanese_minamoto_seiwa_139 ?= { is_alive = yes }
|
||||
}
|
||||
character:japanese_minamoto_seiwa_139 = { trigger_event = tgp_genpei_character.1100 }
|
||||
}
|
||||
### 1178 - TAIRA KIYOMORI ###
|
||||
if = {
|
||||
limit = {
|
||||
character:japanese_taira_kanmu_34 ?= { is_alive = yes }
|
||||
}
|
||||
character:japanese_taira_kanmu_34 = {
|
||||
trigger_event = tgp_genpei_character.2000
|
||||
trigger_event = { #Delayed event
|
||||
id = tgp_genpei_character.2010
|
||||
months = 6
|
||||
}
|
||||
}
|
||||
}
|
||||
### 1178 - FUJIWARA MOTOFUSA ###
|
||||
if = {
|
||||
limit = {
|
||||
character:japanese_fujiwara_511 ?= { is_alive = yes }
|
||||
}
|
||||
character:japanese_fujiwara_511 = { trigger_event = tgp_genpei_character.3000 }
|
||||
}
|
||||
### 1178 - FUJIWARA HIDEHIRA ###
|
||||
if = {
|
||||
limit = {
|
||||
character:japanese_fujiwara_497 ?= { is_alive = yes }
|
||||
}
|
||||
character:japanese_fujiwara_497 = { trigger_event = tgp_genpei_character.3100 }
|
||||
}
|
||||
### 1178 - EMPEROR GO-SHIRAKAWA ###
|
||||
if = {
|
||||
limit = {
|
||||
character:japanese_yamato_51 ?= { is_alive = yes }
|
||||
}
|
||||
character:japanese_yamato_51 = { trigger_event = tgp_genpei_character.4000 }
|
||||
}
|
||||
|
||||
every_county_in_region = {
|
||||
region = world_steppe
|
||||
limit = {
|
||||
|
|
@ -9666,44 +8927,6 @@ on_game_start_after_lobby = {
|
|||
}
|
||||
}
|
||||
|
||||
# Conquerors
|
||||
character:144133 ?= {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
NOT = { has_game_rule = no_conquerors_frequency }
|
||||
}
|
||||
create_story = story_conqueror
|
||||
}
|
||||
}
|
||||
character:144141 ?= {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
NOT = { has_game_rule = no_conquerors_frequency }
|
||||
}
|
||||
create_story = story_conqueror
|
||||
}
|
||||
}
|
||||
character:175080 ?= {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
NOT = { has_game_rule = no_conquerors_frequency }
|
||||
}
|
||||
create_story = story_conqueror
|
||||
}
|
||||
}
|
||||
character:226000 ?= {
|
||||
if = {
|
||||
limit = {
|
||||
is_alive = yes
|
||||
NOT = { has_game_rule = no_conquerors_frequency }
|
||||
}
|
||||
create_story = story_conqueror
|
||||
}
|
||||
}
|
||||
|
||||
every_player = {
|
||||
limit = {
|
||||
is_landed = yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue