Skip to content

Commit

Permalink
Merge pull request #183 from Wheatley11/master
Browse files Browse the repository at this point in the history
血肉机械起源特供版基因飞升和传统
  • Loading branch information
cocolinfff authored Apr 4, 2024
2 parents 05deb9a + a8969f7 commit b032cbb
Show file tree
Hide file tree
Showing 16 changed files with 347 additions and 26 deletions.
49 changes: 49 additions & 0 deletions common/council_agendas/ethic_council_agendas.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,55 @@ agenda_tr_future = {
finish_modifier = agenda_tr_future_finish
}

# 耦合传统
agenda_tr_couplingyg = {
agenda_cost = 1080
allow = {
has_tradition = tr_couplingyg_adopt
}
potential = {
NAND = {
has_technology = tech_gargantuan_evolution
has_technology = tech_neuroregeneration
has_technology = tech_nanite_repair_system
}
}
effect = {
inverted_switch = {
trigger = has_technology
tech_gargantuan_evolution = {
add_tech_progress = {
tech = tech_gargantuan_evolution
progress = @agenda_award_tech_progress
}
}
tech_neuroregeneration = {
add_tech_progress = {
tech = tech_neuroregeneration
progress = @agenda_award_tech_progress
}
}
tech_nanite_repair_system = {
add_tech_progress = {
tech = tech_nanite_repair_system
progress = @agenda_award_tech_progress
}
}
default = {
add_monthly_resource_mult = {
resource = society_research
value = @tier3researchreward
min = @tier3researchmin
max = @tier3researchmax
}
}
}
}
}




# 经济计划
agenda_comprehensive_development_plan = {
agenda_cost = @base_tradition_agenda_cost
Expand Down
20 changes: 20 additions & 0 deletions common/scripted_triggers/ethic_scripted_triggers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,26 @@ has_eci_slave_gene = { has_trait = trait_slave_gene }
has_eci_flesh_components = { has_trait = trait_flesh_components }
has_eci_fallen_god = { has_trait = trait_fallen_god }
has_eci_psionic_link = { has_trait = trait_psionic_link }
#血肉机械特质trigger
can_do_advanced_geneyg_modding = {
hidden_trigger = { exists = from }
from = {
has_tradition = tr_couplingyg_similar_coupling
}
}
can_do_advanced_xsyg_modding = {
hidden_trigger = { exists = from }
from = {
has_tradition = tr_couplingyg_different_coupling
}
}
can_do_fm_gene_modding = {
hidden_trigger = { exists = from }
from = {
has_tradition = tr_couplingyg_diseases_coupling
}
}



##########
Expand Down
23 changes: 23 additions & 0 deletions common/tradition_categories/00_couplingyg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
tradition_couplingyg = {
tree_template = "tree_tt_1_1_1_1_1"
adoption_bonus = "tr_couplingyg_adopt"
finish_bonus = "tr_couplingyg_finish"

potential = {
OR = {
has_origin = origin_heterozygous_structure
# has_valid_civic = civic_machine_assimilator
}
}
traditions = {
"tr_couplingyg_data_coupling"
"tr_couplingyg_similar_coupling"
"tr_couplingyg_diseases_coupling"
"tr_couplingyg_different_coupling"
"tr_couplingyg_overall_coupling"
}

ai_weight = {
factor = 1000
}
}
86 changes: 86 additions & 0 deletions common/traditions/耦合.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
@ap_genetic_opener_POINTS = 2
@ap_genetic_finisher_POINTS = 2

tr_couplingyg_adopt = {
possible = {
has_ascension_perk = ap_engineered_evolution_yg
# has_technology = tech_gene_tailoring
}
unlocks_agenda = agenda_genetic_pursuit
modifier = {
description_parameters = {
POINTS = @ap_genetic_opener_POINTS
}
MACHINE_species_trait_points_add = 1
}
# Unlocks Clone Vats
}

tr_couplingyg_finish = {
modifier = {
ascension_perks_add = 1
description = tr_couplingyg_finish_modifier_desc
description_parameters = {
POINTS = @ap_genetic_finisher_POINTS
}
MACHINE_species_trait_points_add = 1
}

tradition_swap = {
name = tr_genetics_finish_extra_traits
inherit_icon = yes
inherit_name = yes
trigger = {
has_genetic_dlc = yes
}


modifier = {
ascension_perks_add = 1
description = tr_genetics_finish_extra_traits_modifier_desc
description_parameters = {
POINTS = @ap_genetic_finisher_POINTS
}
BIOLOGICAL_species_trait_points_add = @ap_genetic_finisher_POINTS
}
}
}

tr_couplingyg_data_coupling = {
modifier = {
modify_species_cost_mult = -0.50
MACHINE_species_trait_points_add = 1
}
}

tr_couplingyg_similar_coupling = {
possible = {
has_tradition = tr_couplingyg_data_coupling
}
custom_tooltip_with_modifiers = tr_couplingyg_similar_coupling_desc
}

tr_couplingyg_diseases_coupling = {
possible = {
has_tradition = tr_couplingyg_similar_coupling
}
# Can alter organic pop appearance within the same archtype
custom_tooltip = tr_genetics_enhanced_expression_desc
}

tr_couplingyg_different_coupling = {
possible = {
has_tradition = tr_couplingyg_similar_coupling
}
custom_tooltip = tr_couplingyg_different_coupling_desc
}

tr_couplingyg_overall_coupling = {
possible = {
has_tradition = tr_couplingyg_diseases_coupling
has_tradition = tr_couplingyg_different_coupling
}
modifier = {
MACHINE_species_trait_picks_add = 1
}
}
Loading

0 comments on commit b032cbb

Please sign in to comment.