fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -1016,6 +1016,151 @@ on_game_start = {
}
# Silk & Silver: initialize NEOW merchant and republic rulers.
every_independent_ruler = {
if = {
limit = { has_gdp_dlc_trigger = yes }
### GDP MERCHANT SETUP ###
if = {
limit = { government_has_flag = government_is_merchant }
# add_gold cannot be negative, so wipe then grant instead of (50 - gold).
if = {
limit = { gold > 0 }
remove_short_term_gold = gold
}
add_gold = 50
if = {
limit = { prestige > 25 }
add_prestige = {
value = 25
subtract = prestige
}
}
save_temporary_scope_as = merchant_scope
# Set CoA
primary_title = {
set_coa = scope:merchant_scope.house
set_variable = { name = merchant_creation_reason value = flag:historical }
set_variable = gdp_starting_merchant_company
}
random_held_title = {
limit = { is_noble_family_title = yes }
set_coa = holder.top_liege.house
}
# And tally our numbers for performance purposes.
add_to_global_variable_list = {
name = merchants_tally
target = this.primary_title
}
# Ruler-designer merchants spawn on the selected county; snap them to that market's capital.
if = {
limit = {
is_from_ruler_designer = yes
exists = location.barony.trade_market.trade_market_owner.title_province
}
location.barony.trade_market.trade_market_owner.title_province = { save_temporary_scope_as = merchant_market_capital }
random_held_title = {
limit = { is_noble_family_title = yes }
set_capital_county = scope:merchant_market_capital.county
}
domicile ?= { move_domicile = scope:merchant_market_capital }
set_location = scope:merchant_market_capital
}
start_tributary_interaction_effect = {
TRIBUTARY = this
SUZERAIN = domicile.domicile_location.county.holder # county holder
}
# Players start with a clean slate and build their company from the ground up.
if = {
limit = {
is_ai = no
}
add_character_flag = free_starting_merchant_purpose_change
if = {
limit = {
OR = {
has_realm_law = company_purpose_artisan
has_realm_law = company_purpose_caravaneer
has_realm_law = company_purpose_creditor
}
}
add_realm_law_skip_effects = company_purpose_family
merchant_company_law_remove_purpose_effect = yes
}
if = {
limit = {
OR = {
has_realm_law = company_size_medium
has_realm_law = company_size_large
has_realm_law = company_size_huge
}
}
add_realm_law_skip_effects = company_size_small
}
}
# Starting company purposes.
if = {
limit = {
is_ai = yes
NOR = {
has_realm_law = company_purpose_artisan
has_realm_law = company_purpose_caravaneer
has_realm_law = company_purpose_creditor
}
}
# Set some starting Company purposes
switch = {
trigger = highest_skill
learning = { add_realm_law_skip_effects = company_purpose_artisan }
diplomacy = { add_realm_law_skip_effects = company_purpose_caravaneer }
martial = { add_realm_law_skip_effects = company_purpose_creditor }
intrigue = { add_realm_law_skip_effects = company_purpose_creditor }
}
# Courtiers.
trigger_event = gdp_merchant.1001
}
gdp_update_usury_reputation_effect = yes
trigger_event = gdp_merchant.1003
if = {
limit = { is_ai = yes }
set_starting_company_size_effect = yes
set_starting_company_acumen_effect = yes
}
}
### GDP REPUBLIC SETUP ###
else_if = {
limit = { government_has_flag = government_is_republic }
every_noble_family = {
# Ensure Noble Family CoA match House
set_coa = holder.house
holder ?= {
# Consistent starting cash
if = {
limit = { gold > 0 }
remove_short_term_gold = gold
}
add_gold = 50
save_scope_as = nf_holder
if = {
limit = { is_landed = yes }
capital_province = { save_scope_as = domicile_location }
}
# Ensure holders of historical noble family titles are the default house heads
house ?= {
if = {
limit = { house_head != scope:nf_holder }
set_house_head = scope:nf_holder
}
}
}
}
}
}
}
# To prevent the Season Changes event from triggering on game start
situation:the_great_steppe ?= {
every_participant_group = {
@ -1033,246 +1178,54 @@ on_game_start = {
limit = {
has_cp3_dlc_trigger = yes
}
title:b_barcelona.title_province = { add_special_building_slot = drassanes_01 } #1892
title:b_merv.title_province = { add_special_building = kyz_kala_01 } #4238
if = { limit = { game_start_date >= 1178.10.1 } title:b_cluny.title_province = { add_special_building = cluny_abbey_02 } } #2304
else_if = { limit = { game_start_date >= 1066.9.15 } title:b_cluny.title_province = { add_special_building = cluny_abbey_01 } }
else = { title:b_cluny.title_province = { add_special_building_slot = cluny_abbey_01 } }
title:b_york.title_province = { add_special_building = york_walls_01 } #1595
title:b_damascus.title_province = { add_special_building = damascus_mosque_01 } #5924
title:b_lhasa.title_province = { add_special_building = jokhang_01 } #9237
if = { limit = { game_start_date >= 1178.10.1 } title:b_schmalkalden.title_province = { add_special_building = wartburg_01 } } #3010
else = { title:b_schmalkalden.title_province = { add_special_building_slot = wartburg_01 } }
title:b_lalibela.title_province = { add_special_building_slot = beta_giyorgis_01 } #8301
if = { limit = { game_start_date >= 1066.9.15 } title:b_novgorod.title_province = { add_special_building = holy_wisdom_01 } } #5137
else = { title:b_novgorod.title_province = { add_special_building_slot = holy_wisdom_01 } }
title:b_kano.title_province = { add_special_building_slot = kano_walls_01 } #6519
title:b_somapur.title_province = { add_special_building = somapura_university_01 } #848
if = { limit = { game_start_date >= 1178.10.1 } title:b_firenze.title_province = { add_special_building = duomo_florence_02 } } #2543
else = { title:b_firenze.title_province = { add_special_building = duomo_florence_01 } }
title:b_konarak.title_province = { add_special_building_slot = konark_temple_01 } #928
title:b_fes.title_province = { add_special_building = al_qarawiyyin_university_01 } #4694
title:b_kairouan.title_province = { add_special_building = kairouan_basins_01 } #4594
title:b_al-ghaba.title_province = { add_special_building = ghana_palace_01 } #6628 #NOTE: likely existed since the 8th, but earliest (only) source on palace is from 1068
title:b_visegrad_hun.title_province = { add_special_building_slot = visegrad_castle_01 } #3803
if = { limit = { game_start_date >= 1161.9.15 } title:b_leczyca.title_province = { add_special_building = wawel_cathedral_01 } } #4924 #Date of consecreation of Archcollegiate Church of St. Mary and St. Alexius in Tum
else = { title:b_leczyca.title_province = { add_special_building_slot = wawel_cathedral_01 } }
title:b_vatapi.title_province = { add_special_building = vatapi_caves_01 } #1198
if = { limit = { game_start_date >= 1178.10.1 } title:b_jaisalmer.title_province = { add_special_building = jaisalmer_fort_01 } } #3387
else = { title:b_jaisalmer.title_province = { add_special_building_slot = jaisalmer_fort_01 } } #3387
title:b_barcelona.title_province = { add_special_district_slot = drassanes_01_district } #1892
title:b_merv.title_province = { add_special_district = kyz_kala_01_district } #4238
if = { limit = { game_start_date >= 1178.10.1 } title:b_cluny.title_province = { add_special_district = cluny_abbey_01_district special_district = { add_building = cluny_abbey_02 } } } #2304
else_if = { limit = { game_start_date >= 1066.9.15 } title:b_cluny.title_province = { add_special_district = cluny_abbey_01_district } }
else = { title:b_cluny.title_province = { add_special_district_slot = cluny_abbey_01_district } }
title:b_york.title_province = { add_special_district = york_walls_01_district } #1595
title:b_damascus.title_province = { add_special_district = damascus_mosque_01_district } #5924
title:b_lhasa.title_province = { add_special_district = jokhang_01_district } #9237
if = { limit = { game_start_date >= 1178.10.1 } title:b_schmalkalden.title_province = { add_special_district = wartburg_01_district } } #3010
else = { title:b_schmalkalden.title_province = { add_special_district_slot = wartburg_01_district } }
title:b_lalibela.title_province = { add_special_district_slot = beta_giyorgis_01_district } #8301
if = { limit = { game_start_date >= 1066.9.15 } title:b_novgorod.title_province = { add_special_district = holy_wisdom_01_district } } #5137
else = { title:b_novgorod.title_province = { add_special_district_slot = holy_wisdom_01_district } }
title:b_kano.title_province = { add_special_district_slot = kano_walls_01_district } #6519
title:b_somapur.title_province = { add_special_district = somapura_university_01_district } #848
if = { limit = { game_start_date >= 1178.10.1 } title:b_firenze.title_province = { add_special_district = duomo_florence_01_district } } #2543
else = { title:b_firenze.title_province = { add_special_district = duomo_florence_01_district } }
title:b_konarak.title_province = { add_special_district_slot = konark_temple_01_district } #928
title:b_fes.title_province = { add_special_district = al_qarawiyyin_university_01_district } #4694
title:b_kairouan.title_province = { add_special_district = kairouan_basins_01_district } #4594
title:b_al-ghaba.title_province = { add_special_district = ghana_palace_01_district } #6628 #NOTE: likely existed since the 8th, but earliest (only) source on palace is from 1068
title:b_visegrad_hun.title_province = { add_special_district_slot = visegrad_castle_01_district } #3803
if = { limit = { game_start_date >= 1161.9.15 } title:b_leczyca.title_province = { add_special_district = wawel_cathedral_01_district } } #4924 #Date of consecreation of Archcollegiate Church of St. Mary and St. Alexius in Tum
else = { title:b_leczyca.title_province = { add_special_district_slot = wawel_cathedral_01_district } }
title:b_vatapi.title_province = { add_special_district = vatapi_caves_01_district } #1198
if = { limit = { game_start_date >= 1178.10.1 } title:b_jaisalmer.title_province = { add_special_district = jaisalmer_fort_01_district } } #3387
else = { title:b_jaisalmer.title_province = { add_special_district_slot = jaisalmer_fort_01_district } } #3387
}
### RELIGIOUS THINGS ###
# Set up Holy Site Buildings to be buildable in Holy Sites
religion:islam_religion = {
every_faith = {
every_holy_site = {
limit = {
title_province = {
has_special_building_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_mosque_01
}
}
}
}
religion:eastern_orthodox_religion = {
every_faith = {
every_holy_site = {
limit = {
title_province = {
has_special_building_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_cathedral_01
}
}
}
}
religion:catholic_religion = {
every_faith = {
every_holy_site = {
limit = {
title_province = {
has_special_building_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_cathedral_01
}
}
}
}
religion:protestant_religion = {
every_faith = {
every_holy_site = {
limit = {
title_province = {
has_special_building_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_cathedral_01
}
}
}
}
religion:zoroastrianism_religion = {
every_faith = {
every_holy_site = {
limit = {
title_province = {
has_special_building_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_fire_temple_01
}
}
}
}
religion:buddhism_religion = {
every_faith = {
every_holy_site = {
limit = {
title_province = {
has_special_building_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_buddhist_grand_temple_01
}
}
}
}
# religion:shintoism_religion = {
# every_faith = {
# every_holy_site = {
# limit = {
# title_province = {
# has_special_building_slot = no
# }
# }
# title_province = {
# add_special_building_slot = holy_site_japanese_temple_01
# }
# }
# }
# }
# religion:taoism_religion = {
# every_faith = {
# every_holy_site = {
# limit = {
# title_province = {
# has_special_building_slot = no
# }
# }
# title_province = {
# add_special_building_slot = holy_site_chinese_temple_01
# }
# }
# }
# }
# religion:confucianism_religion = {
# every_faith = {
# every_holy_site = {
# limit = {
# title_province = {
# has_special_building_slot = no
# }
# }
# title_province = {
# add_special_building_slot = holy_site_chinese_temple_01
# }
# }
# }
# }
# every_religion_global = {
# limit = {
# OR = {
# this = religion:hinduism_religion
# this = religion:jainism_religion
# this = religion:tani_religion
# this = religion:bon_religion
# }
# }
# every_faith = {
# every_holy_site = {
# limit = {
# title_province = {
# has_special_building_slot = no
# }
# }
# title_province = {
# add_special_building_slot = holy_site_indian_grand_temple_01
# }
# }
# }
# }
# every_religion_global = {
# limit = {
# OR = {
# this = religion:satsana_phi_religion
# this = religion:dayawism_religion
# this = religion:hantuism_religion
# this = religion:satsana_phi_religion
# this = religion:kaharingan_religion
# this = religion:tolotang_religion
# this = religion:aluk_religion
# this = religion:dab_qhuas_religion
# this = religion:biliku_religion
# }
# }
# every_faith = {
# every_holy_site = {
# limit = {
# title_province = {
# has_special_building_slot = no
# }
# }
# title_province = {
# add_special_building_slot = holy_site_se_asia_pagan_temple_01
# }
# }
# }
# }
every_religion_global = {
limit = {
is_in_family = rf_pagan
}
every_faith = {
every_holy_site = {
limit = {
title_province = {
has_special_building_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_pagan_grand_temple_01
}
}
}
}
every_religion_global = {
every_faith = {
every_holy_site = {
save_scope_as = holy_site_faith
every_holy_site_barony = {
limit = {
title_province = {
has_special_building_slot = no
has_special_district_slot = no
}
}
title_province = {
add_special_building_slot = holy_site_other_grand_temple_01
add_holy_site_fallback_special_district_slot_effect = { FAITH = scope:holy_site_faith }
}
}
}
}
# # If your capital on game start is Mecca, you get the Hajjaj trait (since you can't Hajj to your capital)
# If your capital on game start is Mecca, you get the Hajjaj trait (since you can't Hajj to your capital)
# title:b_makka.county.holder = {
# if = {
# limit = {
@ -1372,59 +1325,59 @@ on_game_start = {
title:b_fes.title_province = {
if = {
limit = {
has_special_building_slot = no #Depends on DLC
has_special_district_slot = no #Depends on DLC
}
add_special_building_slot = generic_university
add_special_district_slot = generic_university_district
}
}
title:b_somapur.title_province = {
if = {
limit = {
has_special_building_slot = no #Depends on DLC
has_special_district_slot = no #Depends on DLC
}
add_special_building_slot = generic_university
add_special_district_slot = generic_university_district
}
}
#title:b_bologna.title_province = { add_special_building_slot = generic_university } # Added in province history
title:b_salamanca.title_province = { add_special_building_slot = generic_university }
title:b_madrid.title_province = { add_special_building_slot = generic_university }
#title:b_oxford.title_province = { add_special_building_slot = generic_university } # Added in province history
title:b_cambridge.title_province = { add_special_building_slot = generic_university }
title:b_padua.title_province = { add_special_building_slot = generic_university }
title:b_coimbra.title_province = { add_special_building_slot = generic_university }
title:b_napoli.title_province = { add_special_building_slot = generic_university }
title:b_milano.title_province = { add_special_building_slot = generic_university }
title:b_vienna.title_province = { add_special_building_slot = generic_university }
title:b_praha.title_province = { add_special_building_slot = generic_university }
title:b_perugia.title_province = { add_special_building_slot = generic_university }
title:b_malappuram.title_province = { add_special_building_slot = generic_university }
title:b_janakpur.title_province = { add_special_building_slot = generic_university }
title:b_uppsala.title_province = { add_special_building_slot = generic_university }
title:b_montlhery.title_province = { add_special_building_slot = generic_university } # Technically should be Paris, but that's occupied by Notre Dame
title:b_qartajana.title_province = { add_special_building_slot = generic_university } # Technically should be Tunis, but that's occupied by a cathedral
title:b_wazwan.title_province = { add_special_building_slot = generic_university } # Technically should be Isfahan, but that's occupied by the Friday Mosque
title:b_sarsar.title_province = { add_special_building_slot = generic_university } # Technically should be Baghdad, but that's occupied by the House of Wisdom
title:b_speyer.title_province = { add_special_building_slot = generic_university } # 1350ish, should be in Heidelberg but that's a church
title:b_krakow.title_province = { add_special_building_slot = generic_university } # 1364
title:b_pisa.title_province = { add_special_building_slot = generic_university } # 1350ish
title:b_rostock.title_province = { add_special_building_slot = generic_university } # 1400ish
title:b_turin.title_province = { add_special_building_slot = generic_university } # 1400ish
title:b_ferrara.title_province = { add_special_building_slot = generic_university } # 1400ish
title:b_leipzig.title_province = { add_special_building_slot = generic_university } # 1400ish, a city holding
title:b_messina.title_province = { add_special_building_slot = generic_university } # 1400ish, should be in Catania but that's a church
#title:b_bologna.title_province = { add_special_district_slot = generic_university_district } # Added in province history
title:b_salamanca.title_province = { add_special_district_slot = generic_university_district }
title:b_madrid.title_province = { add_special_district_slot = generic_university_district }
#title:b_oxford.title_province = { add_special_district_slot = generic_university_district } # Added in province history
title:b_cambridge.title_province = { add_special_district_slot = generic_university_district }
title:b_padua.title_province = { add_special_district_slot = generic_university_district }
title:b_coimbra.title_province = { add_special_district_slot = generic_university_district }
title:b_napoli.title_province = { add_special_district_slot = generic_university_district }
title:b_milano.title_province = { add_special_district_slot = generic_university_district }
title:b_vienna.title_province = { add_special_district_slot = generic_university_district }
title:b_praha.title_province = { add_special_district_slot = generic_university_district }
title:b_perugia.title_province = { add_special_district_slot = generic_university_district }
title:b_malappuram.title_province = { add_special_district_slot = generic_university_district }
title:b_janakpur.title_province = { add_special_district_slot = generic_university_district }
title:b_uppsala.title_province = { add_special_district_slot = generic_university_district }
title:b_montlhery.title_province = { add_special_district_slot = generic_university_district } # Technically should be Paris, but that's occupied by Notre Dame
title:b_qartajana.title_province = { add_special_district_slot = generic_university_district } # Technically should be Tunis, but that's occupied by a cathedral
title:b_wazwan.title_province = { add_special_district_slot = generic_university_district } # Technically should be Isfahan, but that's occupied by the Friday Mosque
title:b_sarsar.title_province = { add_special_district_slot = generic_university_district } # Technically should be Baghdad, but that's occupied by the House of Wisdom
title:b_speyer.title_province = { add_special_district_slot = generic_university_district } # 1350ish, should be in Heidelberg but that's a church
title:b_krakow.title_province = { add_special_district_slot = generic_university_district } # 1364
title:b_pisa.title_province = { add_special_district_slot = generic_university_district } # 1350ish
title:b_rostock.title_province = { add_special_district_slot = generic_university_district } # 1400ish
title:b_turin.title_province = { add_special_district_slot = generic_university_district } # 1400ish
title:b_ferrara.title_province = { add_special_district_slot = generic_university_district } # 1400ish
title:b_leipzig.title_province = { add_special_district_slot = generic_university_district } # 1400ish, a city holding
title:b_messina.title_province = { add_special_district_slot = generic_university_district } # 1400ish, should be in Catania but that's a church
if = {
limit = {
has_cp3_dlc_trigger = yes
}
title:b_sitges.title_province = { add_special_building_slot = generic_university } # Should be Barcelona but that location has another building now
title:b_sitges.title_province = { add_special_district_slot = generic_university_district } # Should be Barcelona but that location has another building now
}
else = {
title:b_barcelona.title_province = { add_special_building_slot = generic_university } # 1450ish, but still fun to build
title:b_barcelona.title_province = { add_special_district_slot = generic_university_district } # 1450ish, but still fun to build
}
title:b_dumbarton.title_province = { add_special_building_slot = generic_university } # 1450ish, but still fun to build
title:b_bidar.title_province = { add_special_building_slot = generic_university } # 1450ish, but still fun to build
title:b_dumbarton.title_province = { add_special_district_slot = generic_university_district } # 1450ish, but still fun to build
title:b_bidar.title_province = { add_special_district_slot = generic_university_district } # 1450ish, but still fun to build
title:b_changsha.title_province = {
add_special_building_slot = generic_university
add_special_district_slot = generic_university_district
}
### GREAT WALL OF CHINA ###
@ -2755,7 +2708,7 @@ on_game_start = {
add_to_global_variable_list = { name = earthquake_region_list target = geographical_region:sichuan_myanmar_earthquake_region }
add_to_global_variable_list = { name = earthquake_region_list target = geographical_region:south_china_coastaline_earthquake_region }
add_to_global_variable_list = { name = earthquake_region_list target = geographical_region:north_china_earthquake_region }
add_to_global_variable_list = { name = earthquake_region_list target = geographical_region:mongolia_baikal_earthquake_region }
# add_to_global_variable_list = { name = earthquake_region_list target = geographical_region:mongolia_baikal_earthquake_region } # NEOW 2555: Mongolian region not in mod map
add_to_global_variable_list = { name = earthquake_region_list target = geographical_region:central_asian_earthquake_region }
### TGP Flood Regions
@ -2792,7 +2745,7 @@ on_game_start = {
add_to_global_variable_list = { name = flood_region_list target = geographical_region:yangtze_river_region }
add_to_global_variable_list = { name = flood_region_list target = geographical_region:yellow_river_region }
##### HISTORICAL HOUSE RELATIONS - deliberately placed above blocs
tgp_setup_historical_house_relation_effect = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. tgp_setup_historical_house_relation_effect = yes
##### TGP JAPAN #####
if = {
limit = { has_tgp_dlc_trigger = yes }
@ -2847,6 +2800,12 @@ on_game_start = {
on_game_start_after_lobby = {
effect = {
disable_succession_calculation = yes
# Silk & Silver: spawn compatible merchants around NEOW player realms.
if = {
limit = { has_gdp_dlc_trigger = yes }
every_player = { gdp_create_starting_merchants_near_player_effect = yes }
}
# To prevent the Season Changes event from triggering on game start
situation:the_great_steppe ?= {
@ -3670,7 +3629,7 @@ on_game_start_after_lobby = {
# has_trait = dull
# has_trait = intellect_bad
# location.county ?= {
# development_level <= bad_development_level
# prosperity_level <= bad_prosperity_level
# }
# }
# }
@ -15811,7 +15770,7 @@ on_game_start_after_lobby = {
}
### DYNASTY TRACKING SETUP
japan_dynasty_tracker_setup_effect = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. japan_dynasty_tracker_setup_effect = yes
### TGP NOBLE FAMILIES & DOMICILE SETUP ###
@ -16144,15 +16103,15 @@ on_game_start_after_lobby = {
# }
every_in_list = {
list = holder_to_learn_chinese
tgp_learn_chinese_effect_game_start = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. tgp_learn_chinese_effect_game_start = yes
if = {
limit = { is_independent_ruler = yes }
every_noble_family = {
holder ?= {
tgp_learn_chinese_effect_game_start = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. tgp_learn_chinese_effect_game_start = yes
house = {
every_house_member = {
tgp_learn_chinese_effect_game_start = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. tgp_learn_chinese_effect_game_start = yes
}
}
}
@ -16176,7 +16135,7 @@ on_game_start_after_lobby = {
has_holding = yes
}
generate_building = yes
brewery_counter_start_effect = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. brewery_counter_start_effect = yes
}
every_domicile = {
limit = { exists = owner }
@ -16200,9 +16159,9 @@ on_game_start_after_lobby = {
owner.culture ?= { has_innovation = innovation_city_planning }
}
add_domicile_building = japanese_manor_main_02
add_random_internal_japanese_manor_building = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. add_random_internal_japanese_manor_building = yes
}
fill_external_japanese_manor_building_effect = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. fill_external_japanese_manor_building_effect = yes
}
east_asian_estate = {
if = {
@ -16238,57 +16197,57 @@ on_game_start_after_lobby = {
generate_building = yes
if = {
limit = {
county.development_level >= 8
county.prosperity_level >= 8
}
generate_building = yes
generate_building = yes
}
if = {
limit = {
county.development_level >= 10
county.prosperity_level >= 10
}
generate_building = yes
}
if = {
limit = {
county.development_level >= 12
county.prosperity_level >= 12
}
generate_building = yes
}
if = {
limit = {
county.development_level >= 14
county.prosperity_level >= 14
}
generate_building = yes
generate_building = yes
}
if = {
limit = {
county.development_level >= 16
county.prosperity_level >= 16
}
generate_building = yes
}
if = {
limit = {
county.development_level >= 18
county.prosperity_level >= 18
}
generate_building = yes
}
if = {
limit = {
county.development_level >= 20
county.prosperity_level >= 20
}
generate_building = yes
}
if = {
limit = {
county.development_level >= 25
county.prosperity_level >= 25
}
generate_building = yes
generate_building = yes
generate_building = yes
}
brewery_counter_start_effect = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. brewery_counter_start_effect = yes
}
every_domicile = {
#if = { # Left in if we want adventurers to spawn with stuff
@ -16444,7 +16403,7 @@ on_game_start_after_lobby = {
owner.culture ?= { has_innovation = innovation_city_planning }
}
add_domicile_building = japanese_manor_main_02
add_random_internal_japanese_manor_building = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. add_random_internal_japanese_manor_building = yes
}
if = {
limit = {
@ -16455,10 +16414,10 @@ on_game_start_after_lobby = {
add_domicile_building = japanese_manor_main_03
while = {
count = 2
add_random_internal_japanese_manor_building = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. add_random_internal_japanese_manor_building = yes
}
}
fill_external_japanese_manor_building_effect = yes
# NEOW 2555: inactive; corresponding historical scripted effect was disabled. fill_external_japanese_manor_building_effect = yes
}
east_asian_estate = {
if = {
@ -16781,6 +16740,40 @@ on_game_start_after_lobby = {
}
set_global_variable = game_has_started
# Silk & Silver: finish merchant and republic setup after NEOW world initialization.
if = {
limit = { has_gdp_dlc_trigger = yes }
every_domicile = {
limit = {
is_domicile_type = merchant_company
owner ?= {
OR = {
has_realm_law = company_size_large
has_realm_law = company_size_huge
}
}
}
gdp_raise_starting_company_buildings_effect = { FROM = 01 TO = 02 }
if = {
limit = {
owner = { has_realm_law = company_size_huge }
}
gdp_raise_starting_company_buildings_effect = { FROM = 02 TO = 03 }
}
}
every_player = {
if = {
limit = {
government_has_flag = government_is_republic
}
house = {
set_house_aspiration = { type = republic_no_ambition }
}
}
gdp_trade_envoys_resume_idle_traders_effect = yes
}
}
enable_and_run_succession_calculation = yes
}
@ -16789,6 +16782,8 @@ on_game_start_after_lobby = {
historical_artifacts.0050
historical_artifacts.0023 # Historical Artifacts Generator
coronation_events.0302 # ACH crown giveaway
}
}