Skip to content

Commit

Permalink
开局一条鲲,进化全靠吞
Browse files Browse the repository at this point in the history
  • Loading branch information
hathaway682 committed Sep 23, 2022
1 parent 2a12f5f commit 04522a7
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 1 deletion.
7 changes: 7 additions & 0 deletions common/on_actions/ethic_rebuild_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,10 @@ on_uplift_completion = {
# pds_active.1
# }
#}

#噬杀鲲群
on_pop_purged = {
events = {
ethic_rebuild_swarm.1
}
}
4 changes: 4 additions & 0 deletions common/static_modifiers/ethic_rebuild_static_modifiers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,8 @@ planet_devastation = {
army_defense_health_mult = -0.75
army_attack_morale_mult = -0.75
army_defense_damage_mult = -0.75
}

swarm_species_eaten = {
BIOLOGICAL_species_trait_points_add = 1
}
48 changes: 48 additions & 0 deletions events/ethic_rebuild_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -353,5 +353,53 @@ country_event = {
}
}

namespace = ethic_rebuild_swarm

planet_event = {
id = ethic_rebuild_swarm.1
name = "ethic_rebuild_swarm.1.name"
desc = "ethic_rebuild_swarm.1.desc"
picture = GFX_evt_circuitry_modification
is_triggered_only = yes

trigger = {
fromfrom = {
is_robotic_species = no
from = {
owner_main_species = {
NOT = { is_same_species = prevprev }
}
}
}
fromfrom.species = {
NOT = { has_species_flag = eaten_by@from }
}
NOT = {
any_galaxy_species = {
has_species_flag = eaten_by@from
is_same_species = fromfrom.species
}
}
}

immediate = {
from = {
change_variable = {
which = species_eaten
value = 1
}
remove_modifier = swarm_species_eaten
add_modifier = {
modifier = swarm_species_eaten
multiplier = species_eaten
}
}
fromfrom.species = {
set_species_flag = eaten_by@from
}
}

option = {
name = "ethic_rebuild_swarm.1.a"
}
}
12 changes: 12 additions & 0 deletions events/ethic_rebuild_starter_tech.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,18 @@ event = {
tech = tech_selected_lineages
}
}
if = {
limit = {
has_civic = civic_hive_devouring_swarm
}
give_technology = {
tech = tech_gene_tailoring
}
set_variable = {
which = species_eaten
value = 0
}
}
#if = {
# limit = {
# has_civic = civic_libido_equipment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
ethic_civic_yearly.4.desc:0 "志愿加入[root.owner.GetName]先锋队,拥护先锋队的纲领,遵守先锋队的章程,履行先锋队员义务,执行先锋队的决定,严守先锋队的纪律,保守先锋队的秘密,对先锋队忠诚,积极工作,为共产主义奋斗终身,随时准备为先锋队和人民牺牲一切,永不叛先锋队。"
ethic_civic_yearly.4.title:0 "入党申请书"
ethic_civic_yearly.4.a:0 "了解"
ethic_civic_yearly.4.b:0 "了解,之后无需告知"
ethic_civic_yearly.4.b:0 "了解,之后无需告知"

ethic_rebuild_swarm.1.name:0 "新物种被吞噬"
ethic_rebuild_swarm.1.desc:0 "我们已经吞噬了一个[fromfrom.species.GetName]人口并将其基因中有价值的部分片段整合进我们[from.owner_main_species.GetName]的基因序列。我们的蜂群会变得更强大。"
ethic_rebuild_swarm.1.a:0 "咀嚼,消化,吸收,混交,同化。"

0 comments on commit 04522a7

Please sign in to comment.