diff --git a/Archaeo Jump Drive/common/ascension_perks/00_ascension_perks.txt b/Archaeo Jump Drive/common/ascension_perks/00_ascension_perks.txt new file mode 100644 index 0000000..3974d95 --- /dev/null +++ b/Archaeo Jump Drive/common/ascension_perks/00_ascension_perks.txt @@ -0,0 +1,86 @@ +ap_archaeoengineers = { + potential = { + host_has_dlc = "Ancient Relics Story Pack" + NOT = { has_ascension_perk = ap_archaeoengineers } + } + + possible = { + custom_tooltip = { + fail_text = "requires_technology_tech_archaeostudies" + has_technology = tech_archaeostudies + } + } + + on_enabled = { + custom_tooltip = ap_archaeoengineers_tooltip + hidden_effect = { + country_event = { id = ancrel.9925 } + country_event = { id = ajd.1 } + } + every_system = { + limit = { + is_owned_by = root + has_modifier = zroni_storm + starbase = { + count_starbase_buildings = { + type = zroni_storm_caster + include_being_constructed = no + count = 1 + } + } + any_ship_in_system = { + is_ship_class = shipclass_starbase + NOT = { has_component = "STARBASE_AURA_ZRONI_STORM" } + } + } + system_event = { + id = ancrel.9901 + } + } + } + + modifier = { + weapon_archaeotech_weapon_damage_mult = 0.33 + } + + ai_weight = { + factor = 4.5 + modifier = { + factor = 2 + has_ethic = ethic_materialist + } + modifier = { + factor = 3 + has_ethic = ethic_fanatic_materialist + } + modifier = { + factor = 5 + count_archaeological_site = { + count > 3 + limit = { + is_owned_by = root + is_site_completed = yes + } + } + } + modifier = { + factor = 2 + resource_stockpile_compare = { + resource = minor_artifacts + value > 1000 + } + } + modifier = { + factor = 2 + is_xenophile = yes + } + modifier = { + factor = 0 + is_xenophobe = yes + } + modifier = { + factor = 0.25 + is_spiritualist = yes + } + } +} \ No newline at end of file diff --git a/Archaeo Jump Drive/common/component_templates/00_utilities_drives.txt b/Archaeo Jump Drive/common/component_templates/00_utilities_drives.txt index 1bb6b49..f77b45f 100644 --- a/Archaeo Jump Drive/common/component_templates/00_utilities_drives.txt +++ b/Archaeo Jump Drive/common/component_templates/00_utilities_drives.txt @@ -26,12 +26,13 @@ utility_component_template = { jumpdrive = yes ship_modifier = { ship_disengage_opportunities_add = 3 - ship_windup_mult = -1.2 + ship_windup_mult = -1 ship_ftl_jumpdrive_range_mult = 1 + ship_jumpdrive_cooldown_mult = -1 } ai_weight = { - weight = 5 + weight = 6 } class_restriction = { shipclass_military shipclass_constructor shipclass_colonizer shipclass_science_ship shipclass_transport shipclass_military_special shipclass_starbase } diff --git a/Archaeo Jump Drive/common/events/ajd.txt b/Archaeo Jump Drive/common/events/ajd.txt new file mode 100644 index 0000000..fe0e8f4 --- /dev/null +++ b/Archaeo Jump Drive/common/events/ajd.txt @@ -0,0 +1,12 @@ +namespace = ajd +country_event = { + id = ajd.1 + hide_window = yes + is_triggered_only = yes + immediate = { + give_technology = { + tech = tech_ancient_jump_calculations + message = no + } + } +} \ No newline at end of file diff --git a/Archaeo Jump Drive/common/technology/technology.txt b/Archaeo Jump Drive/common/technology/technology.txt new file mode 100644 index 0000000..1a1e653 --- /dev/null +++ b/Archaeo Jump Drive/common/technology/technology.txt @@ -0,0 +1,29 @@ +tech_ancient_jump_calculations = { + cost = 0 + area = society + tier = 4 + category = { archaeostudies } + is_rare = yes + weight_modifier = { + modifier = { + factor = 0 + } + } + ai_weight = { + factor = 0 + } +} + +tech_archaeo_jump_drive = { + cost = 3000 + area = society + tier = 5 + category = { archaeostudies } + is_rare = yes + is_dangerous = yes + is_reverse_engineerable = no + prerequisites = { + tech_ancient_jump_calculations + tech_jump_drive_1 + } +} \ No newline at end of file diff --git a/Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_arcaeo_jump_drive.dds b/Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_arcaeo_jump_drive.dds deleted file mode 100644 index d8b0acf..0000000 Binary files a/Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_arcaeo_jump_drive.dds and /dev/null differ diff --git a/Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_archaeo_jump_drive.dds b/Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_archaeo_jump_drive.dds new file mode 100644 index 0000000..94b958e Binary files /dev/null and b/Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_archaeo_jump_drive.dds differ diff --git a/Archaeo Jump Drive/localisation/english/l_english.yml b/Archaeo Jump Drive/localisation/english/l_english.yml new file mode 100644 index 0000000..5f88fed --- /dev/null +++ b/Archaeo Jump Drive/localisation/english/l_english.yml @@ -0,0 +1,6 @@ +l_english: + ARCHAEO_JUMP_DRIVE:0 "Archaeo Jump Drive" + tech_archaeo_jump_drive:0 "Archaeo Jump Drive" + tech_archaeo_jump_drive_desc:0 "A groundbreaking technological marvel from a bygone era, the Archaeo Jump Drive shreds the local space-time continuum and rearranges it on the quantum level to be identical to that of the target destination - and thus the ship appears to near-instantly "jump" from system to system. This design appears to be far more efficient and powerful than our own Jump Drives..." + tech_ancient_jump_calculations:0 "Ancient Jump Calculations" + tech_ancient_jump_calculations_desc:0 "This technology is granted by the Archaeoengineers Ascension Perk and is a prerequisite for the Archaeo Jump Drive technology." \ No newline at end of file