From 63712aff7a18ea066b964d5b8778633a7d00f863 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh <102361830+SeaswimmerTheFsh@users.noreply.github.com> Date: Thu, 11 May 2023 01:25:01 -0400 Subject: [PATCH] fleshed out the mod localisation files will be the death of me --- .../ascension_perks/00_ascension_perks.txt | 86 ++++++++++++++++++ .../00_utilities_drives.txt | 5 +- Archaeo Jump Drive/common/events/ajd.txt | 12 +++ .../common/technology/technology.txt | 29 ++++++ .../ship_part_arcaeo_jump_drive.dds | Bin 1928 -> 0 bytes .../ship_part_archaeo_jump_drive.dds | Bin 0 -> 1928 bytes .../localisation/english/l_english.yml | 6 ++ 7 files changed, 136 insertions(+), 2 deletions(-) create mode 100644 Archaeo Jump Drive/common/ascension_perks/00_ascension_perks.txt create mode 100644 Archaeo Jump Drive/common/events/ajd.txt create mode 100644 Archaeo Jump Drive/common/technology/technology.txt delete mode 100644 Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_arcaeo_jump_drive.dds create mode 100644 Archaeo Jump Drive/gfx/interface/icons/ship_parts/ship_part_archaeo_jump_drive.dds create mode 100644 Archaeo Jump Drive/localisation/english/l_english.yml 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 d8b0acf9440f0261c059f3ced1233e55e3e30c9b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1928 zcmZ>930A0KU|?Vu;9{@>(jd&i&cMJ3q(PVzpa4|N0>my6A%31Acb4+abjqckW4 zj!E8)2U7Mff?%4#Rq$^*kk0@WH_+Awi+`q8c%>;ur~kL_U+gMboU=JZmC3A?MUd%N zXm~+Nj|Ri4+H1=dH$<~WHSp*K9~KA=D>$@RAl&Z{Fd7$gfZXxp1G(;Cm6VFt*7#rl zO5;~J1H=B;u96mMOdpstIJKtvzAI%)}sH5nI5)%)n4LORnPTR#PpzS+NCC885aNdt?}`UACp;iNIok zhF8D-FBaJ9nsA_j!QAg}`uBS^cm9Th%=?Se-|AA3^s`K|I{yFt{RWduTm&CJe0Wf< z;({X+6EkPc?6``nD|dF@dv8B0bSp3C|Nru{LaPoO_`itXpzdDXAr`@8j$f}HIbUe&8d;9$}4lw@u^!xC;;7$e8saHcK zBYd27w_XjGugKKmV$fHWueep{aDbsj(|NsAEsj!Ht)3kRtbKGAzi-YMv6UUx-pmF~famu!4 zoGO<+B0@vAu>r%Af#E~F3ot%E-2eX_W*((9I6u4xMl2|w{r>;|lg;0F`|tn%XDZ!| Pe*??_FnLPt8Ls*PczStA 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 0000000000000000000000000000000000000000..94b958ebd20536f25a34462c2aece4aca002848d GIT binary patch literal 1928 zcmeHGT}V@57=AY;ze%#Q3(I-YbQH;?ruh^7s4b6BR5aYaoM|d1F*RtGwNsjBO^P-X zq>yl4sFO6$D7tW189Ftp8>tIVLD7~!7ve=pG=kCk`X*h8ML*J2FT6aQ=X~cq@AG`` z%d&=~MgWLmVqqu6NTL`33B^eMP9)L8(KK0;F@44Fn3Y(v6afD*;sC%CB?X?ksGx`e z3clkKe-oiK%nG4+YMK;!qZZ8srZR)DGcT4Vgc$3{;|cR9xK`-FTvuYsGU z8df_LvXz?O$!rTGT(^6U+5Re`SDs12f1~%!l>@aNVVC)_dP|fPR9voQEnToC*9K1X zW@&O=$1F$9^Me`t%-int4PKpNdKue7i1aevf(oCFF3zv&-JD2I()p27o&3Wa^{irg zdU|XF_d+L?M#&mG%Q$i1fn(%Do(p^9WQ3?(_=3+z-14+0f75uh;y4N|%i^1pB%?Go@32;`>WoV_8m-p!(!I#hD%X}-S~L=gEbhzoTuY0a zV818FA`J-xd6R*TXGItXIwsR9O7;3fDR$ZDP>$!^rTzrHsZ>A5RHE*8<}UzGmErKu z?s9zq!A?_&8d8)8Gf7b1sU(AL(4qOHtzKzSNde<+m#&v%LT7{e}WY zD`GNL-;6?ueM)qZxUsjPqSpVjXB-`4vE*oRv6 literal 0 HcmV?d00001 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