diff --git a/common/ascension_perks/01_idrinth-expanded-spaceport.txt b/common/ascension_perks/01_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..ac4a039 --- /dev/null +++ b/common/ascension_perks/01_idrinth-expanded-spaceport.txt @@ -0,0 +1,115 @@ +ap_idrinthexpandedspaceport_engineered_evolution = { + modifier = { + ship_auto_repair_add = 0.05 + } + + potential = { + has_ascension_perk = ap_engineered_evolution + } + + ai_weight = { + factor = 2 + } +} + +ap_idrinthexpandedspaceport_the_flesh_is_weak = { + modifier = { + shipclass_orbital_station_hit_points_mult = 0.5 + ship_auto_repair_add = 0.025 + } + + potential = { + has_ascension_perk = ap_the_flesh_is_weak + } + + ai_weight = { + factor = 2 + } +} + +ap_idrinthexpandedspaceport_mind_over_matter = { + modifier = { + ship_shield_hp_mult = 0.5 + shipclass_orbital_station_damage_mult = 0.5 + } + + potential = { + has_ascension_perk = ap_mind_over_matter + } + + ai_weight = { + factor = 2 + } +} + +ap_idrinthexpandedspaceport_galactic_force_projection = { + modifier = { + navy_size_add = 50 + shipclass_orbital_station_damage_mult = 0.5 + spaceport_ship_build_time_mult = -0.1 + spaceport_ship_build_cost_mult = -0.1 + } + + potential = { + has_ascension_perk = ap_galactic_force_projection + } + + ai_weight = { + factor = 5 + modifier = { + factor = 1 + has_ethic = ethic_militarist + } + modifier = { + factor = 1.5 + has_ethic = ethic_fanatic_militarist + } + } +} + +ap_idrinthexpandedspaceport_master_builders = { + modifier = { + spaceport_ship_build_time_mult = -0.1 + spaceport_ship_build_cost_mult = -0.1 + shipclass_orbital_station_hit_points_mult = 1 + } + + potential = { + has_ascension_perk = ap_master_builders + } + + ai_weight = { + factor = 5 + modifier = { + factor = 1 + has_ethic = ethic_pacifist + } + modifier = { + factor = 1.5 + has_ethic = ethic_fanatic_pacifist + } + } +} + +ap_idrinthexpandedspaceport_technological_ascendancy = { + modifier = { + all_technology_research_speed = 0.05 + shipclass_orbital_station_hit_points_mult = 0.5 + } + + potential = { + has_ascension_perk = ap_technological_ascendancy + } + + ai_weight = { + factor = 5 + modifier = { + factor = 1 + has_ethic = ethic_materialist + } + modifier = { + factor = 1.5 + has_ethic = ethic_fanatic_materialist + } + } +} \ No newline at end of file diff --git a/common/defines/01_idrinth-expanded-spaceport.txt b/common/defines/01_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..74f49cb --- /dev/null +++ b/common/defines/01_idrinth-expanded-spaceport.txt @@ -0,0 +1,23 @@ +NGameplay = { + # Amount of days it takes to construct a spaceport. + SPACEPORT_CONSTRUCTION_TIME = 300 #360 + # How much HP in % that the spaceport starts with. + SPACEPORT_CONSTRUCTION_HEALTH = 0.15 #0.1 + # Number of spaceport levels + SPACEPORT_LEVELS = 34 #6 + # Time to upgrade a spaceport to the next level + SPACEPORT_UPGRADE_TIME = 1 #150 #180 + # Naval Capacity per spaceport level + NAVY_SIZE_SPACEPORT_LEVEL = { 2 3 4 5 6 7 8 10 11 12 13 14 15 16 18 19 20 21 22 23 24 26 27 28 29 30 32 34 35 36 37 38 39 40} +} + +NEconomy = { + # Monthly orbital station maintenance cost + ORBITAL_STATION_MAINTENANCE = -1.0 #3.0 + # Mineral costs for upgrading the spaceport + SPACEPORT_UPGRADE_COSTS = { 200.0 250.0 300.0 350.0 400.0 450.0 500.0 550.0 600.0 650.0 700.0 750.0 800.0 850.0 900.0 950.0 1000.0 1050.0 1100.0 1150.0 1200.0 1250.0 1300.0 1350.0 1400.0 1450.0 1500.0 1550.0 1600.0 1650.0 1700.0 1750.0 1800.0 } +} +NShip = { + MILITARY_POWER_SPACEPORT_BASE_MULT = 0.8 + MILITARY_POWER_SPACEPORT_LEVEL_MULT = 0.05 +} \ No newline at end of file diff --git a/common/section_templates/spaceport.txt b/common/section_templates/spaceport.txt new file mode 100644 index 0000000..e48b79e --- /dev/null +++ b/common/section_templates/spaceport.txt @@ -0,0 +1,224 @@ +ship_section_template = { + key = "CORE_SPACEPORT_SECTION" + ship_size = orbital_station + entity = "orbital_station_core_entity" + icon = "GFX_ship_part_core_mid" + fits_on_slot = "1" + fits_on_slot = "8" + fits_on_slot = "15" + fits_on_slot = "22" + fits_on_slot = "29" + + component_slot = { + name = "LARGE_GUN_01" + slot_size = large + slot_type = weapon + locatorname = "medium_gun_01" + } + component_slot = { + name = "LARGE_GUN_02" + slot_size = large + slot_type = weapon + locatorname = "medium_gun_02" + } + component_slot = { + name = "MEDIUM_GUN_01" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_01" + } + component_slot = { + name = "MEDIUM_GUN_02" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_02" + } + component_slot = { + name = "SMALL_GUN_01" + slot_size = small + slot_type = weapon + locatorname = "small_gun_01" + } + component_slot = { + name = "SMALL_GUN_02" + slot_size = small + slot_type = weapon + locatorname = "small_gun_02" + } + component_slot = { + name = "SMALL_GUN_03" + slot_size = small + slot_type = weapon + locatorname = "small_gun_03" + } + component_slot = { + name = "SMALL_GUN_04" + slot_size = small + slot_type = weapon + locatorname = "small_gun_04" + } +} + +ship_section_template = { + key = "ASSEMBLYYARD_SPACEPORT_SECTION" + ship_size = orbital_station + entity = "orbital_station_assemblyyard_section_entity" + icon = "GFX_ship_part_core_mid" + fits_on_slot = "2" + fits_on_slot = "3" + fits_on_slot = "4" + fits_on_slot = "5" + fits_on_slot = "6" + fits_on_slot = "7" + + fits_on_slot = "9" + fits_on_slot = "10" + fits_on_slot = "11" + fits_on_slot = "12" + fits_on_slot = "13" + fits_on_slot = "14" + + fits_on_slot = "16" + fits_on_slot = "17" + fits_on_slot = "18" + fits_on_slot = "19" + fits_on_slot = "20" + fits_on_slot = "21" + + fits_on_slot = "23" + fits_on_slot = "24" + fits_on_slot = "25" + fits_on_slot = "26" + fits_on_slot = "27" + fits_on_slot = "28" + + fits_on_slot = "30" + fits_on_slot = "31" + fits_on_slot = "32" + fits_on_slot = "33" + fits_on_slot = "34" + fits_on_slot = "35" +} + +ship_section_template = { + key = "HANGARBAY_SPACEPORT_SECTION" + ship_size = orbital_station + entity = "orbital_station_hangarbay_section_entity" + icon = "GFX_ship_part_core_mid" + fits_on_slot = "2" + fits_on_slot = "3" + fits_on_slot = "4" + fits_on_slot = "5" + fits_on_slot = "6" + fits_on_slot = "7" + + fits_on_slot = "9" + fits_on_slot = "10" + fits_on_slot = "11" + fits_on_slot = "12" + fits_on_slot = "13" + fits_on_slot = "14" + + fits_on_slot = "16" + fits_on_slot = "17" + fits_on_slot = "18" + fits_on_slot = "19" + fits_on_slot = "20" + fits_on_slot = "21" + + fits_on_slot = "23" + fits_on_slot = "24" + fits_on_slot = "25" + fits_on_slot = "26" + fits_on_slot = "27" + fits_on_slot = "28" + + fits_on_slot = "30" + fits_on_slot = "31" + fits_on_slot = "32" + fits_on_slot = "33" + fits_on_slot = "34" + fits_on_slot = "35" +} + +ship_section_template = { + key = "REFINERY_SPACEPORT_SECTION" + ship_size = orbital_station + entity = "orbital_station_refinery_section_entity" + icon = "GFX_ship_part_core_mid" + fits_on_slot = "2" + fits_on_slot = "3" + fits_on_slot = "4" + fits_on_slot = "5" + fits_on_slot = "6" + fits_on_slot = "7" + + fits_on_slot = "9" + fits_on_slot = "10" + fits_on_slot = "11" + fits_on_slot = "12" + fits_on_slot = "13" + fits_on_slot = "14" + + fits_on_slot = "16" + fits_on_slot = "17" + fits_on_slot = "18" + fits_on_slot = "19" + fits_on_slot = "20" + fits_on_slot = "21" + + fits_on_slot = "23" + fits_on_slot = "24" + fits_on_slot = "25" + fits_on_slot = "26" + fits_on_slot = "27" + fits_on_slot = "28" + + fits_on_slot = "30" + fits_on_slot = "31" + fits_on_slot = "32" + fits_on_slot = "33" + fits_on_slot = "34" + fits_on_slot = "35" +} + +ship_section_template = { + key = "SCIENCE_SPACEPORT_SECTION" + ship_size = orbital_station + entity = "orbital_station_science_section_entity" + icon = "GFX_ship_part_core_mid" + fits_on_slot = "2" + fits_on_slot = "3" + fits_on_slot = "4" + fits_on_slot = "5" + fits_on_slot = "6" + fits_on_slot = "7" + + fits_on_slot = "9" + fits_on_slot = "10" + fits_on_slot = "11" + fits_on_slot = "12" + fits_on_slot = "13" + fits_on_slot = "14" + + fits_on_slot = "16" + fits_on_slot = "17" + fits_on_slot = "18" + fits_on_slot = "19" + fits_on_slot = "20" + fits_on_slot = "21" + + fits_on_slot = "23" + fits_on_slot = "24" + fits_on_slot = "25" + fits_on_slot = "26" + fits_on_slot = "27" + fits_on_slot = "54" + + fits_on_slot = "30" + fits_on_slot = "31" + fits_on_slot = "32" + fits_on_slot = "33" + fits_on_slot = "34" + fits_on_slot = "35" +} \ No newline at end of file diff --git a/common/ship_sizes/01_idrinth-expanded-spaceport.txt b/common/ship_sizes/01_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..2f63127 --- /dev/null +++ b/common/ship_sizes/01_idrinth-expanded-spaceport.txt @@ -0,0 +1,51 @@ +orbital_station = { + max_speed = 0.0 + acceleration = 0.0 + rotation_speed = 0.0 + modifier = { + ship_evasion_mult = -1 + ship_weapon_range_mult = 0.20 + } + max_hitpoints = 4000 + size_multiplier = 8 + fleet_slot_size = 4 + section_slots = { + "1" = { locator = "part1" } + "2" = { locator = "part2" } + "3" = { locator = "part3" } + "4" = { locator = "part4" } + "5" = { locator = "part5" } + "6" = { locator = "part6" } + "7" = { locator = "part7" } + "8" = { locator = "part8" } + "9" = { locator = "part9" } + "10" = { locator = "part10" } + "11" = { locator = "part11" } + "12" = { locator = "part12" } + "13" = { locator = "part13" } + "14" = { locator = "part14" } + "15" = { locator = "part15" } + "16" = { locator = "part16" } + "17" = { locator = "part17" } + "18" = { locator = "part18" } + "19" = { locator = "part19" } + "20" = { locator = "part20" } + "21" = { locator = "part21" } + "22" = { locator = "part22" } + "23" = { locator = "part23" } + "24" = { locator = "part24" } + "25" = { locator = "part25" } + "26" = { locator = "part26" } + "27" = { locator = "part27" } + "28" = { locator = "part28" } + } + num_target_locators = 0 + is_space_station = yes + build_block_radius = 20 + cost = 360 + + enable_default_design = yes #if yes, countries will have an auto-generated design at start + prerequisites = { "tech_spaceport_1" } + class = shipclass_orbital_station + is_designable = no +} \ No newline at end of file diff --git a/common/spaceport_modules/01_idrinth-expanded-spaceport.txt b/common/spaceport_modules/01_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..9a329e8 --- /dev/null +++ b/common/spaceport_modules/01_idrinth-expanded-spaceport.txt @@ -0,0 +1,400 @@ +################# +#### LEVEL 7 #### +################# + + +################# +#### LEVEL 8 #### +################# + +idrinthexpandedspaceport_pilot_training = { + icon = "GFX_spaceport_module_corvette_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 270 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_8 } + spaceport_level = 8 + + cost = { + minerals = 200 + } + + station_modifier = { + ship_tracking_add = 5 + ship_accuracy_add = 5 + } + + ship_modifier = { + ship_evasion_add = 1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + } +} + +################# +#### LEVEL 9 #### +################# + +idrinthexpandedspaceport_advanced_armor = { + icon = "GFX_spaceport_module_corvette_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 270 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_9 } + spaceport_level = 9 + + cost = { + minerals = 200 + } + + station_modifier = { + ship_armor_add = 5 + ship_hitpoints_add = 250 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + } +} + +################# +#### LEVEL 10 #### +################# + +idrinthexpandedspaceport_corvette_assembly_yards = { + icon = "GFX_spaceport_module_corvette_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 270 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_10 } + spaceport_level = 10 + + cost = { + minerals = 200 + } + + required_resources = { + energy = 1 + } + + modifier = { + shipsize_corvette_construction_speed_mult = 0.15 + shipsize_corvette_build_cost_mult = -0.1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + modifier = { + factor = 0 + from = { NOT = { has_spaceport_module = solar_panel_network } } + } + } +} + +################# +#### LEVEL 11 #### +################# + +idrinthexpandedspaceport_recycling = { + icon = "GFX_spaceport_module_corvette_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 270 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_11 } + spaceport_level = 11 + + cost = { + minerals = 100 + } + + required_resources = { + energy = -1 + } + + planet_modifier = { + pop_happiness = 0.01 + tile_resource_minerals_mult = 0.1 + tile_resource_energy_mult = 0.1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + } +} + +################# +#### LEVEL 12 #### +################# + +idrinthexpandedspaceport_destroyer_assembly_yards = { + icon = "GFX_spaceport_module_destroyer_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 360 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_12 } + spaceport_level = 12 + + cost = { + minerals = 600 + } + + required_resources = { + energy = 1 + } + + modifier = { + shipsize_destroyer_construction_speed_mult = 0.15 + shipsize_destroyer_build_cost_mult = -0.1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + modifier = { + factor = 0 + from = { NOT = { has_spaceport_module = solar_panel_network } } + } + } +} + +################# +#### LEVEL 14 #### +################# + + + +################# +#### LEVEL 15 #### +################# + +idrinthexpandedspaceport_shield_generator = { + icon = "GFX_spaceport_module_destroyer_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 360 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_15 } + spaceport_level = 14 + + cost = { + minerals = 600 + } + + required_resources = { + energy = 1 + } + + station_modifier = { + ship_shield_hp_add = 1000 + ship_shield_regen_add = 0.1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + modifier = { + factor = 0 + from = { NOT = { has_spaceport_module = solar_panel_network } } + } + } +} + +################# +#### LEVEL 16 #### +################# + +idrinthexpandedspaceport_crew_quarters = { + icon = "GFX_spaceport_module_crew_quarters" + section = "HANGARBAY_SPACEPORT_SECTION" + construction_days = 180 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_16 } + spaceport_level = 16 + + cost = { + minerals = 200 + } + + orbit_modifier = { + ship_upkeep_mult = -0.1 + } + station_modifier = { + ship_fire_rate_mult = 0.15 + ship_weapon_damage = 0.15 + } + required_resources = { + energy = 1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { NOT = { has_spaceport_module = solar_panel_network } } + } + } +} + +################# +#### LEVEL 18 #### +################# + +idrinthexpandedspaceport_cruiser_assembly_yards = { + icon = "GFX_spaceport_module_cruiser_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 360 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_18 } + spaceport_level = 18 + + cost = { + minerals = 800 + } + + required_resources = { + energy = 3 + } + + modifier = { + shipsize_cruiser_construction_speed_mult = 0.15 + shipsize_cruiser_build_cost_mult = -0.1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + modifier = { + factor = 0 + from = { NOT = { has_spaceport_module = solar_panel_network } } + } + } +} +################# +#### LEVEL 20 #### +################# + +idrinthexpandedspaceport_trade_center = { + icon = "GFX_spaceport_module_crew_quarters" + section = "HANGARBAY_SPACEPORT_SECTION" + prerequisites = { tech_idrinthexpandedspaceport_spaceport_20 } + construction_days = 180 + spaceport_level = 8 + + cost = { + minerals = 200 + } + + required_resources = { + energy = -5 + minerals -5 + } + + ai_weight = { + factor = 5 + } +} +################# +#### LEVEL 21 #### +################# + + +################# +#### LEVEL 22 #### +################# + +idrinthexpandedspaceport_battleship_assembly_yards = { + icon = "GFX_spaceport_module_battleship_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 180 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_22 } + spaceport_level = 22 + + cost = { + minerals = 1000 + } + + required_resources = { + energy = 4 + } + + modifier = { + shipsize_battleship_construction_speed_mult = 0.15 + shipsize_battleship_build_cost_mult = -0.1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + modifier = { + factor = 0 + from = { NOT = { has_spaceport_module = solar_panel_network } } + } + } +} + +################# +#### LEVEL 24 #### +################# + + +idrinthexpandedspaceport_synchronized_defenses = { + icon = "GFX_spaceport_synchronized_defenses" + section = "SCIENCE_SPACEPORT_SECTION" + construction_days = 180 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_24 } + spaceport_level = 24 + + cost = { + minerals = 300 + } + + required_resources = { + energy = 1 + } + + station_modifier = { + ship_fire_rate_mult = 0.65 + ship_weapon_damage = 0.25 + ship_weapon_range_mult = 0.25 + } +} + +################# +#### LEVEL 26 #### +################# + +idrinthexpandedspaceport_observatory = { + icon = "GFX_spaceport_module_observatory" + section = "SCIENCE_SPACEPORT_SECTION" + construction_days = 180 + prerequisites = { tech_idrinthexpandedspaceport_spaceport_26 } + spaceport_level = 26 + + cost = { + minerals = 100 + } + + required_resources = { + energy = 1 + } + + planet_modifier = { + planet_sensor_range_mult = 0.5 + tile_resource_physics_research_mult = 0.25 + tile_resource_society_research_mult = 0.25 + tile_resource_engineering_research_mult = 0.25 + pop_happiness = 0.01 + } +} \ No newline at end of file diff --git a/common/spaceport_modules/02_idrinth-expanded-spaceport.txt b/common/spaceport_modules/02_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..ae20e7f --- /dev/null +++ b/common/spaceport_modules/02_idrinth-expanded-spaceport.txt @@ -0,0 +1,93 @@ +idrinthexpandedspaceport_armor = { + icon = "GFX_spaceport_module_corvette_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 270 + prerequisites = { tech_ship_armor_1 } + spaceport_level = 1 + + cost = { + minerals = 100 + } + + station_modifier = { + ship_armor_add = 2 + ship_hitpoints_add = 200 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + } +} + +idrinthexpandedspaceport_simple_shield_generator = { + icon = "GFX_spaceport_module_destroyer_assembly_yard" + section = "ASSEMBLYYARD_SPACEPORT_SECTION" + construction_days = 360 + prerequisites = { tech_shields_1 } + spaceport_level = 1 + + cost = { + minerals = 100 + } + + required_resources = { + energy = 1 + } + + station_modifier = { + ship_shield_hp_add = 100 + ship_shield_regen_add = 0.1 + } + + ai_weight = { + modifier = { + factor = 0 + from = { sector_controlled = yes } + } + modifier = { + factor = 0 + from = { NOT = { has_spaceport_module = solar_panel_network } } + } + } +} + +idrinthexpandedspaceport_market = { + icon = "GFX_spaceport_module_crew_quarters" + section = "HANGARBAY_SPACEPORT_SECTION" + prerequisites = { tech_colonization_2 } + construction_days = 180 + spaceport_level = 1 + + cost = { + minerals = 100 + } + + required_resources = { + energy = -2 + minerals -1 + } + + ai_weight = { + factor = 5 + } +} + +idrinthexpandedspaceport_tourist_center = { + icon = "GFX_spaceport_module_observatory" + section = "SCIENCE_SPACEPORT_SECTION" + construction_days = 180 + prerequisites = { tech_colonization_2 } + spaceport_level = 1 + + cost = { + minerals = 100 + } + + planet_modifier = { + tile_resource_society_research_mult = 0.05 + pop_happiness = 0.01 + } +} \ No newline at end of file diff --git a/common/spaceport_modules/03_idrinth-expanded-spaceport.txt b/common/spaceport_modules/03_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..88e06d0 --- /dev/null +++ b/common/spaceport_modules/03_idrinth-expanded-spaceport.txt @@ -0,0 +1,4313 @@ + +idrinthexpandedspaceport_projectile_weapon1_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 1.7 + ship_fire_rate_mult = 2.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0016 + ship_shield_hp_add = 80 + ship_shield_regen_add = 0.08 + ship_armor_add = 110 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_laser_weapon1_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 1.7 + ship_fire_rate_mult = 2.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0016 + ship_shield_hp_add = 80 + ship_shield_regen_add = 0.08 + ship_armor_add = 110 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_missile_weapon1_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 1.7 + ship_fire_rate_mult = 2.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0016 + ship_shield_hp_add = 80 + ship_shield_regen_add = 0.08 + ship_armor_add = 110 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_swarm_weapon1_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 1.7 + ship_fire_rate_mult = 2.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0016 + ship_shield_hp_add = 80 + ship_shield_regen_add = 0.08 + ship_armor_add = 110 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon1_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 1.7 + ship_fire_rate_mult = 2.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0016 + ship_shield_hp_add = 80 + ship_shield_regen_add = 0.08 + ship_armor_add = 110 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} +idrinthexpandedspaceport_projectile_weapon1_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.18 + ship_tracking_add = 17 + ship_accuracy_add = 1 + ship_weapon_damage = 1.8 + ship_fire_rate_mult = 2.08 + + ship_hitpoints_add = 4000 + ship_auto_repair_add = 0.0018 + ship_shield_hp_add = 90 + ship_shield_regen_add = 0.09 + ship_armor_add = 115 + } + modifier = { + spaceport_ship_build_speed_mult = 1.6 + spaceport_ship_build_cost_mult = -0.04 + } +} + +idrinthexpandedspaceport_laser_weapon1_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.18 + ship_tracking_add = 17 + ship_accuracy_add = 1 + ship_weapon_damage = 1.8 + ship_fire_rate_mult = 2.08 + + ship_hitpoints_add = 4000 + ship_auto_repair_add = 0.0018 + ship_shield_hp_add = 90 + ship_shield_regen_add = 0.09 + ship_armor_add = 115 + } + modifier = { + spaceport_ship_build_speed_mult = 1.6 + spaceport_ship_build_cost_mult = -0.04 + } +} + +idrinthexpandedspaceport_missile_weapon1_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.18 + ship_tracking_add = 17 + ship_accuracy_add = 1 + ship_weapon_damage = 1.8 + ship_fire_rate_mult = 2.08 + + ship_hitpoints_add = 4000 + ship_auto_repair_add = 0.0018 + ship_shield_hp_add = 90 + ship_shield_regen_add = 0.09 + ship_armor_add = 115 + } + modifier = { + spaceport_ship_build_speed_mult = 1.6 + spaceport_ship_build_cost_mult = -0.04 + } +} + +idrinthexpandedspaceport_swarm_weapon1_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.18 + ship_tracking_add = 17 + ship_accuracy_add = 1 + ship_weapon_damage = 1.8 + ship_fire_rate_mult = 2.08 + + ship_hitpoints_add = 4000 + ship_auto_repair_add = 0.0018 + ship_shield_hp_add = 90 + ship_shield_regen_add = 0.09 + ship_armor_add = 115 + } + modifier = { + spaceport_ship_build_speed_mult = 1.6 + spaceport_ship_build_cost_mult = -0.04 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon1_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.18 + ship_tracking_add = 17 + ship_accuracy_add = 1 + ship_weapon_damage = 1.8 + ship_fire_rate_mult = 2.08 + + ship_hitpoints_add = 4000 + ship_auto_repair_add = 0.0018 + ship_shield_hp_add = 90 + ship_shield_regen_add = 0.09 + ship_armor_add = 115 + } + modifier = { + spaceport_ship_build_speed_mult = 1.6 + spaceport_ship_build_cost_mult = -0.04 + } +} +idrinthexpandedspaceport_projectile_weapon1_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.19 + ship_tracking_add = 19 + ship_accuracy_add = 1 + ship_weapon_damage = 1.9 + ship_fire_rate_mult = 2.09 + + ship_hitpoints_add = 4500 + ship_auto_repair_add = 0.002 + ship_shield_hp_add = 100 + ship_shield_regen_add = 0.1 + ship_armor_add = 120 + } + modifier = { + spaceport_ship_build_speed_mult = 1.8 + spaceport_ship_build_cost_mult = -0.045 + } +} + +idrinthexpandedspaceport_laser_weapon1_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.19 + ship_tracking_add = 19 + ship_accuracy_add = 1 + ship_weapon_damage = 1.9 + ship_fire_rate_mult = 2.09 + + ship_hitpoints_add = 4500 + ship_auto_repair_add = 0.002 + ship_shield_hp_add = 100 + ship_shield_regen_add = 0.1 + ship_armor_add = 120 + } + modifier = { + spaceport_ship_build_speed_mult = 1.8 + spaceport_ship_build_cost_mult = -0.045 + } +} + +idrinthexpandedspaceport_missile_weapon1_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.19 + ship_tracking_add = 19 + ship_accuracy_add = 1 + ship_weapon_damage = 1.9 + ship_fire_rate_mult = 2.09 + + ship_hitpoints_add = 4500 + ship_auto_repair_add = 0.002 + ship_shield_hp_add = 100 + ship_shield_regen_add = 0.1 + ship_armor_add = 120 + } + modifier = { + spaceport_ship_build_speed_mult = 1.8 + spaceport_ship_build_cost_mult = -0.045 + } +} + +idrinthexpandedspaceport_swarm_weapon1_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.19 + ship_tracking_add = 19 + ship_accuracy_add = 1 + ship_weapon_damage = 1.9 + ship_fire_rate_mult = 2.09 + + ship_hitpoints_add = 4500 + ship_auto_repair_add = 0.002 + ship_shield_hp_add = 100 + ship_shield_regen_add = 0.1 + ship_armor_add = 120 + } + modifier = { + spaceport_ship_build_speed_mult = 1.8 + spaceport_ship_build_cost_mult = -0.045 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon1_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.19 + ship_tracking_add = 19 + ship_accuracy_add = 1 + ship_weapon_damage = 1.9 + ship_fire_rate_mult = 2.09 + + ship_hitpoints_add = 4500 + ship_auto_repair_add = 0.002 + ship_shield_hp_add = 100 + ship_shield_regen_add = 0.1 + ship_armor_add = 120 + } + modifier = { + spaceport_ship_build_speed_mult = 1.8 + spaceport_ship_build_cost_mult = -0.045 + } +} +idrinthexpandedspaceport_projectile_weapon1_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.2 + ship_tracking_add = 21 + ship_accuracy_add = 1 + ship_weapon_damage = 2 + ship_fire_rate_mult = 2.1 + + ship_hitpoints_add = 5000 + ship_auto_repair_add = 0.0022 + ship_shield_hp_add = 110 + ship_shield_regen_add = 0.11 + ship_armor_add = 125 + } + modifier = { + spaceport_ship_build_speed_mult = 2 + spaceport_ship_build_cost_mult = -0.05 + } +} + +idrinthexpandedspaceport_laser_weapon1_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.2 + ship_tracking_add = 21 + ship_accuracy_add = 1 + ship_weapon_damage = 2 + ship_fire_rate_mult = 2.1 + + ship_hitpoints_add = 5000 + ship_auto_repair_add = 0.0022 + ship_shield_hp_add = 110 + ship_shield_regen_add = 0.11 + ship_armor_add = 125 + } + modifier = { + spaceport_ship_build_speed_mult = 2 + spaceport_ship_build_cost_mult = -0.05 + } +} + +idrinthexpandedspaceport_missile_weapon1_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.2 + ship_tracking_add = 21 + ship_accuracy_add = 1 + ship_weapon_damage = 2 + ship_fire_rate_mult = 2.1 + + ship_hitpoints_add = 5000 + ship_auto_repair_add = 0.0022 + ship_shield_hp_add = 110 + ship_shield_regen_add = 0.11 + ship_armor_add = 125 + } + modifier = { + spaceport_ship_build_speed_mult = 2 + spaceport_ship_build_cost_mult = -0.05 + } +} + +idrinthexpandedspaceport_swarm_weapon1_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.2 + ship_tracking_add = 21 + ship_accuracy_add = 1 + ship_weapon_damage = 2 + ship_fire_rate_mult = 2.1 + + ship_hitpoints_add = 5000 + ship_auto_repair_add = 0.0022 + ship_shield_hp_add = 110 + ship_shield_regen_add = 0.11 + ship_armor_add = 125 + } + modifier = { + spaceport_ship_build_speed_mult = 2 + spaceport_ship_build_cost_mult = -0.05 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon1_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.2 + ship_tracking_add = 21 + ship_accuracy_add = 1 + ship_weapon_damage = 2 + ship_fire_rate_mult = 2.1 + + ship_hitpoints_add = 5000 + ship_auto_repair_add = 0.0022 + ship_shield_hp_add = 110 + ship_shield_regen_add = 0.11 + ship_armor_add = 125 + } + modifier = { + spaceport_ship_build_speed_mult = 2 + spaceport_ship_build_cost_mult = -0.05 + } +} +idrinthexpandedspaceport_projectile_weapon1_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.21 + ship_tracking_add = 23 + ship_accuracy_add = 1 + ship_weapon_damage = 2.1 + ship_fire_rate_mult = 2.11 + + ship_hitpoints_add = 5500 + ship_auto_repair_add = 0.0024 + ship_shield_hp_add = 120 + ship_shield_regen_add = 0.12 + ship_armor_add = 130 + } + modifier = { + spaceport_ship_build_speed_mult = 2.2 + spaceport_ship_build_cost_mult = -0.055 + } +} + +idrinthexpandedspaceport_laser_weapon1_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.21 + ship_tracking_add = 23 + ship_accuracy_add = 1 + ship_weapon_damage = 2.1 + ship_fire_rate_mult = 2.11 + + ship_hitpoints_add = 5500 + ship_auto_repair_add = 0.0024 + ship_shield_hp_add = 120 + ship_shield_regen_add = 0.12 + ship_armor_add = 130 + } + modifier = { + spaceport_ship_build_speed_mult = 2.2 + spaceport_ship_build_cost_mult = -0.055 + } +} + +idrinthexpandedspaceport_missile_weapon1_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.21 + ship_tracking_add = 23 + ship_accuracy_add = 1 + ship_weapon_damage = 2.1 + ship_fire_rate_mult = 2.11 + + ship_hitpoints_add = 5500 + ship_auto_repair_add = 0.0024 + ship_shield_hp_add = 120 + ship_shield_regen_add = 0.12 + ship_armor_add = 130 + } + modifier = { + spaceport_ship_build_speed_mult = 2.2 + spaceport_ship_build_cost_mult = -0.055 + } +} + +idrinthexpandedspaceport_swarm_weapon1_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.21 + ship_tracking_add = 23 + ship_accuracy_add = 1 + ship_weapon_damage = 2.1 + ship_fire_rate_mult = 2.11 + + ship_hitpoints_add = 5500 + ship_auto_repair_add = 0.0024 + ship_shield_hp_add = 120 + ship_shield_regen_add = 0.12 + ship_armor_add = 130 + } + modifier = { + spaceport_ship_build_speed_mult = 2.2 + spaceport_ship_build_cost_mult = -0.055 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon1_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.21 + ship_tracking_add = 23 + ship_accuracy_add = 1 + ship_weapon_damage = 2.1 + ship_fire_rate_mult = 2.11 + + ship_hitpoints_add = 5500 + ship_auto_repair_add = 0.0024 + ship_shield_hp_add = 120 + ship_shield_regen_add = 0.12 + ship_armor_add = 130 + } + modifier = { + spaceport_ship_build_speed_mult = 2.2 + spaceport_ship_build_cost_mult = -0.055 + } +} +idrinthexpandedspaceport_projectile_weapon1_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.22 + ship_tracking_add = 25 + ship_accuracy_add = 1 + ship_weapon_damage = 2.2 + ship_fire_rate_mult = 2.12 + + ship_hitpoints_add = 6000 + ship_auto_repair_add = 0.0026 + ship_shield_hp_add = 130 + ship_shield_regen_add = 0.13 + ship_armor_add = 135 + } + modifier = { + spaceport_ship_build_speed_mult = 2.4 + spaceport_ship_build_cost_mult = -0.06 + } +} + +idrinthexpandedspaceport_laser_weapon1_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.22 + ship_tracking_add = 25 + ship_accuracy_add = 1 + ship_weapon_damage = 2.2 + ship_fire_rate_mult = 2.12 + + ship_hitpoints_add = 6000 + ship_auto_repair_add = 0.0026 + ship_shield_hp_add = 130 + ship_shield_regen_add = 0.13 + ship_armor_add = 135 + } + modifier = { + spaceport_ship_build_speed_mult = 2.4 + spaceport_ship_build_cost_mult = -0.06 + } +} + +idrinthexpandedspaceport_missile_weapon1_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.22 + ship_tracking_add = 25 + ship_accuracy_add = 1 + ship_weapon_damage = 2.2 + ship_fire_rate_mult = 2.12 + + ship_hitpoints_add = 6000 + ship_auto_repair_add = 0.0026 + ship_shield_hp_add = 130 + ship_shield_regen_add = 0.13 + ship_armor_add = 135 + } + modifier = { + spaceport_ship_build_speed_mult = 2.4 + spaceport_ship_build_cost_mult = -0.06 + } +} + +idrinthexpandedspaceport_swarm_weapon1_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.22 + ship_tracking_add = 25 + ship_accuracy_add = 1 + ship_weapon_damage = 2.2 + ship_fire_rate_mult = 2.12 + + ship_hitpoints_add = 6000 + ship_auto_repair_add = 0.0026 + ship_shield_hp_add = 130 + ship_shield_regen_add = 0.13 + ship_armor_add = 135 + } + modifier = { + spaceport_ship_build_speed_mult = 2.4 + spaceport_ship_build_cost_mult = -0.06 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon1_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.22 + ship_tracking_add = 25 + ship_accuracy_add = 1 + ship_weapon_damage = 2.2 + ship_fire_rate_mult = 2.12 + + ship_hitpoints_add = 6000 + ship_auto_repair_add = 0.0026 + ship_shield_hp_add = 130 + ship_shield_regen_add = 0.13 + ship_armor_add = 135 + } + modifier = { + spaceport_ship_build_speed_mult = 2.4 + spaceport_ship_build_cost_mult = -0.06 + } +} +idrinthexpandedspaceport_projectile_weapon1_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.23 + ship_tracking_add = 27 + ship_accuracy_add = 1 + ship_weapon_damage = 2.3 + ship_fire_rate_mult = 2.13 + + ship_hitpoints_add = 6500 + ship_auto_repair_add = 0.0028 + ship_shield_hp_add = 140 + ship_shield_regen_add = 0.14 + ship_armor_add = 140 + } + modifier = { + spaceport_ship_build_speed_mult = 2.6 + spaceport_ship_build_cost_mult = -0.065 + } +} + +idrinthexpandedspaceport_laser_weapon1_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.23 + ship_tracking_add = 27 + ship_accuracy_add = 1 + ship_weapon_damage = 2.3 + ship_fire_rate_mult = 2.13 + + ship_hitpoints_add = 6500 + ship_auto_repair_add = 0.0028 + ship_shield_hp_add = 140 + ship_shield_regen_add = 0.14 + ship_armor_add = 140 + } + modifier = { + spaceport_ship_build_speed_mult = 2.6 + spaceport_ship_build_cost_mult = -0.065 + } +} + +idrinthexpandedspaceport_missile_weapon1_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.23 + ship_tracking_add = 27 + ship_accuracy_add = 1 + ship_weapon_damage = 2.3 + ship_fire_rate_mult = 2.13 + + ship_hitpoints_add = 6500 + ship_auto_repair_add = 0.0028 + ship_shield_hp_add = 140 + ship_shield_regen_add = 0.14 + ship_armor_add = 140 + } + modifier = { + spaceport_ship_build_speed_mult = 2.6 + spaceport_ship_build_cost_mult = -0.065 + } +} + +idrinthexpandedspaceport_swarm_weapon1_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.23 + ship_tracking_add = 27 + ship_accuracy_add = 1 + ship_weapon_damage = 2.3 + ship_fire_rate_mult = 2.13 + + ship_hitpoints_add = 6500 + ship_auto_repair_add = 0.0028 + ship_shield_hp_add = 140 + ship_shield_regen_add = 0.14 + ship_armor_add = 140 + } + modifier = { + spaceport_ship_build_speed_mult = 2.6 + spaceport_ship_build_cost_mult = -0.065 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon1_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.23 + ship_tracking_add = 27 + ship_accuracy_add = 1 + ship_weapon_damage = 2.3 + ship_fire_rate_mult = 2.13 + + ship_hitpoints_add = 6500 + ship_auto_repair_add = 0.0028 + ship_shield_hp_add = 140 + ship_shield_regen_add = 0.14 + ship_armor_add = 140 + } + modifier = { + spaceport_ship_build_speed_mult = 2.6 + spaceport_ship_build_cost_mult = -0.065 + } +} +idrinthexpandedspaceport_projectile_weapon2_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_laser_weapon2_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_missile_weapon2_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_swarm_weapon2_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon2_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} +idrinthexpandedspaceport_projectile_weapon2_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_laser_weapon2_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_missile_weapon2_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_swarm_weapon2_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon2_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} +idrinthexpandedspaceport_projectile_weapon2_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_laser_weapon2_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_missile_weapon2_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_swarm_weapon2_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon2_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} +idrinthexpandedspaceport_projectile_weapon2_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_laser_weapon2_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_missile_weapon2_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_swarm_weapon2_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon2_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} +idrinthexpandedspaceport_projectile_weapon2_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_laser_weapon2_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_missile_weapon2_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_swarm_weapon2_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon2_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} +idrinthexpandedspaceport_projectile_weapon2_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_laser_weapon2_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_missile_weapon2_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_swarm_weapon2_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon2_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} +idrinthexpandedspaceport_projectile_weapon2_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_laser_weapon2_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_missile_weapon2_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_swarm_weapon2_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon2_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} +idrinthexpandedspaceport_projectile_weapon3_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_laser_weapon3_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_missile_weapon3_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_swarm_weapon3_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon3_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} +idrinthexpandedspaceport_projectile_weapon3_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_laser_weapon3_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_missile_weapon3_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_swarm_weapon3_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon3_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} +idrinthexpandedspaceport_projectile_weapon3_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_laser_weapon3_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_missile_weapon3_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_swarm_weapon3_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon3_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} +idrinthexpandedspaceport_projectile_weapon3_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_laser_weapon3_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_missile_weapon3_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_swarm_weapon3_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon3_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} +idrinthexpandedspaceport_projectile_weapon3_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_laser_weapon3_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_missile_weapon3_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_swarm_weapon3_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon3_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} +idrinthexpandedspaceport_projectile_weapon3_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_laser_weapon3_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_missile_weapon3_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_swarm_weapon3_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon3_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} +idrinthexpandedspaceport_projectile_weapon3_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_laser_weapon3_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_missile_weapon3_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_swarm_weapon3_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon3_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} +idrinthexpandedspaceport_projectile_weapon4_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_laser_weapon4_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_missile_weapon4_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_swarm_weapon4_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon4_0 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.11 + ship_tracking_add = 3 + ship_accuracy_add = 1 + ship_weapon_damage = 0.1 + ship_fire_rate_mult = 0.01 + + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 5 + } + modifier = { + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.005 + } +} +idrinthexpandedspaceport_projectile_weapon4_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_laser_weapon4_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_missile_weapon4_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_swarm_weapon4_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon4_1 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.12 + ship_tracking_add = 5 + ship_accuracy_add = 1 + ship_weapon_damage = 0.2 + ship_fire_rate_mult = 0.02 + + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 10 + } + modifier = { + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.01 + } +} +idrinthexpandedspaceport_projectile_weapon4_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_laser_weapon4_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_missile_weapon4_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_swarm_weapon4_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon4_2 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.13 + ship_tracking_add = 7 + ship_accuracy_add = 1 + ship_weapon_damage = 0.3 + ship_fire_rate_mult = 0.03 + + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 15 + } + modifier = { + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.015 + } +} +idrinthexpandedspaceport_projectile_weapon4_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_laser_weapon4_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_missile_weapon4_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_swarm_weapon4_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon4_3 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.14 + ship_tracking_add = 9 + ship_accuracy_add = 1 + ship_weapon_damage = 0.4 + ship_fire_rate_mult = 0.04 + + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 20 + } + modifier = { + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.02 + } +} +idrinthexpandedspaceport_projectile_weapon4_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_laser_weapon4_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_missile_weapon4_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_swarm_weapon4_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon4_4 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.15 + ship_tracking_add = 11 + ship_accuracy_add = 1 + ship_weapon_damage = 0.5 + ship_fire_rate_mult = 0.05 + + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 25 + } + modifier = { + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.025 + } +} +idrinthexpandedspaceport_projectile_weapon4_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_laser_weapon4_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_missile_weapon4_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_swarm_weapon4_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon4_5 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.16 + ship_tracking_add = 13 + ship_accuracy_add = 1 + ship_weapon_damage = 0.6 + ship_fire_rate_mult = 0.06 + + ship_hitpoints_add = 3000 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 30 + } + modifier = { + spaceport_ship_build_speed_mult = 1.2 + spaceport_ship_build_cost_mult = -0.03 + } +} +idrinthexpandedspaceport_projectile_weapon4_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 1 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MASS_DRIVER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_laser_weapon4_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 2 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_LASER" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_missile_weapon4_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_swarm_weapon4_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "SPACEPORT_SCOURGE_MISSILE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} + +idrinthexpandedspaceport_fallen_empire_weapon4_6 = { + icon = "GFX_spaceport_modules" + icon_frame = 3 + initial = no + replaceable = no + section = "CORE_SPACEPORT_SECTION" + component_set = "FALLEN_EMPIRE_SPACEPORT_LANCE" + prerequisites = { tech_idrinthexpandedspaceport_defense_blocker } + spaceport_level = 1 + required_resources = { + energy = 1 + } + station_modifier = { + ship_weapon_range_mult = 0.17 + ship_tracking_add = 15 + ship_accuracy_add = 1 + ship_weapon_damage = 0.7 + ship_fire_rate_mult = 0.07 + + ship_hitpoints_add = 3500 + ship_auto_repair_add = 0.0014 + ship_shield_hp_add = 70 + ship_shield_regen_add = 0.07 + ship_armor_add = 35 + } + modifier = { + spaceport_ship_build_speed_mult = 1.4 + spaceport_ship_build_cost_mult = -0.035 + } +} \ No newline at end of file diff --git a/common/static_modifiers/00_idrinth-expanded-spaceport.txt b/common/static_modifiers/00_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..289aae0 --- /dev/null +++ b/common/static_modifiers/00_idrinth-expanded-spaceport.txt @@ -0,0 +1,84 @@ +spaceport_level_1 = { + ship_auto_repair_add = 0.0002 + ship_shield_hp_add = 10 + ship_shield_regen_add = 0.01 + ship_armor_add = 75 + + ship_weapon_damage = 1 + ship_fire_rate_mult = 2 +} +spaceport_level_2 = { + ship_hitpoints_add = 500 + ship_auto_repair_add = 0.0004 + ship_shield_hp_add = 20 + ship_shield_regen_add = 0.02 + ship_armor_add = 80 + + ship_weapon_range_mult = 0.01 + ship_weapon_damage = 1.1 + ship_fire_rate_mult = 2.01 + ship_tracking_add = 2 + + spaceport_ship_build_speed_mult = 0.2 + spaceport_ship_build_cost_mult = -0.01 +} +spaceport_level_3 = { + ship_hitpoints_add = 1000 + ship_auto_repair_add = 0.0006 + ship_shield_hp_add = 30 + ship_shield_regen_add = 0.03 + ship_armor_add = 85 + + ship_weapon_range_mult = 0.02 + ship_weapon_damage = 1.2 + ship_fire_rate_mult = 2.02 + ship_tracking_add = 4 + + spaceport_ship_build_speed_mult = 0.4 + spaceport_ship_build_cost_mult = -0.02 +} +spaceport_level_4 = { + ship_hitpoints_add = 1500 + ship_auto_repair_add = 0.0008 + ship_shield_hp_add = 40 + ship_shield_regen_add = 0.04 + ship_armor_add = 90 + + ship_weapon_range_mult = 0.03 + ship_weapon_damage = 1.3 + ship_fire_rate_mult = 2.03 + ship_tracking_add = 6 + + spaceport_ship_build_speed_mult = 0.6 + spaceport_ship_build_cost_mult = -0.03 +} +spaceport_level_5 = { + ship_hitpoints_add = 2000 + ship_auto_repair_add = 0.001 + ship_shield_hp_add = 50 + ship_shield_regen_add = 0.05 + ship_armor_add = 95 + + ship_weapon_range_mult = 0.04 + ship_weapon_damage = 1.4 + ship_fire_rate_mult = 2.04 + ship_tracking_add = 8 + + spaceport_ship_build_speed_mult = 0.8 + spaceport_ship_build_cost_mult = -0.04 +} +spaceport_level_6 = { + ship_hitpoints_add = 2500 + ship_auto_repair_add = 0.0012 + ship_shield_hp_add = 60 + ship_shield_regen_add = 0.06 + ship_armor_add = 100 + + ship_weapon_range_mult = 0.05 + ship_weapon_damage = 1.5 + ship_fire_rate_mult = 2.05 + ship_tracking_add = 10 + + spaceport_ship_build_speed_mult = 1 + spaceport_ship_build_cost_mult = -0.05 +} \ No newline at end of file diff --git a/common/technology/01_idrinth-expanded-spaceport.txt b/common/technology/01_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..2dc94c0 --- /dev/null +++ b/common/technology/01_idrinth-expanded-spaceport.txt @@ -0,0 +1,1117 @@ +# ################## +# Spaceport slots +# ################## + +tech_idrinthexpandedspaceport_spaceport_7 = { + cost = 7000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_spaceport_6 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_7 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_7 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_8 = { + cost = 8000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_7 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_8 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_8 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_9 = { + cost = 9000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_8 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_9 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_9 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_10 = { + cost = 10000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_9 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_10 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_10 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_11 = { + cost = 11000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_10 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_11 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_11 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_12 = { + cost = 12000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_11 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_12 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_12 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_13 = { + cost = 13000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_12 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_13 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_13 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_14 = { + cost = 14000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_13 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_14 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_14 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_15 = { + cost = 15000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_14 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_15 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_15 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_16 = { + cost = 16000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_15 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_16 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_16 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_17 = { + cost = 17000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_16 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_7 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_17 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_18 = { + cost = 18000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_17 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_18 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_18 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_19 = { + cost = 19000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_18 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_19 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_19 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_20 = { + cost = 20000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_19 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_20 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_20 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_21 = { + cost = 21000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_20 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_21 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_21 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_22 = { + cost = 22000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_21 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_22 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_22 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_23 = { + cost = 23000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_22 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_23 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_23 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_24 = { + cost = 2400 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_23 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_24 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_24 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + +tech_idrinthexpandedspaceport_spaceport_25 = { + cost = 25000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_24 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_25 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_25 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + + +tech_idrinthexpandedspaceport_spaceport_26 = { + cost = 26000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_25 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_26 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_26 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + + + +tech_idrinthexpandedspaceport_spaceport_27 = { + cost = 27000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_26 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_27 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_27 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + +tech_idrinthexpandedspaceport_spaceport_28 = { + cost = 28000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_27 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_28 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_28 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + +tech_idrinthexpandedspaceport_spaceport_29 = { + cost = 29000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_28 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_29 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_29 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + +tech_idrinthexpandedspaceport_spaceport_30 = { + cost = 30000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_29 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_30 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_30 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + +tech_idrinthexpandedspaceport_spaceport_31 = { + cost = 31000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_30 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_27 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_31 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + +tech_idrinthexpandedspaceport_spaceport_32 = { + cost = 32000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_31 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_32 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_32 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + +tech_idrinthexpandedspaceport_spaceport_33 = { + cost = 33000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_32 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_33 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_33 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} + +tech_idrinthexpandedspaceport_spaceport_34 = { + cost = 43000 + area = engineering + tier = 4 + category = { voidcraft } + prerequisites = { tech_idrinthexpandedspaceport_spaceport_33 } + weight = 25 + modifier = { + max_minerals = 1000 + shipclass_orbital_station_hit_points_mult = 0.1 + } + feature_flags = { spaceport_level_34 } + weight_modifier = { + modifier = { + factor = 10 + any_neighbor_country = { + has_technology = tech_idrinthexpandedspaceport_spaceport_34 + } + } + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } + ai_weight = { + factor = 90 + modifier = { + factor = 1.25 + research_leader = { + area = engineering + has_trait = "leader_trait_expertise_voidcraft" + } + } + } +} diff --git a/common/technology/02_idrinth-expanded-spaceport.txt b/common/technology/02_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..d036ea8 --- /dev/null +++ b/common/technology/02_idrinth-expanded-spaceport.txt @@ -0,0 +1,7 @@ +tech_idrinthexpandedspaceport_defense_blocker = { + cost = 0 + area = engineering + tier = 0 + category = { voidcraft } + weight = 0 +} \ No newline at end of file diff --git a/descriptor.mod b/descriptor.mod new file mode 100644 index 0000000..09bcfa0 --- /dev/null +++ b/descriptor.mod @@ -0,0 +1,10 @@ +name="Idrinth: Stellaris Expanded Spaceports" +path="mod/idrinth-expanded-spaceport" +supported_version = "1.6.*" +picture="idrinth.jpg" +tags= { + "Military" + "Spaceships" + "Spacestations" + "English" +} diff --git a/events/01_idrinth-expanded-spaceport.txt b/events/01_idrinth-expanded-spaceport.txt new file mode 100644 index 0000000..484dc41 --- /dev/null +++ b/events/01_idrinth-expanded-spaceport.txt @@ -0,0 +1,2074 @@ +namespace = idrinthexpandedspaceport + + +planet_event = { + id = idrinthexpandedspaceport.1007 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 7 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_0 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_0 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_0 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_0 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_0 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon1_0 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon1_0 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon1_0 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon1_0 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon1_0 + slot = 7 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1008 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 8 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon1_1 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon1_1 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon1_1 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon1_1 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon1_1 + slot = 7 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1009 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 9 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon1_2 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon1_2 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon1_2 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon1_2 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon1_2 + slot = 7 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1010 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 10 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon1_3 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon1_3 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon1_3 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon1_3 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon1_3 + slot = 7 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1011 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 11 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon1_4 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon1_4 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon1_4 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon1_4 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon1_4 + slot = 7 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1012 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 12 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon1_5 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon1_5 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon1_5 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon1_5 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon1_5 + slot = 7 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1013 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 13 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon1_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon1_6 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon1_6 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon1_6 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon1_6 + slot = 7 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon1_6 + slot = 7 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1014 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 14 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_0 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_0 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_0 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_0 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_0 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon2_0 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon2_0 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon2_0 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon2_0 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon2_0 + slot = 14 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1015 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 15 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon2_1 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon2_1 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon2_1 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon2_1 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon2_1 + slot = 14 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1016 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 16 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon2_2 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon2_2 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon2_2 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon2_2 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon2_2 + slot = 14 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1017 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 17 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon2_3 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon2_3 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon2_3 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon2_3 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon2_3 + slot = 14 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1018 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 18 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon2_4 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon2_4 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon2_4 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon2_4 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon2_4 + slot = 14 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1019 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 19 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon2_5 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon2_5 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon2_5 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon2_5 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon2_5 + slot = 14 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1020 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 20 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon2_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon2_6 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon2_6 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon2_6 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon2_6 + slot = 14 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon2_6 + slot = 14 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1021 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 21 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_0 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_0 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_0 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_0 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_0 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon3_0 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon3_0 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon3_0 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon3_0 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon3_0 + slot = 21 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1022 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 22 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon3_1 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon3_1 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon3_1 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon3_1 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon3_1 + slot = 21 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1023 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 23 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon3_2 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon3_2 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon3_2 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon3_2 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon3_2 + slot = 21 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1024 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 24 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon3_3 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon3_3 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon3_3 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon3_3 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon3_3 + slot = 21 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1025 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 25 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon3_4 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon3_4 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon3_4 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon3_4 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon3_4 + slot = 21 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1026 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 26 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon3_5 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon3_5 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon3_5 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon3_5 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon3_5 + slot = 21 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1027 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 27 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon3_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon3_6 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon3_6 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon3_6 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon3_6 + slot = 21 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon3_6 + slot = 21 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1028 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 28 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_0 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_0 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_0 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_0 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_0 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon4_0 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon4_0 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon4_0 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon4_0 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon4_0 + slot = 28 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1029 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 29 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_1 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_1 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon4_1 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon4_1 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon4_1 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon4_1 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon4_1 + slot = 28 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1030 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 30 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_2 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_2 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon4_2 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon4_2 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon4_2 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon4_2 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon4_2 + slot = 28 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1031 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 31 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_3 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_3 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon4_3 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon4_3 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon4_3 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon4_3 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon4_3 + slot = 28 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1032 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 32 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_4 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_4 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon4_4 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon4_4 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon4_4 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon4_4 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon4_4 + slot = 28 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1033 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 33 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_5 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_5 + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon4_5 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon4_5 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon4_5 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon4_5 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon4_5 + slot = 28 + } + } + } +} + +planet_event = { + id = idrinthexpandedspaceport.1034 + hide_window = yes + + trigger = { + has_spaceport = yes + is_spaceport_module_slot_free = 34 + NOR = { + + has_spaceport_module = idrinthexpandedspaceport_projectile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_laser_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_missile_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_swarm_weapon4_6 + has_spaceport_module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + } + } + + immediate = { + if = { + limit = { has_spaceport_module = projectile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_projectile_weapon4_6 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = laser_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_laser_weapon4_6 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = missile_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_missile_weapon4_6 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = swarm_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_swarm_weapon4_6 + slot = 28 + } + } + if = { + limit = { has_spaceport_module = fallen_empire_weapon } + SET_SPACEPORT_MODULE = { + module = idrinthexpandedspaceport_fallen_empire_weapon4_6 + slot = 28 + } + } + } +} \ No newline at end of file diff --git a/generator.php b/generator.php new file mode 100644 index 0000000..323270b --- /dev/null +++ b/generator.php @@ -0,0 +1,253 @@ +