From 896d8f86442513255d83fd88b09c6e28d9f7cc2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20B=C3=BCttner?= Date: Sat, 3 Jun 2017 23:55:37 +0200 Subject: [PATCH] adding misisng battleship and corvette sections --- ...1_idrinth-stellaris-improved-shiphulls.txt | 38 -- ...1_idrinth-stellaris-improved-shiphulls.txt | 388 --------------- ...e_idrinth-stellaris-improved-shiphulls.txt | 466 ++++++++++++++++++ ...e_idrinth-stellaris-improved-shiphulls.txt | 93 ++++ ...thstellarisimprovedshiphulls_l_english.yml | 19 +- 5 files changed, 570 insertions(+), 434 deletions(-) delete mode 100644 common/component_sets/01_idrinth-stellaris-improved-shiphulls.txt delete mode 100644 common/component_templates/01_idrinth-stellaris-improved-shiphulls.txt create mode 100644 common/section_templates/01_battleship_core_idrinth-stellaris-improved-shiphulls.txt diff --git a/common/component_sets/01_idrinth-stellaris-improved-shiphulls.txt b/common/component_sets/01_idrinth-stellaris-improved-shiphulls.txt deleted file mode 100644 index 8fdcf4e..0000000 --- a/common/component_sets/01_idrinth-stellaris-improved-shiphulls.txt +++ /dev/null @@ -1,38 +0,0 @@ -component_set = { - icon = "GFX_ship_part_crystal_armor_2" - icon_frame = 1 - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_REGENERATIVE_CRYSTAL_ARMOR" -} -component_set = { - icon = "GFX_ship_part_aura_nanobot" - icon_frame = 1 - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_NANOBOT_CLOUD" -} - -component_set = { - icon = "GFX_ship_part_aura_shield_recharger" - icon_frame = 1 - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SHIELD_RECHARGER" -} - -component_set = { - icon = "GFX_ship_part_aura_minefield" - icon_frame = 1 - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_MINEFIELD" -} -component_set = { - icon = "GFX_ship_part_aura_snare" - icon_frame = 1 - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SUBSPACE_SNARE" -} -component_set = { - icon = "GFX_ship_part_afterburner_1" - icon_frame = 1 - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1" -} - -component_set = { - icon = "GFX_ship_part_afterburner_2" - icon_frame = 1 - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2" -} \ No newline at end of file diff --git a/common/component_templates/01_idrinth-stellaris-improved-shiphulls.txt b/common/component_templates/01_idrinth-stellaris-improved-shiphulls.txt deleted file mode 100644 index c2f8278..0000000 --- a/common/component_templates/01_idrinth-stellaris-improved-shiphulls.txt +++ /dev/null @@ -1,388 +0,0 @@ -@shipAuraRange = 50 -# -# AUX -# -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_REGENERATIVE_CRYSTAL_ARMOR" - size = aux - icon = "GFX_ship_part_crystal_armor_2" - icon_frame = 1 - power = 0 - cost = 250 - - prerequisites = { - tech_crystal_armor_2 - tech_regenerative_hull_tissue - } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_REGENERATIVE_CRYSTAL_ARMOR" - modifier = { - ship_hitpoints_mult = 0.1 - ship_hitpoints_add = 100 - ship_armor_add = 5 - ship_auto_repair_add = 0.02 - } - ai_weight = { - weight = 50 - } -} -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_NANOBOT_CLOUD" - size = aux - icon = "GFX_ship_part_aura_nanobot" - icon_frame = 1 - power = -30 - cost = 60 - class_restriction = { shipclass_battleship } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_NANOBOT_CLOUD" - - friendly_aura = { - name = "aura_battleship_nanobot_cloud" - radius = @shipAuraRange - apply_on = ships - - stack_info = { - id = friendly_battleship_hull_support_aura - priority = 20 - } - - modifier = { - ship_auto_repair_add = 0.025 - } - - graphics = { - area_effect = { - entity = "circle_area_entity" - dynamic_scale = yes - } - ship_effect = { - entity = "ship_aura_positive_entity" - dynamic_scale = no - } - } - } - modfier { - ship_auto_repair_add = 0.04 - } - ai_weight = { - weight = 4 - } -} - -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SHIELD_RECHARGER" - size = aux - icon = "GFX_ship_part_aura_shield_recharger" - icon_frame = 1 - power = -30 - cost = 60 - class_restriction = { shipclass_battleship } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SHIELD_RECHARGER" - - friendly_aura = { - name = "aura_shield_recharger" - radius = @shipAuraRange - apply_on = ships - - stack_info = { - id = friendly_battleship_shield_support_aura - priority = 1 - } - - modifier = { - ship_shield_regen_add_perc = 0.01 - } - - graphics = { - area_effect = { - entity = "circle_area_entity" - dynamic_scale = yes - } - ship_effect = { - entity = "ship_aura_positive_entity" - dynamic_scale = no - } - } - } - modfier { - ship_shield_regen_add_perc = 0.16 - } - ai_weight = { - weight = 4 - } -} - -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_MINEFIELD" - size = aux - icon = "GFX_ship_part_aura_minefield" - icon_frame = 1 - power = -30 - cost = 60 - - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_MINEFIELD" - class_restriction = { shipclass_battleship } - - hostile_aura = { - name = "aura_minefield" - radius = @shipAuraRange - apply_on = ships - - stack_info = { - id = hostile_battleship_minefield_aura - priority = 1 - } - - damage_per_day = { - accuracy = 0.2 - damage = { min = 5 max = 75 } - shield_damage = 1.5 - shield_penetration = 0.75 - armor_penetration = 0.75 - } - - graphics = { - area_effect = { - entity = "circle_area_entity" - dynamic_scale = yes - } - - area_effect = { - entity = "mine_field_small_entity" - dynamic_scale = no - } - ship_effect = { - entity = "ship_aura_minefield_entity" - dynamic_scale = no - } - } - } - - ai_weight = { - weight = 1 - modifier = { - weight = 101 - has_country_flag = aggressive - } - } -} -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SUBSPACE_SNARE" - size = aux - icon = "GFX_ship_part_aura_snare" - icon_frame = 1 - power = -30 - cost = 60 - class_restriction = { shipclass_battleship } - - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SUBSPACE_SNARE" - - hostile_aura = { - name = "aura_ship_subspace_snare" - radius = @shipAuraRange - apply_on = fleets - - stack_info = { - id = hostile_battleship_snare_aura - priority = 1 - } - - modifier = { - ship_windup_mult = 4 - ship_speed_mult = -0.5 - ship_evasion_mult = -0.125 - fleet_emergency_ftl_min_days_mult = 1 - } - - graphics = { - area_effect = { - entity = "circle_area_entity" - dynamic_scale = yes - } - ship_effect = { - entity = "ship_aura_negative_entity" - dynamic_scale = no - } - } - } - - ai_weight = { - weight = 0 - } -} -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1_AUX" - size = aux - icon = "GFX_ship_part_afterburner_1" - icon_frame = 1 - power = -10 - cost = 20 - modifier = { - ship_combat_speed_add = 0.05 - ship_evasion_add = 1 - ship_rotation_speed_add = 0.005 - ship_acceleration_add = 0.05 - } - prerequisites = { "tech_afterburners_1" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1" - upgrades_to = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_AUX" - - ai_weight = { - weight = 10 - } -} - -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_AUX" - size = aux - icon = "GFX_ship_part_afterburner_2" - icon_frame = 1 - power = -20 - cost = 40 - modifier = { - ship_combat_speed_add = 0.125 - ship_evasion_add = 2.5 - ship_rotation_speed_add = 0.0125 - ship_acceleration_add = 0.125 - } - prerequisites = { "tech_afterburners_2" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2" - - ai_weight = { - weight = 10 - } -} -# -# SMALL -# -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1_SMALL" - size = small - icon = "GFX_ship_part_afterburner_1" - icon_frame = 1 - power = -5 - cost = 10 - modifier = { - ship_combat_speed_add = 0.025 - ship_evasion_add = 0.5 - ship_rotation_speed_add = 0.0025 - ship_acceleration_add = 0.025 - } - prerequisites = { "tech_afterburners_1" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1" - upgrades_to = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_SMALL" - - ai_weight = { - weight = 10 - } -} - -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_SMALL" - size = small - icon = "GFX_ship_part_afterburner_2" - icon_frame = 1 - power = -10 - cost = 20 - modifier = { - ship_combat_speed_add = 0.0675 - ship_evasion_add = 1.25 - ship_rotation_speed_add = 0.00675 - ship_acceleration_add = 0.0675 - } - prerequisites = { "tech_afterburners_2" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2" - - ai_weight = { - weight = 10 - } -} -# -# MEDIUM -# -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1_MEDIUM" - size = medium - icon = "GFX_ship_part_afterburner_1" - icon_frame = 1 - power = -10 - cost = 20 - modifier = { - ship_combat_speed_add = 0.05 - ship_evasion_add = 1 - ship_rotation_speed_add = 0.005 - ship_acceleration_add = 0.05 - } - prerequisites = { "tech_afterburners_1" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1" - upgrades_to = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_MEDIUM" - - ai_weight = { - weight = 10 - } -} - -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_MEDIUM" - size = medium - icon = "GFX_ship_part_afterburner_2" - icon_frame = 1 - power = -20 - cost = 40 - modifier = { - ship_combat_speed_add = 0.125 - ship_evasion_add = 2.5 - ship_rotation_speed_add = 0.0125 - ship_acceleration_add = 0.125 - } - prerequisites = { "tech_afterburners_2" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2" - - ai_weight = { - weight = 10 - } -} -# -# LARGE -# -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1_LARGE" - size = small - icon = "GFX_ship_part_afterburner_1" - icon_frame = 1 - power = -20 - cost = 40 - modifier = { - ship_combat_speed_add = 0.1 - ship_evasion_add = 2 - ship_rotation_speed_add = 0.01 - ship_acceleration_add = 0.1 - } - prerequisites = { "tech_afterburners_1" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1" - upgrades_to = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_LARGE" - - ai_weight = { - weight = 10 - } -} - -utility_component_template = { - key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2_LARGE" - size = small - icon = "GFX_ship_part_afterburner_2" - icon_frame = 1 - power = -40 - cost = 80 - modifier = { - ship_combat_speed_add = 0.25 - ship_evasion_add = 5 - ship_rotation_speed_add = 0.025 - ship_acceleration_add = 0.25 - } - prerequisites = { "tech_afterburners_2" } - component_set = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2" - - ai_weight = { - weight = 10 - } -} diff --git a/common/section_templates/01_battleship_core_idrinth-stellaris-improved-shiphulls.txt b/common/section_templates/01_battleship_core_idrinth-stellaris-improved-shiphulls.txt new file mode 100644 index 0000000..ad1cbf6 --- /dev/null +++ b/common/section_templates/01_battleship_core_idrinth-stellaris-improved-shiphulls.txt @@ -0,0 +1,466 @@ +# +# TIER 1 +# +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_L2M2" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_L2M2_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements + } + component_slot = { + name = "LARGE_GUN_01" + slot_size = large + slot_type = weapon + locatorname = "large_gun_01" + } + component_slot = { + name = "LARGE_GUN_02" + slot_size = large + slot_type = weapon + locatorname = "large_gun_02" + } + + component_slot = { + name = "MEDIUM_GUN_01" + slot_size = large + 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" + } + + large_utility_slots = 6 + + cost = 250 +} + +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_L3" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_L3_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements + } + + component_slot = { + name = "LARGE_GUN_01" + slot_size = large + slot_type = weapon + locatorname = "large_gun_01" + } + + component_slot = { + name = "LARGE_GUN_02" + slot_size = large + slot_type = weapon + locatorname = "large_gun_02" + } + + component_slot = { + name = "LARGE_GUN_03" + slot_size = large + slot_type = weapon + locatorname = "large_gun_03" + } + + component_slot = { + name = "LARGE_GUN_04" + slot_size = large + slot_type = weapon + locatorname = "large_gun_04" + } + + large_utility_slots = 5 + + cost = 250 +} + +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_M4SHB" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_M4SHB_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements + } + + ai_weight = { + modifier = { + factor = 10.0 + is_preferred_weapons = explosive + } + modifier = { + factor = 0.1 + NOT = { is_preferred_weapons = explosive } + } + } + + 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 = "MEDIUM_GUN_03" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_03" + } + + component_slot = { + name = "MEDIUM_GUN_04" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_04" + } + + component_slot = { + name = "MEDIUM_GUN_05" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_05" + } + + component_slot = { + name = "STRIKE_CRAFT_01" + slot_size = large + slot_type = strike_craft + rotation = 90 + locatorname = "strike_craft_locator_01" + } + + large_utility_slots = 6 + + cost = 250 +} + +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_S4LHB" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_S4LHB_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements + } + + 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 = point_defence + slot_type = weapon + locatorname = "small_gun_03" + } + component_slot = { + component_slot = { + name = "SMALL_GUN_04" + slot_size = point_defence + slot_type = weapon + locatorname = "small_gun_04" + } + component_slot = { + name = "STRIKE_CRAFT_01" + slot_size = large + slot_type = strike_craft + rotation = 90 + locatorname = "strike_craft_locator_01" + } + component_slot = { + name = "STRIKE_CRAFT_02" + slot_size = large + slot_type = strike_craft + rotation = -90 + locatorname = "strike_craft_locator_02" + } + component_slot = { + name = "STRIKE_CRAFT_03" + slot_size = large + slot_type = strike_craft + rotation = -90 + locatorname = "strike_craft_locator_03" + } + + large_utility_slots = 6 + + cost = 250 +} +# +# TIER 2 +# +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_L2M2" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_L2M2_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements_1 + } + component_slot = { + name = "LARGE_GUN_01" + slot_size = large + slot_type = weapon + locatorname = "large_gun_01" + } + component_slot = { + name = "LARGE_GUN_02" + slot_size = large + slot_type = weapon + locatorname = "large_gun_02" + } + + component_slot = { + name = "MEDIUM_GUN_01" + slot_size = large + 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" + } + + large_utility_slots = 7 + + cost = 275 +} + +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_L3" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_L3_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements_1 + } + + component_slot = { + name = "LARGE_GUN_01" + slot_size = large + slot_type = weapon + locatorname = "large_gun_01" + } + + component_slot = { + name = "LARGE_GUN_02" + slot_size = large + slot_type = weapon + locatorname = "large_gun_02" + } + + component_slot = { + name = "LARGE_GUN_03" + slot_size = large + slot_type = weapon + locatorname = "large_gun_03" + } + + component_slot = { + name = "LARGE_GUN_04" + slot_size = large + slot_type = weapon + locatorname = "large_gun_04" + } + + large_utility_slots = 6 + + cost = 275 +} + +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_M4SHB" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_M4SHB_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements_1 + } + + ai_weight = { + modifier = { + factor = 10.0 + is_preferred_weapons = explosive + } + modifier = { + factor = 0.1 + NOT = { is_preferred_weapons = explosive } + } + } + + 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 = "MEDIUM_GUN_03" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_03" + } + + component_slot = { + name = "MEDIUM_GUN_04" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_04" + } + + component_slot = { + name = "MEDIUM_GUN_05" + slot_size = medium + slot_type = weapon + locatorname = "medium_gun_05" + } + + component_slot = { + name = "STRIKE_CRAFT_01" + slot_size = large + slot_type = strike_craft + rotation = 90 + locatorname = "strike_craft_locator_01" + } + + large_utility_slots = 7 + + cost = 275 +} + +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_S4LHB" + ship_size = battleship + fits_on_slot = mid + entity = "battleship_mid_S4LHB_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_battleship_improvements_1 + } + + 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 = point_defence + slot_type = weapon + locatorname = "small_gun_03" + } + component_slot = { + component_slot = { + name = "SMALL_GUN_04" + slot_size = point_defence + slot_type = weapon + locatorname = "small_gun_04" + } + component_slot = { + name = "STRIKE_CRAFT_01" + slot_size = large + slot_type = strike_craft + rotation = 90 + locatorname = "strike_craft_locator_01" + } + component_slot = { + name = "STRIKE_CRAFT_02" + slot_size = large + slot_type = strike_craft + rotation = -90 + locatorname = "strike_craft_locator_02" + } + component_slot = { + name = "STRIKE_CRAFT_03" + slot_size = large + slot_type = strike_craft + rotation = -90 + locatorname = "strike_craft_locator_03" + } + + large_utility_slots = 7 + + cost = 275 +} \ No newline at end of file diff --git a/common/section_templates/01_corvette_idrinth-stellaris-improved-shiphulls.txt b/common/section_templates/01_corvette_idrinth-stellaris-improved-shiphulls.txt index d698f92..5ecfae4 100644 --- a/common/section_templates/01_corvette_idrinth-stellaris-improved-shiphulls.txt +++ b/common/section_templates/01_corvette_idrinth-stellaris-improved-shiphulls.txt @@ -1,3 +1,6 @@ +# +# TIER 1 +# ship_section_template = { key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_CORVETTE_MID_M1S1" ship_size = corvette @@ -85,3 +88,93 @@ ship_section_template = { cost = 35 } +# +# TIER 2 +# +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_CORVETTE_MID_M1S1" + ship_size = corvette + fits_on_slot = mid + entity = "corvette_M1S1_entity" + icon = "GFX_ship_part_core_mid" + + prerequisites = { + tech_torpedoes_1 + tech_torpedoes_2 + tech_torpedoes_3 + tech_energy_torpedoes_1 + tech_energy_torpedoes_2 + tech_idrinthstellarisbettershiphulls_corvette_improvements_1 + } + + ai_weight = { + factor = 100 + modifier = { + factor = 0 + NOT = { has_technology = tech_spaceport_5 } + } + } + + component_slot = { + name = "SMALL_GUN_01" + slot_size = small + slot_type = weapon + locatorname = "small_gun_01" + } + + component_slot = { + name = "TORPEDO_01" + slot_size = torpedo + slot_type = weapon + locatorname = "medium_gun_01" + } + + small_utility_slots = 4 + medium_utility_slots = 3 + aux_utility_slots = 1 + + cost = 40 +} + +ship_section_template = { + key = "IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_CORVETTE_MID_S3" + ship_size = corvette + fits_on_slot = mid + entity = "corvette_S3_entity" + icon = "GFX_ship_part_core_mid" + prerequisites = { + tech_idrinthstellarisbettershiphulls_corvette_improvements_1 + } + + # Guns + ai_weight = { + factor = 1 + } + + 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" + } + + small_utility_slots = 4 + medium_utility_slots = 3 + aux_utility_slots = 1 + + cost = 40 +} diff --git a/localisation/english/idrinthstellarisimprovedshiphulls_l_english.yml b/localisation/english/idrinthstellarisimprovedshiphulls_l_english.yml index 96133c9..5c4877e 100644 --- a/localisation/english/idrinthstellarisimprovedshiphulls_l_english.yml +++ b/localisation/english/idrinthstellarisimprovedshiphulls_l_english.yml @@ -1,11 +1,4 @@ l_english: - IDRINTHSTELLARISIMPROVEDSHIPHULLS_REGENERATIVE_CRYSTAL_ARMOR:0 "Regenerative crystal armor" - IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_NANOBOT_CLOUD:0 "Nanobot cloud" - IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SHIELD_RECHARGER:0 "Shield recharger" - IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_MINEFIELD:0 "Minefield" - IDRINTHSTELLARISIMPROVEDSHIPHULLS_BATTLESHIP_AURA_SUBSPACE_SNARE:0 "Subspace net" - IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_1:0 "Maneuvering thrusters 1" - IDRINTHSTELLARISIMPROVEDSHIPHULLS_MANUVERING_THRUSTERS_2:0 "Maneuvering thrusters 2" tech_idrinthstellarisbettershiphulls_battleship_improvements:0 "T1 Battleships" tech_idrinthstellarisbettershiphulls_battleship_improvements_1:0 "T2 Battleships" tech_idrinthstellarisbettershiphulls_corvette_improvements:0 "T1 Corvettes" @@ -35,6 +28,8 @@ IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_BOW_M2S4:0 "T2 Spinal Mount" IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_CORVETTE_MID_M1S1:0 "T1 Torpedo Boat" IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_CORVETTE_MID_S3:0 "T1 Interceptor" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_CORVETTE_MID_M1S1:0 "T2 Torpedo Boat" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_CORVETTE_MID_S3:0 "T2 Interceptor" IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_CRUISER_STERN_M1:0 "T1 Broadside" IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_CRUISER_STERN_S2:0 "T1 Gunship" IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_CRUISER_STERN_M1:0 "T2 Broadside" @@ -50,4 +45,12 @@ IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_DESTROYER_STERN_M1:0 "T1 Gunship" IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_DESTROYER_STERN_PD2:0 "T2 Picket Ship" IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_DESTROYER_STERN_S2:0 "T2 Interceptor Ship" - IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_DESTROYER_STERN_M1:0 "T2 Gunship" \ No newline at end of file + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_DESTROYER_STERN_M1:0 "T2 Gunship" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_L2M2:0 "T1 Broadside" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_L3:0 "T1 Artillery" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_M4SHB:0 "T1 Hangar" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T1_BATTLESHIP_MID_S4LHB:0 "T1 Carrier" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_L2M2:0 "T2 Broadside" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_L3:0 "T2 Artillery" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_M4SHB:0 "T2 Hangar" + IDRINTHSTELLARISIMPROVEDSHIPHULLS_T2_BATTLESHIP_MID_S4LHB:0 "T2 Carrier" \ No newline at end of file