From d8ea791ce167b9fe371939b7d3d6b96e596a907f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh <102361830+SeaswimmerTheFsh@users.noreply.github.com> Date: Thu, 11 May 2023 20:36:25 -0400 Subject: [PATCH] (hopefully) finished working on icons --- .../component_templates/ajd_jump_drives.txt | 36 +++++++++++++++++-- .../common/technology/ajd_technology.txt | 1 + Archaeo Jump Drive/interface/ajd_icons.gfx | 12 +++---- README.md | 2 +- 4 files changed, 40 insertions(+), 11 deletions(-) diff --git a/Archaeo Jump Drive/common/component_templates/ajd_jump_drives.txt b/Archaeo Jump Drive/common/component_templates/ajd_jump_drives.txt index cbed38f..4a5e9fd 100644 --- a/Archaeo Jump Drive/common/component_templates/ajd_jump_drives.txt +++ b/Archaeo Jump Drive/common/component_templates/ajd_jump_drives.txt @@ -26,9 +26,9 @@ utility_component_template = { jumpdrive = yes ship_modifier = { ship_disengage_opportunities_add = 3 - ship_windup_mult = -2 - ship_ftl_jumpdrive_range_mult = 0.75 - ship_jumpdrive_cooldown_mult = -0.9 + ship_windup_mult = -1.75 + ship_ftl_jumpdrive_range_mult = 0.70 + ship_jumpdrive_cooldown_mult = -0.5 } ai_weight = { @@ -39,3 +39,33 @@ utility_component_template = { prerequisites = { "ajd_tech_archaeo_jump_drive" } component_set = "ftl_components" } + +utility_component_template = { + key = "PSI_JUMP_DRIVE_1" + size = small + icon = "GFX_ship_part_psi_jump_drive_1" + icon_frame = 1 + power = @power4 + resources = { + category = ship_components + cost = { + alloys = @cost4 + } + } + ftl = yes + jumpdrive = yes + ship_modifier = { + ship_disengage_opportunities_add = 2 + ship_windup_mult = -0.8 + ship_ftl_jumpdrive_range_mult = 0.50 + } + + ai_weight = { + weight = 5 + } + + class_restriction = { shipclass_military shipclass_constructor shipclass_colonizer shipclass_science_ship shipclass_transport shipclass_military_special shipclass_starbase } + prerequisites = { "tech_psi_jump_drive_1" } + upgrades_to = "AJD_ARCHAEO_JUMP_DRIVE" + component_set = "ftl_components" +} \ No newline at end of file diff --git a/Archaeo Jump Drive/common/technology/ajd_technology.txt b/Archaeo Jump Drive/common/technology/ajd_technology.txt index f194eb7..9f90ce5 100644 --- a/Archaeo Jump Drive/common/technology/ajd_technology.txt +++ b/Archaeo Jump Drive/common/technology/ajd_technology.txt @@ -1,5 +1,6 @@ ajd_tech_ancient_jump_calculations = { cost = 0 + icon = "tech_sensors_3" area = society tier = 4 category = { archaeostudies } diff --git a/Archaeo Jump Drive/interface/ajd_icons.gfx b/Archaeo Jump Drive/interface/ajd_icons.gfx index 4731e87..d6252a7 100644 --- a/Archaeo Jump Drive/interface/ajd_icons.gfx +++ b/Archaeo Jump Drive/interface/ajd_icons.gfx @@ -1,8 +1,6 @@ -spriteType = { - name = "ajd_ship_part_archaeo_jump_drive" - texturefile = "gfx/interface/icons/ship_parts/ajd_ship_part_archaeo_jump_drive.dds" -} -spriteType = { - name = "ajd_tech_archaeo_jump_drive" - texturefile = "gfx/interfaces/icons/technologies/ajd_tech_archaeo_jump_drive.dds" +spriteTypes = { + spriteType = { + name = "ajd_ship_part_archaeo_jump_drive" + texturefile = "gfx/interface/icons/ship_parts/ajd_ship_part_archaeo_jump_drive.dds" + } } \ No newline at end of file diff --git a/README.md b/README.md index 9063059..fb72b75 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,6 @@ Upon choosing the __Archaeoengineers__ Ascension Perk, an event will fire giving ### Compatibility -This mod overwrites the vanilla __Archaeoengineers__ Ascension Perk. +This mod overwrites the vanilla __Archaeoengineers__ Ascension Perk and the __Psi Jump Drive__. [](https://discord.gg/bHVez2C)