From f8c52c53d182de6ee5c2f4cd3dd31a39a1cc16f6 Mon Sep 17 00:00:00 2001 From: Anbeeld Date: Fri, 23 Jun 2023 16:58:19 +0700 Subject: [PATCH] Version 1.3.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit – Industry Banned law is now checked when a country considers to construct vanilla heavy industry buildings. – The part of the code that adds a special priority to placing a port in the capital state now checks if the capital state is in fact coastal. --- .../aroai_static_data_triggers.txt | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/common/scripted_triggers/aroai_static_data_triggers.txt b/src/common/scripted_triggers/aroai_static_data_triggers.txt index e9ea912..6c50cb5 100644 --- a/src/common/scripted_triggers/aroai_static_data_triggers.txt +++ b/src/common/scripted_triggers/aroai_static_data_triggers.txt @@ -905,6 +905,9 @@ aroai_allocate_building_port = { key = building_port } } + root.market_capital = { + is_coastal = no + } NOT = { root.market_capital.owner = root } @@ -941,6 +944,9 @@ aroai_allocate_building_port = { key = building_port } } + root.market_capital = { + is_coastal = no + } NOT = { root.market_capital.owner = root } @@ -2285,6 +2291,9 @@ aroai_allocate_building_paper_mills = { aroai_consider_building_chemical_plants = { has_technology_researched = intensive_agriculture + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 } @@ -2314,6 +2323,9 @@ aroai_allocate_building_chemical_plants = { aroai_consider_building_synthetics_plants = { has_technology_researched = aniline + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 } @@ -2343,6 +2355,9 @@ aroai_allocate_building_synthetics_plants = { aroai_consider_building_steel_mills = { has_technology_researched = steelworking + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 } @@ -2372,6 +2387,9 @@ aroai_allocate_building_steel_mills = { aroai_consider_building_motor_industry = { has_technology_researched = atmospheric_engine + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 } @@ -2434,6 +2452,9 @@ aroai_allocate_building_shipyards = { aroai_consider_building_power_plant = { has_technology_researched = electrical_generation + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 } @@ -2463,6 +2484,9 @@ aroai_allocate_building_power_plant = { aroai_consider_building_electrics_industry = { has_technology_researched = telephone + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 } @@ -2521,6 +2545,9 @@ aroai_allocate_building_arms_industry = { aroai_consider_building_munition_plants = { has_technology_researched = percussion_cap + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 } @@ -2550,6 +2577,9 @@ aroai_allocate_building_munition_plants = { aroai_consider_building_war_machine_industry = { has_technology_researched = military_aviation + NOT = { + has_law = law_type:law_industry_banned + } aroai_building_is_allowed = { critical = 0 }