传统暂存添加纳米技术传统及相关建筑、效果和描述

This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-09-21 10:31:08 +08:00
parent e1f7cbea61
commit 4cb251cf7f
14 changed files with 417 additions and 0 deletions

View File

@ -0,0 +1,210 @@
#################
# Nanotech #
#################
building_rg_nanolab_1 = {
base_buildtime = @b2_time
icon = building_nanolab_1
category = research
potential = {
exists = owner
uses_district_set = rg_station
#owner = { has_tradition = tr_nanotech_adopt }
}
allow = {
exists = owner
uses_district_set = rg_station
#owner = { has_tradition = tr_nanotech_adopt }
}
# destroy_trigger = {
# exists = owner
# OR = {
# NOT = { owner = { has_tradition = tr_nanotech_adopt } }
# has_modifier = slave_colony
# has_modifier = resort_colony
# }
# }
resources = {
category = planet_buildings
cost = {
minerals = @b3_minerals
nanites = @b2_rare_cost
}
upkeep = {
energy = @b3_upkeep
nanites = @b2_rare_upkeep
}
}
triggered_planet_modifier = {
potential = {
exists = owner
owner = {
is_machine_empire = yes
}
}
job_nanotech_research_unit_add = 3
}
triggered_planet_modifier = {
potential = {
exists = owner
owner = {
is_individual_machine = yes
}
}
job_nanotech_researcher_add = 3
}
triggered_desc = {
trigger = {
exists = owner
owner = {
is_machine_empire = yes
}
}
text = job_nanotech_research_unit_effect_desc
}
triggered_desc = {
trigger = {
exists = owner
owner = {
is_individual_machine = yes
}
}
text = job_nanotech_researcher_effect_desc
}
upgrades = {
"building_nanolab_2"
}
}
building_rg_nanolab_2 = {
base_buildtime = @b3_time
icon = building_nanolab_2
can_build = no
category = research
potential = {
exists = owner
uses_district_set = rg_station
# owner = { has_tradition = tr_nanotech_1 }
}
allow = {
has_upgraded_capital = yes
}
# destroy_trigger = {
# exists = owner
# OR = {
# NOT = { owner = { has_tradition = tr_nanotech_1 } }
# has_modifier = slave_colony
# has_modifier = resort_colony
# }
# }
resources = {
category = planet_buildings
cost = {
minerals = @b4_minerals
nanites = @b3_rare_cost
}
upkeep = {
energy = @b4_upkeep
nanites = @b3_rare_upkeep
}
}
triggered_planet_modifier = {
potential = {
exists = owner
owner = {
is_machine_empire = yes
}
}
job_nanotech_research_unit_add = 6
}
triggered_planet_modifier = {
potential = {
exists = owner
owner = {
is_individual_machine = yes
}
}
job_nanotech_researcher_add = 6
}
triggered_desc = {
trigger = {
exists = owner
owner = {
is_machine_empire = yes
}
}
text = job_nanotech_research_unit_effect_desc
}
triggered_desc = {
trigger = {
exists = owner
owner = {
is_individual_machine = yes
}
}
text = job_nanotech_researcher_effect_desc
}
}
building_rg_nanotech_cauldron = {
base_buildtime = @b2_time
icon = building_nanotech_cauldron
category = manufacturing
potential = {
exists = owner
uses_district_set = rg_station
# owner = { has_tradition = tr_nanotech_2 }
# NOT = { has_modifier = resort_colony }
# NOT = { has_modifier = slave_colony }
}
allow = {
always = yes
}
# destroy_trigger = {
# exists = owner
# OR = {
# NOT = { owner = { has_tradition = tr_nanotech_2 } }
# has_modifier = slave_colony
# has_modifier = resort_colony
# }
# }
resources = {
category = planet_buildings
cost = {
alloys = @b3_minerals
}
upkeep = {
nanites = 3
energy = 30
}
produces = {
alloys = 15
}
}
}

View File

@ -0,0 +1,4 @@
concept_tradition_rg_nanotech = {
icon = "gfx/interface/icons/traditions/tree_icons/tradition_icon_nanotech.dds"
tooltip_override = "tradition_category:tradition_rg_nanotech"
}

View File

@ -0,0 +1,28 @@
tradition_rg_nanotech = {
tree_template = "tree_21_12"
adoption_bonus = "tr_rg_nanotech_adopt"
finish_bonus = "tr_rg_nanotech_finish"
potential = {
OR = {
has_country_flag = origin_rg_gray
has_country_flag = gray_owner
AND = {
has_event_chain = l_cluster_chain
has_technology = tech_lgate_activation
}
}
}
traditions = {
"tr_rg_nanotech_1"
"tr_rg_nanotech_2"
"tr_rg_nanotech_5"
"tr_rg_nanotech_3"
"tr_rg_nanotech_4"
}
ai_weight = {
factor = 0
}
}

View File

@ -0,0 +1,104 @@
tr_rg_nanotech_adopt = {
possible = {
custom_tooltip = {
fail_text = REQUIRES_FINISHED_TRANSFORMATION
has_country_flag = nanotech_traditions_unlocked
}
}
custom_tooltip = tr_rg_nanotech_adopt_modifier_desc
unlocks_agenda = agenda_nanotech_unstoppable_swarm
#Unlocks nanolab 1 and Starbase building
}
tr_rg_nanotech_finish = {
custom_tooltip_with_modifiers = tr_rg_nanotech_finish_modifier_desc
modifier = {
empire_size_colonies_mult = -0.5
ascension_perks_add = 1
}
}
tr_rg_nanotech_1 = {
custom_tooltip_with_modifiers = tr_rg_nanotech_1_modifier_desc
#Unlocks nanolab 2 and buffs nano research units
modifier = {
planet_farmers_food_produces_add = -1
planet_farmers_nanites_produces_add = 0.2
planet_miners_minerals_produces_add = -1
planet_miners_nanites_produces_add = 0.2
}
ai_weight = {
factor = 1000
}
}
tr_rg_nanotech_2 = {
custom_tooltip = tr_rg_nanotech_2_modifier_desc
#Unlocks the Cauldron and the Nanite Transmutation Tech option
on_enabled = {
add_research_option = tech_nanite_transmutation
add_tech_progress = {
tech = tech_nanite_transmutation
progress = 0.33
}
}
ai_weight = {
factor = 1000
}
}
tr_rg_nanotech_5 = {
possible = {
has_tradition = tr_rg_nanotech_1
has_tradition = tr_rg_nanotech_2
}
custom_tooltip_with_modifiers = tr_rg_nanotech_5_modifier_desc
#Unlocks the nanite edicts
#Every 5 years, double the size of orbital nanite deposits that you're harvesting, up to a max of 50 OR spawns a number of nanite swarmers depending on the size of the deposit
ai_weight = {
factor = 1000
}
}
tr_rg_nanotech_3 = {
possible = {
has_tradition = tr_rg_nanotech_5
}
custom_tooltip = tr_rg_nanotech_3_modifier_desc
#Unlocks Starbase Building and Make Nanite World Decision
ai_weight = {
factor = 1000
}
}
tr_rg_nanotech_4 = {
possible = {
has_tradition = tr_rg_nanotech_5
}
custom_tooltip = tr_rg_nanotech_4_modifier_desc
#Unlocks Nanite Swarmer ship and nanite ship component research options
on_enabled = {
add_research_option = tech_nanite_repair_system
add_research_option = tech_nanite_autocannon
add_research_option = tech_nanite_flak_batteries
add_tech_progress = {
tech = tech_nanite_repair_system
progress = 0.25
}
add_tech_progress = {
tech = tech_nanite_autocannon
progress = 0.25
}
add_tech_progress = {
tech = tech_nanite_flak_batteries
progress = 0.25
}
}
ai_weight = {
factor = 1000
}
}

View File

@ -0,0 +1,44 @@
spriteTypes = {
### NANITES ###
spriteType = {
name = "GFX_tr_rg_nanotech_1"
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_1.dds"
}
spriteType = {
name = "GFX_tr_rg_nanotech_2"
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_2.dds"
}
spriteType = {
name = "GFX_tr_rg_nanotech_3"
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_3.dds"
}
spriteType = {
name = "GFX_tr_rg_nanotech_4"
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_4.dds"
}
spriteType = {
name = "GFX_tr_rg_nanotech_5"
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_5.dds"
}
spriteType = {
name = "GFX_tradition_hex_bg_tradition_rg_nanotech"
textureFile = "gfx/interface/traditions/tradition_hex_bg_nanotech.dds"
}
spriteType = {
name = "GFX_tradition_category_bg_tradition_rg_nanotech"
textureFile = "gfx/interface/tiles/tradition_category_tile_nanotech.dds"
}
spriteType = {
name = "GFX_tradition_rg_nanotech"
texturefile = "gfx/interface/icons/traditions/tree_icons/tradition_icon_nanotech.dds"
}
}

View File

@ -31,6 +31,30 @@
preset_rg_scion: "§Y誓约计划国§!"
preset_rg_scion_desc: "出于某种不可告人的目的,远古堕落帝国将其视若己出。他们的远古宗主不会允许其誓约国受到任何外部干扰。"
### NANOTECH
tradition_rg_nanotech: "§Y纳米重构§!"
tradition_rg_nanotech_desc: "生命的构成形式不是千篇一律,拥抱纳米机器使我们超维宇宙万物。"
tr_rg_nanotech_adopt: "§Y纳米重构§!传统"
tr_rg_nanotech_1: "物质再塑"
tr_rg_nanotech_2: "献身精神"
tr_rg_nanotech_3: "风暴洪流"
tr_rg_nanotech_4: "无限远疆"
tr_rg_nanotech_5: "纳米归一"
tr_rg_nanotech_finish: "纳米传统完成"
tr_rg_nanotech_1_delayed: "传统的物质冶炼已经无法满足我们对于进步的渴望。我们将把旧世界无用的物质转化为纳米机器人。"
tr_rg_nanotech_2_delayed: "纳米机器重组万物,我们就是宇宙。世界在我们手中按需变化。"
tr_rg_nanotech_3_delayed: "我们的存在不再限制于我们的意志。我们将化作风暴,席卷一切。"
tr_rg_nanotech_4_delayed: "我们是一股洪流我们的存在需要力量作为根基。现在§R我§!即是虫群。"
tr_rg_nanotech_5_delayed: "物质和人之间的界限已经模糊,一切都只是我们集体意志的洪流中的一注。"
tradition_rg_nanotech_delayed: "我们是一股永不停息的洪流,吞天食地、势不可挡。一切都将融入我们,我们将形成一切。"
tr_rg_nanotech_adopt_modifier_desc: "§Y$AVAILABLE_BUILDINGS$§!$building_nanolab_1$\n§Y$AVAILABLE_STARBASE_BUILDINGS$§!$sm_nanite_harvester$"
tr_rg_nanotech_1_modifier_desc: "§Y$AVAILABLE_BUILDINGS$§!$building_nanolab_2$"
tr_rg_nanotech_2_modifier_desc: "§Y$AVAILABLE_BUILDINGS$§!$building_nanotech_cauldron$\n获得科技选项§Y£engineering£$tech_nanite_transmutation$§!"
tr_rg_nanotech_3_modifier_desc: "§Y解锁行星决议§!$decision_nanotech_swarm_consume_world$"
tr_rg_nanotech_4_modifier_desc: "§Y解锁舰船§!纳米虫群\n\n获得研究选项$TABBED_NEW_LINE$—§Y£engineering£$tech_nanite_autocannon$§!$TABBED_NEW_LINE$—§Y£engineering£$tech_nanite_repair_system$§!$TABBED_NEW_LINE$—§Y£engineering£$tech_nanite_flak_batteries$§!"
tr_rg_nanotech_5_modifier_desc: "§Y解锁法令§!$TABBED_NEW_LINE$—$edict_nanotech_naval_augmentation$$TABBED_NEW_LINE$—$edict_nanotech_alloy_augmentation$$TABBED_NEW_LINE$—$edict_nanotech_energy_augmentation$"
tr_rg_nanotech_finish_modifier_desc: "§Y解锁舰船§!纳米拦截舰\n每§Y5§!年§Y$sm_nanite_harvester_plural$§!都会提升,可能是增加$r_nanites$矿藏的规模,或是直接产出一笔纳米机器人资源。该效果受到矿藏所依附的行星尺寸的限制。"
civic_rg_gray_cluster: "§Y遥远约定-星团开局§!"
civic_rg_gray_non_cluster: "§Y遥远约定-银河开局§!"
civic_tooltip_rg_gray_cluster: "选择在§YL-星团§!中开启你的冒险。本mod标准的开局选项。"

View File

@ -32,6 +32,9 @@
},
{
"path": "D:/SteamLibrary/steamapps/workshop/content/281990/3193493385"
},
{
"path": "D:/SteamLibrary/steamapps/common/Stellaris/interface"
}
]
}