
Mission
Infrastructure Efforts

Our capital will serve as the beating heart of a prosperous and ever-growing nation.
- Has game rule: NotMissions Disabled↗
- Does NOT have Variable: recently_completed_development_of_infrastructure
- Has > 1 Province
Exact conditions
- Set variable
- Name: target_home_region_control_variable
- Value
- Add:
average_control_in_home_region - Multiply: 1.1
- Max: 0.9
- Add:
- IfThen
- Set variable
- Name: num_connected_locations_to_cap_variable
- Value: 0
- CapitalEvery neighbor locationwhereThe same conditions as aboveOwnerChange variable
- Name: num_connected_locations_to_cap_variable
- Add: 1
- Set variable
- IfCapitalProvinceHas > 0 FoodThenSet variable
- Name: target_province_food_level
- Value
- Add: CapitalProvinceProvince food
- Add
- Value: CapitalProvinceProvince food
- Multiply: 0.1
- IfCapitalTotal building levels > 0ThenSet variable
- Name: target_building_levels_variable
- Value
- Value: CapitalTotal building levels
- Add: 4
- Max: 70
OtherwiseSet variable- Name: target_building_levels_variable
- Value: 3
- IfCapitalHas a
Royal Courtor
Republican Assembly with at least one levelThenSet variable: alraedy_has_assembly_hall_variable - Set variable
- Name: target_capital_province_prosperity_variable
- Value
- Add: CapitalProvinceProvince prosperity
- Add: 0.2
- Max: 1
- Set variable
- Name: target_capital_province_control_variable
- Value
- Add: CapitalProvinceProvince average control
- Add: 0.1
- Max: 0.9
- IfCapitalLocation Rank: Not
Townor
Cityor
MegalopolisThenSet variable: capital_started_as_rural_location_variableElse ifCapitalLocation Rank:
TownThenSet variable: capital_started_as_town_location_variable
Exact script
- Set variable
- Name: recently_completed_development_of_infrastructure
- Years: 10
- IfHas Variable: num_connected_locations_to_cap_variableSet by one ofThenRemove variable: num_connected_locations_to_cap_variable
- IfHas Variable: target_province_food_levelThenRemove variable: target_province_food_level
- IfHas Variable: capital_started_as_rural_location_variableThenRemove variable: capital_started_as_rural_location_variable
- IfHas Variable: capital_started_as_town_location_variableThenRemove variable: capital_started_as_town_location_variable
- IfHas Variable: alraedy_has_assembly_hall_variableThenRemove variable: alraedy_has_assembly_hall_variable
- Remove variable: target_capital_province_prosperity_variable
- Remove variable: target_home_region_control_variable
Exact script
- Set variable
- Name: recently_completed_development_of_infrastructure
- Years: 25
- IfHas Variable: num_connected_locations_to_cap_variableThenRemove variable: num_connected_locations_to_cap_variable
- IfHas Variable: target_province_food_levelThenRemove variable: target_province_food_level
- IfHas Variable: capital_started_as_rural_location_variableThenRemove variable: capital_started_as_rural_location_variable
- IfHas Variable: capital_started_as_town_location_variableThenRemove variable: capital_started_as_town_location_variable
- IfHas Variable: alraedy_has_assembly_hall_variableThenRemove variable: alraedy_has_assembly_hall_variable
- Remove variable: target_capital_province_prosperity_variable
- Remove variable: target_home_region_control_variable
Exact script
- Set variable
Requires 5
Buildings
Republican AssemblyWhen it starts
Royal CourtWhen it starts
Location Ranks
CityWhen it starts
MegalopolisWhen it starts
TownWhen it starts
Required by 1
- johan.20Trigger
Referenced by 1
- johan.21Option
Scripting 24
Requires 6
Variables
- alraedy_has_assembly_hall_variableWhen aborted, On completion
- capital_started_as_rural_location_variableWhen aborted, On completion
- capital_started_as_town_location_variableWhen aborted, On completion
- num_connected_locations_to_cap_variableWhen aborted, On completion
- recently_completed_development_of_infrastructureVisible
- target_province_food_levelWhen aborted, On completion
Grants 10
Variables
- alraedy_has_assembly_hall_variableWhen it starts
- capital_started_as_rural_location_variableWhen it starts
- capital_started_as_town_location_variableWhen it starts
- num_connected_locations_to_cap_variableWhen it starts
- recently_completed_development_of_infrastructureWhen aborted, On completion
- target_building_levels_variableWhen it starts
- target_capital_province_control_variableWhen it starts
- target_capital_province_prosperity_variableWhen it starts
- target_home_region_control_variableWhen it starts
- target_province_food_levelWhen it starts
Removes 7
Variables
- alraedy_has_assembly_hall_variableWhen aborted, On completion
- capital_started_as_rural_location_variableWhen aborted, On completion
- capital_started_as_town_location_variableWhen aborted, On completion
- num_connected_locations_to_cap_variableWhen aborted, On completion
- target_capital_province_prosperity_variableWhen aborted, On completion
- target_home_region_control_variableWhen aborted, On completion
- target_province_food_levelWhen aborted, On completion
Uses 1
- game_has_missions_enabledVisible
icon = generic_infrastructure
repeatable = yes
chance = 3600
player_playstyle = administrative









