buikding fix

This commit is contained in:
Greekman 2026-11-22 01:20:02 +00:00
parent 7b79d09c8b
commit 2ea6f90ccc
45 changed files with 53784 additions and 1457 deletions

View file

@ -998,7 +998,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_fes }
title:b_fes = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_fes.title_province = {
@ -1028,7 +1028,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_cairo }
title:b_cairo = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_cairo.title_province = {
@ -1058,7 +1058,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_bologna }
title:b_bologna = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_bologna.title_province = {
@ -1088,7 +1088,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_salamanca }
title:b_salamanca = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_salamanca.title_province = {
@ -1118,7 +1118,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_madrid }
title:b_madrid = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_madrid.title_province = {
@ -1148,7 +1148,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_oxford }
title:b_oxford = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_oxford.title_province = {
@ -1178,7 +1178,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_cambridge }
title:b_cambridge = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_cambridge.title_province = {
@ -1208,7 +1208,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_padua }
title:b_padua = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_padua.title_province = {
@ -1238,7 +1238,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_siena }
title:b_siena = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_siena.title_province = {
@ -1268,7 +1268,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_coimbra }
title:b_coimbra = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_coimbra.title_province = {
@ -1298,7 +1298,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_napoli }
title:b_napoli = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_napoli.title_province = {
@ -1328,7 +1328,7 @@ major_decisions.2001 = {
any_sub_realm_barony = { this = title:b_tirakka }
title:b_tirakka = {
county = { prosperity_level >= 30 }
title_province = { has_special_building_slot = no }
title_province = { has_special_district_slot = no }
}
}
title:b_tirakka.title_province = {

View file

@ -20919,47 +20919,57 @@ ep3_laamp_decision_event.1131 = { #city is finished, wat do
limit = {
scope:city_location = { has_holding_type = temple_citadel_holding }
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = mill
BUILDING = watermills
BUILDING = communal_mill
DISTRICT = villages_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_holding_reward_effect = {
FLAG = temple_citadel
BUILDING = temple_citadel
BUILDING = temple_citadel_outer_wall
DISTRICT = temple_citadel_holding_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = manor
BUILDING = farm_estates
BUILDING = manor_tower
DISTRICT = manor_houses_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = spice_plantation
BUILDING = spice_plantation
BUILDING = communal_plantations
DISTRICT = villages_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = vihara_halls
BUILDING = vihara_halls
BUILDING = religious_school
DISTRICT = religious_community_district
}
}
else = {
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = mill
BUILDING = watermills
BUILDING = communal_mill
DISTRICT = villages_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_holding_reward_effect = {
FLAG = castle
BUILDING = castle
BUILDING = castle_citadel
DISTRICT = castle_holding_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = manor
BUILDING = farm_estates
BUILDING = manor_tower
DISTRICT = manor_houses_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = workshops
BUILDING = workshops
BUILDING = guild_carpenters
DISTRICT = guild_district
}
laamp_city_builder_construction_effect = {
neow_laamp_city_builder_district_reward_effect = {
FLAG = prayer_hall
BUILDING = monastic_schools
BUILDING = religious_school
DISTRICT = religious_community_district
}
}
@ -21088,7 +21098,13 @@ ep3_laamp_decision_event.1133 = { #get a mill
add_character_flag = laamp_city_builder_mill
show_as_tooltip = {
scope:city_location = {
add_building = watermills_02
if = {
limit = { province_has_district = villages_district }
random_built_regular_district = {
limit = { district_type = district_type:villages_district }
add_building = communal_mill_2
}
}
}
}
remove_short_term_gold = 80
@ -21104,7 +21120,13 @@ ep3_laamp_decision_event.1133 = { #get a mill
add_character_flag = laamp_city_builder_mill_upgrade
show_as_tooltip = {
scope:city_location = {
add_building = watermills_03
if = {
limit = { province_has_district = villages_district }
random_built_regular_district = {
limit = { district_type = district_type:villages_district }
add_building = communal_mill_3
}
}
}
}
remove_short_term_gold = 200
@ -21292,7 +21314,13 @@ ep3_laamp_decision_event.1135 = { #argue for more favorable land assigment from
add_character_flag = laamp_city_builder_manor
show_as_tooltip = {
scope:city_location = {
add_building = farm_estates_01
if = {
limit = { province_has_district = manor_houses_district }
random_built_regular_district = {
limit = { district_type = district_type:manor_houses_district }
add_building = manor_tower_2
}
}
}
}
pay_short_term_gold = {
@ -21311,7 +21339,13 @@ ep3_laamp_decision_event.1135 = { #argue for more favorable land assigment from
add_character_flag = laamp_city_builder_manor_upgrade
show_as_tooltip = {
scope:city_location = {
add_building = farm_estates_03
if = {
limit = { province_has_district = manor_houses_district }
random_built_regular_district = {
limit = { district_type = district_type:manor_houses_district }
add_building = manor_tower_3
}
}
}
}
pay_short_term_gold = {
@ -21369,13 +21403,13 @@ ep3_laamp_decision_event.1136 = { #utilize connections, get merchant building
limit = { has_variable = city_construction_is_temple_citadel }
add_character_flag = laamp_city_builder_spice_plantation
scope:city_location = {
show_as_tooltip = { add_building = spice_plantation_02 }
show_as_tooltip = { add_building = communal_plantations_2 }
}
}
else = {
add_character_flag = laamp_city_builder_workshops
scope:city_location = {
show_as_tooltip = { add_building = workshops_02 }
show_as_tooltip = { add_building = guild_carpenters_2 }
}
}
add_prestige = -400
@ -21393,13 +21427,13 @@ ep3_laamp_decision_event.1136 = { #utilize connections, get merchant building
limit = { has_variable = city_construction_is_temple_citadel }
add_character_flag = laamp_city_builder_spice_plantation_upgrade
scope:city_location = {
show_as_tooltip = { add_building = spice_plantation_03 }
show_as_tooltip = { add_building = communal_plantations_3 }
}
}
else = {
add_character_flag = laamp_city_builder_workshops_upgrade
scope:city_location = {
show_as_tooltip = { add_building = workshops_03 }
show_as_tooltip = { add_building = guild_carpenters_3 }
}
}
add_prestige = -600
@ -21453,13 +21487,13 @@ ep3_laamp_decision_event.1137 = { #utilize connections, get prayer hall
limit = { has_variable = city_construction_is_temple_citadel }
add_character_flag = laamp_city_builder_vihara_halls
scope:city_location = {
show_as_tooltip = { add_building = vihara_halls_02 }
show_as_tooltip = { add_building = religious_school_2 }
}
}
else = {
add_character_flag = laamp_city_builder_prayer_hall
scope:city_location = {
show_as_tooltip = { add_building = monastic_schools_02 }
show_as_tooltip = { add_building = religious_school_2 }
}
}
add_piety = -400
@ -21477,13 +21511,13 @@ ep3_laamp_decision_event.1137 = { #utilize connections, get prayer hall
limit = { has_variable = city_construction_is_temple_citadel }
add_character_flag = laamp_city_builder_vihara_halls_upgrade
scope:city_location = {
show_as_tooltip = { add_building = vihara_halls_03 }
show_as_tooltip = { add_building = religious_school_3 }
}
}
else = {
add_character_flag = laamp_city_builder_prayer_hall_upgrade
scope:city_location = {
show_as_tooltip = { add_building = monastic_schools_03 }
show_as_tooltip = { add_building = religious_school_3 }
}
}
add_piety = -600

View file

@ -724,16 +724,7 @@ NEOW_religious_decision.0241 = {
}
}
province:2577 = {
if = {
limit = { has_building = st_peters_basilica_01 }
remove_building = st_peters_basilica_01
}
if = {
limit = { NOT = { has_building = neow_vatican_bone_temple_01 } }
add_special_building = neow_vatican_bone_temple_01
}
}
neow_consecrate_vatican_ossuary_district_effect = yes
title:b_vaticano = { set_title_name = neow_vatican_ossuary_title }
add_piety = 1000
add_prestige = 500

View file

@ -3585,16 +3585,18 @@ travel_events_bp3.75 = { # Dreams Brewing
any_sub_realm_barony = {
county.holder = root
title_province = {
has_holding_type = city_holding
NOT = { has_building_or_higher = breweries_01 }
has_holding_type = city_holding
province_has_district = guild_district
NOT = { has_building_or_higher = brewers_guild_1 }
}
root.culture = { has_cultural_parameter = allows_brewery }
}
any_sub_realm_barony = {
county.holder = root
title_province = {
has_holding_type = church_holding
NOT = { has_building_or_higher = breweries_01 }
has_holding_type = church_holding
province_has_district = guild_district
NOT = { has_building_or_higher = brewers_guild_1 }
}
OR = {
root.faith = faith:roman_catholic
@ -3614,8 +3616,9 @@ travel_events_bp3.75 = { # Dreams Brewing
limit = {
county.holder = root
title_province = {
has_holding_type = city_holding
NOT = { has_building_or_higher = breweries_01 }
has_holding_type = city_holding
province_has_district = guild_district
NOT = { has_building_or_higher = brewers_guild_1 }
}
}
save_scope_as = target_barony
@ -3623,7 +3626,7 @@ travel_events_bp3.75 = { # Dreams Brewing
}
if = {
limit = {
NOT = { exists = scope:barony }
NOT = { exists = scope:target_barony }
OR = {
faith = faith:roman_catholic
rite = { rite_has_parameter = allows_brewery }
@ -3633,8 +3636,9 @@ travel_events_bp3.75 = { # Dreams Brewing
limit = {
county.holder = root
title_province = {
has_holding_type = church_holding
NOT = { has_building_or_higher = breweries_01 }
has_holding_type = church_holding
province_has_district = guild_district
NOT = { has_building_or_higher = brewers_guild_1 }
}
}
save_scope_as = target_barony
@ -3701,9 +3705,7 @@ travel_events_bp3.75 = { # Dreams Brewing
remove_treasury_or_gold = tiny_treasury_or_gold_value
scope:target_barony.title_province = {
add_building = breweries_01
}
neow_grant_brewery_to_barony_effect = yes
ai_chance = {
base = 0
@ -3715,9 +3717,7 @@ travel_events_bp3.75 = { # Dreams Brewing
remove_short_term_gold = minor_gold_value
scope:target_barony.title_province = {
add_building = breweries_01
}
neow_grant_brewery_to_barony_effect = yes
scope:brewmaster_character = {
show_as_tooltip = { set_employer = root }
@ -4066,7 +4066,7 @@ travel_events_bp3.85 = { # Brewers of Fame
}
bp3_travel_event_default_trigger = yes
location = {
has_building_or_higher = breweries_01
has_building_or_higher = brewers_guild_1
county.holder = {
NOR = {
this = root