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

This commit is contained in:
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
}
}