buikding fix
This commit is contained in:
parent
7b79d09c8b
commit
2ea6f90ccc
45 changed files with 53784 additions and 1457 deletions
|
|
@ -1013,7 +1013,7 @@ on_raid_action_completion = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:county = {
|
||||
any_county_province = { has_special_building = yes }
|
||||
any_county_province = { has_special_district = yes }
|
||||
}
|
||||
NOT = { has_character_flag = raider_legend }
|
||||
has_dlc_feature = legends
|
||||
|
|
|
|||
|
|
@ -1207,6 +1207,20 @@ on_game_start = {
|
|||
else = { title:b_jaisalmer.title_province = { add_special_district_slot = jaisalmer_fort_01_district } } #3387
|
||||
}
|
||||
|
||||
# CP6 additions affecting the old world. Existing NEOW special district
|
||||
# slots always take precedence. Never place a second special district.
|
||||
if = {
|
||||
limit = { has_cp6_dlc_trigger = yes }
|
||||
title:b_avranches ?= {
|
||||
title_province ?= {
|
||||
if = {
|
||||
limit = { has_special_district_slot = no }
|
||||
add_special_district = mont_st_michel_01_district
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
### RELIGIOUS THINGS ###
|
||||
# Set up Holy Site Buildings to be buildable in Holy Sites
|
||||
every_religion_global = {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ on_building_completed = {
|
|||
# Preservation tenet
|
||||
if = {
|
||||
limit = {
|
||||
scope:character.rite = { rite_has_parameter = building_temples_gives_development }
|
||||
scope:character.rite = { rite_has_parameter = building_temples_gives_prosperity }
|
||||
OR = {
|
||||
has_holding_type = church_holding
|
||||
has_holding_type = temple_citadel_holding
|
||||
|
|
@ -73,7 +73,7 @@ on_building_completed = {
|
|||
}
|
||||
scope:character = {
|
||||
send_interface_toast = {
|
||||
title = building_temples_gives_development_toast
|
||||
title = building_temples_gives_prosperity_toast
|
||||
left_icon = root.county
|
||||
root.county = {
|
||||
change_prosperity_progress_with_overflow = minor_prosperity_progress_gain
|
||||
|
|
@ -90,13 +90,13 @@ on_building_completed = {
|
|||
# Pentarchy tenet
|
||||
if = {
|
||||
limit = {
|
||||
scope:character = { has_personal_tenet_flag = tenet_pentarchy_development_growth_in_holy_sites }
|
||||
scope:character = { has_personal_tenet_flag = tenet_pentarchy_prosperity_growth_in_holy_sites }
|
||||
barony = { is_holy_site_of = scope:character.faith }
|
||||
NOT = { county = { has_variable = dev_gain_cooldown } }
|
||||
}
|
||||
scope:character = {
|
||||
send_interface_toast = {
|
||||
title = tenet_pentarchy_development_growth_in_holy_sites_toast
|
||||
title = tenet_pentarchy_prosperity_growth_in_holy_sites_toast
|
||||
left_icon = scope:character
|
||||
root.county = {
|
||||
change_prosperity_progress_with_overflow = medium_prosperity_progress_gain
|
||||
|
|
@ -113,7 +113,7 @@ on_building_completed = {
|
|||
# Hard working Tradition
|
||||
if = {
|
||||
limit = {
|
||||
culture = { has_cultural_parameter = development_gain_on_building_complete }
|
||||
culture = { has_cultural_parameter = prosperity_gain_on_building_complete }
|
||||
NOT = { county = { has_variable = dev_gain_cooldown } }
|
||||
}
|
||||
county = {
|
||||
|
|
@ -339,7 +339,7 @@ on_building_completed = {
|
|||
scope:character = {
|
||||
any_character_struggle = {
|
||||
involvement = involved
|
||||
has_struggle_phase_parameter = completing_building_in_castle_gives_development
|
||||
has_struggle_phase_parameter = completing_building_in_castle_gives_prosperity
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -484,7 +484,7 @@ on_building_completed = {
|
|||
# Apply them here directly so they are more promptly added than monthly via the POI update
|
||||
if = {
|
||||
limit = {
|
||||
has_special_building = no
|
||||
has_special_district = no
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -525,10 +525,20 @@ on_building_completed = {
|
|||
}
|
||||
add_travel_point_of_interest = poi_special_buildings_wonder
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_building_with_flag = { flag = silk_road_node }
|
||||
NOT = { has_travel_point_of_interest = poi_silk_road_node }
|
||||
}
|
||||
add_travel_point_of_interest = poi_silk_road_node
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_building_with_flag = { flag = travel_point_of_interest_economic }
|
||||
NOT = { has_travel_point_of_interest = poi_special_buildings_economic }
|
||||
NOR = {
|
||||
has_building_with_flag = { flag = silk_road_node }
|
||||
has_travel_point_of_interest = poi_special_buildings_economic
|
||||
}
|
||||
}
|
||||
add_travel_point_of_interest = poi_special_buildings_economic
|
||||
}
|
||||
|
|
@ -984,6 +994,24 @@ on_holding_razed = {
|
|||
change_county_fertility = medium_county_fertility_level_gain
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { exists = trade_post_district }
|
||||
hidden_effect = {
|
||||
root = { save_scope_as = trade_post_razer }
|
||||
trade_post_owner ?= {
|
||||
if = {
|
||||
limit = { is_ai = no }
|
||||
send_interface_message = {
|
||||
type = msg_trade_monopoly
|
||||
title = trade_post_razed_message_title
|
||||
desc = trade_post_razed_message_desc
|
||||
left_icon = scope:trade_post_razer
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
remove_district_type = trade_post_location_district
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_university_building_trigger = yes
|
||||
|
|
@ -1050,7 +1078,7 @@ on_holding_razed = {
|
|||
|
||||
# root: The holder of the province doing the rebuilding
|
||||
# province: The province in which the great building exists
|
||||
on_great_building_rebuilt = {
|
||||
on_great_district_rebuilt = {
|
||||
effect = {
|
||||
add_piety_experience = {
|
||||
add = minor_piety_gain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue