Skip to content

Instantly share code, notes, and snippets.

@folknor
Created April 9, 2018 18:45
Show Gist options
  • Save folknor/5d9405cf68655589b97f60715d4f47e3 to your computer and use it in GitHub Desktop.
Save folknor/5d9405cf68655589b97f60715d4f47e3 to your computer and use it in GitHub Desktop.
diff --git a/2.0.0/common/alerts.txt b/2.0.2/common/alerts.txt
index c2bf6a6..e9b3c6c 100755
--- a/2.0.0/common/alerts.txt
+++ b/2.0.2/common/alerts.txt
@@ -135,5 +135,9 @@ alerts = {
category = HIGH
sound = "high_war_exhaustion"
}
+ alert_high_piracy_risk = {
+ category = MEDIUM
+ sound = "alert_negative"
+ }
alert_deprecated = { category = disabled }
}
\ No newline at end of file
diff --git a/2.0.0/common/armies/01_assault_armies.txt b/2.0.2/common/armies/01_assault_armies.txt
index c104aaa..8d49055 100755
--- a/2.0.0/common/armies/01_assault_armies.txt
+++ b/2.0.2/common/armies/01_assault_armies.txt
@@ -51,11 +51,11 @@ slave_army = {
collateral_damage = 1.50
war_exhaustion = 0.50
time = 60
- maintenance = 0.75
+ maintenance = 0.50
icon_frame = 10
cost = {
- minerals = 75
+ minerals = 50
}
prerequisites = { "tech_neural_implants" }
@@ -87,12 +87,12 @@ clone_army = {
collateral_damage = 1.25
war_exhaustion = 0.50
time = 30
- maintenance = 0.50
+ maintenance = 0.75
icon_frame = 7
pop_limited = no
cost = {
- minerals = 50
+ minerals = 75
}
prerequisites = { "tech_gene_banks" }
diff --git a/2.0.0/common/armies/02_event_armies.txt b/2.0.2/common/armies/02_event_armies.txt
index 391b0e5..eeebbd1 100755
--- a/2.0.0/common/armies/02_event_armies.txt
+++ b/2.0.2/common/armies/02_event_armies.txt
@@ -102,6 +102,22 @@ swarm_army = {
}
}
+# Rampaging Tree Armies
+tree_army = {
+ defensive = yes
+ damage = 1.0
+ morale_damage = 1.0
+ health = 1.0
+ has_morale = no
+ icon_frame = 8
+ has_species = no
+
+ potential = {
+ always = no
+ }
+}
+
+
# Titanic life troops
# Can build on planets with titanic life if you get event + special project there
# Should be very strong and quite expensive, but cannot get attachments and can be built only in limited numbers
diff --git a/2.0.2/common/armies/03_occupation_armies.txt b/2.0.2/common/armies/03_occupation_armies.txt
new file mode 100755
index 0000000..cdec839
--- /dev/null
+++ b/2.0.2/common/armies/03_occupation_armies.txt
@@ -0,0 +1,110 @@
+#Defensive armies can't transport of the planet
+#maintenance is directly scripted here. 0.25 translates to 0.25 monthly cost (excluding other upkeep modifiers)
+#morale_damage = 1 # average morale damage of the army, default: auto (calculated from morale * MORALE_DAMAGE_MULT)
+#building spawned armies can't be built normally, but only created from pops working buildings
+
+# Occupation Armies
+occupation_army = {
+ defensive = yes
+ occupation = yes
+ health = 1.25
+ damage = 1.50
+ morale = 1.25
+ collateral_damage = 0.0
+ war_exhaustion = 0.0 # No WE from occupation armies
+ icon_frame = 1
+
+ potential = {
+ from = {
+ NOR = {
+ has_trait = "trait_robotic_1"
+ has_trait = "trait_robotic_2"
+ has_trait = "trait_robotic_3"
+ has_trait = "trait_machine_unit"
+ is_sapient = no
+ }
+ }
+ owner = {
+ OR = {
+ NOT = { has_authority = auth_machine_intelligence }
+ has_valid_civic = civic_machine_assimilator
+ }
+ }
+ }
+}
+
+# Robotic Armies
+robotic_occupation_army = {
+ defensive = yes
+ occupation = yes
+ damage = 1.00
+ health = 1.25
+ morale_damage = 1.00
+ collateral_damage = 0.0
+ war_exhaustion = 0.0 # No WE from occupation armies
+ has_morale = no
+ icon_frame = 4
+ has_species = yes
+
+ potential = {
+ from = {
+ OR = {
+ has_trait = "trait_robotic_1"
+ has_trait = "trait_robotic_2"
+ }
+ }
+ owner = {
+ NOT = { has_authority = auth_machine_intelligence }
+ }
+ }
+
+ allow = {
+ owner = { NOT = { has_policy_flag = robots_outlawed } }
+ }
+}
+
+# Synthetic Armies
+android_occupation_army = {
+ defensive = yes
+ occupation = yes
+ damage = 1.25
+ health = 1.25
+ has_morale = no
+ morale_damage = 1.00
+ collateral_damage = 0.0
+ war_exhaustion = 0.0 # No WE from occupation armies
+ icon_frame = 4
+ has_species = yes
+
+ potential = {
+ from = { has_trait = "trait_robotic_3" }
+ owner = {
+ NOT = { has_authority = auth_machine_intelligence }
+ }
+ }
+
+ allow = {
+ owner = { NOT = { has_policy_flag = ai_outlawed } }
+ }
+}
+
+### Machine Empire Armies
+machine_occupation_army = {
+ defensive = yes
+ occupation = yes
+ health = 1.10
+ damage = 1.10
+ has_morale = no
+ morale_damage = 1.00
+ collateral_damage = 0.0
+ war_exhaustion = 0.0 # No WE from occupation armies
+ icon_frame = 12
+ has_species = yes
+
+ potential = {
+ owner = { has_authority = auth_machine_intelligence }
+ from = {
+ has_trait = "trait_machine_unit"
+ }
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/ascension_perks/00_ascension_perks.txt b/2.0.2/common/ascension_perks/00_ascension_perks.txt
index b65ef22..5b2604b 100755
--- a/2.0.0/common/ascension_perks/00_ascension_perks.txt
+++ b/2.0.2/common/ascension_perks/00_ascension_perks.txt
@@ -46,13 +46,7 @@ ap_nihilistic_acquisition = {
NOT = {
has_ascension_perk = ap_nihilistic_acquisition
}
- NOR = {
- has_valid_civic = civic_fanatic_purifiers
- has_valid_civic = civic_hive_devouring_swarm
- has_valid_civic = civic_inwards_perfection
- has_valid_civic = civic_machine_terminator
- has_valid_civic = civic_barbaric_despoilers
- }
+ NOT = { has_valid_civic = civic_barbaric_despoilers }
}
on_enabled = {
@@ -73,6 +67,15 @@ ap_nihilistic_acquisition = {
factor = 0
NOT = { has_ai_personality_behaviour = slaver }
}
+ modifier = {
+ factor = 0
+ OR = {
+ has_valid_civic = civic_fanatic_purifiers
+ has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_inwards_perfection
+ has_valid_civic = civic_machine_terminator
+ }
+ }
}
}
@@ -213,8 +216,8 @@ ap_evolutionary_mastery = {
num_ascension_perks > 2
}
custom_tooltip = {
- fail_text = "requires_technology_gene_expressions"
- has_technology = tech_gene_expressions
+ fail_text = "requires_technology_glandular_acclimation"
+ has_technology = tech_glandular_acclimation
}
custom_tooltip = {
fail_text = "requires_ap_engineered_evolution"
@@ -610,6 +613,37 @@ ap_interstellar_dominion = {
}
}
+ap_grasp_the_void = {
+ possible = {
+ custom_tooltip = {
+ fail_text = "requires_ascension_perks_1"
+ num_ascension_perks > 0
+ }
+ }
+
+ modifier = {
+ country_starbase_capacity_add = 5
+ }
+
+ potential = {
+ NOT = {
+ has_ascension_perk = ap_grasp_the_void
+ }
+ }
+
+ ai_weight = {
+ factor = 10
+ modifier = {
+ factor = 2
+ has_civic = civic_inwards_perfection
+ }
+ modifier = {
+ factor = 1.5
+ is_xenophobe = yes
+ }
+ }
+}
+
ap_eternal_vigilance = {
possible = {
custom_tooltip = {
@@ -819,7 +853,7 @@ ap_imperial_prerogative = {
ap_executive_vigor = {
modifier = {
- edict_length_mult = 1.00
+ edict_length_mult = 0.50
}
potential = {
@@ -833,9 +867,26 @@ ap_executive_vigor = {
}
}
+ap_transcendent_learning = {
+ modifier = {
+ leader_skill_levels = 2
+ country_leader_cap = 2
+ }
+
+ potential = {
+ NOT = {
+ has_ascension_perk = ap_transcendent_learning
+ }
+ }
+
+ ai_weight = {
+ factor = 10
+ }
+}
+
ap_shared_destiny = {
modifier = {
- subject_integration_influence_cost_mult = -0.5
+ subject_integration_influence_cost_mult = -0.75
}
potential = {
@@ -852,6 +903,14 @@ ap_shared_destiny = {
ai_weight = {
factor = 5
+ modifier = {
+ factor = 0
+ NOT = {
+ any_subject = {
+ is_subject_type = vassal
+ }
+ }
+ }
}
}
@@ -891,46 +950,6 @@ ap_voidborn = {
}
}
-ap_the_circle_of_life = {
- on_enabled = {
- custom_tooltip = "allow_ring_world"
- }
-
- possible = {
- custom_tooltip = {
- fail_text = "requires_ascension_perks_3"
- num_ascension_perks > 2
- }
- custom_tooltip = {
- fail_text = "requires_ap_voidborn"
- has_ascension_perk = ap_voidborn
- }
- custom_tooltip = {
- fail_text = "requires_mega_engineering"
- has_technology = tech_mega_engineering
- }
- }
-
- potential = {
- host_has_dlc = "Utopia"
- NOT = {
- has_ascension_perk = ap_the_circle_of_life
- }
- }
-
- ai_weight = {
- factor = 10
- modifier = {
- factor = 2
- has_ethic = ethic_pacifist
- }
- modifier = {
- factor = 3
- has_ethic = ethic_fanatic_pacifist
- }
- }
-}
-
ap_master_builders = {
on_enabled = {
if = {
@@ -986,6 +1005,7 @@ ap_galactic_wonders = {
custom_tooltip = "allow_spy_orb"
custom_tooltip = "allow_think_tank"
custom_tooltip = "allow_dysons_sphere"
+ custom_tooltip = "allow_ring_world"
}
possible = {
@@ -1065,6 +1085,7 @@ ap_machine_worlds = {
potential = {
host_has_dlc = "Synthetic Dawn Story Pack"
has_authority = auth_machine_intelligence
+ NOT = { has_civic = civic_machine_assimilator }
NOT = {
has_ascension_perk = ap_machine_worlds
}
diff --git a/2.0.0/common/bombardment_stances/00_bombardment_stances.txt b/2.0.2/common/bombardment_stances/00_bombardment_stances.txt
index 1927ac9..9166ca4 100755
--- a/2.0.0/common/bombardment_stances/00_bombardment_stances.txt
+++ b/2.0.2/common/bombardment_stances/00_bombardment_stances.txt
@@ -150,7 +150,7 @@ raiding = {
army_damage = 0.5
kill_pop_chance = 1.0
- min_pops_to_kill_pop = 6
+ min_pops_to_kill_pop = 4
add_blocker_chance = 0.0
max_blockers = 0
diff --git a/2.0.0/common/buildings/00_buildings.txt b/2.0.2/common/buildings/00_buildings.txt
index 7c3f0f9..4ba7a47 100755
--- a/2.0.0/common/buildings/00_buildings.txt
+++ b/2.0.2/common/buildings/00_buildings.txt
@@ -2015,6 +2015,27 @@ building_replicator = {
minerals = 500
}
+ planet_modifier_with_pop_trigger = {
+ key = building_replicator
+ potential = {
+ NAND = {
+ has_citizenship_type = { type = citizenship_purge }
+ OR = {
+ has_purge_type = { type = purge_normal }
+ has_purge_type = { type = purge_processing }
+ has_purge_type = { type = purge_matrix }
+ }
+ }
+ NAND = {
+ has_citizenship_type = { type = citizenship_slavery }
+ OR = {
+ has_slavery_type = { type = slavery_livestock }
+ has_slavery_type = { type = slavery_matrix }
+ }
+ }
+ }
+ }
+
allow = {
if = {
limit = {
@@ -2051,7 +2072,7 @@ building_replicator = {
}
planet_modifier = {
- static_planet_resource_minerals_add = 30
+ static_planet_resource_minerals_add = 40
}
required_resources = {
@@ -4498,6 +4519,12 @@ building_stronghold = {
planetary_ftl_inhibitor = yes
+ potential = {
+ planet = {
+ NOT = { is_planet_class = pc_habitat }
+ }
+ }
+
prerequisites = {
"tech_planetary_defenses"
}
@@ -4506,6 +4533,15 @@ building_stronghold = {
minerals = 300
}
+ produced_resource_trigger = {
+ modifier = {
+ has_valid_civic = civic_citizen_service
+ resources = {
+ unity = 1
+ }
+ }
+ }
+
produced_resources = {
unity = 1
}
@@ -4528,6 +4564,18 @@ building_stronghold = {
factor = 0
years_passed < 25
}
+ modifier = {
+ factor = 0
+ planet = {
+ unrest < 50
+ sector_controlled = yes
+ owner = { is_ai = no }
+ }
+ NOR = {
+ has_building = "building_stronghold"
+ has_building = "building_fortress"
+ }
+ }
modifier = {
factor = 0
planet = {
@@ -4624,6 +4672,13 @@ building_fortress = {
planetary_ftl_inhibitor = yes
+
+ potential = {
+ planet = {
+ NOT = { is_planet_class = pc_habitat }
+ }
+ }
+
prerequisites = {
"tech_global_defense_grid"
}
@@ -4632,6 +4687,15 @@ building_fortress = {
minerals = 500
}
+ produced_resource_trigger = {
+ modifier = {
+ has_valid_civic = civic_citizen_service
+ resources = {
+ unity = 1
+ }
+ }
+ }
+
produced_resources = {
unity = 2
}
@@ -4683,6 +4747,18 @@ building_fortress = {
factor = 0
years_passed < 25
}
+ modifier = {
+ factor = 0
+ planet = {
+ unrest < 50
+ sector_controlled = yes
+ owner = { is_ai = no }
+ }
+ NOR = {
+ has_building = "building_stronghold"
+ has_building = "building_fortress"
+ }
+ }
modifier = {
factor = 0
planet = {
diff --git a/2.0.0/common/buildings/00_guardian_buildings.txt b/2.0.2/common/buildings/00_guardian_buildings.txt
index 0c4767f..14816d0 100755
--- a/2.0.0/common/buildings/00_guardian_buildings.txt
+++ b/2.0.2/common/buildings/00_guardian_buildings.txt
@@ -63,14 +63,14 @@
###
building_guardian_dragon_shrine = {
- base_buildtime = @b0time
+ base_buildtime = 360
empire_unique = yes
requires_pop = yes
cost = {
- minerals = @b0cost
+ minerals = 800
}
produced_resources = {
@@ -103,14 +103,14 @@ building_guardian_dragon_shrine = {
}
building_guardian_dragon_monument = {
- base_buildtime = @b0time
+ base_buildtime = 360
empire_unique = yes
requires_pop = yes
cost = {
- minerals = @b0cost
+ minerals = 800
}
produced_resources = {
@@ -145,11 +145,11 @@ building_guardian_dragon_monument = {
# Stellarite Trophy
building_stellarite_trophy = {
icon = "building_zanaam_obelisk"
- base_buildtime = 1000
+ base_buildtime = 360
empire_unique = yes
cost = {
- minerals = 2500
+ minerals = 800
}
produced_resources = {
diff --git a/2.0.0/common/buildings/00_habitat_buildings.txt b/2.0.2/common/buildings/00_habitat_buildings.txt
index 82ab17f..3e67a8d 100755
--- a/2.0.0/common/buildings/00_habitat_buildings.txt
+++ b/2.0.2/common/buildings/00_habitat_buildings.txt
@@ -49,6 +49,11 @@ building_hab_astro_mining_facility = {
potential = {
planet = {
is_planet_class = pc_habitat
+ }
+ }
+
+ allow = {
+ planet = {
has_building = "building_hab_capital"
}
}
@@ -116,6 +121,11 @@ building_hab_agri_bay = {
NOT = { owner = { has_authority = auth_machine_intelligence } }
planet = {
is_planet_class = pc_habitat
+ }
+ }
+
+ allow = {
+ planet = {
has_building = "building_hab_capital"
}
}
@@ -139,6 +149,11 @@ building_hab_laboratory_module = {
potential = {
planet = {
is_planet_class = pc_habitat
+ }
+ }
+
+ allow = {
+ planet = {
has_building = "building_hab_capital"
}
}
@@ -168,6 +183,11 @@ building_hab_cultural_center = {
}
planet = {
is_planet_class = pc_habitat
+ }
+ }
+
+ allow = {
+ planet = {
has_building = "building_hab_capital"
}
}
@@ -193,3 +213,65 @@ building_hab_cultural_center = {
weight = 300
}
}
+
+building_hab_stronghold = {
+ icon = "building_stronghold"
+ base_buildtime = 180
+ is_listed = yes
+ defense_armies = 2
+
+ potential = {
+ planet = {
+ is_planet_class = pc_habitat
+ }
+ }
+
+ allow = {
+ planet = {
+ has_building = "building_hab_capital"
+ }
+ }
+
+ cost = {
+ minerals = 250
+ }
+
+ produced_resources = {
+ unity = 1
+ }
+
+ required_resources = {
+ energy = 2
+ }
+
+ planet_modifier = {
+ planet_unrest_add = -40
+ }
+
+ ai_weight = {
+ weight = 1000
+ modifier = {
+ factor = 0
+ years_passed < 25
+ }
+ modifier = {
+ factor = 0
+ planet = {
+ NOT = { unrest > 50 }
+ }
+ }
+ modifier = {
+ factor = 0
+ planet = {
+ count_tile = {
+ limit = {
+ OR = {
+ has_building = building_hab_stronghold
+ }
+ }
+ count > 0
+ }
+ }
+ }
+ }
+}
diff --git a/2.0.0/common/bypass/00_bypasses.txt b/2.0.2/common/bypass/00_bypasses.txt
index 19a8add..bf64e12 100755
--- a/2.0.0/common/bypass/00_bypasses.txt
+++ b/2.0.2/common/bypass/00_bypasses.txt
@@ -104,12 +104,22 @@ wormhole = {
country_can_use = {
custom_tooltip = {
fail_text = NATURAL_WORMHOLE_COUNTRY_CANNOT_USE
+ # Wormhole can be used if...
OR = {
+ # System has no owner
NOT = { exists = from }
+ # System's owner has not closed borders to you
from = {
- OR = {
NOT = { has_closed_borders = root }
- is_at_war_with = root
+ }
+ # System's owner is at war with you
+ from = { is_at_war_with = root }
+ # System's owner is not a proper empire
+ from = {
+ NOR = {
+ is_country_type = default
+ is_country_type = awakened_fallen_empire
+ is_country_type = fallen_empire
}
}
}
diff --git a/2.0.0/common/casus_belli/00_casus_belli.txt b/2.0.2/common/casus_belli/00_casus_belli.txt
index 09fbf96..8477a7a 100755
--- a/2.0.0/common/casus_belli/00_casus_belli.txt
+++ b/2.0.2/common/casus_belli/00_casus_belli.txt
@@ -38,11 +38,6 @@ cb_subjugation = {
is_valid = {
is_country_type = awakened_fallen_empire
NOT = { has_authority = auth_machine_intelligence }
- has_total_war_cb = no
- OR = {
- is_subject = no
- overlord = { NOT = { is_same_value = from } }
- }
}
}
@@ -70,17 +65,67 @@ cb_humiliation = {
}
cb_ideology = {
- show_in_diplomacy = no
- show_notification = no
+ show_in_diplomacy = yes
+ show_notification = yes
potential = {
is_country_type = default
NOT = { has_ethic = ethic_gestalt_consciousness }
}
is_valid = {
has_policy_flag = liberation_wars
- is_rival = FROM
+ is_neighbor_of = FROM
+ from = { is_country_type = default }
from = { NOT = { has_ethic = ethic_gestalt_consciousness } }
has_total_war_cb = no
+ OR = {
+ AND = {
+ is_xenophile = yes
+ from = { is_xenophile = no }
+ }
+ AND = {
+ is_xenophobe = yes
+ from = { is_xenophobe = no }
+ }
+ AND = {
+ is_authoritarian = yes
+ from = { is_authoritarian = no }
+ }
+ AND = {
+ is_egalitarian = yes
+ from = { is_egalitarian = no }
+ }
+ AND = {
+ is_spiritualist = yes
+ from = { is_spiritualist = no }
+ }
+ AND = {
+ is_materialist = yes
+ from = { is_materialist = no }
+ }
+ AND = {
+ is_militarist = yes
+ from = { is_militarist = no }
+ }
+ AND = {
+ is_pacifist = yes
+ from = { is_pacifist = no }
+ }
+ }
+ OR = {
+ is_subject = no
+ overlord = { NOT = { is_same_value = from } }
+ }
+ }
+}
+
+cb_sublimation = {
+ show_in_diplomacy = no
+ show_notification = no
+ potential = {
+ has_valid_civic = civic_machine_assimilator
+ }
+ is_valid = {
+ has_total_war_cb = yes
OR = {
is_subject = no
overlord = { NOT = { is_same_value = from } }
@@ -89,8 +134,8 @@ cb_ideology = {
}
cb_purification = {
- show_in_diplomacy = yes
- show_notification = yes
+ show_in_diplomacy = no
+ show_notification = no
potential = {
OR = {
is_berserk_fallen_machine_empire = yes
@@ -100,10 +145,6 @@ cb_purification = {
}
is_valid = {
has_total_war_cb = yes
- OR = {
- is_berserk_fallen_machine_empire = yes
- is_neighbor_of = from
- }
OR = {
is_subject = no
overlord = { NOT = { is_same_value = from } }
@@ -112,15 +153,14 @@ cb_purification = {
}
cb_hunger = {
- show_in_diplomacy = yes
- show_notification = yes
+ show_in_diplomacy = no
+ show_notification = no
potential = {
is_country_type = default
has_valid_civic = civic_hive_devouring_swarm
}
is_valid = {
has_total_war_cb = yes
- is_neighbor_of = from
OR = {
is_subject = no
overlord = { NOT = { is_same_value = from } }
@@ -137,6 +177,7 @@ cb_despoliation = {
}
is_valid = {
is_neighbor_of = from
+ has_total_war_cb = no
OR = {
is_subject = no
overlord = { NOT = { is_same_value = from } }
@@ -150,10 +191,12 @@ cb_colossus = {
potential = {
is_country_type = default
has_technology = "tech_colossus"
+ has_policy_flag = unrestricted_wars
}
is_valid = {
- has_total_war_cb = yes
- is_rival = from
+ is_neighbor_of = from
+ has_total_war_cb = no
+ any_owned_ship = { is_ship_size = colossus }
OR = {
is_subject = no
overlord = { NOT = { is_same_value = from } }
@@ -166,13 +209,13 @@ cb_stop_colossus = {
show_notification = yes
potential = {
is_country_type = default
- NOT = { has_technology = "tech_colossus" }
- exists = from
- from = { has_technology = "tech_colossus" }
}
is_valid = {
- has_total_war_cb = yes
- is_rival = from
+ is_neighbor_of = from
+ has_total_war_cb = no
+ from = { is_country_type = default }
+ from = { any_owned_ship = { is_ship_size = colossus } }
+ NOT = { any_owned_ship = { is_ship_size = colossus } }
OR = {
is_subject = no
overlord = { NOT = { is_same_value = from } }
@@ -188,16 +231,25 @@ cb_containment = {
NOR = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_machine_terminator
+ has_valid_civic = civic_machine_assimilator
has_valid_civic = civic_hive_devouring_swarm
}
}
is_valid = {
has_total_war_cb = yes
- is_neighbor_of = from
OR = {
is_subject = no
overlord = { NOT = { is_same_value = from } }
}
+ from = {
+ OR = {
+ is_country_type = awakened_fallen_empire
+ has_valid_civic = civic_fanatic_purifiers
+ has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_machine_assimilator
+ has_valid_civic = civic_machine_terminator
+ }
+ }
}
}
diff --git a/2.0.0/common/component_templates/00_guardian_weapons.txt b/2.0.2/common/component_templates/00_guardian_weapons.txt
index 68e539c..be0b718 100755
--- a/2.0.0/common/component_templates/00_guardian_weapons.txt
+++ b/2.0.2/common/component_templates/00_guardian_weapons.txt
@@ -259,7 +259,7 @@ strike_craft_component_template = {
shield = 0
evasion = 0.40
- speed = 200
+ speed = 300
rotation_speed = 0.3
acceleration = 2.5
diff --git a/2.0.0/common/component_templates/00_strike_craft.txt b/2.0.2/common/component_templates/00_strike_craft.txt
index 09ac207..f900d00 100755
--- a/2.0.0/common/component_templates/00_strike_craft.txt
+++ b/2.0.2/common/component_templates/00_strike_craft.txt
@@ -1,7 +1,8 @@
@attack_range = 8
@launch_time = 1.5
-@fighter_speed = 250
-@bomber_speed = 250
+@speed1 = 300
+@speed2 = 350
+@speed3 = 400
@count = 8
@regen = 0.13
@@ -40,7 +41,7 @@ strike_craft_component_template = {
shield = 0
evasion = 0.50
- speed = @fighter_speed
+ speed = @speed1
rotation_speed = 0.1
acceleration = 0.5
@@ -77,7 +78,7 @@ strike_craft_component_template = {
shield = 10
evasion = 0.55
- speed = @bomber_speed
+ speed = @speed1
rotation_speed = 0.1
acceleration = 0.5
@@ -119,7 +120,7 @@ strike_craft_component_template = {
shield = 20
evasion = 0.80
- speed = @bomber_speed
+ speed = @speed2
rotation_speed = 0.1
acceleration = 0.5
@@ -161,7 +162,7 @@ strike_craft_component_template = {
shield = 30
evasion = 0.80
- speed = @bomber_speed
+ speed = @speed3
rotation_speed = 0.1
acceleration = 0.5
diff --git a/2.0.0/common/component_templates/00_utilities_afterburners.txt b/2.0.2/common/component_templates/00_utilities_afterburners.txt
index 8058a52..22c1090 100755
--- a/2.0.0/common/component_templates/00_utilities_afterburners.txt
+++ b/2.0.2/common/component_templates/00_utilities_afterburners.txt
@@ -32,6 +32,7 @@ utility_component_template = {
ship_speed_mult = 0.10
ship_evasion_mult = 0.05
}
+ class_restriction = { shipclass_military }
prerequisites = { "tech_afterburners_1" }
component_set = "AFTERBURNER_1"
upgrades_to = "AFTERBURNER_2"
@@ -60,6 +61,7 @@ utility_component_template = {
ship_speed_mult = 0.20
ship_evasion_mult = 0.10
}
+ class_restriction = { shipclass_military }
prerequisites = { "tech_afterburners_2" }
component_set = "AFTERBURNER_2"
diff --git a/2.0.0/common/component_templates/00_utilities_roles.txt b/2.0.2/common/component_templates/00_utilities_roles.txt
index 193ae29..5ba4a01 100755
--- a/2.0.0/common/component_templates/00_utilities_roles.txt
+++ b/2.0.2/common/component_templates/00_utilities_roles.txt
@@ -148,7 +148,7 @@ utility_component_template = {
upgrades_to = "COMBAT_COMPUTER_SWARM_ADVANCED"
modifier = {
- ship_evasion_add = 5
+ ship_evasion_mult = 0.05
}
ship_modifier = {
ship_fire_rate_mult = 0.05
@@ -174,7 +174,7 @@ utility_component_template = {
upgrades_to = "COMBAT_COMPUTER_SWARM_SAPIENT"
modifier = {
- ship_evasion_add = 10
+ ship_evasion_mult = 0.10
}
ship_modifier = {
ship_fire_rate_mult = 0.10
@@ -199,7 +199,7 @@ utility_component_template = {
prerequisites = { "tech_combat_computers_3" }
modifier = {
- ship_evasion_add = 25
+ ship_evasion_mult = 0.25
}
ship_modifier = {
ship_fire_rate_mult = 0.15
@@ -234,7 +234,7 @@ utility_component_template = {
prerequisites = { "tech_combat_computers_autonomous" }
modifier = {
- ship_evasion_add = 25
+ ship_evasion_mult = 0.25
}
ship_modifier = {
ship_fire_rate_mult = 0.15
@@ -259,7 +259,7 @@ utility_component_template = {
prerequisites = { "tech_precognition_interface" }
modifier = {
- ship_evasion_add = 15
+ ship_evasion_mult = 0.15
ship_speed_mult = 0.20
}
ship_modifier = {
@@ -336,7 +336,7 @@ utility_component_template = {
prerequisites = { "tech_combat_computers_3" }
modifier = {
- ship_evasion_add = 10
+ ship_evasion_mult = 0.10
}
ship_modifier = {
ship_fire_rate_mult = 0.15
@@ -372,7 +372,7 @@ utility_component_template = {
prerequisites = { "tech_combat_computers_autonomous" }
modifier = {
- ship_evasion_add = 10
+ ship_evasion_mult = 0.10
}
ship_modifier = {
ship_fire_rate_mult = 0.15
diff --git a/2.0.0/common/component_templates/00_utilities_thrusters.txt b/2.0.2/common/component_templates/00_utilities_thrusters.txt
index edbffd4..5cf0bb0 100755
--- a/2.0.0/common/component_templates/00_utilities_thrusters.txt
+++ b/2.0.2/common/component_templates/00_utilities_thrusters.txt
@@ -4,36 +4,74 @@
@cost2 = 6
@cost3 = 9
@cost4 = 12
+@cost5 = 15
@power_1 = -10
@power_2 = -15
@power_3 = -20
@power_4 = -25
+@power_5 = -30
@destroyer_power_1 = -20
@destroyer_power_2 = -30
@destroyer_power_3 = -40
@destroyer_power_4 = -50
+@destroyer_power_5 = -60
@cruiser_power_1 = -40
@cruiser_power_2 = -60
@cruiser_power_3 = -80
@cruiser_power_4 = -100
+@cruiser_power_5 = -120
@battleship_power_1 = -80
@battleship_power_2 = -120
@battleship_power_3 = -160
@battleship_power_4 = -200
+@battleship_power_5 = -240
@titan_power_1 = -160
@titan_power_2 = -240
@titan_power_3 = -320
@titan_power_4 = -400
+@titan_power_5 = -480
@colossus_power_1 = -200
@colossus_power_2 = -300
@colossus_power_3 = -400
@colossus_power_4 = -500
+@colossus_power_5 = -600
+
+@destroyer_cost1 = 6
+@destroyer_cost2 = 12
+@destroyer_cost3 = 18
+@destroyer_cost4 = 24
+@destroyer_cost5 = 30
+
+@cruiser_cost1 = 12
+@cruiser_cost2 = 24
+@cruiser_cost3 = 36
+@cruiser_cost4 = 48
+@cruiser_cost5 = 60
+
+@battleship_cost1 = 24
+@battleship_cost2 = 48
+@battleship_cost3 = 72
+@battleship_cost4 = 96
+@battleship_cost5 = 120
+
+@titan_cost1 = 48
+@titan_cost2 = 96
+@titan_cost3 = 144
+@titan_cost4 = 192
+@titan_cost5 = 240
+
+@colossus_cost1 = 60
+@colossus_cost2 = 120
+@colossus_cost3 = 180
+@colossus_cost4 = 240
+@colossus_cost5 = 300
+
#############
# THRUSTERS #
@@ -68,7 +106,7 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_1"
icon_frame = 1
power = @destroyer_power_1
- cost = @cost1
+ cost = @destroyer_cost1
modifier = {
}
@@ -89,7 +127,7 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_1"
icon_frame = 1
power = @cruiser_power_1
- cost = @cost1
+ cost = @cruiser_cost1
modifier = {
}
@@ -110,7 +148,7 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_1"
icon_frame = 1
power = @battleship_power_1
- cost = @cost1
+ cost = @battleship_cost1
modifier = {
}
@@ -131,7 +169,7 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_1"
icon_frame = 1
power = @titan_power_1
- cost = @cost1
+ cost = @titan_cost1
modifier = {
}
@@ -152,7 +190,7 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_1"
icon_frame = 1
power = @colossus_power_1
- cost = @cost1
+ cost = @colossus_cost1
modifier = {
}
@@ -160,7 +198,7 @@ utility_component_template = {
prerequisites = { "tech_thrusters_1" }
component_set = "thruster_components"
size_restriction = { colossus }
- #upgrades_to = "COLOSSUS_SHIP_THRUSTER_2"
+ upgrades_to = "COLOSSUS_SHIP_THRUSTER_2"
ai_weight = {
weight = 1
@@ -177,7 +215,7 @@ utility_component_template = {
power = @power_2
cost = @cost2
modifier = {
- ship_speed_mult = 0.20
+ ship_base_speed_mult = 0.25
ship_evasion_add = 5
}
@@ -197,11 +235,11 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_2"
icon_frame = 1
power = @destroyer_power_2
- cost = @cost1
+ cost = @destroyer_cost2
modifier = {
- ship_speed_mult = 0.20
- ship_evasion_add = 5
+ ship_base_speed_mult = 0.25
+ ship_evasion_add = 4
}
prerequisites = { "tech_thrusters_2" }
@@ -220,11 +258,11 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_2"
icon_frame = 1
power = @cruiser_power_2
- cost = @cost1
+ cost = @cruiser_cost2
modifier = {
- ship_speed_mult = 0.20
- ship_evasion_add = 5
+ ship_base_speed_mult = 0.25
+ ship_evasion_add = 3
}
prerequisites = { "tech_thrusters_2" }
@@ -243,11 +281,11 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_2"
icon_frame = 1
power = @battleship_power_2
- cost = @cost1
+ cost = @battleship_cost2
modifier = {
- ship_speed_mult = 0.20
- ship_evasion_add = 5
+ ship_base_speed_mult = 0.25
+ ship_evasion_add = 2
}
prerequisites = { "tech_thrusters_2" }
@@ -266,11 +304,11 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_2"
icon_frame = 1
power = @titan_power_2
- cost = @cost1
+ cost = @titan_cost2
modifier = {
- ship_speed_mult = 0.20
- ship_evasion_add = 5
+ ship_base_speed_mult = 0.25
+ ship_evasion_add = 1
}
prerequisites = { "tech_thrusters_2" }
@@ -289,11 +327,10 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_2"
icon_frame = 1
power = @colossus_power_2
- cost = @cost1
+ cost = @colossus_cost2
modifier = {
- ship_speed_mult = 0.20
- ship_evasion_add = 5
+ ship_base_speed_mult = 0.25
}
prerequisites = { "tech_thrusters_2" }
@@ -317,7 +354,7 @@ utility_component_template = {
power = @power_3
cost = @cost3
modifier = {
- ship_speed_mult = 0.40
+ ship_base_speed_mult = 0.50
ship_evasion_add = 10
}
@@ -337,10 +374,10 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_3"
icon_frame = 1
power = @destroyer_power_3
- cost = @cost3
+ cost = @destroyer_cost3
modifier = {
- ship_speed_mult = 0.40
- ship_evasion_add = 10
+ ship_base_speed_mult = 0.50
+ ship_evasion_add = 8
}
prerequisites = { "tech_thrusters_3" }
@@ -359,10 +396,10 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_3"
icon_frame = 1
power = @cruiser_power_3
- cost = @cost3
+ cost = @cruiser_cost3
modifier = {
- ship_speed_mult = 0.40
- ship_evasion_add = 10
+ ship_base_speed_mult = 0.50
+ ship_evasion_add = 6
}
prerequisites = { "tech_thrusters_3" }
@@ -381,10 +418,10 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_3"
icon_frame = 1
power = @battleship_power_3
- cost = @cost3
+ cost = @battleship_cost3
modifier = {
- ship_speed_mult = 0.40
- ship_evasion_add = 10
+ ship_base_speed_mult = 0.50
+ ship_evasion_add = 4
}
prerequisites = { "tech_thrusters_3" }
@@ -403,10 +440,10 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_3"
icon_frame = 1
power = @titan_power_3
- cost = @cost3
+ cost = @titan_cost3
modifier = {
- ship_speed_mult = 0.40
- ship_evasion_add = 10
+ ship_base_speed_mult = 0.50
+ ship_evasion_add = 2
}
prerequisites = { "tech_thrusters_3" }
@@ -425,10 +462,9 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_3"
icon_frame = 1
power = @colossus_power_3
- cost = @cost3
+ cost = @colossus_cost3
modifier = {
- ship_speed_mult = 0.40
- ship_evasion_add = 10
+ ship_base_speed_mult = 0.50
}
prerequisites = { "tech_thrusters_3" }
@@ -451,13 +487,14 @@ utility_component_template = {
power = @power_4
cost = @cost4
modifier = {
- ship_speed_mult = 0.60
+ ship_base_speed_mult = 0.75
ship_evasion_add = 15
}
prerequisites = { "tech_thrusters_4" }
component_set = "thruster_components"
size_restriction = { corvette colonizer constructor science transport }
+ upgrades_to = "SHIP_THRUSTER_5"
ai_weight = {
weight = 4
@@ -470,15 +507,16 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_4"
icon_frame = 1
power = @destroyer_power_4
- cost = @cost4
+ cost = @destroyer_cost4
modifier = {
- ship_speed_mult = 0.60
- ship_evasion_add = 15
+ ship_base_speed_mult = 0.75
+ ship_evasion_add = 12
}
prerequisites = { "tech_thrusters_4" }
component_set = "thruster_components"
size_restriction = { destroyer }
+ upgrades_to = "DESTROYER_SHIP_THRUSTER_5"
ai_weight = {
weight = 4
@@ -491,15 +529,16 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_4"
icon_frame = 1
power = @cruiser_power_4
- cost = @cost4
+ cost = @cruiser_cost4
modifier = {
- ship_speed_mult = 0.60
- ship_evasion_add = 15
+ ship_base_speed_mult = 0.75
+ ship_evasion_add = 9
}
prerequisites = { "tech_thrusters_4" }
component_set = "thruster_components"
size_restriction = { cruiser }
+ upgrades_to = "CRUISER_SHIP_THRUSTER_5"
ai_weight = {
weight = 4
@@ -512,15 +551,16 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_4"
icon_frame = 1
power = @battleship_power_4
- cost = @cost4
+ cost = @battleship_cost4
modifier = {
- ship_speed_mult = 0.60
- ship_evasion_add = 15
+ ship_base_speed_mult = 0.75
+ ship_evasion_add = 6
}
prerequisites = { "tech_thrusters_4" }
component_set = "thruster_components"
size_restriction = { battleship }
+ upgrades_to = "BATTLESHIP_SHIP_THRUSTER_5"
ai_weight = {
weight = 4
@@ -533,15 +573,16 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_4"
icon_frame = 1
power = @titan_power_4
- cost = @cost4
+ cost = @titan_cost4
modifier = {
- ship_speed_mult = 0.60
- ship_evasion_add = 15
+ ship_base_speed_mult = 0.75
+ ship_evasion_add = 3
}
prerequisites = { "tech_thrusters_4" }
component_set = "thruster_components"
size_restriction = { titan }
+ upgrades_to = "TITAN_SHIP_THRUSTER_5"
ai_weight = {
weight = 4
@@ -555,17 +596,145 @@ utility_component_template = {
icon = "GFX_ship_part_thruster_4"
icon_frame = 1
power = @colossus_power_4
- cost = @cost4
+ cost = @colossus_cost4
modifier = {
- ship_speed_mult = 0.60
- ship_evasion_add = 15
+ ship_base_speed_mult = 0.75
}
prerequisites = { "tech_thrusters_4" }
component_set = "thruster_components"
size_restriction = { colossus }
+ upgrades_to = "COLOSSUS_SHIP_THRUSTER_5"
ai_weight = {
weight = 4
}
}
+
+### 5
+
+utility_component_template = {
+ key = "SHIP_THRUSTER_5"
+ size = small
+ icon = "GFX_ship_part_thruster_5"
+ icon_frame = 1
+ power = @power_5
+ cost = @cost5
+ modifier = {
+ ship_base_speed_mult = 1.00
+ ship_evasion_add = 20
+ }
+
+ prerequisites = { "tech_dark_matter_propulsion" }
+ component_set = "thruster_components"
+ size_restriction = { corvette colonizer constructor science transport }
+
+ ai_weight = {
+ weight = 5
+ }
+}
+
+utility_component_template = {
+ key = "DESTROYER_SHIP_THRUSTER_5"
+ size = small
+ icon = "GFX_ship_part_thruster_5"
+ icon_frame = 1
+ power = @destroyer_power_5
+ cost = @destroyer_cost5
+ modifier = {
+ ship_base_speed_mult = 1.00
+ ship_evasion_add = 16
+ }
+
+ prerequisites = { "tech_dark_matter_propulsion" }
+ component_set = "thruster_components"
+ size_restriction = { destroyer }
+
+ ai_weight = {
+ weight = 5
+ }
+}
+
+utility_component_template = {
+ key = "CRUISER_SHIP_THRUSTER_5"
+ size = small
+ icon = "GFX_ship_part_thruster_5"
+ icon_frame = 1
+ power = @cruiser_power_5
+ cost = @cruiser_cost5
+ modifier = {
+ ship_base_speed_mult = 1.00
+ ship_evasion_add = 12
+ }
+
+ prerequisites = { "tech_dark_matter_propulsion" }
+ component_set = "thruster_components"
+ size_restriction = { cruiser }
+
+ ai_weight = {
+ weight = 5
+ }
+}
+
+utility_component_template = {
+ key = "BATTLESHIP_SHIP_THRUSTER_5"
+ size = small
+ icon = "GFX_ship_part_thruster_5"
+ icon_frame = 1
+ power = @battleship_power_5
+ cost = @battleship_cost5
+ modifier = {
+ ship_base_speed_mult = 1.00
+ ship_evasion_add = 8
+ }
+
+ prerequisites = { "tech_dark_matter_propulsion" }
+ component_set = "thruster_components"
+ size_restriction = { battleship }
+
+ ai_weight = {
+ weight = 5
+ }
+}
+
+utility_component_template = {
+ key = "TITAN_SHIP_THRUSTER_5"
+ size = small
+ icon = "GFX_ship_part_thruster_5"
+ icon_frame = 1
+ power = @titan_power_5
+ cost = @titan_cost5
+ modifier = {
+ ship_base_speed_mult = 1.00
+ ship_evasion_add = 4
+ }
+
+ prerequisites = { "tech_dark_matter_propulsion" }
+ component_set = "thruster_components"
+ size_restriction = { titan }
+
+ ai_weight = {
+ weight = 5
+ }
+}
+
+
+utility_component_template = {
+ key = "COLOSSUS_SHIP_THRUSTER_5"
+ size = small
+ icon = "GFX_ship_part_thruster_5"
+ icon_frame = 1
+ power = @colossus_power_5
+ cost = @colossus_cost5
+ modifier = {
+ ship_base_speed_mult = 1.00
+ }
+
+ prerequisites = { "tech_dark_matter_propulsion" }
+ component_set = "thruster_components"
+ size_restriction = { colossus }
+
+ ai_weight = {
+ weight = 5
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/component_templates/00_weapons_critters_ai.txt b/2.0.2/common/component_templates/00_weapons_critters_ai.txt
index 75cf36e..1782d76 100755
--- a/2.0.0/common/component_templates/00_weapons_critters_ai.txt
+++ b/2.0.2/common/component_templates/00_weapons_critters_ai.txt
@@ -32,7 +32,7 @@ strike_craft_component_template = {
shield = 50
evasion = 0.80
- speed = 200
+ speed = 400
rotation_speed = 0.2
acceleration = 0.5
diff --git a/2.0.0/common/component_templates/00_weapons_critters_amoeba.txt b/2.0.2/common/component_templates/00_weapons_critters_amoeba.txt
index e2c5c95..ec8799f 100755
--- a/2.0.0/common/component_templates/00_weapons_critters_amoeba.txt
+++ b/2.0.2/common/component_templates/00_weapons_critters_amoeba.txt
@@ -65,7 +65,7 @@ strike_craft_component_template = {
shield = 0
evasion = 0.50
- speed = 200
+ speed = 300
rotation_speed = 0.1
acceleration = 0.5
diff --git a/2.0.0/common/component_templates/00_weapons_critters_mining_drones.txt b/2.0.2/common/component_templates/00_weapons_critters_mining_drones.txt
index f400b61..60f2dbb 100755
--- a/2.0.0/common/component_templates/00_weapons_critters_mining_drones.txt
+++ b/2.0.2/common/component_templates/00_weapons_critters_mining_drones.txt
@@ -66,7 +66,7 @@ strike_craft_component_template = {
shield = 0
evasion = 0.30
- speed = 200
+ speed = 300
rotation_speed = 0.1
acceleration = 2.5
diff --git a/2.0.0/common/component_templates/00_weapons_critters_swarm.txt b/2.0.2/common/component_templates/00_weapons_critters_swarm.txt
index e001584..68e7beb 100755
--- a/2.0.0/common/component_templates/00_weapons_critters_swarm.txt
+++ b/2.0.2/common/component_templates/00_weapons_critters_swarm.txt
@@ -88,7 +88,7 @@ strike_craft_component_template = {
shield = 0
evasion = 0.80
- speed = 180
+ speed = 400
rotation_speed = 0.2
acceleration = 0.5
diff --git a/2.0.0/common/component_templates/weapon_components.csv b/2.0.2/common/component_templates/weapon_components.csv
index 4b1d0a4..6950abe 100755
--- a/2.0.0/common/component_templates/weapon_components.csv
+++ b/2.0.2/common/component_templates/weapon_components.csv
@@ -37,32 +37,32 @@ SMALL_MASS_DRIVER_5;28.00;-17.00;14.00;46.00;1.00;1.50;0.00;0.50;0.00;1.00;18.00
MEDIUM_MASS_DRIVER_5;56.00;-30.00;35.00;115.00;1.00;1.50;0.00;0.50;0.00;1.00;18.00;25.00;75.00;0.75;0.30;0.00;0.00;0.00;0.00;0.00;0.00;
LARGE_MASS_DRIVER_5;112.00;-59.00;84.00;276.00;1.00;1.50;0.00;0.50;0.00;1.00;18.00;25.00;100.00;0.75;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
# Plasma;;;;;;;;;;;;;;;;;;;;;;
-SMALL_PLASMA_1;15.00;-10.00;12.00;25.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;30.00;0.80;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
-MEDIUM_PLASMA_1;30.00;-17.00;30.00;63.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;50.00;0.80;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
-LARGE_PLASMA_1;60.00;-34.00;72.00;150.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;70.00;0.80;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
-SMALL_PLASMA_2;20.00;-13.00;16.00;33.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;30.00;0.80;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
-MEDIUM_PLASMA_2;40.00;-23.00;40.00;83.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;50.00;0.80;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
-LARGE_PLASMA_2;80.00;-45.00;96.00;198.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;70.00;0.80;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
-SMALL_PLASMA_3;25.00;-17.00;20.00;42.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;30.00;0.80;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
-MEDIUM_PLASMA_3;50.00;-30.00;50.00;105.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;50.00;0.80;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
-LARGE_PLASMA_3;100.00;-59.00;120.00;252.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;70.00;0.80;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
+SMALL_PLASMA_1;15.00;-10.00;12.00;25.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;40.00;0.80;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
+MEDIUM_PLASMA_1;30.00;-17.00;30.00;63.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;60.00;0.80;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
+LARGE_PLASMA_1;60.00;-34.00;72.00;150.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;80.00;0.80;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
+SMALL_PLASMA_2;20.00;-13.00;16.00;33.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;40.00;0.80;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
+MEDIUM_PLASMA_2;40.00;-23.00;40.00;83.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;60.00;0.80;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
+LARGE_PLASMA_2;80.00;-45.00;96.00;198.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;80.00;0.80;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
+SMALL_PLASMA_3;25.00;-17.00;20.00;42.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;40.00;0.80;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
+MEDIUM_PLASMA_3;50.00;-30.00;50.00;105.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;60.00;0.80;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
+LARGE_PLASMA_3;100.00;-59.00;120.00;252.00;1.50;0.25;0.00;2.00;0.00;2.00;20.00;40.00;80.00;0.80;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
# Disruptors;;;;;;;;;;;;;;;;;;;;;;
-SMALL_DISRUPTOR_1;15.00;-10.00;1.00;18.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;20.00;1.00;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
-MEDIUM_DISRUPTOR_1;30.00;-17.00;1.00;45.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;40.00;1.00;0.35;0.00;0.00;0.00;0.00;0.00;0.00;
-SMALL_DISRUPTOR_2;20.00;-13.00;1.00;23.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;20.00;1.00;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
-MEDIUM_DISRUPTOR_2;40.00;-23.00;1.00;58.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;40.00;1.00;0.35;0.00;0.00;0.00;0.00;0.00;0.00;
-SMALL_DISRUPTOR_3;25.00;-17.00;1.00;30.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;20.00;1.00;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
-MEDIUM_DISRUPTOR_3;35.00;-30.00;1.00;75.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;40.00;1.00;0.35;0.00;0.00;0.00;0.00;0.00;0.00;
+SMALL_DISRUPTOR_1;15.00;-10.00;1.00;18.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;30.00;1.00;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
+MEDIUM_DISRUPTOR_1;30.00;-17.00;1.00;45.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;50.00;1.00;0.35;0.00;0.00;0.00;0.00;0.00;0.00;
+SMALL_DISRUPTOR_2;20.00;-13.00;1.00;23.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;30.00;1.00;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
+MEDIUM_DISRUPTOR_2;40.00;-23.00;1.00;58.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;50.00;1.00;0.35;0.00;0.00;0.00;0.00;0.00;0.00;
+SMALL_DISRUPTOR_3;25.00;-17.00;1.00;30.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;30.00;1.00;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
+MEDIUM_DISRUPTOR_3;35.00;-30.00;1.00;75.00;1.00;1.00;1.00;1.00;1.00;2.00;20.00;50.00;50.00;1.00;0.35;0.00;0.00;0.00;0.00;0.00;0.00;
# Autocannons;;;;;;;;;;;;;;;;;;;;;;
-AUTOCANNON_1;15.00;-10.00;8.00;16.00;1.25;2.00;0.00;0.25;0.00;2.00;14.00;15.00;30.00;0.85;0.75;0.00;0.00;0.00;0.00;0.00;0.00;
-AUTOCANNON_2;20.00;-13.00;10.00;21.00;1.25;2.00;0.00;0.25;0.00;2.00;14.00;15.00;30.00;0.85;0.75;0.00;0.00;0.00;0.00;0.00;0.00;
-AUTOCANNON_3;25.00;-17.00;14.00;27.00;1.25;2.00;0.00;0.25;0.00;2.00;14.00;15.00;30.00;0.85;0.75;0.00;0.00;0.00;0.00;0.00;0.00;
+AUTOCANNON_1;15.00;-10.00;8.00;16.00;1.25;1.50;0.00;0.25;0.00;2.00;14.00;15.00;30.00;0.85;0.75;0.00;0.00;0.00;0.00;0.00;0.00;
+AUTOCANNON_2;20.00;-13.00;10.00;21.00;1.25;1.50;0.00;0.25;0.00;2.00;14.00;15.00;30.00;0.85;0.75;0.00;0.00;0.00;0.00;0.00;0.00;
+AUTOCANNON_3;25.00;-17.00;14.00;27.00;1.25;1.50;0.00;0.25;0.00;2.00;14.00;15.00;30.00;0.85;0.75;0.00;0.00;0.00;0.00;0.00;0.00;
# Kinetic Artillery;;;;;;;;;;;;;;;;;;;;;;
KINETIC_ARTILLERY_1;120.00;-70.00;150.00;450.00;1.25;2.00;0.00;0.50;0.00;3.00;25.00;50.00;120.00;0.75;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
KINETIC_ARTILLERY_2;155.00;-90.00;195.00;585.00;1.25;2.00;0.00;0.50;0.00;3.00;25.00;50.00;120.00;0.75;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
# Energy Launcher;;;;;;;;;;;;;;;;;;;;;;
-ENERGY_TORPEDO_1;120.00;-70.00;360.00;800.00;1.75;0.50;0.00;1.50;0.00;1.00;19.00;150.00;130.00;0.90;0.05;270.00;0.00;0.00;0.00;0.00;0.00;
-ENERGY_TORPEDO_2;155.00;-90.00;468.00;1040.00;1.75;0.50;0.00;1.50;0.00;1.00;19.00;150.00;130.00;0.90;0.05;270.00;0.00;0.00;0.00;0.00;0.00;
+ENERGY_TORPEDO_1;120.00;-70.00;360.00;800.00;1.75;0.50;0.00;1.50;0.00;1.00;19.00;150.00;130.00;0.90;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
+ENERGY_TORPEDO_2;155.00;-90.00;468.00;1040.00;1.75;0.50;0.00;1.50;0.00;1.00;19.00;150.00;130.00;0.90;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
# Mega Cannon;;;;;;;;;;;;;;;;;;;;;;
MASS_ACCELERATOR_1;250.00;-200.00;700.00;2000.00;1.25;1.50;0.00;0.75;0.00;1.00;19.00;80.00;150.00;0.75;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
MASS_ACCELERATOR_2;325.00;-250.00;900.00;2600.00;1.25;1.50;0.00;0.75;0.00;1.00;19.00;80.00;150.00;0.75;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
@@ -77,30 +77,30 @@ TITAN_LASER;500.00;-500.00;5000.00;10000.00;1.25;0.75;0.00;1.50;0.00;30.00;45.00
PERDITION_BEAM_TITAN;500.00;-500.00;5000.00;10000.00;1.25;0.75;0.00;1.50;0.00;30.00;45.00;180.00;250.00;0.85;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
PERDITION_BEAM_ION;500.00;-500.00;5000.00;10000.00;1.25;0.75;0.00;1.50;0.00;30.00;45.00;180.00;250.00;0.85;0.00;0.00;0.00;0.00;0.00;0.00;0.00;
# Flak Battery;;;;;;;;;;;;;;;;;;;;;;
-FLAK_BATTERY_1;8.00;-5.00;1.00;3.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;8.00;20.00;0.75;0.50;0.00;0.00;0.00;0.00;0.00;0.00;
-FLAK_BATTERY_2;10.00;-7.00;1.50;4.50;1.00;1.00;0.00;1.00;0.00;0.00;0.00;8.00;20.00;0.75;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
-FLAK_BATTERY_3;13.00;-10.00;2.00;6.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;8.00;20.00;0.75;0.70;0.00;0.00;0.00;0.00;0.00;0.00;
+FLAK_BATTERY_1;8.00;-5.00;1.00;3.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;5.00;30.00;0.75;0.50;0.00;0.00;0.00;0.00;0.00;0.00;
+FLAK_BATTERY_2;10.00;-7.00;1.50;4.50;1.00;1.00;0.00;1.00;0.00;0.00;0.00;5.00;30.00;0.75;0.60;0.00;0.00;0.00;0.00;0.00;0.00;
+FLAK_BATTERY_3;13.00;-10.00;2.00;6.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;5.00;30.00;0.75;0.70;0.00;0.00;0.00;0.00;0.00;0.00;
# Point-Defense;;;;;;;;;;;;;;;;;;;;;;
-POINT_DEFENCE_1;8.00;-5.00;1.00;4.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;8.00;20.00;0.75;0.10;0.00;0.00;0.00;0.00;0.00;0.00;
-POINT_DEFENCE_2;10.00;-7.00;1.50;6.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;8.00;20.00;0.75;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
-POINT_DEFENCE_3;13.00;-10.00;2.00;8.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;8.00;20.00;0.75;0.30;0.00;0.00;0.00;0.00;0.00;0.00;
+POINT_DEFENCE_1;8.00;-5.00;1.00;4.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;5.00;30.00;0.75;0.10;0.00;0.00;0.00;0.00;0.00;0.00;
+POINT_DEFENCE_2;10.00;-7.00;1.50;6.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;5.00;30.00;0.75;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
+POINT_DEFENCE_3;13.00;-10.00;2.00;8.00;1.00;1.00;0.00;1.00;0.00;0.00;0.00;5.00;30.00;0.75;0.30;0.00;0.00;0.00;0.00;0.00;0.00;
# Missiles;;;;;;;;;;;;;;;;;;;;;;
-MISSILE_1;20.00;-10.00;30.00;40.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;350.00;0.00;0.00;0.00;10.00;100.00;
-MISSILE_2;26.00;-13.00;39.00;52.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;350.00;0.10;0.00;0.00;12.00;100.00;
-MISSILE_3;34.00;-17.00;51.00;68.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;350.00;0.20;0.00;0.00;14.00;100.00;
-MISSILE_4;44.00;-22.00;66.00;88.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;350.00;0.30;0.00;0.00;16.00;100.00;
-MISSILE_5;58.00;-26.00;86.00;114.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;350.00;0.40;0.00;0.00;18.00;100.00;
+MISSILE_1;20.00;-10.00;30.00;40.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;400.00;0.00;0.00;0.00;10.00;100.00;
+MISSILE_2;26.00;-13.00;39.00;52.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;400.00;0.10;0.00;0.00;12.00;100.00;
+MISSILE_3;34.00;-17.00;51.00;68.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;400.00;0.20;0.00;0.00;14.00;100.00;
+MISSILE_4;44.00;-22.00;66.00;88.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;400.00;0.30;0.00;0.00;16.00;100.00;
+MISSILE_5;58.00;-26.00;86.00;114.00;1.25;1.00;1.00;1.00;0.00;1.00;15.00;42.00;100.00;1.00;0.25;400.00;0.40;0.00;0.00;18.00;100.00;
# Torpedoes;;;;;;;;;;;;;;;;;;;;;;
-TORPEDO_1;40.00;-10.00;165.00;265.00;1.00;1.00;1.00;2.00;0.00;2.00;20.00;160.00;80.00;1.00;0.10;270.00;0.00;0.00;0.00;20.00;100.00;
-TORPEDO_2;52.00;-17.00;215.00;345.00;1.00;1.00;1.00;2.00;0.00;2.00;20.00;160.00;80.00;1.00;0.10;270.00;0.00;0.00;0.00;25.00;100.00;
-TORPEDO_3;68.00;-26.00;275.00;445.00;1.00;1.00;1.00;2.00;0.00;2.00;20.00;160.00;80.00;1.00;0.10;270.00;0.00;0.00;0.00;30.00;100.00;
+TORPEDO_1;40.00;-10.00;165.00;265.00;1.00;1.00;1.00;1.50;0.00;2.00;20.00;160.00;80.00;1.00;0.10;350.00;0.00;0.00;0.00;20.00;100.00;
+TORPEDO_2;52.00;-17.00;215.00;345.00;1.00;1.00;1.00;1.50;0.00;2.00;20.00;160.00;80.00;1.00;0.10;350.00;0.00;0.00;0.00;25.00;100.00;
+TORPEDO_3;68.00;-26.00;275.00;445.00;1.00;1.00;1.00;1.50;0.00;2.00;20.00;160.00;80.00;1.00;0.10;350.00;0.00;0.00;0.00;30.00;100.00;
# Swarmer Missiles;;;;;;;;;;;;;;;;;;;;;;
-SWARMER_MISSILE_1;50.00;-17.00;20.00;27.00;1.00;1.00;1.00;1.00;0.00;1.00;15.00;25.00;100.00;1.00;0.30;400.00;0.00;0.00;0.00;50.00;100.00;
-SWARMER_MISSILE_2;65.00;-26.00;33.00;48.00;1.00;1.00;1.00;1.00;0.00;1.00;15.00;25.00;100.00;1.00;0.30;400.00;0.00;0.00;0.00;60.00;100.00;
+SWARMER_MISSILE_1;50.00;-17.00;20.00;27.00;1.00;1.00;1.00;1.00;0.00;1.00;15.00;25.00;100.00;1.00;0.30;420.00;0.00;0.00;0.00;50.00;100.00;
+SWARMER_MISSILE_2;65.00;-26.00;33.00;48.00;1.00;1.00;1.00;1.00;0.00;1.00;15.00;25.00;100.00;1.00;0.30;420.00;0.00;0.00;0.00;60.00;100.00;
# Researchable Space Critters;;;;;;;;;;;;;;;;;;;;;;
-SPACE_CLOUD_LIGHTNING;50.00;-40.00;1.00;136.00;1.00;1.00;1.00;1.00;1.00;1.00;19.00;50.00;60.00;1.00;0.30;0.00;0.00;0.00;0.00;0.00;0.00;
-SMALL_MINING_LASER;15.00;-7.00;9.00;22.00;2.00;0.25;0.00;1.25;0.00;1.00;19.00;30.00;30.00;0.75;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
-MEDIUM_MINING_LASER;30.00;-13.00;23.00;55.00;2.00;0.25;0.00;1.25;0.00;1.00;19.00;30.00;60.00;0.70;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
+SPACE_CLOUD_LIGHTNING;50.00;-40.00;1.00;136.00;1.00;1.00;1.00;1.00;1.00;1.00;19.00;50.00;80.00;1.00;0.30;0.00;0.00;0.00;0.00;0.00;0.00;
+SMALL_MINING_LASER;15.00;-7.00;9.00;22.00;1.75;0.5;0.00;1.25;0.00;1.00;19.00;30.00;30.00;0.75;0.40;0.00;0.00;0.00;0.00;0.00;0.00;
+MEDIUM_MINING_LASER;30.00;-13.00;23.00;55.00;1.75;0.5;0.00;1.25;0.00;1.00;19.00;30.00;60.00;0.70;0.20;0.00;0.00;0.00;0.00;0.00;0.00;
SPACE_WHALE_WEAPON;15.00;-10.00;10.00;27.00;1.00;2.00;0.00;0.25;0.00;1.00;19.00;30.00;50.00;0.75;0.50;0.00;0.00;0.00;0.00;0.00;0.00;
# Misc Space Critters;;;;;;;;;;;;;;;;;;;;;;
MEDIUM_PROBE_LIGHTNING;0.00;0.00;12.00;29.00;1.00;1.00;0.00;1.00;0.00;1.00;19.00;35.00;60.00;0.85;0.30;0.00;0.00;0.00;0.00;0.00;0.00;
@@ -156,7 +156,7 @@ SMALL_ED_WEAPON;40.00;-25.00;20.00;49.00;2.00;0.50;0.00;1.50;0.00;2.00;18.00;35.
MEDIUM_ED_WEAPON;80.00;-50.00;50.00;123.00;2.00;0.50;0.00;1.50;0.00;2.00;18.00;35.00;50.00;0.90;0.30;0.00;0.00;0.00;0.00;0.00;0.00;
LARGE_ED_WEAPON;160.00;-100.00;120.00;294.00;2.00;0.50;0.00;1.50;0.00;2.00;18.00;35.00;70.00;0.90;0.05;0.00;0.00;0.00;0.00;0.00;0.00;
# Swarm;;;;;;;;;;;;;;;;;;;;;;
-LARGE_SCOURGE_MISSILE_1;65.00;-35.00;135.00;175.00;1.50;1.00;1.00;1.50;0.00;1.00;19.00;40.00;120.00;1.00;0.05;350.00;0.40;0.00;0.00;20.00;120.00;
+LARGE_SCOURGE_MISSILE_1;65.00;-35.00;135.00;175.00;1.50;1.00;1.00;1.50;0.00;1.00;19.00;40.00;120.00;1.00;0.05;400.00;0.40;0.00;0.00;20.00;120.00;
SMALL_SCOURGE_PROJECTILE_WEAPON;0.00;0.00;20.00;46.00;1.00;1.50;0.00;1.00;0.00;1.00;19.00;30.00;60.00;0.75;0.70;0.00;0.00;0.00;0.00;0.00;0.00;
MEDIUM_SCOURGE_PROJECTILE_WEAPON;0.00;0.00;50.00;115.00;1.00;1.50;0.00;1.00;0.00;1.00;19.00;30.00;60.00;0.75;0.25;0.00;0.00;0.00;0.00;0.00;0.00;
# Planet Killer Weapons;;;;;;;;;;;;;;;;;;;;;;
diff --git a/2.0.0/common/component_templates/weapon_components.ods b/2.0.2/common/component_templates/weapon_components.ods
index 1427a72..760dffe 100755
Binary files a/2.0.0/common/component_templates/weapon_components.ods and b/2.0.2/common/component_templates/weapon_components.ods differ
diff --git a/2.0.0/common/country_types/00_country_types.txt b/2.0.2/common/country_types/00_country_types.txt
index 9b005e7..2ac66b0 100755
--- a/2.0.0/common/country_types/00_country_types.txt
+++ b/2.0.2/common/country_types/00_country_types.txt
@@ -26,6 +26,7 @@
# relations = no #default no, this controls whether the country makes us of opinion
# fallen_empire = no #default no, this controls whether the empire uses the special Fallen Empire AI
# awakened_fallen_empire = no #default no, this controls whether the empire uses the special Awakened Fallen Empire AI
+# piracy_risk = no #default no, this controls whether the empire has piracy risk
# uses_special_buildables = no #default no, this controls whether this empire builds global ship designs that are defined as special buildables instead of normal designable ships
# show_in_contacts_list = yes #default yes, whether to show an entry in the contacts list
# minimalist_contacts_list_profile = no #default no, whether to show only empire name and flag in diplomacy panel in the contacts list
@@ -83,6 +84,7 @@ default = {
counts_for_victory = yes
pop_growth = yes
playable = yes
+ piracy_risk = yes
randomize_ethos = yes
shuffle_pop_ethos = yes
needs_survey = yes
@@ -584,6 +586,7 @@ awakened_marauders = {
show_in_contacts_list = yes
share_survey_data = no
custom_diplomacy = yes
+ mid_game_crisis = yes
enforces_borders = no
needs_survey = no
has_complete_sensor = yes
@@ -1004,6 +1007,7 @@ ambient = {
}
enclave = {
+ blocks_piracy = yes
show_in_contacts_list = yes
can_have_their_comms_shared = yes
is_enclave = yes
@@ -1056,6 +1060,7 @@ shroud = {
shroud_spirits = {
is_space_critter = yes
+ blocks_piracy = yes
government = no
ai = {
enabled = no
@@ -1082,7 +1087,7 @@ shroud_spirits = {
swarm = {
attack_unarmed_orbital_stations = yes
scaled_difficulty_bonuses = 3.0 # scales to setting
- crisis_faction = yes
+ end_game_crisis = yes
destroys_starbases = yes
can_own_empty_planets = yes
needs_survey = no
@@ -1126,7 +1131,7 @@ swarm = {
extradimensional = {
attack_unarmed_orbital_stations = yes
scaled_difficulty_bonuses = 3.0 # scales to setting
- crisis_faction = yes
+ end_game_crisis = yes
destroys_starbases = yes
needs_survey = no
has_complete_sensor = yes
@@ -1170,7 +1175,7 @@ extradimensional = {
extradimensional_2 = {
attack_unarmed_orbital_stations = yes
scaled_difficulty_bonuses = 3.0 # scales to setting
- crisis_faction = yes
+ end_game_crisis = yes
destroys_starbases = yes
needs_survey = no
has_complete_sensor = yes
@@ -1213,7 +1218,7 @@ extradimensional_2 = {
extradimensional_3 = {
attack_unarmed_orbital_stations = yes
scaled_difficulty_bonuses = 3.0 # scales to setting
- crisis_faction = yes
+ end_game_crisis = yes
destroys_starbases = yes
needs_survey = no
has_complete_sensor = yes
@@ -1256,7 +1261,7 @@ extradimensional_3 = {
ai_empire = {
attack_unarmed_orbital_stations = yes
scaled_difficulty_bonuses = 3.0 # scales to setting
- crisis_faction = yes
+ end_game_crisis = yes
destroys_starbases = yes
can_own_empty_planets = yes
needs_survey = no
@@ -1395,6 +1400,7 @@ tiyanki = {
amoeba = {
is_space_critter = yes
+ blocks_piracy = yes
government = no
ai = {
enabled = yes
@@ -1419,6 +1425,7 @@ amoeba = {
crystal = {
is_space_critter = yes
+ blocks_piracy = yes
government = no
ai = {
enabled = no
@@ -1438,6 +1445,7 @@ crystal = {
drone = {
is_space_critter = yes
+ blocks_piracy = yes
government = no
ai = {
enabled = no
@@ -1457,6 +1465,7 @@ drone = {
cloud = {
is_space_critter = yes
+ blocks_piracy = yes
government = no
ai = {
enabled = no
@@ -1496,7 +1505,9 @@ portal_holder = {
feral_prethoryn = {
is_space_critter = yes
+ blocks_piracy = yes
government = no
+ enforces_borders = no
ai = {
enabled = yes
modules = {
@@ -1520,6 +1531,7 @@ feral_prethoryn = {
feral_prethoryn_infighting = {
is_space_critter = yes
+ blocks_piracy = yes
government = no
ai = {
enabled = no
@@ -1537,3 +1549,24 @@ feral_prethoryn_infighting = {
basic_technology_module = {}
}
}
+
+marauder_raiders = {
+ attack_unarmed_orbital_stations = yes
+ scaled_difficulty_bonuses = 0.5 # scales to setting
+ government = no
+ ai = {
+ enabled = no
+ }
+ faction = {
+ hostile = no
+ needs_border_access = no
+ generate_borders = no
+ needs_colony = no
+ }
+ #custom_diplomacy = yes
+ modules = {
+ standard_event_module = {}
+ exclusive_diplomacy_module = {}
+ basic_technology_module = {}
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/country_types/01_leviathans_country_types.txt b/2.0.2/common/country_types/01_leviathans_country_types.txt
index f39b652..bff48fb 100755
--- a/2.0.0/common/country_types/01_leviathans_country_types.txt
+++ b/2.0.2/common/country_types/01_leviathans_country_types.txt
@@ -4,6 +4,7 @@
guardian = {
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -23,6 +24,7 @@ guardian = {
guardian_dragon = {
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -42,6 +44,7 @@ guardian_dragon = {
guardian_stellarite = {
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -61,6 +64,7 @@ guardian_stellarite = {
guardian_wraith = {
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -81,6 +85,7 @@ guardian_wraith = {
guardian_hiver = {
attack_unarmed_orbital_stations = yes
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -100,6 +105,7 @@ guardian_hiver = {
guardian_horror = {
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -119,6 +125,7 @@ guardian_horror = {
guardian_fortress = {
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -138,6 +145,7 @@ guardian_fortress = {
guardian_dreadnought = {
is_space_critter = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
@@ -157,6 +165,8 @@ guardian_dreadnought = {
guardian_sphere = {
is_space_critter = yes
+ blocks_piracy = yes
+ blocks_piracy = yes
destroys_starbases = yes
ai = {
enabled = no
diff --git a/2.0.0/common/defines/00_defines.txt b/2.0.2/common/defines/00_defines.txt
index 94e2a12..99f7c83 100755
--- a/2.0.0/common/defines/00_defines.txt
+++ b/2.0.2/common/defines/00_defines.txt
@@ -141,7 +141,7 @@
PLANET_TILT_FROM_SUN = 0.52 # Tilt away from sun
PLANET_RING_TILT_FROM_SUN = -0.16
PLANET_MAP_ICON_OFFSET = 0.6 # based on planet size
- PLANET_DISSOLVE_ANIMATION_TIME_SCALE = 10.0 # Larger value => planet dissolve animation lasts longer
+ PLANET_DISSOLVE_ANIMATION_TIME_SCALE = 7.4 # Larger value => planet dissolve animation lasts longer
MEGASTRUCTURE_MAP_ICON_OFFSET = 0.06 # based on mega structure size
@@ -349,6 +349,8 @@
QUEUED_BUILDING_ALPHA = 0.60 # Used in planet view surface tab
POTENTIAL_ARMY_ALPHA = 0.45 # Used in planet view army tab
+ HIGH_PIRACY_RISK = 0.5 # used in alerts
+
ANOMALY_VIEW_RISK_LOW = 0.1 # Color green if < 11%
ANOMALY_VIEW_RISK_MEDIUM = 0.49 # Color yellow if < 50% else red
@@ -423,6 +425,15 @@
END_GAME_START_MIN = 50
START_YEAR_SLIDER_INTERVAL = 25
+ PIRACY_BASE_DEFENSE = 10 # Base anti-piracy score
+ PIRACY_OWNED_SYSTEM_SCORE = 1.5 # Per owned system (anti-piracy)
+ PIRACY_STARBASE_SCORE = 2 # Per upgraded starbase (anti-piracy)
+ PIRACY_STARBASE_LEVEL_SCORE = 1 # Per upgraded starbase level score (anti-piracy)
+ PIRACY_BASE_SCORE = 0 # Base piracy score
+ PIRACY_LAWLESS_SYSTEM_SCORE = 1 # Per lawless system connected to territory (increases piracy)
+ PIRACY_CUT_OFF_SYSTEM_SCORE = 2 # Per cut-off system inside territory (increases piracy)
+ PIRATE_SPAWN_INTERVAL = 1800 # In days
+
TECH_COST_DEFAULT = 1.0
TECH_COST_MIN = 0.25
TECH_COST_MAX = 5.00
@@ -512,8 +523,6 @@
BASE_SURVEY_TIME = 20.0 # Base Time In Days for surveying a planet
- PIRATE_TARGET_DIST = 80.0 # Target system can't be further away from home system
-
LEADER_POOL_SIZE = 3 # Each leader pool will consist of this many leaders
LEADER_POOL_LEAD_TIME = 10 # Years leaders will remain in the leader pool until replaced
LEADER_HIRING_COST = 200
@@ -540,8 +549,8 @@
LEADER_ADMIRAL_FLEET_COMBAT_EXPERIENCE_SCALE = 0.5 # Scale factor used when calculating experience gain for Admiral
LEADER_ADMIRAL_FLEET_COMBAT_SHIPS_KILLED_CONVERSION = 0.25 # Scale factor for total number of ships killed after combat when calculating experience gain for Admiral
- LEADER_GENERAL_GROUND_COMBAT_BASE_EXPERIENCE = 10 # Leader General base experience from ground combat
- LEADER_GENERAL_GROUND_COMBAT_EXPERIENCE_SCALE = 0.5 # Scale factor used when calculating experience gain for General
+ LEADER_GENERAL_GROUND_COMBAT_BASE_EXPERIENCE = 100 # Leader General base experience from ground combat
+ LEADER_GENERAL_GROUND_COMBAT_EXPERIENCE_SCALE = 2.5 # Scale factor used when calculating experience gain for General
LEADER_GENERAL_GROUND_COMBAT_ARMIES_KILLED_CONVERSION = 0.25 # Scale factor for total number of armies killed after combat when calculating experience gain for General
LEADER_SCIENTIST_LEADING_RESEARCH_FIELD_EXPERIENCE = 3.5
@@ -550,7 +559,7 @@
LEADER_SCIENTIST_COMPLETED_SPECIAL_PROJECT_EXPERIENCE = 100 # Experience gained from completing a special project
LEADER_SCIENTIST_DEEP_SCAN_EXPERIENCE = 200 # Experience gained from a deep scan
LEADER_SCIENTIST_ASSIST_RESEARCH = 0.10 # Experience gained from assisting research per day
- LEADER_SCIENTIST_ASSIST_RESEARCH_MULT = 0.125 # Assist Research modifier-mult per skill level (this value times skill level equals modifier)
+ LEADER_SCIENTIST_ASSIST_RESEARCH_MULT = 0.20 # Assist Research modifier-mult per skill level (this value times skill level equals modifier)
LEADER_GOVERNOR_BUILDING_OR_TILE_CLEAR_EXPERIENCE = 0.5 # Scale-value for each completed building-construction or tile-clear multiplied with the resources spent
LEADER_GOVERNOR_EDICT_GAIN_EXPERIENCE = 0.05 # Scale-value for the exp-gain given each month an Edict is active on the planet multiplied with the resources spent
@@ -572,15 +581,18 @@
PLANETARY_BUILDING_ADD_FACTOR = 20 # Used in the calculation of the planetary building progress
ORBITAL_BUILDING_DIV_FACTOR = 6 # Used in the calculation of the orbital building progress
- WAR_EXHAUSTION_SHIP_KILLED_MULT = 2.0 # Multiplier of war exhaustion gained from ships
+ WAR_EXHAUSTION_NAVAL_CAP_ADD = 100
+ WAR_EXHAUSTION_SHIP_KILLED_MULT = 2.00 # Multiplier of war exhaustion gained from ships
WAR_EXHAUSTION_ARMY_KILLED_MULT = 0.25 # Multiplier of war exhaustion gained from land battles (armies)
- WAR_EXHAUSTION_PLANET_DESTRUCTION_DIV = 2.0 # War exhaustion from planets destroyed
- WAR_EXHAUSTION_SYSTEM_OCCUPATION_MULT = 1.0 # War exhaustion from occupied systems
- WAR_EXHAUSTION_PASSIVE_GAIN_YEARLY = 0.083 # The amount of yearly war exhaustion gained during war while under WAR_EXHAUSTION_PASSIVE_GAIN_CUTOFF
+ WAR_EXHAUSTION_PLANET_DESTRUCTION_MULT = 5.0 # War exhaustion from planets destroyed
+ WAR_EXHAUSTION_PASSIVE_GAIN_YEARLY = 0.1 # The amount of yearly war exhaustion gained during war while under WAR_EXHAUSTION_PASSIVE_GAIN_CUTOFF
+ WAR_EXHAUSTION_PASSIVE_WAR_SIZE_DIV = 0.1
WAR_EXHAUSTION_PASSIVE_GAIN_CUTOFF = 1.0 # At this amount of war exhaustion (excluding occupation) you stop getting war exhaustion passively over time
WAR_EXHAUSTION_FROM_UNITS_CUTOFF = 1.0 # At this amount of war exhaustion (excluding occupation) you stop gaining war exhaustion from lost units
- WAR_EXHAUSTION_ENFORCE_STATUS_QUO = 1.0 # One side can enforce status quo when the other side is at this level of war exhaustion
- WAR_EXHAUSTION_HIGH_ALERT = 0.75 # Show alert if war exhaustion >= this
+ WAR_EXHAUSTION_HIGH_THRESHOLD = 1.0 # Apply negative modifier and show alert if war exhaustion >= this
+
+ ENFORCE_STATUS_QUO_ENABLED = yes # Can status quo be enforced at high WE?
+ ENFORCE_STATUS_QUO_MONTHS = 24
REBELS_JOIN_DISTANCE_SQRT = 100.0 # Distance threshold if rebels are to join an already existing rebel.
REBELS_POWER_THRESHOLD = 0.5 # A Threshold that controls when rebels think they have a chance Higher = more unwilling
@@ -651,6 +663,7 @@
AUTO_DECLINE_DIPLOMACY_DAYS = 180 # Number of days after which diplomatic action will automatically be declined
FEDERATION_FLEET_SIZE = 0.2 # Federation fleet capacity is this % of all members' fleets
+ FEDERATION_MAX_FLEET_SIZE = 500
MIN_RIVAL_YEARS = 10 # Years before you can remove an empire as a rival
DEFENSIVE_PACT_INFLUENCE_COST = 1 # Per defensive pact
@@ -769,7 +782,7 @@
PLANET_COMBAT_WIDTH_BASE = 5 # Maximum number of troops that can fight at the same time
PLANET_COMBAT_WIDTH_FROM_SIZE = 0.2 # Extra combat width per tile
- GENERAL_DEATH_CHANCE = 0.1 # Chance that general dies when an army under command is destroyed (scaled to number of armies)
+ GENERAL_DEATH_CHANCE = 0.05 # Chance that general dies when an army under command is destroyed (scaled to number of armies)
MAX_OBSERVATION_STATIONS = 8 #Maximum observation stations per planet
@@ -795,18 +808,18 @@
TECH_WEIGHT_POTENTIAL_ADD = 0
TECH_RESEARCH_NO_LEADER_PENALTY = -0.25
TECH_COST_MULT_FALLEN_EMPIRE = 2 # Awakened Empires pay this much more to research techs
- TECH_COST_MULT_NUM_SYSTEMS = 0.02 # Each System adds +X% tech cost
+ TECH_COST_MULT_NUM_SYSTEMS = 0.01 # Each System adds +X% tech cost
TECH_COST_MULT_NUM_COLONIES = 0.05 # Each Planet adds +X% tech cost
TECH_COST_FREE_POPS = 10 # First X pops do not add any tech cost
TECH_COST_MULT_NUM_POPS = 0.0 # Each non-free Pop adds +X% tech cost
TECH_WEIGHT_PREVIOUS_OPTION = 0.5 # If a tech was one of the alternatives last time its weight will be multiplied with TECH_WEIGHT_PREVIOUS_OPTION
- ## tradition cost = ( base_cost + ( ( cost_tradition * num_traditions )^traditions_exponential ) + cost_pop*num_pops ) * ( 1 + cost_planet*num_planets )
- TRADITION_COST_TRADITION = 6
- TRADITION_COST_TRADITION_EXP = 1.639 # numbers like 1.656 or 1.639
+ ## tradition cost = ( base_cost + ( cost_tradition * num_traditions )^traditions_exponential ) * ( 1 + cost_planet*num_planets + cost_system*num_systems )
+ TRADITION_COST_TRADITION = 7 # change this value if you want to increase all costs
+ TRADITION_COST_TRADITION_EXP = 1.639 # change this value if you want to increase costs at the end
TRADITION_COST_MULT_TRADITION_GROUP = 0.05 # each adopted group adds +X% to total cost
TRADITION_COST_MULT_NUM_COLONIES = 0.20 # Each Planet adds +X% Tradition cost
- TRADITION_COST_MULT_NUM_SYSTEMS = 0.02 # Each System adds +X% Tradition cost
+ TRADITION_COST_MULT_NUM_SYSTEMS = 0.01 # Each System adds +X% Tradition cost
KEYBOARD_DOUBLE_CLICK_TIME = 0.5 # Seconds listening to control group double clicks.
@@ -870,11 +883,11 @@
COMMAND_LIMIT_MAX = 200 # Max value of Command Limit
COMMAND_LIMIT_BASE = 20 # Base value of Command Limit
- NAVAL_CAPACITY_MAX = 1000 # Max value of Naval Capacity
+ NAVAL_CAPACITY_MAX = 9999 # Max value of Naval Capacity
NAVAL_CAPACITY_BASE = 20 # Base value of Naval Capacity
NAVAL_CAPACITY_POP_MULT = 0.10 # Mult value of Naval Capacity for each Pop
- STARBASE_CAPACITY_MAX = 50 # Max value of Starbase Capacity
+ STARBASE_CAPACITY_MAX = 999 # Max value of Starbase Capacity
STARBASE_CAPACITY_BASE = 3 # Base value of Starbase Capacity
STARBASE_CAPACITY_SYSTEM_MULT = 0.05 # Mult value of Starbase Capacity for each owned system
STARBASE_CAPACITY_POP_MULT = 0.025 # Mult value of Starbase Capacity for each Pop
@@ -897,6 +910,8 @@
GATEWAYS_MIN_DISTANCE = 200 # Min distance between generated shortcuts and their endpoint
GALAXY_GENERATION_GATEWAYS_PERCENTAGE = 0.05 # percentage of systems that will have a shortcut at game start
SCIENCE_SHIP_BASIC_SURVEY_SPEED = 1
+
+ EDICT_MAX_RESOURCE_COST = 1000000
}
NSpecies = {
@@ -962,6 +977,8 @@
SHIP_SPEED_SCALE = 0.045 # Setting this to 1 makes the scripted speed value correspond to units/day
+ SHIP_MAX_EVASION = 0.9 # The maximum evasion value a ship is allowed to have (percent)
+
FLEET_MOVE_MAX_DIST_SHIPS = 10.0 # Max distance that ships are allowed to travel before last ship
FLEET_BASE_FORMATION_SCALE = 2.0
@@ -1068,7 +1085,7 @@
NPop = {
MAX_POPS_BASE = 10 # Max pops is base multiplied by planet size
MIN_CROWDING_TO_MIGRATE = 1 # Unless planet is this % full, pops won't migrate
- FORCE_MIGRATION_SPEED_MULT = 2
+ FORCE_MIGRATION_SPEED_MULT = 1
MIGRATION_CROWDING_EFFECT = 0.25 # How much does crowding affect where pops want to migrate
MIGRATE_CROWDING_FORCE_MOVE_EFFECT = 0.5 # How large is the crowding effect for pops that being force-moved (multiplier on above value)
MIGRATION_SAME_SPECIES_EFFECT = 1.25 # How much does the species being present on a planet affect chance of migrating there
@@ -1213,7 +1230,7 @@
CLAIM_COST_RIVAL_DISCOUNT = -0.20 # Claims are ( 1 + this ) much less expensive against rivals
TRADITION_COST_RESOURCES = { "unity" } # Resource for tradition cost
- TRADITION_COST_AMOUNTS = { 56 } # Tradition base cost
+ TRADITION_COST_AMOUNTS = { 100 } # Tradition base cost
}
NEngine = {
@@ -1223,6 +1240,8 @@
NAI = {
AI_MAX_DISTANCE = 1000 # AI considers all systems more distant than this to be equally uninteresting
+ AI_POP_MODIFICATION_DISCOUNT = 0.25 # AI pays this much (of base) for gene/robomodding projects
+
MIN_DISTANCE_TO_JUMP = 3 # Target must be at least this many systems away for AI to want to use jump drive
AI_JUMP_DRIVE_BRAVERY = 0.33 # AI will not want to jump into systems unless enemy is this much weaker than them, relatively
@@ -1274,7 +1293,7 @@
CRISIS_MILITARY_POWER_MULT_DESPERATION = 0.10 # AI willing to engage crisis factions at these odds when down to their last few worlds
BOSS_MILITARY_POWER = 40000 # The military power at which AI feels safe to engage a 'boss' creature
- FALLEN_EMPIRE_AVOID_DISTANCE = 100
+ FALLEN_EMPIRE_FLEET_SIZE = 100 # Fallen empires will have fleets of max this size
WAS_HUMAN_MONTHS = 60 # Amount of months that the AI will refrain from making large changes to the empire if it's taking over from a player
@@ -1412,12 +1431,12 @@
VASSALIZATION_ACCEPTANCE_PROTECTORATE_MAX = 20
VASSALIZATION_ACCEPTANCE_NUM_POPS = -0.25 # per pop
VASSALIZATION_ACCEPTANCE_POWER_DIFFERENCE_MIN = 1.5
- VASSALIZATION_ACCEPTANCE_POWER_DIFFERENCE_MULT = 10 # for each 1x over min
+ VASSALIZATION_ACCEPTANCE_POWER_DIFFERENCE_MULT = 15 # for each 1x over min
VASSALIZATION_ACCEPTANCE_POWER_DIFFERENCE_MAX = 100
VASSALIZATION_ACCEPTANCE_ATTITUDE_ALLIANCE = 20
- VASSALIZATION_ACCEPTANCE_ATTITUDE_COEXIST = 10
+ VASSALIZATION_ACCEPTANCE_ATTITUDE_COEXIST = 0
VASSALIZATION_ACCEPTANCE_ATTITUDE_ATTACK = -1000
- VASSALIZATION_ACCEPTANCE_OTHER_ATTITUDE = -100
+ VASSALIZATION_ACCEPTANCE_OTHER_ATTITUDE = -20
VASSALIZATION_ACCEPTANCE_OTHER_THREAT_MULT = 0.2
VASSALIZATION_ACCEPTANCE_OTHER_THREAT_MAX = 20
VASSALIZATION_ACCEPTANCE_DISTANCE_MULT = -0.5 # per 1 border distance
@@ -1450,8 +1469,8 @@
TRADE_VALUE_RESOURCE = 2 # for minerals and energy (scaled by income & need)
TRADE_VALUE_RESOURCE_MONTHLY_MULT = 0.5 # value of monthly resources is multiplied by this compared to lump-sum
TRADE_VALUE_STRATEGIC_RESOURCE = 1 # for 1 strategic resource (per year)
- TRADE_VALUE_STRATEGIC_RESOURCE_POP = 0.01 # Extra strategic resource value per pop
- TRADE_VALUE_STRATEGIC_RESOURCE_MAX_POPS = 400 # Over this, additional pops do not count
+ TRADE_VALUE_STRATEGIC_RESOURCE_POP = 0.002 # Extra strategic resource value per pop
+ TRADE_VALUE_STRATEGIC_RESOURCE_MAX_POPS = 500 # Over this, additional pops do not count
TRADE_VALUE_SYSTEM = 5
TRADE_VALUE_COLONY = 0.2 # Per pop
TRADE_VALUE_SENSOR_CHARTS = 2 # Per new comms
@@ -1605,9 +1624,11 @@
PEACE_WAR_EXHAUSTION_FACTOR = 100
PEACE_OCCUPATION_FACTOR = 100
PEACE_STATUS_QUO_FACTOR = -75
+ PEACE_HIGH_WE_STATUS_QUO_FACTOR = 100
PEACE_DEMAND_SURRENDER_FACTOR = -100
- PEACE_DEFENDING_CLAIM_FACTOR = -10
- PEACE_DEFENDING_IMPORTANT_CLAIM_FACTOR = -100 # For systems with starbases or planets
+ PEACE_DEFENDING_CLAIM_SYSTEM_FACTOR = -10 # For every system
+ PEACE_DEFENDING_CLAIM_STARBASE_FACTOR = -40 # For systems with upgraded starbases
+ PEACE_DEFENDING_CLAIM_PLANET_FACTOR = -100 # For systems with colonies
PEACE_RELATIVE_NAVY_STRENGTH_FACTOR = 50
TECH_NEED_MULT_VALUE = 10 # Tech need value will multiplied by this value e.g. when certain diplomacy techs are needed
@@ -1626,9 +1647,9 @@
THREAT_TRUCE_MONTHS = 12 # AI will not consider the opponent a threat if this many months are left on a truce
FLEET_BALANCE_THREAT = 0.5 # If FleetPower of AI / FleetPower of Enemy is lower than this AI will consider the country a threat
ENERGY_MONTHS_FACTOR_WAR = 12 # Energy are supposed to last this many months when used to buy new ships in war
- ENEMY_FLEET_POWER_MULT = 1.2 # AI will need the the fleet power of the enemy multiplied by this value to become offensive in an offensive war
- ENEMY_ARMY_POWER_MULT = 1.0 # AI will need the the military power of the enemy multiplied by this value to land armies on planet
- ENEMY_NEUTRALS_FLEET_POWER_MULT = 2 # AI will need the the fleet power of the enemy multiplied by this value to attack neutrals and space hostiles
+ ENEMY_FLEET_POWER_MULT = 1.2 # AI will need the fleet power of the enemy multiplied by this value to become offensive in an offensive war
+ ENEMY_ARMY_POWER_MULT = 1.0 # AI will need the military power of the enemy multiplied by this value to land armies on planet
+ ENEMY_NEUTRALS_FLEET_POWER_MULT = 2 # AI will need the fleet power of the enemy multiplied by this value to attack neutrals and space hostiles
ENEMY_FLEET_POWER_HOME_SYSTEM_MULT = 1.0 # AI will need the fleet power of the enemy multiplied by this value to attack hostiles in own systems
PRIO_BASE_FRACTION = 0.80 # Prio base fraction for example if prio is assault arsenal fraction will be set to this value
@@ -1692,6 +1713,7 @@
MAX_EXPANSION_DISTANCE = 1 # Max number of jumps away AI will build starbases
MAX_EXPANSION_DISTANCE_SUBJECT = 1 # Max number of jumps away AI subjects will build starbases
EXPANSION_OWN_PRIORITY = 1000 # Priority on rebuilding destroyed starbases in colonized systems
+ EXPANSION_CUT_OFF_SYSTEM_PRIORITY = 10 # Priority on systems cut-off inside own territory
EXPANSION_BORDERING_PRIORITY = 100 # How much will AI prioritize bordering systems when building starbases
EXPANSION_RESOURCE_PRIORITY = 2 # How much will AI prioritize resource-rich systems when building starbases
EXPANSION_COLONY_PRIORITY = 10 # How much will AI prioritize systems with colonizeable worlds when building starbases
@@ -1710,4 +1732,15 @@
NO_WARS_FLAG = "ai_no_wars"
NO_LEAVE_FED_FLAG = "ai_no_leave_fed"
+
+ EMPIRE_RICH_FACTOR = 0.75 # Empire will consider draining a rich sector unless it is above this % of max
+ SECTOR_RICH_FACTOR = 0.5 # Empire considers a sector rich if this % of max
+
+ EMPIRE_POOR_FACTOR = 0.2 # Empire will consider draining any non poor sector if below this
+ SECTOR_POOR_FACTOR = 0.2 # Empire considers sector poor if below this % of max
+
+ SURRENDER_ACCEPTANCE_HIGHEST = 1 # Display "ready to surrender" in war summary badge
+ SURRENDER_ACCEPTANCE_HIGH = -20 # Display "approaching surrender" in war summary badge
+ SURRENDER_ACCEPTANCE_LOW = -60 # Display "unlikely to surrender" in war summary badge
+ SURRENDER_ACCEPTANCE_LOWEST = -100 # Display "for sure not surrender" in war summary badge
}
diff --git a/2.0.0/common/deposits/00_deposits.txt b/2.0.2/common/deposits/00_deposits.txt
index f928142..866b9e1 100755
--- a/2.0.0/common/deposits/00_deposits.txt
+++ b/2.0.2/common/deposits/00_deposits.txt
@@ -127,6 +127,8 @@ d_rich_mineral_deposit = {
OR = {
is_planet_class = pc_barren
is_planet_class = pc_barren_cold
+ is_planet_class = pc_broken
+ is_planet_class = pc_shattered
}
}
}
@@ -193,6 +195,15 @@ d_vast_mineral_deposit = {
is_asteroid = yes
}
}
+ modifier = {
+ weight = 2
+ planet = {
+ OR = {
+ is_planet_class = pc_broken
+ is_planet_class = pc_shattered
+ }
+ }
+ }
modifier = {
factor = 0.5
planet = {
@@ -257,6 +268,15 @@ d_immense_mineral_deposit = {
is_asteroid = yes
}
}
+ modifier = {
+ weight = 1
+ planet = {
+ OR = {
+ is_planet_class = pc_broken
+ is_planet_class = pc_shattered
+ }
+ }
+ }
modifier = {
factor = 0.5
planet = {
@@ -553,7 +573,7 @@ d_rich_energy_deposit = {
}
}
modifier = {
- weight = 100
+ weight = 50
planet = {
OR = {
is_planet_class = pc_a_star
@@ -620,13 +640,7 @@ d_vast_energy_deposit = {
}
}
modifier = {
- weight = 10
- planet = {
- is_planet_class = pc_gas_giant
- }
- }
- modifier = {
- weight = 30
+ weight = 60
planet = {
OR = {
is_planet_class = pc_a_star
@@ -635,7 +649,7 @@ d_vast_energy_deposit = {
}
}
modifier = {
- weight = 20
+ weight = 40
planet = {
OR = {
is_planet_class = pc_f_star
@@ -644,7 +658,7 @@ d_vast_energy_deposit = {
}
}
modifier = {
- weight = 10
+ weight = 20
planet = {
OR = {
is_planet_class = pc_k_star
@@ -720,7 +734,7 @@ d_immense_energy_deposit = {
}
}
modifier = {
- weight = 12
+ weight = 30
planet = {
OR = {
is_planet_class = pc_a_star
@@ -729,7 +743,7 @@ d_immense_energy_deposit = {
}
}
modifier = {
- weight = 6
+ weight = 20
planet = {
OR = {
is_planet_class = pc_f_star
@@ -738,7 +752,7 @@ d_immense_energy_deposit = {
}
}
modifier = {
- weight = 3
+ weight = 10
planet = {
OR = {
is_planet_class = pc_k_star
@@ -1838,6 +1852,27 @@ d_enormous3_mineral_deposit = {
drop_weight = { weight = 0 }
}
+d_enormous1_energy_deposit = {
+ resources = { energy = 6 }
+ station = shipclass_mining_station
+ orbital_weight = { weight = 0 }
+ drop_weight = { weight = 0 }
+}
+
+d_enormous2_energy_deposit = {
+ resources = { energy = 8 }
+ station = shipclass_mining_station
+ orbital_weight = { weight = 0 }
+ drop_weight = { weight = 0 }
+}
+
+d_enormous3_energy_deposit = {
+ resources = { energy = 10 }
+ station = shipclass_mining_station
+ orbital_weight = { weight = 0 }
+ drop_weight = { weight = 0 }
+}
+
d_worm_deposit = {
resources = { society_research = 20 }
station = shipclass_research_station
diff --git a/2.0.0/common/diplo_phrases/00_diplo_phrases.txt b/2.0.2/common/diplo_phrases/00_diplo_phrases.txt
index 5ceb5da..76c30b3 100755
--- a/2.0.0/common/diplo_phrases/00_diplo_phrases.txt
+++ b/2.0.2/common/diplo_phrases/00_diplo_phrases.txt
@@ -5521,7 +5521,7 @@ greetings = {
}
trigger = {
has_ai_personality = slaving_despots
- FROM = { allows_slavery = no }
+ FROM = { allows_slavery = yes }
NOT = { is_at_war_with = FROM }
is_neutral_to = FROM
}
@@ -5532,7 +5532,7 @@ greetings = {
}
trigger = {
has_ai_personality = slaving_despots
- FROM = { allows_slavery = yes }
+ FROM = { allows_slavery = no }
NOT = { is_at_war_with = FROM }
is_neutral_to = FROM
}
diff --git a/2.0.0/common/diplomatic_actions/00_actions.txt b/2.0.2/common/diplomatic_actions/00_actions.txt
index acc8b6a..a1f08c2 100755
--- a/2.0.0/common/diplomatic_actions/00_actions.txt
+++ b/2.0.2/common/diplomatic_actions/00_actions.txt
@@ -8,6 +8,7 @@
# requires_actor_federation_leader, boolean, false by default, if the actor is in a federation, he has to be the leader of it.
# requires_recipient_federation_leader, boolean, true by default, if the recipient is in a federation, he has to be the leader of it.
# show_decline_to_alliance_members, boolean, false by default, will show your alliance members when you decline a proposal of this type.
+# should_show_accept_message, decides whether actor gets a response on acceptance (otherwise just on decline)
# should_show_auto_accept_message_recipient, boolean, decides if the recipient gets a message showing the diplomatic action.
# should_open_auto_accept_message_recipient, boolean, decides if the recipient automatically opens this message.
# should_show_auto_accept_message_actor, boolean, decides if the actor gets a reply showing the diplomatic action.
@@ -39,6 +40,7 @@ action_offer_peace = {
requires_actor_independence = no
requires_recipient_independence = no
should_notify_all_communications = yes
+ should_show_accept_message = no
}
# Dummy action for opening the war overview from the diplomacy view
@@ -1133,7 +1135,7 @@ action_demand_vassalization = {
}
custom_tooltip = {
fail_text = requires_domination_adopted
- has_non_swapped_tradition = tr_domination_adopt
+ has_subjugation_req = yes
}
}
@@ -1301,9 +1303,13 @@ action_demand_tributary = {
}
}
}
+ custom_tooltip = {
+ fail_text = "requires_actor_not_inward_perfection"
+ NOT = { has_valid_civic = civic_inwards_perfection }
+ }
custom_tooltip = {
fail_text = requires_domination_adopted
- has_non_swapped_tradition = tr_domination_adopt
+ has_subjugation_req = yes
}
}
diff --git a/2.0.0/common/edicts/00_campaigns.txt b/2.0.2/common/edicts/00_campaigns.txt
index b9cb93a..cf649b9 100755
--- a/2.0.0/common/edicts/00_campaigns.txt
+++ b/2.0.2/common/edicts/00_campaigns.txt
@@ -135,10 +135,12 @@ country_edict = {
# Hive Mind
#################
+@hiveFood = 500
+
country_edict = {
name = "drone_campaign"
length = @campaignDuration
- cost = { food = 100 }
+ cost = { food = @hiveFood }
modifier = {
pop_growth_speed = 0.20
@@ -157,7 +159,7 @@ country_edict = {
country_edict = {
name = "learning_campaign"
length = @campaignDuration
- cost = { food = 50 }
+ cost = { food = @hiveFood }
modifier = {
species_leader_exp_gain = 0.25
@@ -176,7 +178,7 @@ country_edict = {
country_edict = {
name = "war_drone_campaign"
length = @campaignDuration
- cost = { food = 50 }
+ cost = { food = @hiveFood }
modifier = {
army_damage_mult = 0.15
diff --git a/2.0.0/common/edicts/03_planetary_edicts.txt b/2.0.2/common/edicts/03_planetary_edicts.txt
index 860b8cd..b91a8d7 100755
--- a/2.0.0/common/edicts/03_planetary_edicts.txt
+++ b/2.0.2/common/edicts/03_planetary_edicts.txt
@@ -129,7 +129,7 @@ planet_edict = {
potential = {
owner = {
- has_authority = auth_machine_intelligence
+ has_ethic = ethic_gestalt_consciousness
}
has_orbital_bombardment = no
}
diff --git a/2.0.0/common/ethics/00_ethics.txt b/2.0.2/common/ethics/00_ethics.txt
index 839ec1a..9eed488 100755
--- a/2.0.0/common/ethics/00_ethics.txt
+++ b/2.0.2/common/ethics/00_ethics.txt
@@ -97,6 +97,7 @@ ethic_authoritarian = {
}
}
}
+
pop_attraction_tag = {
desc = POP_ATTRACTION_CONSUMER_GOODS_NEG
trigger = {
@@ -221,10 +222,6 @@ ethic_authoritarian = {
factor = 0
has_trait = trait_hive_mind
}
- modifier = {
- factor = 0.25
- is_enslaved = yes
- }
modifier = {
factor = 1.25
has_trait = "trait_decadent"
@@ -285,7 +282,7 @@ ethic_fanatic_egalitarian = {
}
country_modifier = {
- faction_influence_mult = 0.3
+ faction_influence_mult = 0.5
pop_consumer_goods_mult = -0.2
}
@@ -310,7 +307,7 @@ ethic_egalitarian = {
}
country_modifier = {
- faction_influence_mult = 0.15
+ faction_influence_mult = 0.25
pop_consumer_goods_mult = -0.1
}
@@ -542,10 +539,6 @@ ethic_egalitarian = {
has_citizenship_type = { type = citizenship_caste_system }
}
}
- modifier = {
- factor = 4.0
- is_enslaved = yes
- }
modifier = {
factor = 1.5
is_enslaved = no
@@ -1308,7 +1301,7 @@ ethic_fanatic_militarist = {
}
country_modifier = {
- army_damage_mult = 0.20
+ country_war_exhaustion_mult = -0.2
ship_fire_rate_mult = 0.20
}
@@ -1330,7 +1323,7 @@ ethic_militarist = {
}
country_modifier = {
- army_damage_mult = 0.10
+ country_war_exhaustion_mult = -0.1
ship_fire_rate_mult = 0.10
}
@@ -2483,6 +2476,8 @@ ethic_gestalt_consciousness = {
use_for_pops = no
country_modifier = {
+ country_war_exhaustion_mult = -0.2
+ country_piracy_risk_mult = -0.33
country_resource_influence_add = 1
country_core_sector_system_cap = 2
}
diff --git a/2.0.0/common/game_rules/00_rules.txt b/2.0.2/common/game_rules/00_rules.txt
index 2749192..4a9cf43 100755
--- a/2.0.0/common/game_rules/00_rules.txt
+++ b/2.0.2/common/game_rules/00_rules.txt
@@ -64,6 +64,10 @@ can_add_claim = {
fail_text = CANNOT_ADD_CLAIM_DEVOURING_SWARM
NOT = { root = { has_valid_civic = civic_hive_devouring_swarm } }
}
+ custom_tooltip = {
+ fail_text = CANNOT_ADD_CLAIM_ASSIMILATOR
+ NOT = { root = { has_valid_civic = civic_machine_assimilator } }
+ }
custom_tooltip = {
fail_text = CANNOT_ADD_CLAIM_PURIFIERS
NAND = {
@@ -86,25 +90,6 @@ can_add_claim = {
}
}
}
- custom_tooltip = {
- fail_text = CANNOT_ADD_CLAIM_THEY_COLOSSUS
- NAND = {
- exists = owner
- NOT = { root = { has_ascension_perk = ap_colossus } }
- owner = { has_ascension_perk = ap_colossus }
- root = { is_rival = prev.owner }
- }
- }
- custom_tooltip = {
- fail_text = CANNOT_ADD_CLAIM_COLOSSUS
- OR = {
- AND = {
- exists = owner
- NOT = { root = { is_rival = prev.owner } }
- }
- NOT = { root = { has_ascension_perk = ap_colossus } }
- }
- }
custom_tooltip = {
fail_text = CANNOT_ADD_CLAIM_THEY_THREAT
NAND = {
@@ -114,6 +99,7 @@ can_add_claim = {
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_machine_terminator
+ has_valid_civic = civic_machine_assimilator
}
}
root = {
@@ -121,12 +107,59 @@ can_add_claim = {
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_machine_terminator
+ has_valid_civic = civic_machine_assimilator
}
}
}
}
}
+# Root = taker country
+# This = giver country
+can_get_claim_from_lost_system = {
+ custom_tooltip = {
+ fail_text = CANNOT_ADD_CLAIM_NOT_VALID_EMPIRE
+ OR = {
+ is_country_type = default
+ is_country_type = fallen_empire
+ is_country_type = awakened_fallen_empire
+ }
+ root = {
+ OR = {
+ is_country_type = default
+ is_country_type = fallen_empire
+ is_country_type = awakened_fallen_empire
+ }
+ }
+ }
+ custom_tooltip = {
+ fail_text = CANNOT_ADD_CLAIM_DEVOURING_SWARM
+ NOT = { has_valid_civic = civic_hive_devouring_swarm }
+ }
+ custom_tooltip = {
+ fail_text = CANNOT_ADD_CLAIM_ASSIMILATOR
+ NOT = { has_valid_civic = civic_machine_assimilator }
+ }
+ custom_tooltip = {
+ fail_text = CANNOT_ADD_CLAIM_PURIFIERS
+ NAND = {
+ has_valid_civic = civic_fanatic_purifiers
+ NOT = { is_same_species = root }
+ }
+ }
+ custom_tooltip = {
+ fail_text = CANNOT_ADD_CLAIM_EXTERMINATOR
+ NAND = {
+ has_valid_civic = civic_machine_terminator
+ NOR = {
+ is_same_species = root
+ has_country_flag = synthetic_empire
+ has_authority = auth_machine_intelligence
+ }
+ }
+ }
+}
+
#Root = country
#This = species
species_has_citizenship = {
@@ -331,7 +364,7 @@ can_release_vassal = {
}
custom_tooltip = {
fail_text = requires_domination_adopted
- has_tradition = tr_domination_adopt
+ has_subjugation_req = yes
}
custom_tooltip = {
fail_text = CANNOT_RELEASE_CULTURE_SHOCK
@@ -766,6 +799,7 @@ can_orbital_bombard = {
is_country_type = ai_empire
is_country_type = cybrex_empire
is_country_type = dormant_marauders
+ is_country_type = marauder_raiders
is_country_type = ruined_marauders
is_country_type = awakened_marauders
}
@@ -925,6 +959,7 @@ can_purge_pop_manually = {
}
custom_tooltip = {
fail_text = "ACTION_CANNOT_PURGE_CITIZEN"
+ exists = owner
OR = {
is_robot_pop = yes
is_sapient = no
@@ -935,6 +970,7 @@ can_purge_pop_manually = {
}
custom_tooltip = {
fail_text = "ACTION_CANNOT_PURGE_POLICY"
+ exists = owner
OR = {
is_robot_pop = yes
AND = {
@@ -947,6 +983,7 @@ can_purge_pop_manually = {
}
custom_tooltip = {
fail_text = "ACTION_DISASSEMBLE_SYNTHETICS"
+ exists = owner
OR = {
is_robot_pop = no
owner = { has_authority = auth_hive_mind }
@@ -995,6 +1032,7 @@ is_owned_pop = {
fleet_uses_templates = {
is_ship_class = shipclass_military
is_designable = yes
+ is_alliance_fleet = no
}
# this = starbase
@@ -1012,13 +1050,27 @@ can_spawn_debris = {
# this = system
# root = country
-# Determines if Marauder Horde should restrict (and thus avoid) a system
-horde_should_restrict_system = {
+# Determines if AI-controlled empires should restrict (and thus avoid) a system
+# Used by regular empires, fallen empires & crises
+ai_should_restrict_system = {
OR = {
AND = {
+ root = { is_country_type = fallen_empire }
+ exists = owner
+ owner = { is_country_type = awakened_marauders }
+ }
+ AND = {
+ root = { is_country_type = awakened_marauders }
exists = owner
owner = { is_country_type = fallen_empire }
}
+ AND = {
+ root = {
+ OR = {
+ is_country_type = fallen_empire
+ is_country_type = awakened_marauders
+ }
+ }
any_ship_in_system = {
exists = owner
owner = {
@@ -1034,10 +1086,11 @@ horde_should_restrict_system = {
}
}
}
+}
# this = country
can_subjugate_empires = {
- has_tradition = tr_domination_adopt
+ has_subjugation_req = yes
}
# THIS = Fleet
@@ -1048,3 +1101,22 @@ can_jump_drive = {
}
}
}
+
+# this = country
+can_have_piracy_risk = {
+ has_country_flag = birth_of_piracy
+ NOT = { has_country_flag = had_pirates_spawn }
+ OR = {
+ has_isolated_system = yes
+ has_bordering_system = yes
+ }
+}
+
+# this = country
+can_spawn_occupation_armies = {
+ OR = {
+ is_country_type = default
+ is_country_type = fallen_empire
+ is_country_type = awakened_fallen_empirefallen_empire
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/global_ship_designs/event_ship_designs_anomalies.txt b/2.0.2/common/global_ship_designs/event_ship_designs_anomalies.txt
index 4924c15..2c51c9f 100755
--- a/2.0.0/common/global_ship_designs/event_ship_designs_anomalies.txt
+++ b/2.0.2/common/global_ship_designs/event_ship_designs_anomalies.txt
@@ -96,6 +96,7 @@ ship_design = {
slot = "mid"
}
+ required_component = "HYPER_DRIVE_3"
required_component = "SHIP_THRUSTER_3"
required_component = "SENSOR_3"
required_component = "CORVETTE_ANTIMATTER_REACTOR"
@@ -214,9 +215,17 @@ ship_design = {
slot = "MEDIUM_GUN_02"
template = "MEDIUM_GAMMA_LASER"
}
+ component = {
+ slot = "MEDIUM_GUN_03"
+ template = "MEDIUM_GAMMA_LASER"
+ }
component = {
slot = "LARGE_GUN_01"
- template = "LARGE_GAMMA_LASER"
+ template = "ENERGY_TORPEDO_2"
+ }
+ component = {
+ slot = "LARGE_GUN_02"
+ template = "ENERGY_TORPEDO_2"
}
component = {
slot = "MEDIUM_UTILITY_1"
@@ -236,13 +245,24 @@ ship_design = {
}
component = {
slot = "MEDIUM_UTILITY_5"
- template = "MEDIUM_ARMOR_4"
+ template = "MEDIUM_SHIELD_4"
}
component = {
slot = "MEDIUM_UTILITY_6"
+ template = "MEDIUM_SHIELD_4"
+ }
+ component = {
+ slot = "MEDIUM_UTILITY_7"
template = "MEDIUM_ARMOR_4"
}
-
+ component = {
+ slot = "MEDIUM_UTILITY_8"
+ template = "MEDIUM_ARMOR_4"
+ }
+ component = {
+ slot = "AUX_UTILITY_1"
+ template = "SHIELD_BOOSTER"
+ }
}
required_component = "HYPER_DRIVE_3"
required_component = "COMBAT_COMPUTER_LINE_ADVANCED"
diff --git a/2.0.0/common/global_ship_designs/fallen_empire_ship_designs.txt b/2.0.2/common/global_ship_designs/fallen_empire_ship_designs.txt
index a05acac..3110500 100755
--- a/2.0.0/common/global_ship_designs/fallen_empire_ship_designs.txt
+++ b/2.0.2/common/global_ship_designs/fallen_empire_ship_designs.txt
@@ -42,7 +42,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COLOSSUS_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="COLOSSUS_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -222,7 +222,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_ARTILLERY_SAPIENT"
required_component="TITAN_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="TITAN_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -318,7 +318,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_LINE_SAPIENT"
required_component="BATTLESHIP_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -402,7 +402,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_PICKET_SAPIENT"
required_component="DESTROYER_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -513,7 +513,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -545,7 +545,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -598,7 +598,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COLOSSUS_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="COLOSSUS_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -778,7 +778,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_ARTILLERY_SAPIENT"
required_component="TITAN_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="TITAN_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -874,7 +874,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_LINE_SAPIENT"
required_component="BATTLESHIP_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -958,7 +958,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_PICKET_SAPIENT"
required_component="DESTROYER_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -1073,7 +1073,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -1105,7 +1105,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -1158,7 +1158,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COLOSSUS_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="COLOSSUS_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -1339,9 +1339,9 @@ ship_design = {
required_component="PSI_JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_ARTILLERY_PRECOG"
required_component="TITAN_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="TITAN_SHIP_THRUSTER_5"
- # For special buildable
+ # For special buildable¨
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_spiritualist
}
@@ -1444,7 +1444,7 @@ ship_design = {
required_component="PSI_JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_LINE_PRECOG"
required_component="BATTLESHIP_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -1528,7 +1528,7 @@ ship_design = {
required_component="PSI_JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_PICKET_PRECOG"
required_component="DESTROYER_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -1643,7 +1643,7 @@ ship_design = {
}
}
required_component="PSI_JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -1675,7 +1675,7 @@ ship_design = {
}
}
required_component="PSI_JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -1729,7 +1729,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COLOSSUS_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="COLOSSUS_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -1909,7 +1909,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_ARTILLERY_ADVANCED"
required_component="TITAN_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="TITAN_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -2007,7 +2007,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_LINE_ADVANCED"
required_component="BATTLESHIP_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -2090,7 +2090,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_PICKET_ADVANCED"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -2205,7 +2205,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -2237,7 +2237,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -2290,7 +2290,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COLOSSUS_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="COLOSSUS_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -2470,7 +2470,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_ARTILLERY_ADVANCED"
required_component="TITAN_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="TITAN_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -2567,7 +2567,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_LINE_ADVANCED"
required_component="BATTLESHIP_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -2651,7 +2651,7 @@ ship_design = {
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_PICKET_ADVANCED"
required_component="DESTROYER_DARK_MATTER_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
@@ -2766,7 +2766,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -2797,7 +2797,7 @@ ship_design = {
}
}
required_component="JUMP_DRIVE_1"
- required_component="SHIP_THRUSTER_4"
+ required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
@@ -2898,7 +2898,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_LINE_ADVANCED"
required_component="BATTLESHIP_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_4"
}
ship_design = {
@@ -2989,7 +2989,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_LINE_ADVANCED"
required_component="BATTLESHIP_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_4"
}
ship_design = {
@@ -3081,7 +3081,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_LINE_ADVANCED"
required_component="BATTLESHIP_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_4"
}
ship_design = {
@@ -3160,7 +3160,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_PICKET_ADVANCED"
required_component="DESTROYER_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_4"
}
ship_design = {
@@ -3239,7 +3239,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_PICKET_ADVANCED"
required_component="DESTROYER_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_4"
}
ship_design = {
@@ -3318,7 +3318,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_PICKET_ADVANCED"
required_component="DESTROYER_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_4"
}
ship_design = {
@@ -3417,7 +3417,7 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_LINE_ADVANCED"
required_component="BATTLESHIP_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="BATTLESHIP_SHIP_THRUSTER_4"
}
ship_design = {
@@ -3496,5 +3496,5 @@ ship_design = {
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_PICKET_ADVANCED"
required_component="DESTROYER_ZERO_POINT_REACTOR"
- required_component="SHIP_THRUSTER_4"
+ required_component="DESTROYER_SHIP_THRUSTER_4"
}
diff --git a/2.0.0/common/governments/00_governments.txt b/2.0.2/common/governments/00_governments.txt
index 6b0a28f..dc45c7a 100755
--- a/2.0.0/common/governments/00_governments.txt
+++ b/2.0.2/common/governments/00_governments.txt
@@ -464,6 +464,8 @@ gov_martial_dictatorship = {
should_force_rename = yes
+ leader_class = admiral # Initial ruler will become this if elected out of office
+
election_candidates = {
modifier = {
add = 100
@@ -495,6 +497,8 @@ gov_war_council = {
should_force_rename = yes
+ leader_class = admiral # Initial ruler will become this if elected out of office
+
election_candidates = {
modifier = {
add = 100
@@ -526,6 +530,8 @@ gov_assembly_of_clans = {
should_force_rename = yes
+ leader_class = admiral # Initial ruler will become this if elected out of office
+
election_candidates = {
modifier = {
add = 100
@@ -557,6 +563,8 @@ gov_citizen_stratocracy = {
should_force_rename = yes
+ leader_class = admiral # Initial ruler will become this if elected out of office
+
election_candidates = {
modifier = {
add = 100
@@ -948,6 +956,8 @@ gov_technocratic_dictatorship = {
should_force_rename = yes
+ leader_class = scientist # Initial ruler will become this if elected out of office
+
election_candidates = {
modifier = {
add = 100
@@ -976,6 +986,8 @@ gov_science_directorate = {
should_force_rename = yes
+ leader_class = scientist # Initial ruler will become this if elected out of office
+
election_candidates = {
modifier = {
add = 100
@@ -1004,6 +1016,8 @@ gov_rational_consensus = {
should_force_rename = yes
+ leader_class = scientist # Initial ruler will become this if elected out of office
+
election_candidates = {
modifier = {
add = 100
diff --git a/2.0.0/common/governments/civics/00_civics.txt b/2.0.2/common/governments/civics/00_civics.txt
index 2739a2c..adb0041 100755
--- a/2.0.0/common/governments/civics/00_civics.txt
+++ b/2.0.2/common/governments/civics/00_civics.txt
@@ -138,6 +138,7 @@ civic_meritocracy = {
}
civic_citizen_service = {
+ description = "civic_tooltip_citizen_service_effects"
potential = { ethics = { NOT = { value = ethic_gestalt_consciousness } } }
possible = {
ethics = {
@@ -208,6 +209,7 @@ civic_police_state = {
random_weight = { base = 5 }
modifier = {
planet_unrest_mult = -0.25
+ country_piracy_risk_mult = -0.25
}
}
@@ -312,6 +314,7 @@ civic_distinguished_admiralty = {
random_weight = { base = 5 }
modifier = {
admiral_skill_levels = 2
+ country_leader_cap = 2
}
}
@@ -328,7 +331,7 @@ civic_free_haven = {
}
random_weight = { base = 5 }
modifier = {
- planet_migration_all_pull = 0.50
+ planet_migration_xeno_pull = 0.50
}
}
@@ -443,8 +446,8 @@ civic_nationalistic_zeal = {
}
random_weight = { base = 5 }
modifier = {
+ country_war_exhaustion_mult = -0.1
country_claim_influence_cost_mult = -0.1
- max_rivalries = 1
}
}
@@ -469,8 +472,8 @@ civic_aristocratic_elite = {
}
random_weight = { base = 5 }
modifier = {
- leader_governor_cost = -0.50
- country_leader_cap = 4
+ governor_skill_levels = 2
+ country_leader_cap = 2
}
}
@@ -545,7 +548,6 @@ civic_syncretic_evolution = {
title = civic_syncretic_evolution_secondary_species
traits = {
trait = trait_syncretic_proles
- trait = trait_strong
}
}
}
@@ -952,12 +954,13 @@ civic_hive_devouring_swarm = {
random_weight = { base = 5 }
description = "civic_tooltip_devouring_swarm_effects"
modifier = {
+ country_starbase_influence_cost_mult = -0.5
ship_hull_mult = 0.25
ship_hull_regen_add_perc = 0.5
ship_armor_regen_add_perc = 0.5
army_damage_mult = 0.40
category_biology_research_speed_mult = 0.20
- starbase_shipyard_build_cost_mult = -0.15
+ starbase_shipyard_build_cost_mult = -0.25
country_naval_cap_mult = 0.33
}
}
@@ -1013,6 +1016,7 @@ civic_machine_terminator = {
}
description = civic_tooltip_machine_terminator_effects
modifier = {
+ country_starbase_influence_cost_mult = -0.3
ship_weapon_damage = 0.25
starbase_shipyard_build_cost_mult = -0.15
country_naval_cap_mult = 0.33
diff --git a/2.0.0/common/megastructures/00_ring_world.txt b/2.0.2/common/megastructures/00_ring_world.txt
index 6904754..b55d10f 100755
--- a/2.0.0/common/megastructures/00_ring_world.txt
+++ b/2.0.2/common/megastructures/00_ring_world.txt
@@ -17,7 +17,7 @@ ring_world_1 = {
}
potential = {
- has_ascension_perk = ap_the_circle_of_life
+ has_ascension_perk = ap_galactic_wonders
}
possible = {
@@ -113,7 +113,7 @@ ring_world_2_intermediate = {
}
possible = {
- from = { has_ascension_perk = ap_the_circle_of_life }
+ from = { has_ascension_perk = ap_galactic_wonders }
}
on_build_start = {}
@@ -190,7 +190,7 @@ ring_world_3_intermediate = {
}
possible = {
- from = { has_ascension_perk = ap_the_circle_of_life }
+ from = { has_ascension_perk = ap_galactic_wonders }
}
on_build_complete = {
diff --git a/2.0.0/common/megastructures/05_gateways.txt b/2.0.2/common/megastructures/05_gateways.txt
index 944ffd8..0ddf24b 100755
--- a/2.0.0/common/megastructures/05_gateways.txt
+++ b/2.0.2/common/megastructures/05_gateways.txt
@@ -171,6 +171,11 @@ gateway_restored = {
limit = { num_active_gateways = 1 }
random_megastructure = {
limit = { is_megastructure_type = gateway_ruined }
+ solar_system = {
+ starbase = {
+ owner = { set_country_flag = did_not_repair_gateway }
+ }
+ }
upgrade_megastructure_to = gateway_restored
finish_upgrade = yes
}
diff --git a/2.0.0/common/megastructures/habitats.txt b/2.0.2/common/megastructures/habitats.txt
index 51ec9b3..70b5d45 100755
--- a/2.0.0/common/megastructures/habitats.txt
+++ b/2.0.2/common/megastructures/habitats.txt
@@ -9,7 +9,7 @@ habitat_0 = {
build_time = 1800
build_cost = {
minerals = 10000
- influence = 100
+ influence = 200
}
construction_blocks_others = no
diff --git a/2.0.0/common/name_lists/ART1.txt b/2.0.2/common/name_lists/ART1.txt
index 13f7b06..b797f4c 100755
--- a/2.0.0/common/name_lists/ART1.txt
+++ b/2.0.2/common/name_lists/ART1.txt
@@ -98,6 +98,18 @@ ART1 = {
gene_warrior_army = {
sequential_name = "%O% Gene-Commando Pod"
}
+
+ occupation_army = {
+ sequential_name = "%O% Garrison Pod"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Droid Garrison Pod"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Android Garrison Pod"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/ART2.txt b/2.0.2/common/name_lists/ART2.txt
index 674b740..42a2f05 100755
--- a/2.0.0/common/name_lists/ART2.txt
+++ b/2.0.2/common/name_lists/ART2.txt
@@ -96,6 +96,18 @@ ART2 = {
gene_warrior_army = {
sequential_name = "The Surpassing Ones %R%"
}
+
+ occupation_army = {
+ sequential_name = "%O% Endo Garrison Forces"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Mecha Garrison Group"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Constructor Garrison Group"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/ART3.txt b/2.0.2/common/name_lists/ART3.txt
index a93fca7..80f3151 100755
--- a/2.0.0/common/name_lists/ART3.txt
+++ b/2.0.2/common/name_lists/ART3.txt
@@ -96,6 +96,18 @@ ART3 = {
gene_warrior_army = {
sequential_name = "%O% Brutes"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Cast"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Robo-Ticks"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Construct Occupation Cast"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/ART4.txt b/2.0.2/common/name_lists/ART4.txt
index c4093f6..9c66c6d 100755
--- a/2.0.0/common/name_lists/ART4.txt
+++ b/2.0.2/common/name_lists/ART4.txt
@@ -98,6 +98,18 @@ ART4 = {
gene_warrior_army = {
sequential_name = "%O% Gene-Commando Pod"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Pod"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Droid Pod"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Android Pod"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/AVI1.txt b/2.0.2/common/name_lists/AVI1.txt
index 67c88c6..bddcc90 100755
--- a/2.0.0/common/name_lists/AVI1.txt
+++ b/2.0.2/common/name_lists/AVI1.txt
@@ -102,6 +102,18 @@ AVI1 = {
gene_warrior_army = {
sequential_name = "%O% Death Commando"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Wing"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Machines"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Sentinels"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/AVI2.txt b/2.0.2/common/name_lists/AVI2.txt
index 326eaa0..f5fe6af 100755
--- a/2.0.0/common/name_lists/AVI2.txt
+++ b/2.0.2/common/name_lists/AVI2.txt
@@ -103,6 +103,18 @@ AVI2 = {
gene_warrior_army = {
sequential_name = "%O% Ascension Wing"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Wing"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Droid Occupation Force"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Nano Occupation Force"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/AVI3.txt b/2.0.2/common/name_lists/AVI3.txt
index 40be300..2f12764 100755
--- a/2.0.0/common/name_lists/AVI3.txt
+++ b/2.0.2/common/name_lists/AVI3.txt
@@ -115,6 +115,18 @@ AVI3 = {
gene_warrior_army = {
sequential_name = "%O% Mutation Flock"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Flock"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "Droid Occupation Forces %R%"
+ }
+
+ android_occupation_army = {
+ sequential_name = "Android Occupation Forces %R%"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/AVI4.txt b/2.0.2/common/name_lists/AVI4.txt
index 10d6cb5..3d57a94 100755
--- a/2.0.0/common/name_lists/AVI4.txt
+++ b/2.0.2/common/name_lists/AVI4.txt
@@ -104,6 +104,18 @@ AVI4 = {
gene_warrior_army = {
sequential_name = "%O% Perfected Infantry"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Broodwatchers"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Mechanized Occupiers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Android Occupiers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/FUN1.txt b/2.0.2/common/name_lists/FUN1.txt
index 22519d8..868a689 100755
--- a/2.0.0/common/name_lists/FUN1.txt
+++ b/2.0.2/common/name_lists/FUN1.txt
@@ -97,6 +97,18 @@ FUN1 = {
gene_warrior_army = {
sequential_name = "%O% Shock Infantry"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Contingent"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Mechanized Watchers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Centurion Watchers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/FUN2.txt b/2.0.2/common/name_lists/FUN2.txt
index 13316d4..4bf5222 100755
--- a/2.0.0/common/name_lists/FUN2.txt
+++ b/2.0.2/common/name_lists/FUN2.txt
@@ -96,6 +96,18 @@ FUN2 = {
gene_warrior_army = {
sequential_name = "%O% Slime Molds"
}
+
+ occupation_army = {
+ sequential_name = "%O% Garrison Agarics"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Robotic Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Synthetic Garrison"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/FUN3.txt b/2.0.2/common/name_lists/FUN3.txt
index eec313b..b19e3eb 100755
--- a/2.0.0/common/name_lists/FUN3.txt
+++ b/2.0.2/common/name_lists/FUN3.txt
@@ -95,6 +95,18 @@ FUN3 = {
gene_warrior_army = {
sequential_name = "%O% Death Caps"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Patrol"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Robo Patrol"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Fungitech Patrol"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/FUN4.txt b/2.0.2/common/name_lists/FUN4.txt
index 56b8262..1abd0dd 100755
--- a/2.0.0/common/name_lists/FUN4.txt
+++ b/2.0.2/common/name_lists/FUN4.txt
@@ -97,6 +97,18 @@ FUN4 = {
gene_warrior_army = {
sequential_name = "%O% Biomorph Force"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Force"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Mechanized Occupiers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Synthetic Occupiers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/HIVE_SC.txt b/2.0.0/common/name_lists/HIVE_SC.txt
deleted file mode 100755
index b8f5b5d..0000000
--- a/2.0.0/common/name_lists/HIVE_SC.txt
+++ /dev/null
@@ -1,256 +0,0 @@
-### Hive Mind
-### Created by Miranda van den Brink
-### Based on a template by Henrik Eklund
-
-HIVE = {
-
- language = "l_simp_chinese"
-
- randomized = no
- should_name_home_system_planets = no
-
- ship_names = {
- generic = {
- "蜂巢船"
- }
-
- corvette = {
- "作战船只"
- }
-
- destroyer = {
- "作战船只"
- }
-
- cruiser = {
- "作战船只"
- }
-
- battleship = {
- "作战船只"
- }
-
- titan = {
- "作战船只"
- }
-
- colossus = {
- "作战船只"
- }
-
- science = {
- "寻求船"
- }
-
- colonizer = {
- "筑巢者"
- }
-
- constructor = {
- "建造船"
- }
-
- military_station_small = {
- "阿尔法式" "贝塔式" "伽玛式" "德耳塔式" "艾普西隆式" "泽塔式" "伊塔式" "西塔式" "约塔式" "卡帕式" "拉姆达式" "谬式" "纽式" "克西式" "奥米克戎式" "派式" "柔式" "西格马式" "陶式" "宇普西龙式" "斐式" "希式" "普西式" "奥米伽式"
- }
-
- ion_cannon = {
- "阿尔法式" "贝塔式" "伽玛式" "德耳塔式" "艾普西隆式" "泽塔式" "伊塔式" "西塔式" "约塔式" "卡帕式" "拉姆达式" "谬式" "纽式" "克西式" "奥米克戎式" "派式" "柔式" "西格马式" "陶式" "宇普西龙式" "斐式" "希式" "普西式" "奥米伽式"
- }
-
- transport = {
- "航母船"
- }
- }
-
- ship_class_names = {
- generic = {
- "阿尔法式" "贝塔式" "伽玛式" "德耳塔式" "艾普西隆式" "泽塔式" "伊塔式" "西塔式" "约塔式" "卡帕式" "拉姆达式" "谬式" "纽式" "克西式" "奥米克戎式" "派式" "柔式" "西格马式" "陶式" "宇普西龙式" "斐式" "希式" "普西式" "奥米伽式"
- }
- }
-
- fleet_names = {
- random_names = {
- }
- sequential_name = "%O% 战斗虫群"
- }
-
- ### ARMIES
- army_names = {
- defense_army = {
- sequential_name = "%O% 蜂巢防御者"
- }
-
- assault_army = {
- sequential_name = "%O% 攻击者"
- }
-
- slave_army = {
- sequential_name = "%O% 劳力战士无人机"
- }
-
- clone_army = {
- sequential_name = "%O% 克隆战士无人机"
- }
-
- robotic_army = {
- sequential_name = "%O% 机器人战士无人机"
- }
-
- robotic_defense_army = {
- sequential_name = "%O% 机器人防御无人机"
- }
-
- android_army = {
- sequential_name = "%O% 智能人战士无人机"
- }
-
- android_defense_army = {
- sequential_name = "%O% 智能人防御无人机"
- }
-
- psionic_army = {
- sequential_name = "%O% 普西战士无人机"
- }
-
- xenomorph_army = {
- sequential_name = "%O% 变体战士无人机"
- }
-
- gene_warrior_army = {
- sequential_name = "%O% 强化战士无人机"
- }
- }
-
- ### PLANETS
-
- planet_names = {
-
- generic = {
- names = {
- "阿尔法单元" "虫群单元阿尔法" "子成员单元" "筑巢舱" "子成员巢" "外向延伸" "外部子成员舱" "扩展节点" "标准节点" "子成员节点" "扩张单元" "生产舱" "高等天顶" "扩张节点" "发展舱" "进步单元" "生产节点" "组装单元" "守卫接合点" "超前天顶" "前进接合点" "组装节点" "巢穴移民地" "阿尔法移民地" "贝塔移民地" "伽玛移民地" "德耳塔移民地" "艾普西隆移民地" "泽塔移民地" "伊塔移民地" "西塔移民地" "Iota_Colony" "生产单元" "巢穴单元" "子成员群" "虫群移民地" "子成员移民地" "组装移民地"
- }
- }
-
- pc_desert = {
- names = {
- }
- }
-
- pc_tropical = {
- names = {
- }
- }
-
- pc_arid = {
- names = {
- }
- }
-
- pc_continental = {
- names = {
- }
- }
-
- pc_ocean = {
- names = {
- }
- }
-
- pc_tundra = {
- names = {
- }
- }
-
- pc_arctic = {
- names = {
- }
- }
-
- pc_savannah = {
- names = {
- }
- }
-
- pc_alpine = {
- names = {
- }
- }
-
- ### UNINHABITABLE PLANETS
-
- pc_gas_giant = {
- names = {
- "阿尔法" "贝塔" "伽马值" "德耳塔" "艾普西隆" "泽塔" "伊塔" "西塔" "约塔" "卡帕" "拉姆达" "谬" "纽" "克西" "奥米克戎" "派" "柔" "西格马" "陶" "宇普西龙" "斐" "希" "普西" "奥米伽" "球体 I" "球体 II" "球体 III" "球体 IV" "球体 V" "球体 VI" "球体 VII" "球体 VIII" "球体 IX" "球体 X"
- }
- }
-
- pc_barren = {
- names = {
- "阿尔法" "贝塔" "伽马值" "德耳塔" "艾普西隆" "泽塔" "伊塔" "西塔" "约塔" "卡帕" "拉姆达" "谬" "纽" "克西" "奥米克戎" "派" "柔" "西格马" "陶" "宇普西龙" "斐" "希" "普西" "奥米伽" "球体 I" "球体 II" "球体 III" "球体 IV" "球体 V" "球体 VI" "球体 VII" "球体 VIII" "球体 IX" "球体 X"
- }
- }
-
- pc_molten = {
- names = {
- "阿尔法" "贝塔" "伽马值" "德耳塔" "艾普西隆" "泽塔" "伊塔" "西塔" "约塔" "卡帕" "拉姆达" "谬" "纽" "克西" "奥米克戎" "派" "柔" "西格马" "陶" "宇普西龙" "斐" "希" "普西" "奥米伽" "球体 I" "球体 II" "球体 III" "球体 IV" "球体 V" "球体 VI" "球体 VII" "球体 VIII" "球体 IX" "球体 X"
- }
- }
-
- pc_barren_cold = {
- names = {
- "阿尔法" "贝塔" "伽马值" "德耳塔" "艾普西隆" "泽塔" "伊塔" "西塔" "约塔" "卡帕" "拉姆达" "谬" "纽" "克西" "奥米克戎" "派" "柔" "西格马" "陶" "宇普西龙" "斐" "希" "普西" "奥米伽" "球体 I" "球体 II" "球体 III" "球体 IV" "球体 V" "球体 VI" "球体 VII" "球体 VIII" "球体 IX" "球体 X"
- }
- }
-
- pc_toxic = {
- names = {
- "阿尔法" "贝塔" "伽马值" "德耳塔" "艾普西隆" "泽塔" "伊塔" "西塔" "约塔" "卡帕" "拉姆达" "谬" "纽" "克西" "奥米克戎" "派" "柔" "西格马" "陶" "宇普西龙" "斐" "希" "普西" "奥米伽" "球体 I" "球体 II" "球体 III" "球体 IV" "球体 V" "球体 VI" "球体 VII" "球体 VIII" "球体 IX" "球体 X"
- }
- }
-
- pc_frozen = {
- names = {
- "阿尔法" "贝塔" "伽马值" "德耳塔" "艾普西隆" "泽塔" "伊塔" "西塔" "约塔" "卡帕" "拉姆达" "谬" "纽" "克西" "奥米克戎" "派" "柔" "西格马" "陶" "宇普西龙" "斐" "希" "普西" "奥米伽" "球体 I" "球体 II" "球体 III" "球体 IV" "球体 V" "球体 VI" "球体 VII" "球体 VIII" "球体 IX" "球体 X"
- }
- }
- }
-
- ### CHARACTERS
-
- character_names = {
- default = {
- # A complete name
- full_names = {
-
- "自主子成员 1" "自主子成员 2" "自主子成员 3" "自主子成员 4" "自主子成员 5" "自主子成员 6" "自主子成员 7" "自主子成员 8" "自主子成员 9" "自主子成员 10" "自主子成员 11" "自主子成员 12" "自主子成员 13" "自主子成员 14"
- "自主子成员 15" "自主子成员 16" "自主子成员 17" "自主子成员 18" "自主子成员 19" "自主子成员 20" "自主子成员 21" "自主子成员 22" "自主子成员 23" "自主子成员 24" "自主子成员 25" "自主子成员 26" "自主子成员 27" "自主子成员 28" "自主子成员 29"
- "自主子成员 30" "自主子成员 31" "自主子成员 32" "自主子成员 33" "自主子成员 34" "自主子成员 35" "自主子成员 36" "自主子成员 37" "自主子成员 38" "自主子成员 39" "自主子成员 40" "自主子成员 41" "自主子成员 42" "自主子成员 43" "自主子成员 44"
- "自主子成员 45" "自主子成员 46" "自主子成员 47" "自主子成员 48" "自主子成员 49" "自主子成员 50" "自主子成员 51" "自主子成员 52" "自主子成员 53" "自主子成员 54" "自主子成员 55" "自主子成员 56" "自主子成员 57" "自主子成员 58" "自主子成员 59"
- "自主子成员 60" "自主子成员 61" "自主子成员 62" "自主子成员 63" "自主子成员 64" "自主子成员 65" "自主子成员 66" "自主子成员 67" "自主子成员 68" "自主子成员 69" "自主子成员 70" "自主子成员 71" "自主子成员 72" "自主子成员 73" "自主子成员 74"
- }
-
- # Always combined with a second name
- first_names = {
- }
-
- # Always combined with a first name
- second_names = {
- }
-
- regnal_first_names = {
- }
-
- regnal_second_names = {
- }
- }
- }
-
- ruler_names = {
- default = {
- full_names = {
- "突触枢纽" 意识
- }
- }
- }
-}
\ No newline at end of file
diff --git a/2.0.0/common/name_lists/HUM1.txt b/2.0.2/common/name_lists/HUM1.txt
index 4783d7d..270033d 100755
--- a/2.0.0/common/name_lists/HUM1.txt
+++ b/2.0.2/common/name_lists/HUM1.txt
@@ -102,6 +102,18 @@ HUM1 = {
gene_warrior_army = {
sequential_name = "%O% Star Knights"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Shield"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Robotic Occupiers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Autonomous Occupiers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/HUM2.txt b/2.0.2/common/name_lists/HUM2.txt
index f396ed2..212fcc8 100755
--- a/2.0.0/common/name_lists/HUM2.txt
+++ b/2.0.2/common/name_lists/HUM2.txt
@@ -96,6 +96,18 @@ HUM2 = {
gene_warrior_army = {
sequential_name = "%O% Purebloods"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Watch"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Drones"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Droids"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/HUM3.txt b/2.0.2/common/name_lists/HUM3.txt
index ce8d5c8..3e2f0e9 100755
--- a/2.0.0/common/name_lists/HUM3.txt
+++ b/2.0.2/common/name_lists/HUM3.txt
@@ -95,6 +95,18 @@ HUM3 = {
gene_warrior_army = {
sequential_name = "%O% Star Knights"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Watch"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Drones"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Droids"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/HUM4.txt b/2.0.2/common/name_lists/HUM4.txt
index b785c04..6611513 100755
--- a/2.0.0/common/name_lists/HUM4.txt
+++ b/2.0.2/common/name_lists/HUM4.txt
@@ -95,6 +95,18 @@ HUM4 = {
gene_warrior_army = {
sequential_name = "%O% Supermen"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Sentinels"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Metal Sentinels"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Replicant Sentinels"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/HUMAN1.txt b/2.0.2/common/name_lists/HUMAN1.txt
index 0025023..2c26495 100755
--- a/2.0.0/common/name_lists/HUMAN1.txt
+++ b/2.0.2/common/name_lists/HUMAN1.txt
@@ -112,6 +112,18 @@ HUMAN1 = {
}
sequential_name = "%O% Bio-Engineered Squadron"
}
+
+ occupation_army = {
+ sequential_name = "%O% Garrison Force"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Mechanized Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Synthetic Garrison"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/HUMAN2.txt b/2.0.2/common/name_lists/HUMAN2.txt
index 9a68d43..0d5fa3a 100755
--- a/2.0.0/common/name_lists/HUMAN2.txt
+++ b/2.0.2/common/name_lists/HUMAN2.txt
@@ -70,7 +70,7 @@ HUMAN2 = {
army_names = {
generic = {
- sequential_name = "%O% Colonial Garrison"
+ sequential_name = "%O% Colonial Gendarmerie"
}
assault_army = {
@@ -90,7 +90,7 @@ HUMAN2 = {
}
robotic_defense_army = {
- sequential_name = "%O% Unmanned Garrison"
+ sequential_name = "%O% Unmanned Gendarmerie"
}
android_army = {
@@ -98,7 +98,7 @@ HUMAN2 = {
}
android_defense_army = {
- sequential_name = "%O% Android Garrison"
+ sequential_name = "%O% Android Gendarmerie"
}
psionic_army = {
@@ -120,6 +120,18 @@ HUMAN2 = {
gene_warrior_army = {
sequential_name = "%O% Eugenic Vanguard"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Legion"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Unmanned Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Android Garrison"
+ }
}
### PLANETS
diff --git a/2.0.0/common/name_lists/HUMAN3.txt b/2.0.2/common/name_lists/HUMAN3.txt
index d947c48..b96669a 100755
--- a/2.0.0/common/name_lists/HUMAN3.txt
+++ b/2.0.2/common/name_lists/HUMAN3.txt
@@ -108,6 +108,18 @@ HUMAN3 = {
gene_warrior_army = {
sequential_name = "Legio Praetoriae %R%"
}
+
+ occupation_army = {
+ sequential_name = "Cohort Vigilum %R%"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "Robotum Vigilum %R%"
+ }
+
+ android_occupation_army = {
+ sequential_name = "Robotum Superior Vigilum %R%"
+ }
}
### PLANETS
diff --git a/2.0.0/common/name_lists/MACHINE1.txt b/2.0.2/common/name_lists/MACHINE1.txt
index b282abe..0d35d04 100755
--- a/2.0.0/common/name_lists/MACHINE1.txt
+++ b/2.0.2/common/name_lists/MACHINE1.txt
@@ -104,6 +104,10 @@ MACHINE1 = {
clone_army = {
sequential_name = "%O% Mechanized Clone Force"
}
+
+ machine_occupation_army = {
+ sequential_name = "%O% Mechanized Garrison Force"
+ }
}
diff --git a/2.0.0/common/name_lists/MACHINE2.txt b/2.0.2/common/name_lists/MACHINE2.txt
index 7d97661..3495b80 100755
--- a/2.0.0/common/name_lists/MACHINE2.txt
+++ b/2.0.2/common/name_lists/MACHINE2.txt
@@ -105,6 +105,10 @@ MACHINE2 = {
clone_army = {
sequential_name = "%O% Cybertron Clones"
}
+
+ machine_occupation_army = {
+ sequential_name = "%O% Occubots"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MACHINE3.txt b/2.0.2/common/name_lists/MACHINE3.txt
index c843fa9..de1dfe1 100755
--- a/2.0.0/common/name_lists/MACHINE3.txt
+++ b/2.0.2/common/name_lists/MACHINE3.txt
@@ -111,6 +111,10 @@ MACHINE3 = {
clone_army = {
sequential_name = "%O% Bio-Curated Clones"
}
+
+ machine_occupation_army = {
+ sequential_name = "%O% Occupation Caretaker Squad"
+ }
}
diff --git a/2.0.0/common/name_lists/MACHINE4.txt b/2.0.2/common/name_lists/MACHINE4.txt
index e12c128..37e5192 100755
--- a/2.0.0/common/name_lists/MACHINE4.txt
+++ b/2.0.2/common/name_lists/MACHINE4.txt
@@ -82,6 +82,10 @@ MACHINE4 = {
clone_army = {
sequential_name = "%O% Replica Regiment"
}
+
+ machine_occupation_army = {
+ sequential_name = "%O% Occupation Assignment"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MAM1.txt b/2.0.2/common/name_lists/MAM1.txt
index 6e91ed8..fd46ae1 100755
--- a/2.0.0/common/name_lists/MAM1.txt
+++ b/2.0.2/common/name_lists/MAM1.txt
@@ -96,6 +96,18 @@ MAM1 = {
gene_warrior_army = {
sequential_name = "%O% Modified Troopers"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Column"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Robotic Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Android Garrison"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MAM2.txt b/2.0.2/common/name_lists/MAM2.txt
index 8cb9b79..3e09d3f 100755
--- a/2.0.0/common/name_lists/MAM2.txt
+++ b/2.0.2/common/name_lists/MAM2.txt
@@ -97,6 +97,18 @@ MAM2 = {
gene_warrior_army = {
sequential_name = "%O% Augmented Vanguard"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Regulars"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Droids"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Legionnaires"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MAM3.txt b/2.0.2/common/name_lists/MAM3.txt
index 320f9f0..aa2d29b 100755
--- a/2.0.0/common/name_lists/MAM3.txt
+++ b/2.0.2/common/name_lists/MAM3.txt
@@ -96,6 +96,18 @@ MAM3 = {
gene_warrior_army = {
sequential_name = "%O% Gene-Warrior Division"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Army"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Robot Army"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Android Army"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MAM4.txt b/2.0.2/common/name_lists/MAM4.txt
index dd76541..995bf0a 100755
--- a/2.0.0/common/name_lists/MAM4.txt
+++ b/2.0.2/common/name_lists/MAM4.txt
@@ -95,6 +95,18 @@ MAM4 = {
gene_warrior_army = {
sequential_name = "%O% Modified Troopers"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Column"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Robotic Occupiers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Android Occupiers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MOL1.txt b/2.0.2/common/name_lists/MOL1.txt
index ad8fe50..510665b 100755
--- a/2.0.0/common/name_lists/MOL1.txt
+++ b/2.0.2/common/name_lists/MOL1.txt
@@ -96,6 +96,18 @@ MOL1 = {
gene_warrior_army = {
sequential_name = "%O% Ascenders"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Shell"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Oephalodroids"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Spirit Guard"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MOL2.txt b/2.0.2/common/name_lists/MOL2.txt
index 610e8b5..b644f3c 100755
--- a/2.0.0/common/name_lists/MOL2.txt
+++ b/2.0.2/common/name_lists/MOL2.txt
@@ -97,6 +97,18 @@ MOL2 = {
gene_warrior_army = {
sequential_name = "%O% Manipulated Troops"
}
+
+ occupation_army = {
+ sequential_name = "%O% Shore Occupiers"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Mechanica Occupiers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Replicata Occupiers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MOL3.txt b/2.0.2/common/name_lists/MOL3.txt
index 808270a..b717c36 100755
--- a/2.0.0/common/name_lists/MOL3.txt
+++ b/2.0.2/common/name_lists/MOL3.txt
@@ -97,6 +97,18 @@ MOL3 = {
gene_warrior_army = {
sequential_name = "%O% Bio-Enhanced Brigade"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Bastion"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Steel Occupiers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Thought Circuit Occupiers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/MOL4.txt b/2.0.2/common/name_lists/MOL4.txt
index 7770fd4..ec14471 100755
--- a/2.0.0/common/name_lists/MOL4.txt
+++ b/2.0.2/common/name_lists/MOL4.txt
@@ -108,6 +108,18 @@ MOL4 = {
gene_warrior_army = {
sequential_name = "%O% Deathbound Germinants"
}
+
+ occupation_army = {
+ sequential_name = "%O% Hardshell Occupiers"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Defensebot Occupiers"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Defensedroid Occupiers"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/PLANT.txt b/2.0.2/common/name_lists/PLANT.txt
index f89e665..860e1a8 100755
--- a/2.0.0/common/name_lists/PLANT.txt
+++ b/2.0.2/common/name_lists/PLANT.txt
@@ -118,6 +118,18 @@ PLANT = {
gene_warrior_army = {
sequential_name = "%O% Transgenic Wreath"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Wreath"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Brass Occupation Wreath"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Golden Occupation Wreath"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/PLANT2.txt b/2.0.2/common/name_lists/PLANT2.txt
index 69a15a0..c12bd0a 100755
--- a/2.0.0/common/name_lists/PLANT2.txt
+++ b/2.0.2/common/name_lists/PLANT2.txt
@@ -118,6 +118,18 @@ PLANT2 = {
gene_warrior_army = {
sequential_name = "%O% Hybrid Stalk"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Stalk"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Iron Occupation Branch"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Steel Occupation Branch"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/PLANT3.txt b/2.0.2/common/name_lists/PLANT3.txt
index d4b91ec..5576cc4 100755
--- a/2.0.0/common/name_lists/PLANT3.txt
+++ b/2.0.2/common/name_lists/PLANT3.txt
@@ -96,6 +96,18 @@ PLANT3 = {
gene_warrior_army = {
sequential_name = "%O% Extremophile Force"
}
+
+ occupation_army = {
+ sequential_name = "%O% Bark Garrison"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Daffodil Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Mayflower Garrison"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/PLANT4.txt b/2.0.2/common/name_lists/PLANT4.txt
index 1461524..8c7ee23 100755
--- a/2.0.0/common/name_lists/PLANT4.txt
+++ b/2.0.2/common/name_lists/PLANT4.txt
@@ -119,6 +119,18 @@ PLANT4 = {
gene_warrior_army = {
sequential_name = "%O% Stirpes ka Genea"
}
+
+ occupation_army = {
+ sequential_name = "%O% Stirpes ka Matea"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%R% Matea Sentis"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%R% Stirpes ka Dendro"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/PRT1.txt b/2.0.2/common/name_lists/PRT1.txt
index 2918fea..61c8821 100755
--- a/2.0.0/common/name_lists/PRT1.txt
+++ b/2.0.2/common/name_lists/PRT1.txt
@@ -13,7 +13,7 @@ PRT1 = {
ship_names = {
generic = {
- Eyesore Tinderbox Pipedream Deathtrap Jawbreaker Crybaby Spoilsport Pottymouth Whippersnapper Stepchild Homewrecker Roadkill Malcontent "Loose Cannon" Butterfingers Snapperhead "Hissy Fit" Sourpuss "Sucker Punch" Gutbuster "I Hate Everything" Highwayman Outlaw "Turbulent Priest" "Sea Monkey" "Dairy Farmer" "Morally Bankrupt" "Mental Midget" "Bucket of Bolts" "Free Lunch" "Wallet Inspector" "Laughing Stock" Gunslinger Sellsword Rapscallion "Wayward Son" Braindrain "Inconspicuous Asteroid" "One Trick Pony" "Wide Load" "No Refunds" Fencesitter Blindspot "Ugly Stick" "Show's Over" "Four Lights" "Poetic Justice" "Foreign Object" "Why Me" "Last Straw" "Designated Driver" "Comet Sighted!" "Slapped Together" "Lowest Bidder" "Wet Blanket" "Sordid Methods" "Broken Record" "Gender Bender" Ne'er-do-well Grotesque "Impudent Whelp" "Harsh Language" "Public Servant" "Love Is In The Air" "Class Act" Ineptitude Malaise "Deviant Citizen" Chomper "Diminishing Returns" "Calculated Risk" "Logistical Nightmare" "Come Closer" "Soylent Green" "Tunnel of Love" "Gross Negligence" "Another Mouth To Feed" "No Refunds" Blunderbuss "Catch Me If You Can" Obscenity "Holier Than Thou" "Open Wide" Target Bullseye Taxman Solicitor "Red Dread" "Missing Link" "Duct Taped" "Robber Baron" "Affront to Nature" "Queen Xoggra's Revenge" "Total Loss" "Village Idiot" Tattletale Filibuster "Smarmy Toad" "Mangy Cur" Cityslicker "Depth Perception" "This Way" "Mysterious Rash" "Divine Intervention" Crossbones "Jolly Roger" "No Surrender" "No Quarter" "Victim of Circumstance" "Red Flag" "Product of Society" "Under Evaluation" "Flying Coffin" "Gilded Cage" "Disgruntled Worker" "Of Sound Mind" "Ivory Tower" "Bastard Son" "Carpet Sample" "Scarlet Tentacle" "Down In Front" "Learning Experience VII" "Lowest Common Denominator" "Glory Days" "Gripping Appendage" "Desperate Pauper" "Born Lucky" "Boltragg's Folly" "My First Ship IV" "Base Instincts" "Check Please" "Infinite Loop" "Lazy Morning" "Consequences Be Damned" "Runtime Error" "Pointless Platitude" "Grey Matter" "Conscientious Objector" "Unexplained Itch" Anarchist "Out of Control" "Unexpected Obstacle" "Toxic Behavior" "Controlled Explosion" Fugitive "Happy Camper" "Unfortunate Ending" "Criminally Insane" "Not Guilty" "Double Jeopardy" "Perfect Pitch" "Pedal to the Metal" Mistrial "Lump of Coal" "I Am Truly Sorry" "Dark Forecast" "Apologies in Advance" "Reduced To This" "Surprise Encounter" "Meat Locker" "Cardiac Arrest" "Piece of Junk" "I Didn't Want This" "Bottom Line" "With Abandon" "Do Not Respond" "Unsound Methods" "Beast of Burden" "Red Claw" "Flying Dorgabloid" "No Laughing Matter" "Nothing Personal" "Great Experiment" "Looks Like Trouble" "Turning Point" "Curse of Zuldaxim" Scalawag Guttersnipe "Murderous Intent" "If Looks Could Kill" "What Sorcery Is This" Untranslatable "Liquid Courage" "Attention Seeker" "Your Female Parent" "Juvenile Delinquent" "Mystery Meat" "Slippery Slope" Knucklehead "Spirit of Zalussa" "Empty Gesture" "Annoying Pest" "Zarga's Ship" "Zarga's Other Ship" "Killing Implement" "Blunt Object" "The General Xarg" "Blockade Runner" "Innocent Bystander" Reprobate "Lacking Purpose" "Beyond Salvation" "This Too Shall Pass" "Guilty Pleasure" "Exploratory Surgery" "Inelegant Solution" Ragamuffin "Under New Ownership" "Resonance Cascade" "Festering Wound" "Red Smile" Rabble-rouser "Mysterious Stranger" "Process of Elimination" Wastrel Poppycock Hogwash Balderdash "Enough Lollygagging" "Prone to Hysteria" "Star Beggar" "Grace Under Pressure" Brainiac Nogoodnik Pockmark "Dream Shatterer" Oathbreaker Turncoat "Do The Math" "By The Numbers" Mishap Harridan "Big Boy" "Teacher's Pet" Destitute "Hell's Bells" Beguiler "Critical Mass" "Star Wench" "Double Standard" Half-wit Dunderhead Numbskull "Blind Fury" "Curse You All" "Carrion Eater" Unbidden "Pound of Flesh" "Pucker Up" "Short Fuse" Killjoy Footpad "Road Agent" Bushranger Simpleton Ignoramus "Not What It Seems" "Reprehensible" Intolerant Petulant "Deceiving Looks" "Pillage and Reconciliation" "An Arrow in Flight" "Gun-to-Head" Megalomanic "Petty Theft" "Grand Larceny" "Pop Up" "A Promise Kept" "Frag Machine" "Unrepentant Camper" "Impersonal Space" "Fallen Pillar" "Motion Tabled" Aimbot "Attack on Freighter" "The Slings" "The Arrows" "Outrageous Fortune" "Thermopylaeic" "Pyrrhic and Proud" "Wiggling Bait" "Shoot for Loot" "Feature Creep" "Creepy Feats" "Tone Deaf Siren" "No Good" "The Worst Thing" "Oh! That's a Pirate" "Science Ship Killer" Ravageoid "Violence-Liker" "Illegal Repercussions" "Shameless Plagiarist" "Dove & Crow" "Alcheringa" "Barnacle Jim" "Charles in Charge" Ganker "Manus Celer Dei" "Fatum Iustum Stultorum" "Strange Aeons" "Red Queen" Jabberwock Boojum Snark
+ Eyesore Tinderbox Pipedream Deathtrap Jawbreaker Crybaby Spoilsport Pottymouth Whippersnapper Stepchild Homewrecker Roadkill Malcontent "Loose Cannon" Butterfingers Snapperhead "Hissy Fit" Sourpuss "Sucker Punch" Gutbuster "I Hate Everything" Highwayman Outlaw "Turbulent Priest" "Sea Monkey" "Dairy Farmer" "Morally Bankrupt" "Mental Midget" "Bucket of Bolts" "Free Lunch" "Wallet Inspector" "Laughing Stock" Gunslinger Sellsword Rapscallion "Wayward Son" Braindrain "Inconspicuous Asteroid" "One Trick Pony" "Wide Load" "No Refunds" Fencesitter Blindspot "Ugly Stick" "Show's Over" "Four Lights" "Poetic Justice" "Foreign Object" "Why Me" "Last Straw" "Designated Driver" "Comet Sighted!" "Slapped Together" "Lowest Bidder" "Wet Blanket" "Sordid Methods" "Broken Record" Ne'er-do-well Grotesque "Impudent Whelp" "Harsh Language" "Public Servant" "Love Is In The Air" "Class Act" Ineptitude Malaise "Deviant Citizen" Chomper "Diminishing Returns" "Calculated Risk" "Logistical Nightmare" "Come Closer" "Soylent Green" "Tunnel of Love" "Gross Negligence" "Another Mouth To Feed" "No Refunds" Blunderbuss "Catch Me If You Can" Obscenity "Holier Than Thou" "Open Wide" Target Bullseye Taxman Solicitor "Red Dread" "Missing Link" "Duct Taped" "Robber Baron" "Affront to Nature" "Queen Xoggra's Revenge" "Total Loss" "Village Idiot" Tattletale Filibuster "Smarmy Toad" "Mangy Cur" Cityslicker "Depth Perception" "This Way" "Mysterious Rash" "Divine Intervention" Crossbones "Jolly Roger" "No Surrender" "No Quarter" "Victim of Circumstance" "Red Flag" "Product of Society" "Under Evaluation" "Flying Coffin" "Gilded Cage" "Disgruntled Worker" "Of Sound Mind" "Ivory Tower" "Bastard Son" "Carpet Sample" "Scarlet Tentacle" "Down In Front" "Learning Experience VII" "Lowest Common Denominator" "Glory Days" "Gripping Appendage" "Desperate Pauper" "Born Lucky" "Boltragg's Folly" "My First Ship IV" "Base Instincts" "Check Please" "Infinite Loop" "Lazy Morning" "Consequences Be Damned" "Runtime Error" "Pointless Platitude" "Grey Matter" "Conscientious Objector" "Unexplained Itch" Anarchist "Out of Control" "Unexpected Obstacle" "Toxic Behavior" "Controlled Explosion" Fugitive "Happy Camper" "Unfortunate Ending" "Criminally Insane" "Not Guilty" "Double Jeopardy" "Perfect Pitch" "Pedal to the Metal" Mistrial "Lump of Coal" "I Am Truly Sorry" "Dark Forecast" "Apologies in Advance" "Reduced To This" "Surprise Encounter" "Meat Locker" "Cardiac Arrest" "Piece of Junk" "I Didn't Want This" "Bottom Line" "With Abandon" "Do Not Respond" "Unsound Methods" "Beast of Burden" "Red Claw" "Flying Dorgabloid" "No Laughing Matter" "Nothing Personal" "Great Experiment" "Looks Like Trouble" "Turning Point" "Curse of Zuldaxim" Scalawag Guttersnipe "Murderous Intent" "If Looks Could Kill" "What Sorcery Is This" Untranslatable "Liquid Courage" "Attention Seeker" "Your Female Parent" "Juvenile Delinquent" "Mystery Meat" "Slippery Slope" Knucklehead "Spirit of Zalussa" "Empty Gesture" "Annoying Pest" "Zarga's Ship" "Zarga's Other Ship" "Killing Implement" "Blunt Object" "The General Xarg" "Blockade Runner" "Innocent Bystander" Reprobate "Lacking Purpose" "Beyond Salvation" "This Too Shall Pass" "Guilty Pleasure" "Exploratory Surgery" "Inelegant Solution" Ragamuffin "Under New Ownership" "Resonance Cascade" "Festering Wound" "Red Smile" Rabble-rouser "Mysterious Stranger" "Process of Elimination" Wastrel Poppycock Hogwash Balderdash "Enough Lollygagging" "Prone to Hysteria" "Star Beggar" "Grace Under Pressure" Brainiac Nogoodnik Pockmark "Dream Shatterer" Oathbreaker Turncoat "Do The Math" "By The Numbers" Mishap Harridan "Big Boy" "Teacher's Pet" Destitute "Hell's Bells" Beguiler "Critical Mass" "Star Wench" "Double Standard" Half-wit Dunderhead Numbskull "Blind Fury" "Curse You All" "Carrion Eater" Unbidden "Pound of Flesh" "Pucker Up" "Short Fuse" Killjoy Footpad "Road Agent" Bushranger Simpleton Ignoramus "Not What It Seems" "Reprehensible" Intolerant Petulant "Deceiving Looks" "Pillage and Reconciliation" "An Arrow in Flight" "Gun-to-Head" Megalomanic "Petty Theft" "Grand Larceny" "Pop Up" "A Promise Kept" "Frag Machine" "Unrepentant Camper" "Impersonal Space" "Fallen Pillar" "Motion Tabled" Aimbot "Attack on Freighter" "The Slings" "The Arrows" "Outrageous Fortune" "Thermopylaeic" "Pyrrhic and Proud" "Wiggling Bait" "Shoot for Loot" "Feature Creep" "Creepy Feats" "Tone Deaf Siren" "No Good" "The Worst Thing" "Oh! That's a Pirate" "Science Ship Killer" Ravageoid "Violence-Liker" "Illegal Repercussions" "Shameless Plagiarist" "Dove & Crow" "Alcheringa" "Barnacle Jim" "Charles in Charge" Ganker "Manus Celer Dei" "Fatum Iustum Stultorum" "Strange Aeons" "Red Queen" Jabberwock Boojum Snark
}
corvette = {
diff --git a/2.0.0/common/name_lists/REP1.txt b/2.0.2/common/name_lists/REP1.txt
index 6bfff81..a1cf93a 100755
--- a/2.0.0/common/name_lists/REP1.txt
+++ b/2.0.2/common/name_lists/REP1.txt
@@ -97,6 +97,18 @@ REP1 = {
gene_warrior_army = {
sequential_name = "%O% Warrior Order"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Guard"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Occupation Nexus"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Occupation Synths"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/REP2.txt b/2.0.2/common/name_lists/REP2.txt
index 9b93577..6aaba1d 100755
--- a/2.0.0/common/name_lists/REP2.txt
+++ b/2.0.2/common/name_lists/REP2.txt
@@ -95,6 +95,18 @@ REP2 = {
gene_warrior_army = {
sequential_name = "%O% Mutant Elites"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Patrol"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Construct Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Android Garrison"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/REP3.txt b/2.0.2/common/name_lists/REP3.txt
index 83942b0..63271ef 100755
--- a/2.0.0/common/name_lists/REP3.txt
+++ b/2.0.2/common/name_lists/REP3.txt
@@ -96,6 +96,18 @@ REP3 = {
gene_warrior_army = {
sequential_name = "%O% Enhanced Legion"
}
+
+ occupation_army = {
+ sequential_name = "%O% Occupation Legion"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Automated Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Mimic Garrison"
+ }
}
planet_names = {
diff --git a/2.0.0/common/name_lists/REP4.txt b/2.0.2/common/name_lists/REP4.txt
index 190cb3f..c56263a 100755
--- a/2.0.0/common/name_lists/REP4.txt
+++ b/2.0.2/common/name_lists/REP4.txt
@@ -109,6 +109,18 @@ REP4 = {
gene_warrior_army = {
sequential_name = "%O% Enhanced Force"
}
+
+ occupation_army = {
+ sequential_name = "%O% Garrison Force"
+ }
+
+ robotic_occupation_army = {
+ sequential_name = "%O% Bot Garrison"
+ }
+
+ android_occupation_army = {
+ sequential_name = "%O% Synth Garrison"
+ }
}
planet_names = {
diff --git a/2.0.0/common/observation_station_missions/00_missions.txt b/2.0.2/common/observation_station_missions/00_missions.txt
index 84cee00..b587980 100755
--- a/2.0.0/common/observation_station_missions/00_missions.txt
+++ b/2.0.2/common/observation_station_missions/00_missions.txt
@@ -84,7 +84,7 @@ native_indoctrination = {
}
gain = {
- society_research = 6
+ society_research = 10
}
#planet_modifier = native_indoctrination
diff --git a/2.0.0/common/on_actions/00_on_actions.txt b/2.0.2/common/on_actions/00_on_actions.txt
index 802937f..2193fc0 100755
--- a/2.0.0/common/on_actions/00_on_actions.txt
+++ b/2.0.2/common/on_actions/00_on_actions.txt
@@ -1,7 +1,6 @@
# No scope, like on_game_start
on_monthly_pulse = {
events = {
- guardian.10
unrest.162
unrest.164
syndaw.100 # servitor morale
@@ -12,9 +11,11 @@ on_monthly_pulse = {
marauder.113
guardian.170
guardian.172
+ guardian.174
action.85 # flip planets to starbase owner
marauder.150 # AI hires Marauder raids
marauder.151 # AI hires Marauder mercs
+ action.92 # make sure the swarm infests
action.90 # rebuild outpost for orphaned colonies
unrest.166
}
@@ -23,6 +24,7 @@ on_monthly_pulse = {
# No scope, like on_game_start
on_yearly_pulse = {
events = {
+ guardian.10
pirate.4
crisis.204
crisis.205
@@ -36,6 +38,7 @@ on_yearly_pulse = {
crisis.122
marauder.85
marauder.160
+ marauder.699
}
}
@@ -84,6 +87,16 @@ on_game_start_country = {
}
}
+on_mid_game_pulse = {
+ events = {
+ guardian.2011 # spawn wraith
+ guardian.20101 # remove too-late wraith discovery
+ }
+}
+
+on_late_game_pulse = {
+}
+
# setup advanced colony. So far it has a pop on the capital and a colony shelter building matching the is_colony trigger
# scope: planet
# from: country
@@ -360,7 +373,6 @@ on_survey = {
#precursor.2200
#precursor.2201
guardian.2010
- action.54
}
random_events = {
@@ -380,7 +392,6 @@ on_survey = {
# FromFrom = Fleet of the science ship that surveyed it, if any
on_planet_surveyed = {
events = {
- action.33
action.46
country.259
}
@@ -437,7 +448,6 @@ on_colonized = {
tutorial.444 #Increase num_colonies variable
#factions.105 # Colonialists New Colony
akx.9499
- #action.55
}
}
@@ -581,6 +591,7 @@ on_fleet_destroyed_perp = {
story.409
anomaly.3101
anomaly.3120
+ anomaly.3121
galactic_features.360
crisis.1111
crisis.70
@@ -864,14 +875,6 @@ on_planet_zero_health_ground_combat = {
}
}
-# Planet has reached 0 pops from collateral damage
-# This = Planet
-# From = Army Owner
-on_planet_zero_pops = {
- events = {
- }
-}
-
# Pop is enslaved
# This = Pop scope
# owner_species = { (species)
@@ -1061,6 +1064,7 @@ on_tech_increased = {
#crisis.2190
anomaly.1191
anomaly.1193
+ action.55
}
}
@@ -1072,6 +1076,7 @@ on_tech_increased = {
on_modification_complete = {
events = {
tutorial.65
+ utopia.2508 # Handle leader traits after species modification
utopia.6001 # Hive Mind species integration
}
}
@@ -1112,9 +1117,9 @@ on_emergency_ftl = {
}
}
-#A building construction has been completed.
-# This = Army
-# From = Planet
+#An army construction has been completed.
+# This = Planet
+# From = Army
on_army_recruited = {
events = {
}
@@ -1405,7 +1410,6 @@ on_country_destroyed = {
# FromFromFrom = Fleet
on_megastructure_built = {
events = {
- #action.52
utopia.2000
utopia.4000
utopia.4100
@@ -1432,7 +1436,6 @@ on_megastructure_upgrade_begin = {
# FromFrom = System
on_megastructure_upgraded = {
events = {
- #action.53
utopia.2003
utopia.2004
utopia.4001
@@ -1639,6 +1642,7 @@ on_colony_10_years_old = {
# scope: country, from: leader
on_leader_spawned = {
events = {
+ utopia.2509 # New Leaders Get Erudite Trait
utopia.2510 # New Leaders Get Cyborg Trait
utopia.2560 # New Leaders Get Synthetic Trait
utopia.2651 # New Leaders Get Psionic Trait
@@ -1724,3 +1728,10 @@ on_jump_drive = {
action.89
}
}
+
+# this = country
+on_pirate_spawn = {
+ events = {
+ pirate.49
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/opinion_modifiers/00_opinion_modifiers.txt b/2.0.2/common/opinion_modifiers/00_opinion_modifiers.txt
index 6b6bddd..db7d0a9 100755
--- a/2.0.0/common/opinion_modifiers/00_opinion_modifiers.txt
+++ b/2.0.2/common/opinion_modifiers/00_opinion_modifiers.txt
@@ -1424,7 +1424,7 @@ opinion_declared_rival = {
# Ally of ally
opinion_ally_of_ally = {
opinion = {
- base = 15
+ base = 25
}
unique = yes
@@ -1434,7 +1434,7 @@ opinion_ally_of_ally = {
# Mutual rival opinion modifier
opinion_mutual_rival = {
opinion = {
- base = 25
+ base = 50
}
unique = yes
@@ -1452,7 +1452,7 @@ opinion_mutual_threat = {
# Allied to rival opinion modifier
opinion_allied_to_rival = {
opinion = {
- base = -50
+ base = -100
}
unique = yes
@@ -1461,7 +1461,7 @@ opinion_allied_to_rival = {
# Rivaling ally
opinion_rivals_with_ally = {
opinion = {
- base = -50
+ base = -100
}
unique = yes
@@ -2485,12 +2485,28 @@ opinion_cracked_a_world = {
opinion = {
base = -100
}
+
+ accumulative = yes
+
+ min = -500
+
+ decay = {
+ base = 1
+ }
}
opinion_cracked_an_uninhabited_world = {
opinion = {
base = -30
}
+
+ accumulative = yes
+
+ min = -150
+
+ decay = {
+ base = 1
+ }
}
# Cracked My Planet Like an Egg (victim Empire's opinion of world cracker)
@@ -2498,24 +2514,56 @@ opinion_cracked_my_world = {
opinion = {
base = -1000
}
+
+ accumulative = yes
+
+ min = -5000
+
+ decay = {
+ base = 1
+ }
}
opinion_cracked_my_uninhabited_world = {
opinion = {
base = -300
}
+
+ accumulative = yes
+
+ min = -1500
+
+ decay = {
+ base = 1
+ }
}
opinion_cracked_a_primitive_world = {
opinion = {
base = -40
}
+
+ accumulative = yes
+
+ min = -200
+
+ decay = {
+ base = 1
+ }
}
opinion_cracked_a_primitive_world_phile = {
opinion = {
base = -60
}
+
+ accumulative = yes
+
+ min = -300
+
+ decay = {
+ base = 1
+ }
}
@@ -2524,70 +2572,166 @@ opinion_swept_a_world = {
opinion = {
base = -80
}
+
+ accumulative = yes
+
+ min = -400
+
+ decay = {
+ base = 1
+ }
}
opinion_swept_my_world = {
opinion = {
base = -800
}
+
+ accumulative = yes
+
+ min = -4000
+
+ decay = {
+ base = 1
+ }
}
opinion_swept_a_primitive_world = {
opinion = {
base = -40
}
+
+ accumulative = yes
+
+ min = -200
+
+ decay = {
+ base = 1
+ }
}
opinion_swept_a_primitive_world_phile = {
opinion = {
base = -60
}
+
+ accumulative = yes
+
+ min = -300
+
+ decay = {
+ base = 1
+ }
}
opinion_assimilated_a_world = {
opinion = {
base = -60
}
+
+ accumulative = yes
+
+ min = -300
+
+ decay = {
+ base = 1
+ }
}
opinion_assimilated_my_world = {
opinion = {
base = -600
}
+
+ accumulative = yes
+
+ min = -3000
+
+ decay = {
+ base = 1
+ }
}
opinion_assimilated_a_primitive_world = {
opinion = {
base = -40
}
+
+ accumulative = yes
+
+ min = -200
+
+ decay = {
+ base = 1
+ }
}
opinion_assimilated_a_primitive_world_phile = {
opinion = {
base = -60
}
+
+ accumulative = yes
+
+ min = -300
+
+ decay = {
+ base = 1
+ }
}
opinion_converted_a_world = {
opinion = {
base = -40
}
+
+ accumulative = yes
+
+ min = -200
+
+ decay = {
+ base = 1
+ }
}
opinion_converted_my_world = {
opinion = -400
+
+ accumulative = yes
+
+ min = -2000
+
+ decay = {
+ base = 1
+ }
}
opinion_shielded_a_world = {
opinion = {
base = -20
}
+
+ accumulative = yes
+
+ min = -100
+
+ decay = {
+ base = 1
+ }
}
opinion_shielded_my_world = {
opinion = {
base = -200
}
+
+ accumulative = yes
+
+ min = -1000
+
+ decay = {
+ base = 1
+ }
}
opinion_worships_our_holy_world = {
diff --git a/2.0.0/common/personalities/00_personalities.txt b/2.0.2/common/personalities/00_personalities.txt
index f29a2ad..684e200 100755
--- a/2.0.0/common/personalities/00_personalities.txt
+++ b/2.0.2/common/personalities/00_personalities.txt
@@ -664,7 +664,16 @@ slaving_despots = {
}
weight_modifier = {
- weight = 200
+ weight = 1
+ modifier = {
+ factor = 100
+ OR = {
+ has_valid_civic = "civic_slaver_guilds"
+ has_trait = "trait_decadent"
+ has_ethic = "ethic_xenophobe"
+ has_ethic = "ethic_fanatic_xenophobe"
+ }
+ }
}
}
diff --git a/2.0.0/common/personalities/01_fallen_empire_personalities.txt b/2.0.2/common/personalities/01_fallen_empire_personalities.txt
index 8497e10..0f215ad 100755
--- a/2.0.0/common/personalities/01_fallen_empire_personalities.txt
+++ b/2.0.2/common/personalities/01_fallen_empire_personalities.txt
@@ -1,6 +1,6 @@
fallen_empire_spiritualist = {
aggressiveness = 1.5
- trade_willingness = 0.5
+ trade_willingness = 0.33
bravery = 2.0
combat_bravery = 1.25
@@ -40,7 +40,7 @@ fallen_empire_spiritualist = {
fallen_empire_materialist = {
aggressiveness = 1.0
- trade_willingness = 0.75
+ trade_willingness = 0.5
bravery = 2.0
combat_bravery = 1.25
@@ -117,7 +117,7 @@ fallen_empire_xenophobe = {
fallen_empire_xenophile = {
aggressiveness = 0.5
- trade_willingness = 1.0
+ trade_willingness = 0.5
bravery = 2.0
combat_bravery = 1.25
@@ -155,7 +155,7 @@ fallen_empire_xenophile = {
awakened_fallen_empire_spiritualist = {
aggressiveness = 1.5
- trade_willingness = 0.5
+ trade_willingness = 0.33
bravery = 2.0
combat_bravery = 1.25
@@ -193,7 +193,7 @@ awakened_fallen_empire_spiritualist = {
awakened_fallen_empire_materialist = {
aggressiveness = 1.0
- trade_willingness = 0.75
+ trade_willingness = 0.5
bravery = 2.0
combat_bravery = 1.25
@@ -270,7 +270,7 @@ awakened_fallen_empire_xenophobe = {
awakened_fallen_empire_xenophile = {
aggressiveness = 0.5
- trade_willingness = 1.0
+ trade_willingness = 0.5
bravery = 2.0
combat_bravery = 1.25
@@ -309,7 +309,7 @@ awakened_fallen_empire_xenophile = {
fallen_empire_machine = {
aggressiveness = 1.0
- trade_willingness = 0.75
+ trade_willingness = 0.5
bravery = 2.0
combat_bravery = 1.25
@@ -347,7 +347,7 @@ fallen_empire_machine = {
awakened_fallen_empire_machine = {
aggressiveness = 1.0
- trade_willingness = 0.75
+ trade_willingness = 0.5
bravery = 2.0
combat_bravery = 1.25
diff --git a/2.0.0/common/pop_faction_types/00_prosperity.txt b/2.0.2/common/pop_faction_types/00_prosperity.txt
index 091f63d..dd1e7fa 100755
--- a/2.0.0/common/pop_faction_types/00_prosperity.txt
+++ b/2.0.2/common/pop_faction_types/00_prosperity.txt
@@ -217,14 +217,7 @@ prosperity = {
trigger = {
owner = {
- OR = {
- has_tradition = tr_prosperity_adopt
- has_tradition = tr_prosperity_sct
- has_tradition = tr_prosperity_administrative_operations
- has_tradition = tr_prosperity_fleet_logistical_corps
- has_tradition = tr_prosperity_trans_stellar_corporations
- has_tradition = tr_prosperity_pursuit_of_profit
- }
+ has_tradition = "tr_prosperity_adopt"
}
}
}
diff --git a/2.0.0/common/pop_faction_types/00_technologist.txt b/2.0.2/common/pop_faction_types/00_technologist.txt
index 8862479..f464164 100755
--- a/2.0.0/common/pop_faction_types/00_technologist.txt
+++ b/2.0.2/common/pop_faction_types/00_technologist.txt
@@ -180,6 +180,7 @@ technologist = {
potential = {
exists = owner
owner = {
+ NOT = { has_ascension_perk = ap_synthetic_evolution }
any_relation = {
has_communications = root.owner
any_owned_pop = {
@@ -225,14 +226,7 @@ technologist = {
trigger = {
owner = {
- OR = {
- has_tradition = tr_discovery_adopt
- has_tradition = tr_discovery_to_boldly_go
- has_tradition = tr_discovery_planetary_survey_corps
- has_tradition = tr_discovery_science_division
- has_tradition = tr_discovery_polytechnic_education
- has_tradition = tr_discovery_faith_in_science
- }
+ has_tradition = "tr_discovery_adopt"
}
}
}
diff --git a/2.0.0/common/pop_faction_types/00_totalitarian.txt b/2.0.2/common/pop_faction_types/00_totalitarian.txt
index 41fc44d..b67368e 100755
--- a/2.0.0/common/pop_faction_types/00_totalitarian.txt
+++ b/2.0.2/common/pop_faction_types/00_totalitarian.txt
@@ -255,14 +255,7 @@ totalitarian = {
trigger = {
owner = {
- OR = {
has_tradition = "tr_domination_adopt"
- has_tradition = "tr_domination_colonial_viceroys"
- has_tradition = "tr_domination_protection_racket"
- has_tradition = "tr_domination_star_lords"
- has_tradition = "tr_domination_fleet_levies"
- has_tradition = "tr_domination_vassal_acculturation"
- }
}
}
}
diff --git a/2.0.0/common/pop_faction_types/00_traditionalist.txt b/2.0.2/common/pop_faction_types/00_traditionalist.txt
index 7f0923a..16e7948 100755
--- a/2.0.0/common/pop_faction_types/00_traditionalist.txt
+++ b/2.0.2/common/pop_faction_types/00_traditionalist.txt
@@ -403,14 +403,7 @@ traditionalist = {
trigger = {
owner = {
- OR = {
- has_tradition = tr_harmony_adopt
- has_tradition = tr_harmony_the_greater_good
- has_tradition = tr_harmony_kinship
- has_tradition = tr_harmony_utopian_dream
- has_tradition = tr_harmony_bulwark_of_harmony
- has_tradition = tr_harmony_mind_and_body
- }
+ has_tradition = "tr_harmony_adopt"
}
}
}
diff --git a/2.0.0/common/pop_faction_types/00_xenoist.txt b/2.0.2/common/pop_faction_types/00_xenoist.txt
index 7e5eded..8bd8fbb 100755
--- a/2.0.0/common/pop_faction_types/00_xenoist.txt
+++ b/2.0.2/common/pop_faction_types/00_xenoist.txt
@@ -367,14 +367,7 @@ xenoist = {
trigger = {
owner = {
- OR = {
has_tradition = "tr_diplomacy_adopt"
- has_tradition = "tr_diplomacy_dynamic_ecomorphism"
- has_tradition = "tr_diplomacy_federal_unity"
- has_tradition = "tr_diplomacy_the_federation"
- has_tradition = "tr_diplomacy_entente_coordination"
- has_tradition = "tr_diplomacy_alien_tourism"
- }
}
}
}
diff --git a/2.0.0/common/random_names/base/00_random_names.txt b/2.0.2/common/random_names/base/00_random_names.txt
index 2d2a5fd..efa4167 100755
--- a/2.0.0/common/random_names/base/00_random_names.txt
+++ b/2.0.2/common/random_names/base/00_random_names.txt
@@ -72,6 +72,7 @@ black_hole_names = {
"Ascensions_End"
"Quiet_Dark"
"Abaddons_Demesne"
+ "Eye_of_Hawking"
}
asteroid_prefix = {
@@ -320,7 +321,6 @@ star_names = {
"Beta_Hydri"
"Chi_Draconis"
"Delta_Pavonis"
- "Epsilon_Indi"
"Gamma_Draconis"
"Lambda_Serpentis"
"Omicron_Persei"
@@ -1665,6 +1665,37 @@ star_names = {
Majek
"Boro_Baba"
Kuiper
+ Dristmak
+ Sanach
+ Iresta
+ Kappler
+ Mriik
+ Jangal
+ Baesta
+ Corinth
+ Aethos
+ Unaria
+ Folkel
+ Zom
+ Prythe
+ Halvam
+ Moscot
+ Nietz
+ Yamal
+ Meskeban
+ Fontral
+ Lirril
+ Ibanadar
+ Voldox
+ Prothon
+ Ancastar
+ Xolomon
+ Rizor
+ Gossomir
+ Flestia
+ Trinitar
+ Wymos
+ Immuthin
}
nebula_names = {
diff --git a/2.0.0/common/scripted_effects/00_scripted_effects.txt b/2.0.2/common/scripted_effects/00_scripted_effects.txt
index 48850df..bd84c47 100755
--- a/2.0.0/common/scripted_effects/00_scripted_effects.txt
+++ b/2.0.2/common/scripted_effects/00_scripted_effects.txt
@@ -4911,26 +4911,99 @@ generate_start_buildings_and_blockers = {
}
reset_start_buildings_and_blockers_post_apoc = { #Selectively resets necessary tiles for Post-Apoc Civic users. Relies on "generate_start_buildings_and_blockers" and game_start.32
+ # Find capitol and buildings, and then remove them
+ # this is needed because planet's deposits were re-rolled after
+ every_tile = {
+ limit = { has_building = yes }
+ remove_building = yes
+ }
+ # Set up a new capitol and nearby buildings
random_tile = {
- limit = { has_building = "building_capital_1" }
+ limit = { has_blocker = no has_building = no num_adjacent_tiles > 3 }
+ if = {
+ limit = {
+ owner = { has_authority = auth_machine_intelligence }
+ }
+ set_building = "building_machine_capital_1"
+ else = {
+ set_building = "building_capital_1"
+ }
+ }
set_deposit = d_energy_deposit
random_neighboring_tile = {
- limit = { has_building = "building_hydroponics_farm_1" }
- clear_deposits = yes
+ limit = { has_blocker = no has_building = no }
+ set_building = "building_hydroponics_farm_1"
+ set_deposit = d_farmland_deposit
}
random_neighboring_tile = {
- limit = { has_building = "building_hydroponics_farm_1" }
- clear_deposits = yes
+ limit = { has_blocker = no has_building = no }
+ set_building = "building_hydroponics_farm_1"
+ set_deposit = d_farmland_deposit
+ }
+ random_neighboring_tile = {
+ limit = { has_blocker = no has_building = no }
+ set_building = "building_power_plant_1"
+ set_deposit = d_rich_energy_deposit
+ }
+ random_neighboring_tile = {
+ limit = { has_blocker = no has_building = no }
+ set_building = "building_mining_network_1"
+ set_deposit = d_rich_mineral_deposit
}
}
+
+ # Add the lab
+ # has pop = yes to make sure they use the tiles that were first generated for this task
random_tile = {
- limit = { has_building = "building_basic_science_lab_1" }
- clear_deposits = yes
- remove_building = yes
- set_building = "building_hydroponics_farm_1"
+ limit = { has_blocker = no has_building = no has_pop = yes }
+ set_building = "building_basic_science_lab_1"
+ random_list = {
+ 33 = {
+ set_deposit = d_engineering_deposit
+ }
+ 33 = {
+ set_deposit = d_society_deposit
+ }
+ 33 = {
+ set_deposit = d_physics_deposit
+ }
+ }
+ }
+
+ # Add mine and power plant
+ # has pop = yes to make sure they use the tiles that were first generated for this task
+ random_tile = {
+ limit = { has_blocker = no has_building = no has_pop = yes }
+ set_building = "building_mining_network_1"
+ set_deposit = d_mineral_deposit
}
random_tile = {
- limit = { has_deposit = "d_engineering_deposit" has_building = no }
+ limit = { has_blocker = no has_building = no has_pop = yes }
+ set_building = "building_power_plant_1"
+ set_deposit = d_rich_energy_deposit
+ }
+
+ # Move pops to tiles
+ every_tile = {
+ limit = { has_building = yes has_pop = no }
+
+ save_event_target_as = needs_worker
+ planet = {
+ random_pop = {
+ limit = { tile = { has_building = no } }
+
+ resettle_pop = {
+ pop = this
+ tile = event_target:needs_worker
+ }
+
+ }
+ }
+ }
+
+ # Add blockers
+ random_tile = {
+ limit = { has_blocker = no has_building = no has_pop = no }
if = {
limit = {
owner = { has_civic = civic_machine_terminator }
@@ -4940,9 +5013,10 @@ reset_start_buildings_and_blockers_post_apoc = { #Selectively resets necessary t
set_blocker = "tb_bomb_crater"
}
}
+ set_deposit = d_engineering_deposit
}
random_tile = {
- limit = { has_deposit = "d_society_deposit" has_building = no }
+ limit = { has_blocker = no has_building = no has_pop = no }
if = {
limit = {
owner = { has_civic = civic_machine_terminator }
@@ -4952,21 +5026,23 @@ reset_start_buildings_and_blockers_post_apoc = { #Selectively resets necessary t
set_blocker = "tb_bomb_crater"
}
}
+ set_deposit = d_society_deposit
}
random_tile = {
- limit = { has_deposit = "d_physics_deposit" has_building = no }
+ limit = { has_blocker = no has_building = no has_pop = no }
if = {
limit = {
owner = { has_civic = civic_machine_terminator }
}
- set_blocker = "tb_exterminators_ruins"
+ set_blocker = "tb_former_battlefield"
else = {
- set_blocker = "tb_radioactive_wasteland"
+ set_blocker = "tb_bomb_crater"
}
}
+ set_deposit = d_physics_deposit
}
random_tile = {
- limit = { has_deposit = "d_rich_energy_deposit" has_building = no }
+ limit = { has_blocker = no has_building = no has_pop = no }
if = {
limit = {
owner = { has_civic = civic_machine_terminator }
@@ -4976,123 +5052,33 @@ reset_start_buildings_and_blockers_post_apoc = { #Selectively resets necessary t
set_blocker = "tb_radioactive_wasteland"
}
}
+ set_deposit = d_rich_energy_deposit
}
random_tile = {
- limit = { has_deposit = "d_rich_farmland_deposit" has_building = no }
- random_list = {
- 33 = {
- set_deposit = d_engineering_deposit
- }
- 33 = {
- set_deposit = d_society_deposit
- }
- 33 = {
- set_deposit = d_physics_deposit
- }
- }
- }
- random_tile = { #turns one farm tile into empty tile
- limit = {
- OR = {
- has_deposit = "d_farmland_deposit"
- has_deposit = "d_rich_farmland_deposit"
- has_deposit = "d_mineral_food_deposit"
- has_deposit = "d_rich_food_mineral_deposit"
- has_deposit = "d_vast_farmland_deposit"
- has_deposit = "d_immense_farmland_deposit"
- }
- }
- clear_deposits = yes
- }
- every_tile = {
- limit = { has_deposit = "d_farmland_deposit" }
- clear_deposits = yes
- random_list = {
- 35 = {
- set_deposit = d_energy_deposit
- }
- 35 = {
- set_deposit = d_mineral_deposit
- }
- }
- }
- every_tile = {
+ limit = { has_blocker = no has_building = no has_pop = no }
+ if = {
limit = {
- OR = {
- has_deposit = "d_rich_farmland_deposit"
- has_deposit = "d_mineral_food_deposit"
- has_deposit = "d_rich_food_mineral_deposit"
- }
- }
- clear_deposits = yes
- random_list = {
- 10 = {
- set_deposit = d_rich_engineering_deposit
- }
- 10 = {
- set_deposit = d_rich_society_deposit
+ owner = { has_civic = civic_machine_terminator }
}
- 10 = {
- set_deposit = d_rich_physics_deposit
+ set_blocker = "tb_exterminators_ruins"
+ else = {
+ set_blocker = "tb_radioactive_wasteland"
}
- 35 = {
- set_deposit = d_rich_energy_deposit
}
- 35 = {
set_deposit = d_rich_mineral_deposit
}
- }
- }
- every_tile = {
- limit = { has_deposit = "d_vast_farmland_deposit" }
- clear_deposits = yes
- random_list = {
- 10 = {
- set_deposit = d_vast_engineering_deposit
- }
- 10 = {
- set_deposit = d_vast_society_deposit
- }
- 10 = {
- set_deposit = d_vast_physics_deposit
- }
- 35 = {
- set_deposit = d_vast_energy_deposit
- }
- 35 = {
- set_deposit = d_vast_mineral_deposit
- }
- }
- }
- every_tile = {
- limit = { has_deposit = "d_immense_farmland_deposit" }
- clear_deposits = yes
- random_list = {
- 10 = {
- set_deposit = d_immense_engineering_deposit
- }
- 10 = {
- set_deposit = d_immense_society_deposit
- }
- 10 = {
- set_deposit = d_immense_physics_deposit
- }
- 35 = {
- set_deposit = d_immense_energy_deposit
- }
- 35 = {
- set_deposit = d_immense_mineral_deposit
- }
- }
- }
- IF = { #ensures at least one empty tile, if no farm tile was generated to nuke
- limit = { any_tile = { NOT = { has_deposit = no } } }
random_tile = {
- limit = { has_blocker = no has_building = no has_deposit = yes }
- clear_deposits = yes
+ limit = { has_blocker = no has_building = no has_pop = no }
+ if = {
+ limit = {
+ owner = { has_civic = civic_machine_terminator }
}
+ set_blocker = "tb_exterminators_ruins"
+ set_deposit = d_rich_energy_deposit
else = {
- #do nothing
+ set_blocker = "tb_radioactive_wasteland"
+ set_deposit = d_rich_farmland_deposit
+ }
}
}
}
@@ -5944,7 +5930,7 @@ create_medium_marauder_auxiliaries = {
traits = { trait = random_trait }
}
create_fleet = {
- name = "NAME_Marauder_Auxiliary_Fleet"
+ name = "NAME_Horde_Auxiliary_Fleet"
effect = {
set_owner = event_target:raider_khanate
set_fleet_flag = horde_auxuliaries
@@ -6011,7 +5997,7 @@ create_large_marauder_auxiliaries = {
traits = { trait = random_trait }
}
create_fleet = {
- name = "NAME_Marauder_Auxiliary_Fleet"
+ name = "NAME_Horde_Auxiliary_Fleet"
effect = {
set_owner = event_target:raider_khanate
set_fleet_flag = horde_auxuliaries
@@ -6077,7 +6063,7 @@ create_very_large_marauder_auxiliaries = {
}
last_created_leader = { set_age = 37 }
create_fleet = {
- name = "NAME_Marauder_Auxiliary_Fleet"
+ name = "NAME_Horde_Auxiliary_Fleet"
effect = {
set_owner = event_target:raider_khanate
set_fleet_flag = horde_auxuliaries
@@ -7749,7 +7735,6 @@ fire_warning_sign = {
}
fallen_empire_humiliate_effect = {
- custom_tooltip = fallen_empire_humiliate_effect_tooltip
hidden_effect = {
add_modifier = { modifier = humiliated days = 3600 }
end_rivalry = event_target:fallen_empire_humiliator
@@ -8205,3 +8190,172 @@ spawn_ringworld_nanobot_effect = {
scale = 0.10
}
}
+
+remove_xuracorp_trades = {
+ remove_modifier = enclave_mineral_trade_1_xur
+ remove_modifier = enclave_mineral_trade_2_xur
+ remove_modifier = enclave_mineral_trade_3_xur
+ remove_modifier = enclave_energy_trade_1_xur
+ remove_modifier = enclave_energy_trade_2_xur
+ remove_modifier = enclave_energy_trade_3_xur
+ remove_modifier = enclave_mineral_food_trade_1_xur
+ remove_modifier = enclave_mineral_food_trade_2_xur
+ remove_modifier = enclave_mineral_food_trade_3_xur
+ remove_modifier = enclave_energy_food_trade_1_xur
+ remove_modifier = enclave_energy_food_trade_2_xur
+ remove_modifier = enclave_energy_food_trade_3_xur
+ remove_modifier = enclave_food_minerals_trade_1_xur
+ remove_modifier = enclave_food_minerals_trade_2_xur
+ remove_modifier = enclave_food_minerals_trade_3_xur
+ remove_modifier = enclave_food_energy_trade_1_xur
+ remove_modifier = enclave_food_energy_trade_2_xur
+ remove_modifier = enclave_food_energy_trade_3_xur
+}
+
+remove_riggan_trades = {
+ remove_modifier = enclave_mineral_trade_1_rig
+ remove_modifier = enclave_mineral_trade_2_rig
+ remove_modifier = enclave_mineral_trade_3_rig
+ remove_modifier = enclave_energy_trade_1_rig
+ remove_modifier = enclave_energy_trade_2_rig
+ remove_modifier = enclave_energy_trade_3_rig
+ remove_modifier = enclave_mineral_food_trade_1_rig
+ remove_modifier = enclave_mineral_food_trade_2_rig
+ remove_modifier = enclave_mineral_food_trade_3_rig
+ remove_modifier = enclave_energy_food_trade_1_rig
+ remove_modifier = enclave_energy_food_trade_2_rig
+ remove_modifier = enclave_energy_food_trade_3_rig
+ remove_modifier = enclave_food_minerals_trade_1_rig
+ remove_modifier = enclave_food_minerals_trade_2_rig
+ remove_modifier = enclave_food_minerals_trade_3_rig
+ remove_modifier = enclave_food_energy_trade_1_rig
+ remove_modifier = enclave_food_energy_trade_2_rig
+ remove_modifier = enclave_food_energy_trade_3_rig
+}
+
+remove_muutagan_trades = {
+ remove_modifier = enclave_mineral_trade_1_mut
+ remove_modifier = enclave_mineral_trade_2_mut
+ remove_modifier = enclave_mineral_trade_3_mut
+ remove_modifier = enclave_energy_trade_1_mut
+ remove_modifier = enclave_energy_trade_2_mut
+ remove_modifier = enclave_energy_trade_3_mut
+ remove_modifier = enclave_mineral_food_trade_1_mut
+ remove_modifier = enclave_mineral_food_trade_2_mut
+ remove_modifier = enclave_mineral_food_trade_3_mut
+ remove_modifier = enclave_energy_food_trade_1_mut
+ remove_modifier = enclave_energy_food_trade_2_mut
+ remove_modifier = enclave_energy_food_trade_3_mut
+ remove_modifier = enclave_food_minerals_trade_1_mut
+ remove_modifier = enclave_food_minerals_trade_2_mut
+ remove_modifier = enclave_food_minerals_trade_3_mut
+ remove_modifier = enclave_food_energy_trade_1_mut
+ remove_modifier = enclave_food_energy_trade_2_mut
+ remove_modifier = enclave_food_energy_trade_3_mut
+}
+
+add_leader_traits_after_modification = {
+ if = {
+ limit = {
+ species = {
+ has_trait = trait_erudite
+ NOR = {
+ has_trait = trait_cybernetic
+ has_trait = trait_psionic
+ has_trait = trait_latent_psionic
+ }
+ }
+ }
+ if = {
+ limit = {
+ leader_class = admiral
+ NOT = { has_trait = leader_trait_admiral_erudite }
+ }
+ add_trait = leader_trait_admiral_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ leader_class = general
+ NOT = { has_trait = leader_trait_general_erudite }
+ }
+ add_trait = leader_trait_general_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ leader_class = governor
+ NOT = { has_trait = leader_trait_governor_erudite }
+ }
+ add_trait = leader_trait_governor_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ leader_class = scientist
+ NOT = { has_trait = leader_trait_scientist_erudite }
+ }
+ add_trait = leader_trait_scientist_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ leader_class = ruler
+ NOT = { has_trait = leader_trait_ruler_erudite }
+ }
+ add_trait = leader_trait_ruler_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+
+ }
+ }
+}
+
+remove_leader_traits_after_modification = {
+ if = {
+ limit = {
+ species = {
+ OR = {
+ NOT = { has_trait = trait_erudite }
+ has_trait = trait_cybernetic
+ has_trait = trait_psionic
+ has_trait = trait_latent_psionic
+ }
+ }
+ }
+ if = {
+ limit = {
+ has_trait = leader_trait_admiral_erudite
+ }
+ remove_trait = leader_trait_admiral_erudite
+ remove_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ has_trait = leader_trait_general_erudite
+ }
+ remove_trait = leader_trait_general_erudite
+ remove_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ has_trait = leader_trait_governor_erudite
+ }
+ remove_trait = leader_trait_governor_erudite
+ remove_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ has_trait = leader_trait_scientist_erudite
+ }
+ remove_trait = leader_trait_scientist_erudite
+ remove_ruler_trait = leader_trait_ruler_erudite
+ }
+ if = {
+ limit = {
+ has_trait = leader_trait_ruler_erudite
+ }
+ remove_trait = leader_trait_ruler_erudite
+ remove_ruler_trait = leader_trait_ruler_erudite
+ }
+ }
+}
\ No newline at end of file
diff --git a/2.0.2/common/scripted_effects/marauder_tribute_effects.txt b/2.0.2/common/scripted_effects/marauder_tribute_effects.txt
new file mode 100755
index 0000000..1c6aeb2
--- /dev/null
+++ b/2.0.2/common/scripted_effects/marauder_tribute_effects.txt
@@ -0,0 +1,189 @@
+
+@tributecost1 = -250
+
+@tributecost2 = -500
+
+@tributecost3 = -1000
+
+@tributecost4 = -1500
+
+@tributecost5 = -2000
+
+@tributecost6 = -2500
+
+
+@tributecostraided1 = -500
+
+@tributecostraided2 = -1000
+
+@tributecostraided3 = -2000
+
+@tributecostraided4 = -3000
+
+@tributecostraided5 = -4000
+
+@tributecostraided6 = -5000
+
+
+
+tribute_cost_energy = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:raiding_marauder }
+ add_energy = @tributecost1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:raiding_marauder }
+ add_energy = @tributecost2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:raiding_marauder }
+ add_energy = @tributecost3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:raiding_marauder }
+ add_energy = @tributecost4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:raiding_marauder }
+ add_energy = @tributecost5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:raiding_marauder }
+ add_energy = @tributecost6
+ }
+}
+
+tribute_cost_minerals = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:raiding_marauder }
+ add_minerals = @tributecost1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:raiding_marauder }
+ add_minerals = @tributecost2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:raiding_marauder }
+ add_minerals = @tributecost3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:raiding_marauder }
+ add_minerals = @tributecost4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:raiding_marauder }
+ add_minerals = @tributecost5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:raiding_marauder }
+ add_minerals = @tributecost6
+ }
+}
+
+tribute_cost_food = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:raiding_marauder }
+ add_food = @tributecost1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:raiding_marauder }
+ add_food = @tributecost2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:raiding_marauder }
+ add_food = @tributecost3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:raiding_marauder }
+ add_food = @tributecost4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:raiding_marauder }
+ add_food = @tributecost5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:raiding_marauder }
+ add_food = @tributecost6
+ }
+}
+
+tribute_cost_energy_raided = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ add_energy = @tributecostraided1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ add_energy = @tributecostraided2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
+ add_energy = @tributecostraided3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ add_energy = @tributecostraided4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ add_energy = @tributecostraided5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ add_energy = @tributecostraided6
+ }
+}
+
+tribute_cost_minerals_raided = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ add_minerals = @tributecostraided1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ add_minerals = @tributecostraided2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
+ add_minerals = @tributecostraided3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ add_minerals = @tributecostraided4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ add_minerals = @tributecostraided5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ add_minerals = @tributecostraided6
+ }
+}
+
+tribute_cost_food_raided = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ add_food = @tributecostraided1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ add_food = @tributecostraided2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
+ add_food = @tributecostraided3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ add_food = @tributecostraided4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ add_food = @tributecostraided5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ add_food = @tributecostraided6
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/scripted_effects/pirate_fleet_effects.txt b/2.0.2/common/scripted_effects/pirate_fleet_effects.txt
index b8f019c..74ce28e 100755
--- a/2.0.0/common/scripted_effects/pirate_fleet_effects.txt
+++ b/2.0.2/common/scripted_effects/pirate_fleet_effects.txt
@@ -383,18 +383,48 @@ create_pirate_fleet = {
}
}
-
assign_leader = last_created_leader
set_location = event_target:pirate_home
set_fleet_stance = aggressive
set_aggro_range_measure_from = self
set_aggro_range = 150
+ # retroactively convert any ship pirate_homes to planet
+ # only needed for 2.0.2 beta
+ if = {
+ limit = {
+ exists = event_target:pirate_home
+ NOT = {
+ event_target:pirate_home = {
+ solar_system = {
+ any_planet = {
+ is_same_value = prevprev
+ }
+ }
+ }
+ }
+ }
+ event_target:pirate_home = {
+ fleet = {
+ orbit = {
+ save_event_target_as = pirate_home
+ }
+ }
+ }
+ }
+
+ # don't do things if targets don't exist!
+ if = {
+ limit = {
+ exists = event_target:pirate_target
+ exists = event_target:pirate_home
+ }
queue_actions = {
repeat = {
find_closest_system = {
trigger = {
id = "pirate.50.trigger.1"
+ exists = event_target:pirate_target
NOT = {
has_star_flag = hostile_system
is_same_value = event_target:capital_system
@@ -407,11 +437,11 @@ create_pirate_fleet = {
exists = controller
controller = { is_same_value = event_target:pirate_target }
}
- distance = {
- source = PREV
- max_distance = 100
- min_distance = 20
- }
+ #distance = {
+ # source = PREV
+ # max_distance = 100
+ # min_distance = 20
+ #}
}
found_system = {
move_to = THIS
@@ -435,8 +465,9 @@ create_pirate_fleet = {
find_random_system = {
trigger = {
id = "pirate.50.trigger.3"
+ exists = event_target:pirate_home
any_planet = {
- is_planet = event_target:pirate_home
+ is_same_value = event_target:pirate_home
}
}
found_system = {
@@ -446,7 +477,7 @@ create_pirate_fleet = {
find_closest_planet = {
trigger = {
id = "pirate.50.trigger.4"
- is_planet = event_target:pirate_home
+ is_same_value = event_target:pirate_home
}
found_planet = {
orbit_planet = THIS
@@ -462,6 +493,7 @@ create_pirate_fleet = {
}
}
}
+}
# ~135 fleet power
create_pirate_ships_0 = {
diff --git a/2.0.0/common/scripted_loc/00_scripted_loc.txt b/2.0.2/common/scripted_loc/00_scripted_loc.txt
index 1a52513..d6c6027 100755
--- a/2.0.0/common/scripted_loc/00_scripted_loc.txt
+++ b/2.0.2/common/scripted_loc/00_scripted_loc.txt
@@ -339,3 +339,19 @@ defined_text = {
localization_key = tradition_diplomacy
}
}
+
+defined_text = {
+ name = GetTradingHubType
+ text = {
+ trigger = {
+ has_ethic = ethic_gestalt_consciousness
+ }
+ localization_key = sm_trading_hub_gestalt
+ }
+ text = {
+ trigger = {
+ NOT = { has_ethic = ethic_gestalt_consciousness }
+ }
+ localization_key = sm_trading_hub
+ }
+}
diff --git a/2.0.0/common/scripted_triggers/00_scripted_triggers.txt b/2.0.2/common/scripted_triggers/00_scripted_triggers.txt
index 112bdfc..b4ac955 100755
--- a/2.0.0/common/scripted_triggers/00_scripted_triggers.txt
+++ b/2.0.2/common/scripted_triggers/00_scripted_triggers.txt
@@ -866,10 +866,7 @@ has_total_war_cb = {
OR = {
is_country_type = awakened_fallen_empire
has_valid_civic = civic_hive_devouring_swarm
- AND = {
- has_technology = "tech_colossus"
- is_rival = from
- }
+ has_valid_civic = civic_machine_assimilator
AND = {
has_valid_civic = civic_machine_terminator
from = {
@@ -892,22 +889,16 @@ has_total_war_cb = {
is_country_type = awakened_fallen_empire
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_machine_assimilator
has_valid_civic = civic_machine_terminator
- AND = {
- is_rival = root
- has_technology = "tech_colossus"
- }
}
from = {
OR = {
is_country_type = awakened_fallen_empire
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_machine_assimilator
has_valid_civic = civic_machine_terminator
- AND = {
- is_rival = root
- has_technology = "tech_colossus"
- }
}
}
}
@@ -1048,3 +1039,82 @@ is_homicidal = {
has_valid_civic = civic_hive_devouring_swarm
}
}
+
+has_subjugation_req = {
+ OR = {
+ has_tradition = tr_domination_adopt
+ has_valid_civic = civic_inwards_perfection
+ has_valid_civic = civic_machine_terminator
+ has_valid_civic = civic_fanatic_purifiers
+ has_valid_civic = civic_hive_devouring_swarm
+ }
+}
+
+has_active_xuracorp_trade = {
+ OR = {
+ has_modifier = enclave_mineral_trade_1_xur
+ has_modifier = enclave_mineral_trade_2_xur
+ has_modifier = enclave_mineral_trade_3_xur
+ has_modifier = enclave_energy_trade_1_xur
+ has_modifier = enclave_energy_trade_2_xur
+ has_modifier = enclave_energy_trade_3_xur
+ has_modifier = enclave_mineral_food_trade_1_xur
+ has_modifier = enclave_mineral_food_trade_2_xur
+ has_modifier = enclave_mineral_food_trade_3_xur
+ has_modifier = enclave_energy_food_trade_1_xur
+ has_modifier = enclave_energy_food_trade_2_xur
+ has_modifier = enclave_energy_food_trade_3_xur
+ has_modifier = enclave_food_minerals_trade_1_xur
+ has_modifier = enclave_food_minerals_trade_2_xur
+ has_modifier = enclave_food_minerals_trade_3_xur
+ has_modifier = enclave_food_energy_trade_1_xur
+ has_modifier = enclave_food_energy_trade_2_xur
+ has_modifier = enclave_food_energy_trade_3_xur
+ }
+}
+
+has_active_riggan_trade = {
+ OR = {
+ has_modifier = enclave_mineral_trade_1_rig
+ has_modifier = enclave_mineral_trade_2_rig
+ has_modifier = enclave_mineral_trade_3_rig
+ has_modifier = enclave_energy_trade_1_rig
+ has_modifier = enclave_energy_trade_2_rig
+ has_modifier = enclave_energy_trade_3_rig
+ has_modifier = enclave_mineral_food_trade_1_rig
+ has_modifier = enclave_mineral_food_trade_2_rig
+ has_modifier = enclave_mineral_food_trade_3_rig
+ has_modifier = enclave_energy_food_trade_1_rig
+ has_modifier = enclave_energy_food_trade_2_rig
+ has_modifier = enclave_energy_food_trade_3_rig
+ has_modifier = enclave_food_minerals_trade_1_rig
+ has_modifier = enclave_food_minerals_trade_2_rig
+ has_modifier = enclave_food_minerals_trade_3_rig
+ has_modifier = enclave_food_energy_trade_1_rig
+ has_modifier = enclave_food_energy_trade_2_rig
+ has_modifier = enclave_food_energy_trade_3_rig
+ }
+}
+
+has_active_muutagan_trade = {
+ OR = {
+ has_modifier = enclave_mineral_trade_1_mut
+ has_modifier = enclave_mineral_trade_2_mut
+ has_modifier = enclave_mineral_trade_3_mut
+ has_modifier = enclave_energy_trade_1_mut
+ has_modifier = enclave_energy_trade_2_mut
+ has_modifier = enclave_energy_trade_3_mut
+ has_modifier = enclave_mineral_food_trade_1_mut
+ has_modifier = enclave_mineral_food_trade_2_mut
+ has_modifier = enclave_mineral_food_trade_3_mut
+ has_modifier = enclave_energy_food_trade_1_mut
+ has_modifier = enclave_energy_food_trade_2_mut
+ has_modifier = enclave_energy_food_trade_3_mut
+ has_modifier = enclave_food_minerals_trade_1_mut
+ has_modifier = enclave_food_minerals_trade_2_mut
+ has_modifier = enclave_food_minerals_trade_3_mut
+ has_modifier = enclave_food_energy_trade_1_mut
+ has_modifier = enclave_food_energy_trade_2_mut
+ has_modifier = enclave_food_energy_trade_3_mut
+ }
+}
\ No newline at end of file
diff --git a/2.0.2/common/scripted_triggers/01_scripted_triggers_marauder_tribute.txt b/2.0.2/common/scripted_triggers/01_scripted_triggers_marauder_tribute.txt
new file mode 100755
index 0000000..055051b
--- /dev/null
+++ b/2.0.2/common/scripted_triggers/01_scripted_triggers_marauder_tribute.txt
@@ -0,0 +1,187 @@
+
+@tributeallow1 = 250
+
+@tributeallow2 = 500
+
+@tributeallow3 = 1000
+
+@tributeallow4 = 1500
+
+@tributeallow5 = 2000
+
+@tributeallow6 = 2500
+
+@tributeallowraided1 = 500
+
+@tributeallowraided2 = 1000
+
+@tributeallowraided3 = 2000
+
+@tributeallowraided4 = 3000
+
+@tributeallowraided5 = 4000
+
+@tributeallowraided6 = 5000
+
+
+determine_energy_tribute = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:raiding_marauder }
+ energy >= @tributeallow1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:raiding_marauder }
+ energy >= @tributeallow2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:raiding_marauder }
+ energy >= @tributeallow3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:raiding_marauder }
+ energy >= @tributeallow4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:raiding_marauder }
+ energy >= @tributeallow5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:raiding_marauder }
+ energy >= @tributeallow6
+ }
+}
+
+determine_mineral_tribute = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:raiding_marauder }
+ minerals >= @tributeallow1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:raiding_marauder }
+ minerals >= @tributeallow2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:raiding_marauder }
+ minerals >= @tributeallow3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:raiding_marauder }
+ minerals >= @tributeallow4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:raiding_marauder }
+ minerals >= @tributeallow5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:raiding_marauder }
+ minerals >= @tributeallow6
+ }
+}
+
+determine_food_tribute = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:raiding_marauder }
+ food >= @tributeallow1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:raiding_marauder }
+ food >= @tributeallow2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:raiding_marauder }
+ food >= @tributeallow3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:raiding_marauder }
+ food >= @tributeallow4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:raiding_marauder }
+ food >= @tributeallow5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:raiding_marauder }
+ food >= @tributeallow6
+ }
+}
+
+determine_energy_tribute_raided = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ energy >= @tributeallowraided1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ energy >= @tributeallowraided2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
+ energy >= @tributeallowraided3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ energy >= @tributeallowraided4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ energy >= @tributeallowraided5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ energy >= @tributeallowraided6
+ }
+}
+
+determine_mineral_tribute_raided = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ minerals >= @tributeallowraided1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ minerals >= @tributeallowraided2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
+ minerals >= @tributeallowraided3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ minerals >= @tributeallowraided4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ minerals >= @tributeallowraided5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ minerals >= @tributeallowraided6
+ }
+}
+
+determine_food_tribute_raided = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ food >= @tributeallowraided1
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ food >= @tributeallowraided2
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
+ food >= @tributeallowraided3
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ food >= @tributeallowraided4
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ food >= @tributeallowraided5
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ food >= @tributeallowraided6
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/scripted_triggers/01_scripted_triggers_planet_killers.txt b/2.0.2/common/scripted_triggers/01_scripted_triggers_planet_killers.txt
index e647cbd..ad83672 100755
--- a/2.0.0/common/scripted_triggers/01_scripted_triggers_planet_killers.txt
+++ b/2.0.2/common/scripted_triggers/01_scripted_triggers_planet_killers.txt
@@ -72,14 +72,12 @@ can_destroy_planet_with_PLANET_KILLER_CRACKER = {
}
custom_tooltip = {
text = not_barren_molten_frozen_toxic_test_fire
- AND = {
- OR = {
NOT = { exists = owner }
+ OR = {
+ NOT = { exists = space_owner }
AND = {
- exists = owner
- owner = {
- is_same_value = from.owner
- }
+ exists = space_owner
+ space_owner = { is_same_value = from.owner }
}
}
OR = {
@@ -88,7 +86,16 @@ can_destroy_planet_with_PLANET_KILLER_CRACKER = {
is_planet_class = pc_frozen
is_planet_class = pc_molten
is_planet_class = pc_toxic
- }
+ is_planet_class = pc_desert
+ is_planet_class = pc_tropical
+ is_planet_class = pc_arid
+ is_planet_class = pc_continental
+ is_planet_class = pc_ocean
+ is_planet_class = pc_tundra
+ is_planet_class = pc_arctic
+ is_planet_class = pc_alpine
+ is_planet_class = pc_savannah
+ is_planet_class = pc_gaia
}
}
}
@@ -98,7 +105,10 @@ can_destroy_planet_with_PLANET_KILLER_CRACKER = {
can_destroy_planet_with_PLANET_KILLER_SHIELDER = {
custom_tooltip = {
fail_text = is_not_a_habitable_planet_or_megastructure
+ OR = {
is_a_habitable_planet_megastructure = yes
+ is_planet_class = pc_ai
+ }
}
custom_tooltip = {
fail_text = is_not_hostile_or_primitive
@@ -172,7 +182,10 @@ can_destroy_planet_with_PLANET_KILLER_NEUTRON = {
}
custom_tooltip = {
fail_text = is_unpopulated
+ OR = {
num_pops > 0
+ is_planet_class = pc_infested
+ }
}
}
@@ -322,6 +335,7 @@ is_a_planet_megastructure = {
is_a_habitable_planet_megastructure = {
OR = {
is_planet_class = pc_nuked
+ is_planet_class = pc_infested
habitable_planet = yes
habitable_structure = yes
}
diff --git a/2.0.0/common/section_templates/cruiser.txt b/2.0.2/common/section_templates/cruiser.txt
index 428c84d..366e2b6 100755
--- a/2.0.0/common/section_templates/cruiser.txt
+++ b/2.0.2/common/section_templates/cruiser.txt
@@ -14,7 +14,7 @@ ship_section_template = {
locatorname = "large_gun_01"
}
- medium_utility_slots = 3
+ medium_utility_slots = 4
cost = 100
}
@@ -58,7 +58,7 @@ ship_section_template = {
locatorname = "small_gun_02"
}
- medium_utility_slots = 3
+ medium_utility_slots = 4
cost = 100
}
@@ -84,7 +84,7 @@ ship_section_template = {
locatorname = "medium_gun_02"
}
- medium_utility_slots = 3
+ medium_utility_slots = 4
cost = 100
}
@@ -128,7 +128,7 @@ ship_section_template = {
locatorname = "strike_craft_locator_01"
}
- medium_utility_slots = 3
+ medium_utility_slots = 4
cost = 100
}
@@ -153,7 +153,7 @@ ship_section_template = {
locatorname = "medium_gun_01"
}
- medium_utility_slots = 3
+ medium_utility_slots = 4
cost = 100
}
@@ -186,7 +186,7 @@ ship_section_template = {
locatorname = "medium_gun_03"
}
- medium_utility_slots = 3
+ medium_utility_slots = 4
cost = 100
}
@@ -237,7 +237,7 @@ ship_section_template = {
locatorname = "small_gun_02"
}
- medium_utility_slots = 3
+ medium_utility_slots = 4
cost = 100
}
diff --git a/2.0.0/common/section_templates/generic_ships.txt b/2.0.2/common/section_templates/generic_ships.txt
index b533ea1..bd6ec99 100755
--- a/2.0.0/common/section_templates/generic_ships.txt
+++ b/2.0.2/common/section_templates/generic_ships.txt
@@ -36,14 +36,26 @@ ship_section_template = {
slot_type = weapon
locatorname = "root"
}
+ component_slot = {
+ name = "MEDIUM_GUN_03"
+ slot_size = medium
+ slot_type = weapon
+ locatorname = "root"
+ }
component_slot = {
name = "LARGE_GUN_01"
slot_size = large
slot_type = weapon
locatorname = "root"
}
+ component_slot = {
+ name = "LARGE_GUN_02"
+ slot_size = large
+ slot_type = weapon
+ locatorname = "root"
+ }
- medium_utility_slots = 6
+ medium_utility_slots = 8
aux_utility_slots = 1
}
diff --git a/2.0.0/common/ship_behaviors/01_standard_ship_behaviors.txt b/2.0.2/common/ship_behaviors/01_standard_ship_behaviors.txt
index ca66a25..8cf32e0 100755
--- a/2.0.0/common/ship_behaviors/01_standard_ship_behaviors.txt
+++ b/2.0.2/common/ship_behaviors/01_standard_ship_behaviors.txt
@@ -44,9 +44,9 @@ ship_behavior = {
ship_behavior = {
name = "picket"
- preferred_attack_range = 40
- formation_distance = 40 #when orbing/following ship will try to keep this distance to assigned position
- return_to_formation_distance = 50 #when attacking the ship will switch to passive mode if distance to assigned position is greater that this
+ preferred_attack_range = 30
+ formation_distance = 30 #when orbing/following ship will try to keep this distance to assigned position
+ return_to_formation_distance = 40 #when attacking the ship will switch to passive mode if distance to assigned position is greater that this
collision_awareness = 0.75 #how much we try to avoid other ships
collision_strafe = 0.75 #collision_strafe allows the ship to move in any direction while colliding with another
@@ -60,10 +60,10 @@ ship_behavior = {
ship_behavior = {
name = "line"
- preferred_attack_range = 70 #max/min/median/12/412.. #this is the distance to target the ship wants to keep when attacking
+ preferred_attack_range = 50 #max/min/median/12/412.. #this is the distance to target the ship wants to keep when attacking
- formation_distance = 70 #when orbing/following ship will try to keep this distance to assigned position
- return_to_formation_distance = 80 #when attacking the ship will switch to passive mode if distance to assigned position is greater that this
+ formation_distance = 50 #when orbing/following ship will try to keep this distance to assigned position
+ return_to_formation_distance = 60 #when attacking the ship will switch to passive mode if distance to assigned position is greater that this
collision_awareness = 0.75
collision_radius = 1.0
@@ -77,9 +77,9 @@ ship_behavior = {
ship_behavior = {
name = "artillery"
- preferred_attack_range = 100
- formation_distance = 100
- return_to_formation_distance = 110
+ preferred_attack_range = 80
+ formation_distance = 80
+ return_to_formation_distance = 90
combat_target_anchor = root
diff --git a/2.0.0/common/ship_sizes/00_ship_sizes.txt b/2.0.2/common/ship_sizes/00_ship_sizes.txt
index 86e465e..ea40dc6 100755
--- a/2.0.0/common/ship_sizes/00_ship_sizes.txt
+++ b/2.0.2/common/ship_sizes/00_ship_sizes.txt
@@ -2,28 +2,41 @@
# This file is where you start when you want to configure something new, then go to sections
@corvette_collision_radius = 2.0
-@corvette_formation_priority = 4
+@corvette_formation_priority = 20
@destroyer_collision_radius = 2.5
-@destroyer_formation_priority = 2
+@destroyer_formation_priority = 10
@cruiser_collision_radius = 3.5
-@cruiser_formation_priority = 3
+@cruiser_formation_priority = 30
@battleship_collision_radius = 6
-@battleship_formation_priority = 5
+@battleship_formation_priority = 50
@titan_collision_radius = 12
-@titan_formation_priority = 1
+@titan_formation_priority = 40
@build_block_radius_none = 0
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
+
+####################
+# NOTE FOR MODDERS #
+####################
+# modifier = { } only takes the following modifiers
+# hull, shield & armor add/mult and regen add perc/static
+# evasion add/mult
+# speed/base speed mult
+# weapon damage mult
+# upkeep mult
+# for other modifiers, use ship_modifier = { }
+####################
############
# STANDARD #
@@ -49,6 +62,8 @@ corvette = {
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
+ default_behavior = swarm
+
prerequisites = { "tech_corvettes" }
combat_disengage_chance = 1.75
@@ -83,6 +98,8 @@ destroyer = {
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
+ default_behavior = picket
+
prerequisites = { "tech_destroyers" }
combat_disengage_chance = 1.50
@@ -99,11 +116,11 @@ destroyer = {
cruiser = {
formation_priority = @cruiser_formation_priority
- max_speed = @speed_fast
+ max_speed = @speed_default
acceleration = 0.25
rotation_speed = 0.175
collision_radius = @cruiser_collision_radius
- max_hitpoints = 1400
+ max_hitpoints = 1800
modifier = {
ship_evasion_add = 10
}
@@ -117,6 +134,8 @@ cruiser = {
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
+ default_behavior = line
+
prerequisites = { "tech_cruisers" }
combat_disengage_chance = 1.25
@@ -133,7 +152,7 @@ cruiser = {
battleship = {
formation_priority = @battleship_formation_priority
- max_speed = @speed_default
+ max_speed = @speed_slow
acceleration = 0.2
rotation_speed = 0.15
collision_radius = @battleship_collision_radius
@@ -151,6 +170,8 @@ battleship = {
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
+ default_behavior = line
+
prerequisites = { "tech_battleships" }
combat_disengage_chance = 1.00
@@ -167,7 +188,7 @@ battleship = {
titan = {
formation_priority = @titan_formation_priority
- max_speed = @speed_default
+ max_speed = @speed_slow
acceleration = 0.2
rotation_speed = 0.15
collision_radius = @titan_collision_radius
@@ -185,9 +206,11 @@ titan = {
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
+ default_behavior = artillery
+
prerequisites = { "tech_titans" }
- combat_disengage_chance = 0.50
+ combat_disengage_chance = 1.00
has_mineral_upkeep = yes
class = shipclass_military
@@ -206,19 +229,18 @@ titan = {
empire_limit = {
base = 1
- max = 3
+ max = 20
naval_cap_div = 200
}
}
constructor = {
- #max_speed = 3.75
- max_speed = @speed_slow
+ max_speed = @speed_fast
acceleration = 0.3
rotation_speed = 0.2
max_hitpoints = 300
modifier = {
- ship_evasion_add = 15
+ ship_evasion_add = 25
}
size_multiplier = 1
fleet_slot_size = 1
@@ -252,12 +274,12 @@ constructor = {
}
colonizer = {
- max_speed = @speed_slow
+ max_speed = @speed_very_slow
acceleration = 0.3
rotation_speed = 0.2
max_hitpoints = 300
modifier = {
- ship_evasion_add = 15
+ ship_evasion_add = 10
}
size_multiplier = 1
fleet_slot_size = 1
@@ -291,13 +313,12 @@ colonizer = {
}
science = {
- #max_speed = 4.5
- max_speed = @speed_default
+ max_speed = @speed_very_fast
acceleration = 0.3
rotation_speed = 0.2
max_hitpoints = 300
modifier = {
- ship_evasion_add = 15
+ ship_evasion_add = 40
}
size_multiplier = 1
fleet_slot_size = 1
@@ -371,9 +392,11 @@ military_station_small = {
max_hitpoints = 1000
modifier = {
ship_evasion_mult = -1
- ship_weapon_range_mult = 0.20
ship_upkeep_mult = -0.25
}
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
+ }
combat_size_multiplier = 2
size_multiplier = 1
fleet_slot_size = 2
@@ -407,11 +430,12 @@ military_station_medium = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 30
- ship_weapon_range_mult = 0.20
- ship_fire_rate_mult = 1
ship_shield_mult = 1
ship_upkeep_mult = -0.25
}
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 10000
size_multiplier = 8
fleet_slot_size = 4
@@ -445,11 +469,12 @@ military_station_large = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 44
- ship_weapon_range_mult = 0.20
- ship_fire_rate_mult = 1
ship_shield_mult = 1
ship_upkeep_mult = -0.25
}
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 15000
size_multiplier = 16
fleet_slot_size = 8
diff --git a/2.0.0/common/ship_sizes/00_starbases.txt b/2.0.2/common/ship_sizes/00_starbases.txt
index c25323b..09bccf2 100755
--- a/2.0.0/common/ship_sizes/00_starbases.txt
+++ b/2.0.2/common/ship_sizes/00_starbases.txt
@@ -12,10 +12,12 @@ starbase_outpost = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 1000
- ship_weapon_range_mult = 0.20
- ship_fire_rate_mult = 0.5
starbase_defense_platform_capacity_add = 3
}
+ ship_modifier = {
+ ship_fire_rate_mult = 0.50
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 5000
base_buildtime = 360
cost = 200
@@ -48,7 +50,7 @@ starbase_outpost = {
icon_frame = 1
upkeep_override = {
- energy = 0
+ energy = 1
minerals = 0
}
}
@@ -60,12 +62,14 @@ starbase_starport = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 2000
- ship_weapon_range_mult = 0.20
- ship_fire_rate_mult = 0.5
starbase_module_capacity_add = 2
starbase_building_capacity_add = 1
starbase_defense_platform_capacity_add = 6
}
+ ship_modifier = {
+ ship_fire_rate_mult = 0.50
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 10000
base_buildtime = 360
cost = 300
@@ -100,7 +104,7 @@ starbase_starport = {
icon_frame = 2
upkeep_override = {
- energy = 1
+ energy = 2
minerals = 0
}
}
@@ -112,12 +116,14 @@ starbase_starhold = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 5000
- ship_weapon_range_mult = 0.20
- ship_fire_rate_mult = 0.5
starbase_module_capacity_add = 4
starbase_building_capacity_add = 2
starbase_defense_platform_capacity_add = 9
}
+ ship_modifier = {
+ ship_fire_rate_mult = 0.50
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 20000
base_buildtime = 720
cost = 750
@@ -154,7 +160,7 @@ starbase_starhold = {
icon_frame = 3
upkeep_override = {
- energy = 2
+ energy = 3
minerals = 0
}
}
@@ -166,12 +172,14 @@ starbase_starfortress = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 10000
- ship_weapon_range_mult = 0.20
- ship_fire_rate_mult = 0.5
starbase_module_capacity_add = 6
starbase_building_capacity_add = 3
starbase_defense_platform_capacity_add = 12
}
+ ship_modifier = {
+ ship_fire_rate_mult = 0.50
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 40000
base_buildtime = 1080
cost = 2500
@@ -210,7 +218,7 @@ starbase_starfortress = {
icon_frame = 4
upkeep_override = {
- energy = 3
+ energy = 4
minerals = 0
}
}
@@ -222,12 +230,14 @@ starbase_citadel = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 20000
- ship_weapon_range_mult = 0.20
- ship_fire_rate_mult = 0.5
starbase_module_capacity_add = 6
starbase_building_capacity_add = 4
starbase_defense_platform_capacity_add = 15
}
+ ship_modifier = {
+ ship_fire_rate_mult = 0.50
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 80000
base_buildtime = 1440
cost = 7500
@@ -266,7 +276,7 @@ starbase_citadel = {
icon_frame = 5
upkeep_override = {
- energy = 6
+ energy = 5
minerals = 0
}
}
@@ -283,6 +293,8 @@ starbase_swarm = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 30000
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
}
max_hitpoints = 30000
@@ -320,6 +332,8 @@ starbase_ai = {
ship_evasion_mult = -1
ship_armor_add = 20000
ship_shield_add = 20000
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
}
max_hitpoints = 20000
@@ -357,6 +371,8 @@ starbase_exd = {
modifier = {
ship_evasion_mult = -1
ship_shield_add = 40000
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
}
max_hitpoints = 20000
@@ -395,6 +411,8 @@ starbase_marauder = {
ship_evasion_mult = -1
ship_shield_add = 10000
ship_armor_add = 10000
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
}
max_hitpoints = 20000
@@ -436,13 +454,15 @@ ion_cannon = {
max_hitpoints = 10000
modifier = {
ship_evasion_mult = -1
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
}
size_multiplier = 8
fleet_slot_size = 8
combat_size_multiplier = 8
section_slots = { "ship" = { locator = "part1" } }
- is_designable = no
+ is_designable = yes
components_add_to_cost = no
uses_name_prefix = no
takes_name_from_ship_design = yes
diff --git a/2.0.0/common/ship_sizes/01_colossi.txt b/2.0.2/common/ship_sizes/01_colossi.txt
index fad2fa0..58c1865 100755
--- a/2.0.0/common/ship_sizes/01_colossi.txt
+++ b/2.0.2/common/ship_sizes/01_colossi.txt
@@ -1,9 +1,15 @@
@colossus_collision_radius = 4
@colossus_formation_priority = 4
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
+
colossus = {
formation_priority = @colossus_formation_priority
- max_speed = 80
+ max_speed = @speed_very_slow
acceleration = 0.2
rotation_speed = 0.15
collision_radius = @colossus_collision_radius
diff --git a/2.0.0/common/ship_sizes/02_event_ships.txt b/2.0.2/common/ship_sizes/02_event_ships.txt
index a543e61..5177bb7 100755
--- a/2.0.0/common/ship_sizes/02_event_ships.txt
+++ b/2.0.2/common/ship_sizes/02_event_ships.txt
@@ -15,10 +15,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
##################
# EVENT SPECIFIC #
@@ -183,11 +184,10 @@ eventship_01 = {
rotation_speed = 0.175
collision_radius = 4
modifier = {
- ship_evasion_add = 12
- ship_armor_add = 35
+ ship_evasion_add = 15
}
- max_hitpoints = 960
- size_multiplier = 1
+ max_hitpoints = 2000
+ size_multiplier = 4
fleet_slot_size = 3
section_slots = { "mid" = { locator = "root" } }
num_target_locators = 0
diff --git a/2.0.0/common/ship_sizes/03_swarm_ships.txt b/2.0.2/common/ship_sizes/03_swarm_ships.txt
index 5da44fe..0a6bf92 100755
--- a/2.0.0/common/ship_sizes/03_swarm_ships.txt
+++ b/2.0.2/common/ship_sizes/03_swarm_ships.txt
@@ -15,10 +15,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
#########
# SWARM #
diff --git a/2.0.0/common/ship_sizes/04_fallen_empires.txt b/2.0.2/common/ship_sizes/04_fallen_empires.txt
index 5040efe..48dae0d 100755
--- a/2.0.0/common/ship_sizes/04_fallen_empires.txt
+++ b/2.0.2/common/ship_sizes/04_fallen_empires.txt
@@ -20,11 +20,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_very_slow = 60
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
#################
# FALLEN EMPIRE #
@@ -35,7 +35,7 @@ massive_ship_fallen_empire = {
formation_priority = @titan_formation_priority
#entity = titan_entity
graphical_culture = { "fallen_empire_01" "fallen_empire_02" "fallen_empire_03" "fallen_empire_04" "fallen_machine_empire_01" }
- max_speed = @speed_very_slow
+ max_speed = @speed_slow
acceleration = 0.15
rotation_speed = 0.1
collision_radius = @titan_collision_radius
@@ -139,6 +139,9 @@ military_station_small_fallen_empire = {
ship_armor_regen_add_perc = 0.5
ship_upkeep_mult = -0.25
}
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 5000
combat_size_multiplier = 4
@@ -171,9 +174,11 @@ military_station_large_fallen_empire = {
acceleration = 10
modifier = {
ship_evasion_mult = -1
- ship_weapon_range_mult = 0.5
ship_upkeep_mult = -0.25
}
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 10000
combat_size_multiplier = 20
size_multiplier = 8
diff --git a/2.0.0/common/ship_sizes/05_extra_dimensional.txt b/2.0.2/common/ship_sizes/05_extra_dimensional.txt
index 893d442..5d46b2c 100755
--- a/2.0.0/common/ship_sizes/05_extra_dimensional.txt
+++ b/2.0.2/common/ship_sizes/05_extra_dimensional.txt
@@ -15,10 +15,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
####################
# EXTRADIMENSIONAL #
diff --git a/2.0.0/common/ship_sizes/06_crystal_entities.txt b/2.0.2/common/ship_sizes/06_crystal_entities.txt
index db9c5b1..eec737c 100755
--- a/2.0.0/common/ship_sizes/06_crystal_entities.txt
+++ b/2.0.2/common/ship_sizes/06_crystal_entities.txt
@@ -10,10 +10,11 @@
@cruiser_evasion = 15
@cruiser_hp = 1400
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
@build_block_radius_civilian = 20
diff --git a/2.0.0/common/ship_sizes/07_space_monsters.txt b/2.0.2/common/ship_sizes/07_space_monsters.txt
index 18d17b2..7aeb98e 100755
--- a/2.0.0/common/ship_sizes/07_space_monsters.txt
+++ b/2.0.2/common/ship_sizes/07_space_monsters.txt
@@ -15,11 +15,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_very_slow = 60
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
#################
# SPACE MONSTER #
diff --git a/2.0.0/common/ship_sizes/08_marauder_ships.txt b/2.0.2/common/ship_sizes/08_marauder_ships.txt
index 2a2de9d..53d2c3f 100755
--- a/2.0.0/common/ship_sizes/08_marauder_ships.txt
+++ b/2.0.2/common/ship_sizes/08_marauder_ships.txt
@@ -23,12 +23,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_crawl = 30
-@speed_very_slow = 60
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
# Marauder Corvette
marauder_corvette = {
diff --git a/2.0.0/common/ship_sizes/09_pirates_ships.txt b/2.0.2/common/ship_sizes/09_pirates_ships.txt
index 47cca49..368be4a 100755
--- a/2.0.0/common/ship_sizes/09_pirates_ships.txt
+++ b/2.0.2/common/ship_sizes/09_pirates_ships.txt
@@ -15,11 +15,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_very_slow = 60
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
##########
# PIRATE #
@@ -117,9 +117,11 @@ pirate_station = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 35
- ship_weapon_range_mult = 0.20
ship_upkeep_mult = -0.25
}
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
+ }
max_hitpoints = 2000
size_multiplier = 4
fleet_slot_size = 4
diff --git a/2.0.0/common/ship_sizes/10_ai_ships.txt b/2.0.2/common/ship_sizes/10_ai_ships.txt
index 3d39e87..e661cf2 100755
--- a/2.0.0/common/ship_sizes/10_ai_ships.txt
+++ b/2.0.2/common/ship_sizes/10_ai_ships.txt
@@ -15,11 +15,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_very_slow = 60
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
######
# AI #
@@ -77,8 +77,9 @@ military_station_large_ai = {
rotation_speed = 0.0
modifier = {
ship_evasion_mult = -1
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
- ship_upkeep_mult = -0.25
}
max_hitpoints = 4000
size_multiplier = 8
@@ -100,8 +101,9 @@ military_station_small_ai = {
rotation_speed = 0.0
modifier = {
ship_evasion_mult = -1
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
- ship_upkeep_mult = -0.25
}
max_hitpoints = 2000
size_multiplier = 8
@@ -123,8 +125,9 @@ core_ai = {
rotation_speed = 0.0
modifier = {
ship_evasion_mult = -1
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.20
- ship_upkeep_mult = -0.25
}
max_hitpoints = 50000
combat_size_multiplier = 50
@@ -148,8 +151,9 @@ final_core_ai = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 100
- ship_weapon_range_mult = 0.50
- ship_upkeep_mult = -0.25
+ }
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
}
max_hitpoints = 140000
combat_size_multiplier = 50
@@ -246,8 +250,9 @@ blue_core_ai = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 100
- ship_weapon_range_mult = 0.50
- ship_upkeep_mult = -0.25
+ }
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
}
max_hitpoints = 40000
size_multiplier = 8
@@ -270,8 +275,9 @@ blue_military_station_large_ai = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 45
- ship_weapon_range_mult = 0.50
- ship_upkeep_mult = -0.25
+ }
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
}
max_hitpoints = 20000
size_multiplier = 8
@@ -294,8 +300,9 @@ blue_military_station_small_ai = {
modifier = {
ship_evasion_mult = -1
ship_armor_add = 20
- ship_weapon_range_mult = 0.50
- ship_upkeep_mult = -0.25
+ }
+ ship_modifier = {
+ ship_weapon_range_mult = 0.20
}
max_hitpoints = 10000
size_multiplier = 8
diff --git a/2.0.0/common/ship_sizes/11_guardians.txt b/2.0.2/common/ship_sizes/11_guardians.txt
index 7055455..9d3bce9 100755
--- a/2.0.0/common/ship_sizes/11_guardians.txt
+++ b/2.0.2/common/ship_sizes/11_guardians.txt
@@ -16,11 +16,11 @@
@build_block_radius_military = 200
@speed_crawl = 30
-@speed_very_slow = 60
-@speed_slow = 80
-@speed_default = 100
-@speed_fast = 120
-@speed_very_fast = 170
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
# Dragon Test
# Swarm Queen
@@ -266,6 +266,8 @@ dimensional_horror = {
ship_evasion_mult = -1
ship_shield_add = 100000
ship_armor_add = 100000
+ }
+ ship_modifier = {
ship_weapon_range_mult = 0.50
}
max_hitpoints = 100000
@@ -297,7 +299,6 @@ npc_warship_01 = {
modifier = {
ship_evasion_add = 2
ship_upkeep_mult = -1
- ship_fire_rate_mult = 1
ship_weapon_damage = 2
ship_shield_mult = 3
ship_armor_add = 5000
diff --git a/2.0.0/common/ship_sizes/12_psionic.txt b/2.0.2/common/ship_sizes/12_psionic.txt
index 9dc16b8..b780b4c 100755
--- a/2.0.0/common/ship_sizes/12_psionic.txt
+++ b/2.0.2/common/ship_sizes/12_psionic.txt
@@ -15,7 +15,11 @@
@build_block_radius_civilian = 20
@build_block_radius_military = 200
-@speed_slow = 80
+@speed_very_slow = 80
+@speed_slow = 100
+@speed_default = 120
+@speed_fast = 140
+@speed_very_fast = 160
#################
# AVATAR #
@@ -54,7 +58,6 @@ corrupted_avatar = {
ship_evasion_add = 25
ship_shield_add = 150000
ship_shield_regen_add_static = 20
- ship_weapon_range_mult = 1
}
max_hitpoints = 17500
size_multiplier = 16
@@ -76,7 +79,6 @@ shroud_manifestation = {
modifier = {
ship_evasion_add = 25
ship_shield_add = 50000
- ship_weapon_range_mult = 1
}
max_hitpoints = 10000
size_multiplier = 16
@@ -98,7 +100,6 @@ warped_consciousness = {
modifier = {
ship_evasion_add = 25
ship_shield_add = 50000
- ship_weapon_range_mult = 2
}
max_hitpoints = 10000
size_multiplier = 16
diff --git a/2.0.0/common/solar_system_initializers/hostile_system_initializers.txt b/2.0.2/common/solar_system_initializers/hostile_system_initializers.txt
index 4f605a7..18a4420 100755
--- a/2.0.0/common/solar_system_initializers/hostile_system_initializers.txt
+++ b/2.0.2/common/solar_system_initializers/hostile_system_initializers.txt
@@ -2595,7 +2595,10 @@ hostile_init_18 = {
}
modifier = {
factor = 0
+ OR = {
has_star_flag = empire_cluster
+ host_has_dlc = "Apocalypse"
+ }
}
}
diff --git a/2.0.0/common/solar_system_initializers/prescripted_species_systems.txt b/2.0.2/common/solar_system_initializers/prescripted_species_systems.txt
index 900bd16..14b6e4d 100755
--- a/2.0.0/common/solar_system_initializers/prescripted_species_systems.txt
+++ b/2.0.2/common/solar_system_initializers/prescripted_species_systems.txt
@@ -673,6 +673,16 @@ vultaumar_system = {
type = "medium_debris_01_object"
location = THIS
}
+ add_modifier = {
+ modifier = "vultaum_homeworld"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_engineering_deposit
+ add_deposit = d_enormous3_physics_deposit
+ add_deposit = d_enormous3_society_deposit
+ }
}
@@ -719,6 +729,17 @@ vultaumar_system = {
orbit_angle = 210
size = 25
has_ring = yes
+
+ init_effect = {
+ add_modifier = {
+ modifier = "vultaum_minerals"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_mineral_deposit
+ }
+ }
}
planet = {
@@ -729,6 +750,17 @@ vultaumar_system = {
size = 40
has_ring = no
+ init_effect = {
+ add_modifier = {
+ modifier = "vultaum_energy"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_energy_deposit
+ }
+ }
+
moon = {
name = "NAME_Vultaumar_IVa"
class = "pc_frozen"
@@ -790,6 +822,16 @@ yuhtaan_system = {
angle = random
}
}
+ add_modifier = {
+ modifier = "yuht_homeworld"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_engineering_deposit
+ add_deposit = d_enormous3_physics_deposit
+ add_deposit = d_enormous3_society_deposit
+ }
}
moon = {
@@ -834,6 +876,17 @@ yuhtaan_system = {
orbit_angle = -95
size = 5
has_ring = no
+
+ init_effect = {
+ add_modifier = {
+ modifier = "yuht_minerals"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_mineral_deposit
+ }
+ }
}
planet = {
@@ -888,6 +941,17 @@ yuhtaan_system = {
has_ring = yes
change_orbit = 6
+ init_effect = {
+ add_modifier = {
+ modifier = "yuht_energy"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_energy_deposit
+ }
+ }
+
moon = {
name = "NAME_Yuthaan_Va"
class = "pc_frozen"
@@ -939,6 +1003,17 @@ fen_habbanis_system = {
orbit_angle = -210
size = 5
has_ring = no
+
+ init_effect = {
+ add_modifier = {
+ modifier = "first_league_minerals"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_mineral_deposit
+ }
+ }
}
planet = {
@@ -966,6 +1041,19 @@ fen_habbanis_system = {
has_ring = no
#anomaly = "FEN_HABBANIS"
flags = { first_league_homeworld }
+
+ init_effect = {
+ add_modifier = {
+ modifier = "first_league_homeworld"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_engineering_deposit
+ add_deposit = d_enormous3_physics_deposit
+ add_deposit = d_enormous3_society_deposit
+ }
+ }
}
planet = {
@@ -993,6 +1081,17 @@ fen_habbanis_system = {
orbit_angle = -160
size = 35
has_ring = no
+
+ init_effect = {
+ add_modifier = {
+ modifier = "first_league_energy"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_energy_deposit
+ }
+ }
}
}
@@ -1033,6 +1132,17 @@ irass_system = {
orbit_angle = 70
size = 20
has_ring = no
+
+ init_effect = {
+ add_modifier = {
+ modifier = "irassian_minerals"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_mineral_deposit
+ }
+ }
}
planet = {
@@ -1086,6 +1196,19 @@ irass_system = {
has_ring = no
#anomaly = "IRASSIA"
flags = { irassian_homeworld }
+
+ init_effect = {
+ add_modifier = {
+ modifier = "irassian_homeworld"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_engineering_deposit
+ add_deposit = d_enormous3_physics_deposit
+ add_deposit = d_enormous3_society_deposit
+ }
+ }
}
}
@@ -1123,6 +1246,17 @@ irass_system = {
orbit_angle = 145
size = 25
has_ring = no
+
+ init_effect = {
+ add_modifier = {
+ modifier = "irassian_energy"
+ days = -1
+ }
+ orbital_deposit_tile = {
+ clear_deposits = yes
+ add_deposit = d_enormous3_energy_deposit
+ }
+ }
}
planet = {
diff --git a/2.0.0/common/solar_system_initializers/special_system_initializers.txt b/2.0.2/common/solar_system_initializers/special_system_initializers.txt
index a53ddba..61aaefa 100755
--- a/2.0.0/common/solar_system_initializers/special_system_initializers.txt
+++ b/2.0.2/common/solar_system_initializers/special_system_initializers.txt
@@ -1,3 +1,4 @@
+@distance = 50
@base_moon_distance = 10
# Black Holes
@@ -4102,7 +4103,7 @@ com_sol_system = {
civic = civic_idealistic_foundation
}
species = event_target:human_species
- name_list = "HUM3"
+ name_list = "HUMAN1"
#ship_prefix = "UNS"
ethos = {
ethic = "ethic_xenophile"
diff --git a/2.0.0/common/special_projects/00_projects.txt b/2.0.2/common/special_projects/00_projects.txt
index bd7753b..8259180 100755
--- a/2.0.0/common/special_projects/00_projects.txt
+++ b/2.0.2/common/special_projects/00_projects.txt
@@ -554,7 +554,7 @@ special_project = {
cost = 0
days_to_research = 180
tech_department = physics_technology
- timelimit = 730
+ timelimit = 1080
event_scope = ship_event
@@ -579,7 +579,7 @@ special_project = {
days_to_research = 180
tech_department = society_technology
picture = GFX_evt_gas_giant
- timelimit = 360 # in days
+ timelimit = 1080
event_scope = ship_event
@@ -604,7 +604,7 @@ special_project = {
days_to_research = 180
tech_department = society_technology
picture = GFX_evt_gas_giant
- timelimit = 730 # in days
+ timelimit = 1080
event_scope = ship_event
@@ -743,7 +743,7 @@ special_project = {
cost = 0
days_to_research = 180
tech_department = society_technology
- timelimit = 730 # in days
+ timelimit = 1080
event_scope = ship_event
@@ -767,7 +767,7 @@ special_project = {
cost = 0
days_to_research = 180
tech_department = society_technology
- timelimit = 730 # in days
+ timelimit = 1080
event_scope = ship_event
@@ -2546,7 +2546,7 @@ special_project = {
days_to_research = 60
tech_department = society_technology
picture = GFX_evt_smugglers_in_bar
- timelimit = 720
+ timelimit = 1080
event_scope = ship_event
@@ -2570,7 +2570,7 @@ special_project = {
days_to_research = 60
tech_department = society_technology
picture = GFX_evt_smugglers_in_bar
- timelimit = 720
+ timelimit = 1080
event_scope = ship_event
@@ -2594,7 +2594,7 @@ special_project = {
days_to_research = 60
tech_department = society_technology
picture = GFX_evt_smugglers_in_bar
- timelimit = 720
+ timelimit = 1080
event_scope = ship_event
@@ -3079,7 +3079,7 @@ special_project = {
days_to_research = 60
tech_department = society_technology
picture = GFX_evt_cybernetics
- timelimit = 720
+ timelimit = 1080
event_scope = ship_event
diff --git a/2.0.0/common/special_projects/00_projects_2.txt b/2.0.2/common/special_projects/00_projects_2.txt
index 979343c..593483f 100755
--- a/2.0.0/common/special_projects/00_projects_2.txt
+++ b/2.0.2/common/special_projects/00_projects_2.txt
@@ -97,7 +97,7 @@ special_project = {
#cost = 0
days_to_research = 20
tech_department = society_technology
- timelimit = 720
+ timelimit = 1080
picture = GFX_evt_alien_planet
icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
@@ -122,7 +122,7 @@ special_project = {
#cost = 200
days_to_research = 30
tech_department = society_technology
- timelimit = 720
+ timelimit = 1080
picture = GFX_evt_alien_planet
icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
@@ -147,7 +147,7 @@ special_project = {
#cost = 400
days_to_research = 10
tech_department = society_technology
- timelimit = 400
+ timelimit = 1080
picture = GFX_evt_alien_planet
icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
@@ -433,7 +433,7 @@ special_project = {
#cost = 100
days_to_research = 10
tech_department = engineering_technology
- timelimit = 90
+ timelimit = 1080
picture = GFX_evt_satellite_in_orbit
event_scope = ship_event
diff --git a/2.0.0/common/special_projects/00_projects_3.txt b/2.0.2/common/special_projects/00_projects_3.txt
index e0984d6..f22f360 100755
--- a/2.0.0/common/special_projects/00_projects_3.txt
+++ b/2.0.2/common/special_projects/00_projects_3.txt
@@ -62,7 +62,7 @@ special_project = {
#cost = 0
days_to_research = 30
tech_department = society_technology
- timelimit = 100
+ timelimit = 1080
picture = GFX_evt_sapient_AI
icon = "gfx/interface/icons/situation_log/situation_log_ai.dds"
@@ -184,7 +184,7 @@ special_project = {
#cost = 0
days_to_research = 60
tech_department = engineering_technology
- timelimit = 365
+ timelimit = 1080
picture = GFX_evt_mining_station
icon = "gfx/interface/icons/situation_log/situation_log_engineering.dds"
@@ -233,7 +233,7 @@ special_project = {
#cost = 0
days_to_research = 45
tech_department = engineering_technology
- timelimit = 500
+ timelimit = 1080
picture = GFX_evt_ship_in_orbit
icon = "gfx/interface/icons/situation_log/situation_log_engineering.dds"
@@ -335,7 +335,7 @@ special_project = {
#cost = 0
days_to_research = 7
tech_department = society_technology
- timelimit = 90
+ timelimit = 1080
picture = GFX_evt_ship_under_attack
icon = "gfx/interface/icons/situation_log/situation_log_extradimensional.dds"
@@ -558,8 +558,8 @@ special_project = {
on_success = {
root = {
random_list = {
- 30 = { planet_event = { id = colony.2006 } } #ship can be used
- 50 = { planet_event = { id = colony.2007 } } #ship can be salvaged
+ 50 = { planet_event = { id = colony.2006 } } #ship can be used
+ 30 = { planet_event = { id = colony.2007 } } #ship can be salvaged
20 = { planet_event = { id = colony.2008 } } #ship cannot be salvaged
}
}
diff --git a/2.0.0/common/special_projects/00_projects_4.txt b/2.0.2/common/special_projects/00_projects_4.txt
index 32c3566..1900a8f 100755
--- a/2.0.0/common/special_projects/00_projects_4.txt
+++ b/2.0.2/common/special_projects/00_projects_4.txt
@@ -194,7 +194,7 @@ special_project = {
special_project = {
key = "disappearing_pops_project"
- timelimit = 360
+ timelimit = 1080
cost = 100
tech_department = society_technology
picture = GFX_evt_alien_planet
diff --git a/2.0.0/common/special_projects/00_projects_guardian.txt b/2.0.2/common/special_projects/00_projects_guardian.txt
index 32f1268..a4f141c 100755
--- a/2.0.0/common/special_projects/00_projects_guardian.txt
+++ b/2.0.2/common/special_projects/00_projects_guardian.txt
@@ -167,7 +167,7 @@ special_project = {
cost = 0
days_to_research = 30
tech_department = engineering_technology
- timelimit = 720
+ timelimit = 1080
event_scope = ship_event
@@ -189,7 +189,7 @@ special_project = {
cost = 0
days_to_research = 30
tech_department = engineering_technology
- timelimit = 720
+ timelimit = 1080
same_option_group_as = { ENIGMATIC_FORTRESS_1A }
@@ -213,7 +213,7 @@ special_project = {
cost = 0
days_to_research = 60
tech_department = engineering_technology
- timelimit = 360
+ timelimit = 1080
event_scope = ship_event
@@ -237,7 +237,7 @@ special_project = {
cost = 0
days_to_research = 120
tech_department = engineering_technology
- timelimit = 360
+ timelimit = 1080
event_scope = ship_event
@@ -262,7 +262,7 @@ special_project = {
cost = 0
days_to_research = 30
tech_department = engineering_technology
- timelimit = 360
+ timelimit = 1080
event_scope = ship_event
@@ -287,7 +287,7 @@ special_project = {
cost = 0
days_to_research = 10
tech_department = engineering_technology
- timelimit = 360
+ timelimit = 1080
event_scope = ship_event
diff --git a/2.0.0/common/special_projects/00_projects_horizonsignal.txt b/2.0.2/common/special_projects/00_projects_horizonsignal.txt
index 9240eaa..e13c4ca 100755
--- a/2.0.0/common/special_projects/00_projects_horizonsignal.txt
+++ b/2.0.2/common/special_projects/00_projects_horizonsignal.txt
@@ -133,7 +133,7 @@ special_project = {
#cost = 0
days_to_research = 1
tech_department = society_technology
- timelimit = 360
+ timelimit = 1080
picture = GFX_evt_alien_city
icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
@@ -164,7 +164,7 @@ special_project = {
#cost = 0
days_to_research = 1
tech_department = society_technology
- timelimit = 360
+ timelimit = 1080
picture = GFX_evt_alien_city
icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
@@ -191,7 +191,7 @@ special_project = {
#cost = 0
days_to_research = 1
tech_department = society_technology
- timelimit = 360
+ timelimit = 1080
picture = GFX_evt_alien_city
icon = "gfx/interface/icons/situation_log/situation_log_quest.dds"
diff --git a/2.0.0/common/special_projects/00_projects_utopia.txt b/2.0.2/common/special_projects/00_projects_utopia.txt
index 84db764..e1e05f6 100755
--- a/2.0.0/common/special_projects/00_projects_utopia.txt
+++ b/2.0.2/common/special_projects/00_projects_utopia.txt
@@ -54,6 +54,16 @@ special_project = {
on_success = {
owner = {
+ if = {
+ limit = {
+ has_policy_flag = robots_outlawed
+ }
+ set_policy = {
+ policy = robot_pop_policy
+ option = robot_pops_allowed
+ cooldown = no
+ }
+ }
country_event = { id = utopia.2551 }
}
}
diff --git a/2.0.0/common/species_names/machine_names_SC.txt b/2.0.0/common/species_names/machine_names_SC.txt
deleted file mode 100755
index 195b5be..0000000
--- a/2.0.0/common/species_names/machine_names_SC.txt
+++ /dev/null
@@ -1,150 +0,0 @@
-# Generated species derive their names from here
-
-### MACHINES
-
-MACHINE = {
- xt-489 = {
- language = "l_simp_chinese"
- name = XT-489
- plural = XT-489s
- home_planet = X-01
- home_system = VX-2291
- name_list = "MACHINE1"
- }
-
- shazarak = {
- language = "l_simp_chinese"
- name = 沙扎拉克
- plural = 沙扎拉克斯
- home_planet = 沙兹乌
- home_system = 沙兹卡
- name_list = "MACHINE2"
- }
-
- mechazur = {
- language = "l_simp_chinese"
- name = 麦克佐
- plural = 麦克佐斯
- home_planet = "麦卡斯至尊"
- home_system = Mechaz
- name_list = "MACHINE1"
- }
-
- zero-zero-one = {
- language = "l_simp_chinese"
- name = 零-零-壹
- plural = 零-零-壹
- home_planet = 零-壹
- home_system = 零
- name_list = "MACHINE3"
- }
-
- prime = {
- language = "l_simp_chinese"
- name = 至尊
- plural = 至尊
- home_planet = "至尊者"
- home_system = "基地群"
- name_list = "MACHINE3"
- }
-
- zenak = {
- language = "l_simp_chinese"
- name = 则纳克
- plural = 则纳基
- home_planet = 则纳克-普鲁
- home_system = 则纳空
- name_list = "MACHINE2"
- }
-
- omni = {
- language = "l_simp_chinese"
- name = 奥姆
- plural = 奥姆
- home_planet = "阿尔法阵列"
- home_system = 欧姆纳克
- name_list = "MACHINE1"
- }
-
- daar = {
- language = "l_simp_chinese"
- name = 达尔
- plural = 达尔
- home_planet = 达尔-1
- home_system = 达尔鲁兹
- name_list = "MACHINE2"
- }
-
- tronzaru = {
- language = "l_simp_chinese"
- name = 创泽鲁
- plural = 创泽鲁
- home_planet = 创兹
- home_system = "创兹_卡拉斯"
- name_list = "MACHINE1"
- }
-
- techarus = {
- language = "l_simp_chinese"
- name = 塔夏鲁斯
- plural = 塔其斯
- home_planet = 塔夏
- home_system = "塔夏-尤巴斯"
- name_list = "MACHINE3"
- }
-
- jonus = {
- language = "l_simp_chinese"
- name = 乔纳斯
- plural = 乔纳西
- home_planet = 贾拉
- home_system = 杰尼萨
- name_list = "MACHINE3"
- }
-
- iribot = {
- language = "l_simp_chinese"
- name = 伊利波特
- plural = 伊利波特
- home_planet = 伊尔
- home_system = 伊利
- name_list = "MACHINE2"
- }
-
- silicron = {
- language = "l_simp_chinese"
- name = 西利克隆
- plural = 西利克隆斯
- home_planet = "主管道"
- home_system = SI-1
- name_list = "MACHINE1"
- }
-
- dekron = {
- language = "l_simp_chinese"
- name = 戴克隆
- plural = 戴克隆斯
- home_planet = 戴克隆尼亚
- home_system = 戴克鲁斯
- name_list = "MACHINE3"
- }
-
- tebrid = {
- language = "l_simp_chinese"
- name = 泰伯瑞德
- plural = 泰伯瑞茨
- home_planet = 零
- home_system = 泰伯瑞亚
- name_list = "MACHINE2"
- }
-
- synthoid = {
- language = "l_simp_chinese"
- name = 合成人
- plural = 合成人
- home_planet = 合成子
- home_system = 合成者
- name_list = "MACHINE2"
- }
-
-}
diff --git a/2.0.0/common/species_rights/species_rights.txt b/2.0.2/common/species_rights/species_rights.txt
index 985a838..75cf59e 100755
--- a/2.0.0/common/species_rights/species_rights.txt
+++ b/2.0.2/common/species_rights/species_rights.txt
@@ -142,7 +142,7 @@ citizenship_assimilation = {
hidden_trigger = { exists = from }
custom_tooltip = {
fail_text = MUST_NOT_BE_DOMINANT_SPECIES
- NOT = { is_same_species = from }
+ NOT = { is_exact_same_species = from }
}
custom_tooltip = {
fail_text = "lonely_hive_mind_pops_kill_themselves_citizenship"
@@ -728,15 +728,16 @@ citizenship_purge = {
is_same_species = from
}
}
- custom_tooltip = {
- fail_text = same_species_disallowed
- NOT = { is_same_species = from }
- }
if = {
limit = { is_lonely_hive_mind_pop = yes }
always = yes
else = {
+ custom_tooltip = {
+ fail_text = same_species_disallowed
+ NOT = { is_same_species = from }
+ }
+
OR = {
custom_tooltip = {
#fail_text = default
@@ -2321,6 +2322,12 @@ population_control_yes = {
allow = {
hidden_trigger = { exists = from }
+ if = {
+ limit = {
+ has_citizenship_type = { country = from type = citizenship_purge }
+ }
+ always = yes
+ else = {
custom_tooltip = {
fail_text = same_species_disallowed
OR = {
@@ -2338,6 +2345,8 @@ population_control_yes = {
}
}
}
+ }
+ }
ai_will_do = {
factor = 2
modifier = {
@@ -2399,11 +2408,19 @@ colonization_control_yes = {
allow = {
hidden_trigger = { exists = from }
+ if = {
+ limit = {
+ has_citizenship_type = { country = from type = citizenship_purge }
+ }
+ always = yes
+ else = {
custom_tooltip = {
fail_text = same_species_disallowed
NOT = { is_same_species = from }
}
}
+ }
+ }
ai_will_do = {
factor = 2
diff --git a/2.0.0/common/starbase_buildings/00_starbase_buildings.txt b/2.0.2/common/starbase_buildings/00_starbase_buildings.txt
index 18400a3..e334f7e 100755
--- a/2.0.0/common/starbase_buildings/00_starbase_buildings.txt
+++ b/2.0.2/common/starbase_buildings/00_starbase_buildings.txt
@@ -150,7 +150,10 @@ offworld_trading_company = {
potential = {
exists = owner
- owner = { has_technology = tech_space_trading }
+ owner = {
+ has_technology = tech_space_trading
+ #NOT = { has_ethic = ethic_gestalt_consciousness }
+ }
}
possible = {
@@ -166,6 +169,7 @@ offworld_trading_company = {
}
custom_tooltip = sm_offworld_trading_company_desc_modifier
+
show_in_tech = "tech_space_trading"
ai_build_at_chokepoint = no
@@ -477,7 +481,7 @@ deep_space_black_site = {
fail_text = "requires_colonized_planet"
solar_system = {
any_planet = {
- is_colony = yes
+ is_owned_by = from
}
}
}
@@ -779,3 +783,45 @@ command_center = {
weight = 10
}
}
+
+#offworld_trading_company_gestalt = {
+# icon = "GFX_starbase_offworld_trading_company"
+# construction_days = 360
+#
+# potential = {
+# exists = owner
+# owner = {
+# has_technology = tech_space_trading
+# has_ethic = ethic_gestalt_consciousness
+# }
+# }
+#
+# possible = {
+# custom_tooltip = {
+# fail_text = "requires_starport"
+# has_starbase_size >= starbase_starport
+# }
+# has_starbase_module = trading_hub_gestalt
+# }
+#
+# cost = {
+# minerals = 200
+# }
+#
+# custom_tooltip = sm_offworld_trading_company_gestalt_desc_modifier
+# show_in_tech = "tech_space_trading"
+# #show_tech_unlock_if = { has_ethic = auth_machine_intelligence }
+#
+# ai_build_at_chokepoint = no
+# ai_build_outside_chokepoint = yes
+# ai_weight = {
+# weight = 200
+# modifier = {
+# factor = 0
+# count_starbase_modules = {
+# type = trading_hub
+# count < 3
+# }
+# }
+# }
+#}
\ No newline at end of file
diff --git a/2.0.0/common/starbase_modules/00_starbase_modules.txt b/2.0.2/common/starbase_modules/00_starbase_modules.txt
index a30956e..ae454c7 100755
--- a/2.0.0/common/starbase_modules/00_starbase_modules.txt
+++ b/2.0.2/common/starbase_modules/00_starbase_modules.txt
@@ -27,11 +27,11 @@ shipyard = {
ai_build_at_chokepoint = no
ai_build_outside_chokepoint = yes
ai_weight = {
- weight = 10
- modifier = {
- factor = 100
- NOT = { has_starbase_module = shipyard }
- }
+ weight = 30
+ # modifier = {
+ # factor = 100
+ # NOT = { has_starbase_module = shipyard }
+ # }
}
}
@@ -61,7 +61,7 @@ anchorage = {
ai_weight = {
weight = 20
modifier = {
- factor = 10
+ factor = 2
count_starbase_modules = {
type = anchorage
count < 2
@@ -180,15 +180,17 @@ trading_hub = {
potential = {
exists = owner
+ #owner = { NOT = { has_ethic = ethic_gestalt_consciousness } }
}
possible = {
custom_tooltip = {
- fail_text = "requires_colonized_planet"
+ fail_text = "requires_trade_planet"
solar_system = {
OR = {
any_planet = {
- is_colony = yes
+ exists = owner
+ owner = { is_country_type = default }
}
AND = {
has_star_flag = enclave
@@ -238,7 +240,76 @@ trading_hub = {
ai_build_at_chokepoint = no
ai_weight = {
- weight = 10
+ weight = 15
}
}
+#trading_hub_gestalt = {
+# icon = "GFX_starbase_trading_hub"
+# section = "REFINERY_STARBASE_SECTION"
+# construction_days = 180
+#
+# potential = {
+# exists = owner
+# owner = { has_ethic = ethic_gestalt_consciousness }
+# }
+#
+# possible = {
+# custom_tooltip = {
+# fail_text = "requires_trade_planet"
+# solar_system = {
+# OR = {
+# any_planet = {
+# is_colony = yes
+# }
+# AND = {
+# has_star_flag = enclave
+# any_ship_in_system = {
+# exists = owner
+# owner = {
+# has_country_flag = trader_enclave_country
+# }
+# }
+# }
+# }
+# }
+# }
+# }
+#
+# cost = {
+# minerals = 100
+# }
+#
+# produced_resources = {
+# energy = 4
+# }
+#
+# produced_resource_trigger = {
+# modifier = {
+# hidden_trigger = { exists = this }
+# has_starbase_building = offworld_trading_company_gestalt
+# resources = {
+# energy = 2
+# }
+# }
+# modifier = {
+# hidden_trigger = { exists = this }
+# owner = { has_civic = civic_corporate_dominion }
+# resources = {
+# energy = 1
+# }
+# }
+# modifier = {
+# hidden_trigger = { exists = this }
+# owner = { has_non_swapped_tradition = tr_prosperity_trans_stellar_corporations }
+# resources = {
+# energy = 1
+# }
+# }
+# }
+#
+# ai_build_at_chokepoint = no
+# ai_weight = {
+# weight = 10
+# }
+#}
diff --git a/2.0.0/common/starbase_types/00_starbase_types.txt b/2.0.2/common/starbase_types/00_starbase_types.txt
index 2814a6b..bbf9163 100755
--- a/2.0.0/common/starbase_types/00_starbase_types.txt
+++ b/2.0.2/common/starbase_types/00_starbase_types.txt
@@ -49,6 +49,65 @@ stb_shipyard = {
}
}
}
+
+ ai_design = {
+ min = {
+ base = 1
+ }
+
+ ratio = {
+ base = 0.25
+ modifier = {
+ add = 0.10
+ owner = {
+ has_ethic = ethic_militarist
+ }
+ }
+ modifier = {
+ add = 0.05
+ owner = {
+ has_ethic = ethic_fanatic_militarist
+ }
+ }
+ }
+
+ # token followed by priority
+ buildings = {
+ crew_quarters = {
+ base = 1.00
+ }
+
+ fleet_academy = {
+ base = 0.25
+ }
+
+ naval_logistics_office = {
+ base = 0.05
+ }
+
+ titan_yards = {
+ base = 0.01
+ }
+
+ colossus_yards = {
+ base = 0.01
+ }
+ }
+
+ modules = {
+ shipyard = {
+ base = 1.00
+ }
+
+ anchorage = {
+ base = 0.50
+ }
+
+ hangar_bay = {
+ base = 0.45
+ }
+ }
+ }
}
# Anchorage
@@ -99,6 +158,61 @@ stb_anchorage = {
}
}
}
+
+ ai_design = {
+ min = {
+ base = 1
+ }
+
+ ratio = {
+ base = 0.15
+ modifier = {
+ add = 0.05
+ owner = {
+ has_ethic = ethic_militarist
+ }
+ }
+ modifier = {
+ add = 0.02
+ owner = {
+ has_ethic = ethic_fanatic_militarist
+ }
+ }
+ }
+
+ # token followed by priority
+ buildings = {
+ crew_quarters = {
+ base = 1.00
+ }
+
+ fleet_academy = {
+ base = 0.05
+ }
+
+ naval_logistics_office = {
+ base = 0.05
+ }
+
+ curator_think_tank = {
+ base = 0.03
+ }
+
+ art_college = {
+ base = 0.03
+ }
+ }
+
+ modules = {
+ anchorage = {
+ base = 1.00
+ }
+
+ hangar_bay = {
+ base = 0.60
+ }
+ }
+ }
}
# Trading Hub
@@ -109,6 +223,7 @@ stb_trading_hub = {
type = trading_hub
count > 0
}
+ owner = { NOT = { has_ethic = ethic_gestalt_consciousness } }
}
weight_modifier = {
@@ -149,6 +264,61 @@ stb_trading_hub = {
}
}
}
+
+ ai_design = {
+ min = {
+ base = 1
+ }
+
+ ratio = {
+ base = 0.3
+ modifier = {
+ add = 0.10
+ owner = {
+ has_ethic = ethic_materialist
+ }
+ }
+ modifier = {
+ add = 0.05
+ owner = {
+ has_ethic = ethic_fanatic_materialist
+ }
+ }
+ }
+
+ # token followed by priority
+ buildings = {
+ offworld_trading_company = {
+ base = 1.00
+ }
+
+ nebula_refinery = {
+ base = 0.8
+ }
+
+ naval_logistics_office = {
+ base = 0.05
+ }
+
+ art_college = {
+ base = 0.03
+ }
+
+ curator_think_tank = {
+ base = 0.03
+ }
+ }
+
+ modules = {
+ trading_hub = {
+ base = 1.0
+ }
+
+ resource_silo = {
+ base = 0.80
+ }
+ }
+ }
}
# Fortress System
@@ -291,4 +461,118 @@ stb_fortress = {
}
}
}
+
+ ai_design = {
+ min = {
+ base = 1
+ }
+
+ ratio = {
+ base = 0.25
+ modifier = {
+ add = 0.10
+ owner = {
+ has_ethic = ethic_militarist
+ }
+ }
+ modifier = {
+ add = 0.1
+ owner = {
+ has_ethic = ethic_fanatic_militarist
+ }
+ }
+ }
+
+ # token followed by priority
+ buildings = {
+ target_uplink_computer = {
+ base = 1.00
+ }
+
+ command_center = {
+ base = 1.00
+ }
+
+ defense_grid = {
+ base = 1.00
+ }
+
+ communications_jammer = {
+ base = 0.90
+ }
+
+ disruption_field = {
+ base = 0.90
+ }
+
+ warp_fluctuator = {
+ base = 0.90
+ }
+ }
+
+ modules = {
+ hangar_bay = {
+ base = 0.80
+ }
+
+ missile_battery = {
+ base = 1.00
+ }
+
+ gun_battery = {
+ base = 1.00
+ }
+ }
+ }
+}
+
+# Trading Hub - Gestalts
+stb_trading_hub_gestalt = {
+ potential = {
+ has_starbase_size >= starbase_starport
+ count_starbase_modules = {
+ type = trading_hub
+ count > 0
+ }
+ owner = { has_ethic = ethic_gestalt_consciousness }
+ }
+
+ weight_modifier = {
+ base = 100
+ modifier = {
+ add = 100
+ count_starbase_modules = {
+ type = trading_hub
+ count > 1
+ }
+ }
+ modifier = {
+ add = 100
+ count_starbase_modules = {
+ type = trading_hub
+ count > 2
+ }
+ }
+ modifier = {
+ add = 100
+ count_starbase_modules = {
+ type = trading_hub
+ count > 3
+ }
+ }
+ modifier = {
+ add = 100
+ count_starbase_modules = {
+ type = trading_hub
+ count > 4
+ }
+ }
+ modifier = {
+ add = 100
+ count_starbase_modules = {
+ type = trading_hub
+ count > 5
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/2.0.0/common/static_modifiers/00_static_modifiers.txt b/2.0.2/common/static_modifiers/00_static_modifiers.txt
index be1576b..cba0bbb 100755
--- a/2.0.0/common/static_modifiers/00_static_modifiers.txt
+++ b/2.0.2/common/static_modifiers/00_static_modifiers.txt
@@ -9,6 +9,7 @@
##########################################################################
empire_base = {
max_rivalries = 3
+ country_occupation_armies_add = 3
}
# Applies to Awakened Empires too
@@ -23,70 +24,108 @@ defensive_war = {
pop_consumer_goods_mult = -0.33
}
+##########################################################################
+# High War Exhaustion
+##########################################################################
+high_war_exhaustion = {
+}
+
##########################################################################
# Difficulty Modifiers - not applied to vassals of players
##########################################################################
-difficulty_insane_ai = {
- tile_resource_minerals_mult = 1
- tile_resource_energy_mult = 1
- tile_resource_physics_research_mult = 1
- tile_resource_society_research_mult = 1
- tile_resource_engineering_research_mult = 1
- country_naval_cap_mult = 1
+# For playable empires
+difficulty_scaling = {
+ country_resource_food_mult = 0.5
+ country_resource_minerals_mult = 0.5
+ country_resource_energy_mult = 0.5
+ country_resource_unity_mult = 0.5
+ all_technology_research_speed = 0.5
+ country_naval_cap_mult = 0.5
}
-difficulty_very_hard_ai = {
- tile_resource_minerals_mult = 0.5
- tile_resource_energy_mult = 0.5
- tile_resource_physics_research_mult = 0.5
- tile_resource_society_research_mult = 0.5
- tile_resource_engineering_research_mult = 0.5
- country_naval_cap_mult = 0.5
+difficulty_grand_admiral = {
+ country_resource_food_mult = 1
+ country_resource_minerals_mult = 1
+ country_resource_energy_mult = 1
+ country_resource_unity_mult = 0.6
+ all_technology_research_speed = 0.6
+ country_naval_cap_mult = 0.6
}
+difficulty_admiral = {
+ country_resource_food_mult = 0.75
+ country_resource_minerals_mult = 0.75
+ country_resource_energy_mult = 0.75
+ country_resource_unity_mult = 0.45
+ all_technology_research_speed = 0.45
+ country_naval_cap_mult = 0.45
+}
-difficulty_hard_ai = {
- tile_resource_minerals_mult = 0.25
- tile_resource_energy_mult = 0.25
- tile_resource_physics_research_mult = 0.25
- tile_resource_society_research_mult = 0.25
- tile_resource_engineering_research_mult = 0.25
- country_naval_cap_mult = 0.25
+difficulty_commodore = {
+ country_resource_food_mult = 0.5
+ country_resource_minerals_mult = 0.5
+ country_resource_energy_mult = 0.5
+ country_resource_unity_mult = 0.3
+ all_technology_research_speed = 0.3
+ country_naval_cap_mult = 0.3
+}
+
+difficulty_captain = {
+ country_resource_food_mult = 0.25
+ country_resource_minerals_mult = 0.25
+ country_resource_energy_mult = 0.25
+ country_resource_unity_mult = 0.15
+ all_technology_research_speed = 0.15
+ country_naval_cap_mult = 0.15
}
-difficulty_normal_ai = {
+difficulty_ensign = {
}
-# For non-playable empires, scales to galaxy size
-difficulty_scaled_insane = {
+# For non-playable empires, scales to setting in country type
+difficulty_scaling_npc = {
+ ship_weapon_damage = 0.5
+ ship_hull_mult = 0.5
+ ship_armor_mult = 0.5
+ ship_shield_mult = 0.5
+}
+
+difficulty_grand_admiral_npc = {
ship_weapon_damage = 1.0
ship_hull_mult = 1.0
ship_armor_mult = 1.0
ship_shield_mult = 1.0
}
-difficulty_scaled_very_hard = {
+difficulty_admiral_npc = {
ship_weapon_damage = 0.75
ship_hull_mult = 0.75
ship_armor_mult = 0.75
ship_shield_mult = 0.75
}
-difficulty_scaled_hard = {
+difficulty_commodore_npc = {
ship_weapon_damage = 0.66
ship_hull_mult = 0.66
ship_armor_mult = 0.66
ship_shield_mult = 0.66
}
-difficulty_scaled_normal = {
+difficulty_captain_npc = {
ship_weapon_damage = 0.5
ship_hull_mult = 0.5
ship_armor_mult = 0.5
ship_shield_mult = 0.5
}
+difficulty_ensign_npc = {
+ ship_weapon_damage = 0.33
+ ship_hull_mult = 0.33
+ ship_armor_mult = 0.33
+ ship_shield_mult = 0.33
+}
+
# Awakened Empires grow weaker over time
awakened_empire_decadence = {
pop_resource_output = -0.75
@@ -97,6 +136,7 @@ awakened_empire_decadence = {
ship_shield_mult = -0.25
}
+
##########################################################################
# Pop Modifiers
##########################################################################
@@ -113,16 +153,24 @@ pop_habitability = {
# Happiness Levels
pop_happiness_positive = {
- pop_non_slave_resource_output = 0.20
+ pop_resource_output = 0.20
pop_government_ethic_attraction = 0.20
}
+pop_happiness_positive_slave = {
+ pop_ethic_authoritarian_attraction_mult = 1
+}
+
# Also causes unrest
pop_happiness_negative = {
- pop_non_slave_resource_output = -0.20
+ pop_non_food_resource_output = -0.20
pop_government_ethic_attraction = -0.20
}
+pop_happiness_negative_slave = {
+ pop_ethic_egalitarian_attraction_mult = 5
+}
+
recently_migrated = {
pop_happiness = 0.1
}
@@ -548,11 +596,11 @@ capital = {
# Multiplied by the distance from the Capital solar system
# Distance 650 is about edge-to-edge in a 600 system map
distance_from_capital = {
- pop_government_ethic_attraction = -0.001
+ #pop_government_ethic_attraction = -0.001
}
managed_by_sector = {
- pop_government_ethic_attraction = -0.1
+ pop_government_ethic_attraction = -0.3
}
migrating_forests = {
@@ -756,13 +804,6 @@ assist_research = {
icon_frame = 1
}
-faith_in_science = {
- planet_resource_unity_add = 1
-
- icon = "gfx/interface/icons/planet_modifiers/pm_assist_research.dds"
- icon_frame = 1
-}
-
ancient_automation = {
icon = "gfx/interface/icons/planet_modifiers/pm_robots.dds"
icon_frame = 2
@@ -899,7 +940,7 @@ stellarite_low_temp = {
}
planet_unrest = {
- pop_resource_output = -0.5
+ pop_non_food_resource_output = -0.5
pop_processing_output = -1.0
}
@@ -907,6 +948,54 @@ land_appropriation = {
planet_migration_all_pull = 1
}
+vultaum_homeworld = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_factory.dds"
+}
+
+vultaum_minerals = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_impacts.dds"
+}
+
+vultaum_energy = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_belt.dds"
+}
+
+yuht_homeworld = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_factory.dds"
+}
+
+yuht_minerals = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_belt.dds"
+}
+
+yuht_energy = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_belt.dds"
+}
+
+first_league_homeworld = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_factory.dds"
+}
+
+first_league_minerals = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_belt.dds"
+}
+
+first_league_energy = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_belt.dds"
+}
+
+irassian_homeworld = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_factory.dds"
+}
+
+irassian_minerals = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_belt.dds"
+}
+
+irassian_energy = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_asteroid_belt.dds"
+}
+
##########################################################################
# Leader Skill Modifiers
##########################################################################
@@ -984,6 +1073,9 @@ ship_rank_elite = {
##########################################################################
# Country modifiers
##########################################################################
+piracy_risk = {
+}
+
over_starbase_capacity = {
country_starbase_upkeep_mult = 0.25
}
@@ -1110,6 +1202,10 @@ marauder_2_tribute = {
marauder_3_tribute = {
}
+marauder_skirmishing = {
+ ship_fire_rate_mult = 0.10
+}
+
sentinel_data = {
damage_vs_country_type_swarm_mult = 0.2
}
@@ -1132,6 +1228,24 @@ enclave_mineral_trade_3_xur = {
static_resource_energy_add = -100
}
+enclave_mineral_food_trade_1_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 10
+ static_resource_food_add = -20
+}
+
+enclave_mineral_food_trade_2_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 25
+ static_resource_food_add = -50
+}
+
+enclave_mineral_food_trade_3_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 50
+ static_resource_food_add = -100
+}
+
enclave_energy_trade_1_xur = {
icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
static_resource_energy_add = 10
@@ -1150,6 +1264,60 @@ enclave_energy_trade_3_xur = {
static_resource_minerals_add = -100
}
+enclave_energy_food_trade_1_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 10
+ static_resource_food_add = -20
+}
+
+enclave_energy_food_trade_2_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 25
+ static_resource_food_add = -50
+}
+
+enclave_energy_food_trade_3_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 50
+ static_resource_food_add = -100
+}
+
+enclave_food_minerals_trade_1_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 10
+ static_resource_minerals_add = -20
+}
+
+enclave_food_minerals_trade_2_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 25
+ static_resource_minerals_add = -50
+}
+
+enclave_food_minerals_trade_3_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 50
+ static_resource_minerals_add = -100
+}
+
+enclave_food_energy_trade_1_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 10
+ static_resource_energy_add = -20
+}
+
+enclave_food_energy_trade_2_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 25
+ static_resource_energy_add = -50
+}
+
+enclave_food_energy_trade_3_xur = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 50
+ static_resource_energy_add = -100
+}
+
enclave_mineral_trade_1_rig = {
icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
static_resource_minerals_add = 10
@@ -1168,6 +1336,24 @@ enclave_mineral_trade_3_rig = {
static_resource_energy_add = -100
}
+enclave_mineral_food_trade_1_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 10
+ static_resource_food_add = -20
+}
+
+enclave_mineral_food_trade_2_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 25
+ static_resource_food_add = -50
+}
+
+enclave_mineral_food_trade_3_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 50
+ static_resource_food_add = -100
+}
+
enclave_energy_trade_1_rig = {
icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
static_resource_energy_add = 10
@@ -1186,6 +1372,60 @@ enclave_energy_trade_3_rig = {
static_resource_minerals_add = -100
}
+enclave_energy_food_trade_1_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 10
+ static_resource_food_add = -20
+}
+
+enclave_energy_food_trade_2_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 25
+ static_resource_food_add = -50
+}
+
+enclave_energy_food_trade_3_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 50
+ static_resource_food_add = -100
+}
+
+enclave_food_minerals_trade_1_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 10
+ static_resource_minerals_add = -20
+}
+
+enclave_food_minerals_trade_2_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 25
+ static_resource_minerals_add = -50
+}
+
+enclave_food_minerals_trade_3_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 50
+ static_resource_minerals_add = -100
+}
+
+enclave_food_energy_trade_1_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 10
+ static_resource_energy_add = -20
+}
+
+enclave_food_energy_trade_2_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 25
+ static_resource_energy_add = -50
+}
+
+enclave_food_energy_trade_3_rig = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 50
+ static_resource_energy_add = -100
+}
+
enclave_mineral_trade_1_mut = {
icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
static_resource_minerals_add = 10
@@ -1204,6 +1444,24 @@ enclave_mineral_trade_3_mut = {
static_resource_energy_add = -100
}
+enclave_mineral_food_trade_1_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 10
+ static_resource_food_add = -20
+}
+
+enclave_mineral_food_trade_2_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 25
+ static_resource_food_add = -50
+}
+
+enclave_mineral_food_trade_3_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_minerals_add = 50
+ static_resource_food_add = -100
+}
+
enclave_energy_trade_1_mut = {
icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
static_resource_energy_add = 10
@@ -1222,6 +1480,60 @@ enclave_energy_trade_3_mut = {
static_resource_minerals_add = -100
}
+enclave_energy_food_trade_1_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 10
+ static_resource_food_add = -20
+}
+
+enclave_energy_food_trade_2_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 25
+ static_resource_food_add = -50
+}
+
+enclave_energy_food_trade_3_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_energy_add = 50
+ static_resource_food_add = -100
+}
+
+enclave_food_minerals_trade_1_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 10
+ static_resource_minerals_add = -20
+}
+
+enclave_food_minerals_trade_2_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 25
+ static_resource_minerals_add = -50
+}
+
+enclave_food_minerals_trade_3_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 50
+ static_resource_minerals_add = -100
+}
+
+enclave_food_energy_trade_1_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 10
+ static_resource_energy_add = -20
+}
+
+enclave_food_energy_trade_2_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 25
+ static_resource_energy_add = -50
+}
+
+enclave_food_energy_trade_3_mut = {
+ icon = "gfx/interface/icons/modifiers/mod_country_previous_deals.dds"
+ static_resource_food_add = 50
+ static_resource_energy_add = -100
+}
+
#applied based on the "should_apply_neighbor_rival_modifier" game rule
#scales with number of rivals that are bordering the country
per_neighbor_rival = {
diff --git a/2.0.0/common/static_modifiers/01_static_modifers.txt b/2.0.2/common/static_modifiers/01_static_modifers.txt
index 9609f25..c62fcac 100755
--- a/2.0.0/common/static_modifiers/01_static_modifers.txt
+++ b/2.0.2/common/static_modifiers/01_static_modifers.txt
@@ -199,8 +199,8 @@ humiliated = {
}
raided = {
- pop_happiness = -0.10
- country_resource_influence_mult = -0.20
+ country_resource_energy_mult = -0.20
+ country_resource_minerals_mult = -0.20
}
drone_processing = {
diff --git a/2.0.0/common/static_modifiers/06_static_modifiers_apocalypse.txt b/2.0.2/common/static_modifiers/06_static_modifiers_apocalypse.txt
index 283617d..d50169b 100755
--- a/2.0.0/common/static_modifiers/06_static_modifiers_apocalypse.txt
+++ b/2.0.2/common/static_modifiers/06_static_modifiers_apocalypse.txt
@@ -11,6 +11,13 @@ god_rayed = {
icon_frame = 2
}
+# Neutron Bombarded
+neutron_bombarded = {
+ icon = "gfx/interface/icons/planet_modifiers/pm_atmospheric_hallucinogen.dds"
+ pop_environment_tolerance = -0.30
+ icon_frame = 3
+}
+
# Uneasy Faith
uneasy_faith = {
icon = "gfx/interface/icons/planet_modifiers/pm_atmospheric_hallucinogen.dds"
diff --git a/2.0.0/common/strategic_resources/00_strategic_resources.txt b/2.0.2/common/strategic_resources/00_strategic_resources.txt
index 5f90518..24b3e57 100755
--- a/2.0.0/common/strategic_resources/00_strategic_resources.txt
+++ b/2.0.2/common/strategic_resources/00_strategic_resources.txt
@@ -80,7 +80,7 @@ unity = {
accumulative = yes
collect_if_wrong_building = no
AI_category = unity
- base_income = 1
+ base_income = 2
}
###########################
diff --git a/2.0.0/common/system_types/00_system_types.txt b/2.0.2/common/system_types/00_system_types.txt
index d838d7b..e31c5f2 100755
--- a/2.0.0/common/system_types/00_system_types.txt
+++ b/2.0.2/common/system_types/00_system_types.txt
@@ -194,10 +194,11 @@ sys_anchorage = {
}
}
-# Anchorage System
+# Trade System
sys_trading_hub = {
potential = {
exists = owner
+ owner = { NOT = { has_ethic = ethic_gestalt_consciousness } }
exists = starbase
starbase = {
has_starbase_size >= starbase_starport
@@ -503,3 +504,77 @@ sys_homeworld = {
base = 2000
}
}
+
+# Trade System - Gestalt
+sys_trading_hub_gestalt = {
+ potential = {
+ exists = owner
+ owner = { has_ethic = ethic_gestalt_consciousness }
+ exists = starbase
+ starbase = {
+ has_starbase_size >= starbase_starport
+ count_starbase_modules = {
+ type = trading_hub
+ count > 1
+ }
+ }
+ }
+
+ weight_modifier = {
+ base = 100
+ modifier = {
+ add = 100
+ starbase = {
+ count_starbase_modules = {
+ type = trading_hub
+ count > 2
+ }
+ }
+ }
+ modifier = {
+ add = 100
+ starbase = {
+ count_starbase_modules = {
+ type = trading_hub
+ count > 2
+ }
+ }
+ }
+ modifier = {
+ add = 100
+ starbase = {
+ count_starbase_modules = {
+ type = trading_hub
+ count > 2
+ }
+ }
+ }
+ modifier = {
+ add = 100
+ starbase = {
+ count_starbase_modules = {
+ type = trading_hub
+ count > 2
+ }
+ }
+ }
+ }
+}
+
+# Marauder System
+sys_marauder = {
+ potential = {
+ exists = owner
+ owner = {
+ OR = {
+ is_country_type = dormant_marauders
+ is_country_type = ruined_marauders
+ is_country_type = awakened_marauders
+ }
+ }
+ }
+
+ weight_modifier = {
+ base = 1000
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/technology/00_apocalypse_tech.txt b/2.0.2/common/technology/00_apocalypse_tech.txt
index 9ffc32b..3a02000 100755
--- a/2.0.0/common/technology/00_apocalypse_tech.txt
+++ b/2.0.2/common/technology/00_apocalypse_tech.txt
@@ -4,24 +4,24 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1300
-@tier2cost3 = 1600
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 2000
-@tier3cost2 = 2500
-@tier3cost3 = 3000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 4000
-@tier4cost2 = 5000
-@tier4cost3 = 6000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 10000
-@tier5cost2 = 12000
-@tier5cost3 = 14000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
+@tier5cost3 = 20000
####################
### TECH WEIGHTS ###
diff --git a/2.0.0/common/technology/00_eng_tech.txt b/2.0.2/common/technology/00_eng_tech.txt
index 30a7b57..0b61c1c 100755
--- a/2.0.0/common/technology/00_eng_tech.txt
+++ b/2.0.2/common/technology/00_eng_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
@@ -297,6 +297,7 @@ tech_titans = {
category = { voidcraft }
prerequisites = { "tech_battleships" }
weight = @tier5weight1
+ ai_update_type = military
modifier = {
country_command_limit_add = 10
@@ -381,6 +382,7 @@ tech_corvette_build_speed = {
modifier = {
shipsize_corvette_build_speed_mult = 0.25
+ shipsize_corvette_build_cost_mult = -0.05
}
weight_modifier = {
@@ -504,6 +506,7 @@ tech_destroyer_build_speed = {
modifier = {
shipsize_destroyer_build_speed_mult = 0.25
+ shipsize_destroyer_build_cost_mult = -0.05
}
weight_modifier = {
@@ -635,6 +638,7 @@ tech_cruiser_build_speed = {
modifier = {
shipsize_cruiser_build_speed_mult = 0.25
+ shipsize_cruiser_build_cost_mult = -0.05
}
weight_modifier = {
@@ -667,7 +671,7 @@ tech_cruiser_hull_1 = {
weight = @tier3weight3
modifier = {
- shipsize_cruiser_hull_add = 400
+ shipsize_cruiser_hull_add = 500
}
weight_modifier = {
@@ -706,7 +710,7 @@ tech_cruiser_hull_2 = {
weight = @tier4weight1
modifier = {
- shipsize_cruiser_hull_add = 400
+ shipsize_cruiser_hull_add = 500
}
weight_modifier = {
@@ -766,6 +770,7 @@ tech_battleship_build_speed = {
modifier = {
shipsize_battleship_build_speed_mult = 0.25
+ shipsize_battleship_build_cost_mult = -0.05
}
weight_modifier = {
diff --git a/2.0.0/common/technology/00_eng_weapon_tech.txt b/2.0.2/common/technology/00_eng_weapon_tech.txt
index dc2ffa6..fada39a 100755
--- a/2.0.0/common/technology/00_eng_weapon_tech.txt
+++ b/2.0.2/common/technology/00_eng_weapon_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
diff --git a/2.0.0/common/technology/00_fallen_empire_tech.txt b/2.0.2/common/technology/00_fallen_empire_tech.txt
index 325bde4..de79af2 100755
--- a/2.0.0/common/technology/00_fallen_empire_tech.txt
+++ b/2.0.2/common/technology/00_fallen_empire_tech.txt
@@ -59,3 +59,32 @@ tech_dark_matter_power_core = {
}
}
}
+
+# Dark Matter Thrusters
+tech_dark_matter_propulsion = {
+ cost = @fallentechcost
+ area = engineering
+ tier = @fallentechtier
+ category = { propulsion }
+ ai_update_type = all
+ weight = 1
+ is_rare = yes
+
+ prereqfor_desc = {
+ hide_prereq_for_desc = component
+ custom = {
+ title = "TECH_UNLOCK_DARK_MATTER_PROPULSION_TITLE"
+ desc = "TECH_UNLOCK_DARK_MATTER_PROPULSION_DESC"
+ }
+ }
+
+ weight_modifier = {
+ modifier = {
+ factor = 0
+ NOR = {
+ is_country_type = fallen_empire
+ is_country_type = awakened_fallen_empire
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/common/technology/00_horizonsignal_tech.txt b/2.0.2/common/technology/00_horizonsignal_tech.txt
index d711b44..2570dca 100755
--- a/2.0.0/common/technology/00_horizonsignal_tech.txt
+++ b/2.0.2/common/technology/00_horizonsignal_tech.txt
@@ -58,15 +58,15 @@ tech_akx_worm_3 = {
tier = @horizontechtier
category = { particles }
prerequisites = { "tech_akx_worm_1" "tech_akx_worm_2" }
- weight = 0
+ weight = 60
- weight_modifier = {
- modifier = {
- add = 60
- has_technology = tech_akx_worm_1
- has_technology = tech_akx_worm_2
- }
- }
+ #weight_modifier = {
+ # modifier = {
+ # add = 60
+ # has_technology = tech_akx_worm_1
+ # has_technology = tech_akx_worm_2
+ # }
+ #}
ai_weight = {
factor = 0
diff --git a/2.0.0/common/technology/00_phys_tech.txt b/2.0.2/common/technology/00_phys_tech.txt
index 67e0639..460f8c6 100755
--- a/2.0.0/common/technology/00_phys_tech.txt
+++ b/2.0.2/common/technology/00_phys_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
@@ -55,72 +55,17 @@
tech_databank_uplinks = {
area = physics
- cost = @tier1cost1
+ cost = 0
tier = 1
category = { computing }
- weight = @tier1weight1
+ weight = 0
+
+ potential = { always = no }
# allows Science Ships to boost the research-output of a planet
+ # unlocked by tradition
feature_flags = { assist_research }
-
- weight_modifier = {
- modifier = {
- factor = 1.25
- research_leader = {
- area = physics
- has_trait = "leader_trait_expertise_computing"
- }
- }
- }
-
- ai_weight = {
- modifier = {
- factor = 1.25
- research_leader = {
- area = physics
- has_trait = "leader_trait_expertise_computing"
- }
- }
- }
-}
-
-tech_improved_databank_uplinks = {
- area = physics
- cost = @tier2cost2
- tier = 2
- category = { computing }
- prerequisites = { "tech_databank_uplinks" }
- weight = @tier2weight2
-
- # unlocks uplink-component, assist research-action is twice as effective
-
- weight_modifier = {
- modifier = {
- factor = 1.25
- research_leader = {
- area = physics
- has_trait = "leader_trait_expertise_computing"
- }
- }
- }
-
- prereqfor_desc = {
- ship = {
- title = "TECH_UNLOCK_IMPROVED_UPLINKS_FORMS_TITLE"
- desc = "TECH_UNLOCK_IMPROVED_UPLINKS_FORMS_DESC"
- }
- }
-
- ai_weight = {
- modifier = {
- factor = 1.25
- research_leader = {
- area = physics
- has_trait = "leader_trait_expertise_computing"
- }
- }
- }
}
# ##################
@@ -661,7 +606,44 @@ tech_sapient_ai = {
}
potential = {
- NOT = { has_authority = auth_machine_intelligence }
+ NOT = { has_ethic = ethic_gestalt_consciousness }
+ }
+
+ weight_modifier = {
+ modifier = {
+ factor = 1.25
+ research_leader = {
+ area = physics
+ has_trait = "leader_trait_expertise_computing"
+ }
+ }
+ }
+
+ ai_weight = {
+ modifier = {
+ factor = 1.25
+ research_leader = {
+ area = physics
+ has_trait = "leader_trait_expertise_computing"
+ }
+ }
+ }
+}
+
+tech_positronic_implants = {
+ area = physics
+ tier = 4
+ cost = @tier4cost1
+ category = { computing }
+ prerequisites = { "tech_self_aware_logic" }
+ weight = @tier4weight1
+
+ modifier = {
+ all_technology_research_speed = 0.05
+ }
+
+ potential = {
+ has_ethic = ethic_gestalt_consciousness
}
weight_modifier = {
@@ -955,13 +937,13 @@ tech_auxiliary_fire_control = {
tech_synchronized_defences = {
area = physics
- tier = 3
- cost = @tier3cost3
+ tier = 4
+ cost = @tier4cost2
category = { computing }
ai_update_type = military
prerequisites = { "tech_self_aware_logic" }
is_rare = yes
- weight = @tier3weight3
+ weight = @tier4weight2
# unlocks starbase building - defense-grid supercomputer
@@ -1982,7 +1964,14 @@ tech_wormhole_stabilization = {
}
modifier = {
factor = 0
- NOT = { has_seen_any_bypass = wormhole }
+ NOR = {
+ has_seen_any_bypass = wormhole
+ any_relation = {
+ is_country_type = default
+ has_communications = ROOT
+ has_technology = tech_wormhole_stabilization
+ }
+ }
}
modifier = {
factor = 4
@@ -2050,7 +2039,14 @@ tech_gateway_activation = {
}
modifier = {
factor = 0
- NOT = { has_seen_any_bypass = gateway }
+ NOR = {
+ has_seen_any_bypass = gateway
+ any_relation = {
+ is_country_type = default
+ has_communications = ROOT
+ has_technology = tech_gateway_activation
+ }
+ }
}
modifier = {
factor = 4
diff --git a/2.0.0/common/technology/00_phys_weapon_tech.txt b/2.0.2/common/technology/00_phys_weapon_tech.txt
index b0d44c2..043fdd0 100755
--- a/2.0.0/common/technology/00_phys_weapon_tech.txt
+++ b/2.0.2/common/technology/00_phys_weapon_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
diff --git a/2.0.0/common/technology/00_soc_tech.txt b/2.0.2/common/technology/00_soc_tech.txt
index b1fdd58..74fddee 100755
--- a/2.0.0/common/technology/00_soc_tech.txt
+++ b/2.0.2/common/technology/00_soc_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
@@ -1707,10 +1707,6 @@ tech_ecological_adaptation = {
has_trait = "leader_trait_expertise_new_worlds"
}
}
- modifier = {
- factor = 3
- has_ascension_perk = ap_world_shaper
- }
}
ai_weight = {
@@ -1758,10 +1754,6 @@ tech_climate_restoration = {
has_trait = "leader_trait_expertise_new_worlds"
}
}
- modifier = {
- factor = 3
- has_ascension_perk = ap_world_shaper
- }
}
ai_weight = {
@@ -3258,6 +3250,10 @@ tech_centralized_command = {
# unlocks military academy
+ modifier = {
+ country_occupation_armies_add = 2
+ }
+
weight_modifier = {
modifier = {
factor = 1.25
@@ -3931,6 +3927,7 @@ tech_interstellar_campaigns = {
modifier = {
country_claim_influence_cost_mult = -0.1
+ country_war_exhaustion_mult = -0.1
}
weight_modifier = {
@@ -3996,6 +3993,7 @@ tech_galactic_campaigns = {
modifier = {
country_claim_influence_cost_mult = -0.1
+ country_war_exhaustion_mult = -0.1
}
weight_modifier = {
@@ -4830,11 +4828,11 @@ tech_neural_implants = {
#Artificial Moral Codes
tech_artificial_moral_codes = {
- cost = @tier3cost1
+ cost = @tier2cost3
area = society
tier = 2
category = { statecraft }
- weight = @tier3weight1
+ weight = @tier2weight3
modifier = {
edict_cost = -0.15
@@ -4846,6 +4844,7 @@ tech_artificial_moral_codes = {
}
weight_modifier = {
+ factor = 1.5
modifier = {
factor = 1.25
research_leader = {
@@ -4885,6 +4884,7 @@ tech_synthetic_thought_patterns = {
}
weight_modifier = {
+ factor = 1.5
modifier = {
factor = 1.25
research_leader = {
@@ -4892,16 +4892,89 @@ tech_synthetic_thought_patterns = {
has_trait = "leader_trait_expertise_statecraft"
}
}
+ }
+
+ ai_weight = {
modifier = {
factor = 1.25
research_leader = {
area = society
- has_trait = "leader_trait_spark_of_genius"
+ has_trait = "leader_trait_expertise_statecraft"
+ }
+ }
+ }
+}
+
+# Collective Production Methods
+tech_collective_production_methods = {
+ cost = @tier3cost3
+ area = society
+ tier = 3
+ category = { statecraft }
+ weight = @tier3weight1
+
+ modifier = {
+ pop_resource_output = 0.10
+ }
+
+ potential = {
+ OR = {
+ has_authority = auth_hive_mind
+ has_civic = civic_machine_assimilator
+ }
+ }
+
+ weight_modifier = {
+ modifier = {
+ factor = 1.25
+ research_leader = {
+ area = society
+ has_trait = "leader_trait_expertise_statecraft"
+ }
+ }
+ }
+
+ ai_weight = {
+ weight = 2
+ modifier = {
+ factor = 1.25
+ research_leader = {
+ area = society
+ has_trait = "leader_trait_expertise_statecraft"
+ }
+ }
+ }
+}
+
+# Resource Processing Algorithms
+tech_resource_processing_algorithms = {
+ cost = @tier3cost1
+ area = society
+ tier = 3
+ category = { statecraft }
+ weight = @tier3weight1
+
+ modifier = {
+ pop_robot_production_output = 0.10
+ }
+
+ potential = {
+ has_authority = auth_machine_intelligence
+ NOT = { has_civic = civic_machine_assimilator }
+ }
+
+ weight_modifier = {
+ modifier = {
+ factor = 1.25
+ research_leader = {
+ area = society
+ has_trait = "leader_trait_expertise_statecraft"
}
}
}
ai_weight = {
+ weight = 2
modifier = {
factor = 1.25
research_leader = {
@@ -5186,9 +5259,6 @@ tech_ascension_theory = {
weight_modifier = {
factor = 0.5
- modifier = {
- factor = 0
- }
modifier = {
factor = 0.20
NOR = {
@@ -5267,6 +5337,7 @@ tech_psionic_shield = {
is_rare = yes
prerequisites = { "tech_psionic_theory" }
weight = 0
+ is_reverse_engineerable = no
weight_modifier = {
factor = 0
diff --git a/2.0.0/common/technology/00_soc_weapon_tech.txt b/2.0.2/common/technology/00_soc_weapon_tech.txt
index febfbc0..f912298 100755
--- a/2.0.0/common/technology/00_soc_weapon_tech.txt
+++ b/2.0.2/common/technology/00_soc_weapon_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
diff --git a/2.0.0/common/technology/00_strategic_resources_tech.txt b/2.0.2/common/technology/00_strategic_resources_tech.txt
index 8d04e93..649ce1e 100755
--- a/2.0.0/common/technology/00_strategic_resources_tech.txt
+++ b/2.0.2/common/technology/00_strategic_resources_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
diff --git a/2.0.0/common/technology/00_synthetic_dawn_tech.txt b/2.0.2/common/technology/00_synthetic_dawn_tech.txt
index c2202ed..abe9998 100755
--- a/2.0.0/common/technology/00_synthetic_dawn_tech.txt
+++ b/2.0.2/common/technology/00_synthetic_dawn_tech.txt
@@ -4,23 +4,23 @@
#If you change any of these, use replace in files so the values are the same across all files
@tier1cost1 = 500
-@tier1cost2 = 640
-@tier1cost3 = 780
+@tier1cost2 = 750
+@tier1cost3 = 1000
-@tier2cost1 = 1000
-@tier2cost2 = 1500
-@tier2cost3 = 2000
+@tier2cost1 = 1500
+@tier2cost2 = 2000
+@tier2cost3 = 2500
-@tier3cost1 = 3000
-@tier3cost2 = 4000
-@tier3cost3 = 5000
+@tier3cost1 = 4000
+@tier3cost2 = 5000
+@tier3cost3 = 6000
-@tier4cost1 = 6000
-@tier4cost2 = 8000
-@tier4cost3 = 10000
+@tier4cost1 = 8000
+@tier4cost2 = 10000
+@tier4cost3 = 12000
-@tier5cost1 = 14000
-@tier5cost2 = 17000
+@tier5cost1 = 15000
+@tier5cost2 = 17500
@tier5cost3 = 20000
####################
diff --git a/2.0.0/common/tradition_categories/00_discovery.txt b/2.0.2/common/tradition_categories/00_discovery.txt
index 6a2914a..663f96f 100755
--- a/2.0.0/common/tradition_categories/00_discovery.txt
+++ b/2.0.2/common/tradition_categories/00_discovery.txt
@@ -3,7 +3,7 @@ tradition_discovery = {
finish_bonus = "tr_discovery_finish"
traditions = {
"tr_discovery_to_boldly_go"
- "tr_discovery_planetary_survey_corps"
+ "tr_discovery_databank_uplinks"
"tr_discovery_science_division"
"tr_discovery_polytechnic_education"
"tr_discovery_faith_in_science"
diff --git a/2.0.0/common/traditions/00_discovery.txt b/2.0.2/common/traditions/00_discovery.txt
index def0ec5..897e456 100755
--- a/2.0.0/common/traditions/00_discovery.txt
+++ b/2.0.2/common/traditions/00_discovery.txt
@@ -7,18 +7,13 @@ tr_discovery_adopt = {
tradition_swap = {
name = tr_discovery_adopt_machine
- inherit_effects = no
+ inherit_effects = yes
#inherit_icon = no
inherit_name = no
trigger = {
has_authority = auth_machine_intelligence
}
- modifier = {
- ship_anomaly_fail_risk = -0.10
- ship_anomaly_generation_chance_mult = 0.15
- }
-
weight = {
factor = 1
}
@@ -26,18 +21,13 @@ tr_discovery_adopt = {
tradition_swap = {
name = tr_discovery_adopt_hive
- inherit_effects = no
+ inherit_effects = yes
#inherit_icon = no
inherit_name = no
trigger = {
has_authority = auth_hive_mind
}
- modifier = {
- ship_anomaly_fail_risk = -0.10
- ship_anomaly_generation_chance_mult = 0.15
- }
-
weight = {
factor = 1
}
@@ -68,18 +58,13 @@ tr_discovery_finish = {
tradition_swap = {
name = tr_discovery_finish_machine
- inherit_effects = no
+ inherit_effects = yes
inherit_icon = yes
inherit_name = no
trigger = {
has_authority = auth_machine_intelligence
}
- modifier = {
- all_technology_research_speed = 0.10
- ascension_perks_add = 1
- }
-
weight = {
factor = 1
}
@@ -87,18 +72,13 @@ tr_discovery_finish = {
tradition_swap = {
name = tr_discovery_finish_hive
- inherit_effects = no
+ inherit_effects = yes
inherit_icon = yes
inherit_name = no
trigger = {
has_authority = auth_hive_mind
}
- modifier = {
- all_technology_research_speed = 0.10
- ascension_perks_add = 1
- }
-
weight = {
factor = 1
}
@@ -108,7 +88,7 @@ tr_discovery_finish = {
tr_discovery_to_boldly_go = {
modifier = {
science_ship_survey_speed = 0.35
- shipclass_science_ship_evasion_add = 30
+ shipclass_science_ship_disengage_mult = 0.5
}
tradition_swap = {
@@ -144,38 +124,13 @@ tr_discovery_to_boldly_go = {
}
}
-tr_discovery_planetary_survey_corps = {
+tr_discovery_databank_uplinks = {
possible = {
has_tradition = tr_discovery_to_boldly_go
}
- # Bonus implementation see action.54.
- tradition_swap = {
- name = tr_discovery_planetary_survey_corps_machine
- inherit_effects = yes
- inherit_icon = yes
- inherit_name = no
- trigger = {
- has_authority = auth_machine_intelligence
- }
-
- weight = {
- factor = 1
- }
- }
-
- tradition_swap = {
- name = tr_discovery_planetary_survey_corps_hive
- inherit_effects = yes
- inherit_icon = yes
- inherit_name = no
- trigger = {
- has_authority = auth_hive_mind
- }
-
- weight = {
- factor = 1
- }
+ on_enabled = {
+ give_technology = { message = no tech = tech_databank_uplinks }
}
ai_weight = {
@@ -227,7 +182,7 @@ tr_discovery_polytechnic_education = {
}
modifier = {
- species_leader_exp_gain = 0.33
+ species_leader_exp_gain = 0.25
}
tradition_swap = {
diff --git a/2.0.0/common/traditions/00_domination.txt b/2.0.2/common/traditions/00_domination.txt
index 4977e6e..6e49aeb 100755
--- a/2.0.0/common/traditions/00_domination.txt
+++ b/2.0.2/common/traditions/00_domination.txt
@@ -23,7 +23,7 @@ tr_domination_adopt = {
tradition_swap = {
name = tr_domination_adopt_machine
- inherit_effects = no
+ inherit_effects = yes
inherit_icon = yes
inherit_name = no
trigger = {
@@ -31,10 +31,6 @@ tr_domination_adopt = {
NOT = { has_civic = civic_machine_terminator }
}
- modifier = {
- country_subject_acceptance_add = 20
- }
-
weight = {
factor = 1
}
@@ -42,16 +38,10 @@ tr_domination_adopt = {
ai_weight = {
factor = 20
- # generally don't pick unless we have subjects
modifier = {
factor = 0.01
NOT = {
- any_subject = {
- OR = {
- is_subject_type = tributary
- is_subject_type = vassal
- }
- }
+ has_ai_personality_behaviour = subjugator
}
}
modifier = {
@@ -158,7 +148,7 @@ tr_domination_protection_racket = {
has_tradition = tr_domination_colonial_viceroys
}
modifier = {
- subject_tribute_mult = 0.125
+ subject_tribute_mult = 0.5
}
tradition_swap = {
@@ -330,7 +320,7 @@ tr_domination_fleet_levies = {
}
modifier = {
- country_vassal_naval_capacity_contribution_mult = 0.50
+ country_vassal_naval_capacity_contribution_mult = 1.00
}
tradition_swap = {
diff --git a/2.0.0/common/traditions/00_expansion.txt b/2.0.2/common/traditions/00_expansion.txt
index da369a2..185fb73 100755
--- a/2.0.0/common/traditions/00_expansion.txt
+++ b/2.0.2/common/traditions/00_expansion.txt
@@ -1,22 +1,18 @@
tr_expansion_adopt = {
modifier = {
- planet_colony_development_speed_mult = 1.00
+ planet_colony_development_speed_mult = 0.50
}
tradition_swap = {
name = tr_expansion_adopt_machine
- inherit_effects = no
+ inherit_effects = yes
inherit_icon = yes
inherit_name = no
trigger = {
has_authority = auth_machine_intelligence
}
- modifier = {
- planet_colony_development_speed_mult = 1.00
- }
-
weight = {
factor = 1
}
@@ -24,17 +20,13 @@ tr_expansion_adopt = {
tradition_swap = {
name = tr_expansion_adopt_hive
- inherit_effects = no
+ inherit_effects = yes
inherit_icon = yes
inherit_name = no
trigger = {
has_authority = auth_hive_mind
}
- modifier = {
- planet_colony_development_speed_mult = 1.00
- }
-
weight = {
factor = 1
}
@@ -57,18 +49,13 @@ tr_expansion_finish = {
tradition_swap = {
name = tr_expansion_adopt_machine
- inherit_effects = no
+ inherit_effects = yes
inherit_icon = yes
inherit_name = no
trigger = {
has_authority = auth_machine_intelligence
}
- modifier = {
- country_core_sector_system_cap = 2
- ascension_perks_add = 1
- }
-
weight = {
factor = 1
}
@@ -76,18 +63,13 @@ tr_expansion_finish = {
tradition_swap = {
name = tr_expansion_adopt_machine # uses same name and desc
- inherit_effects = no
+ inherit_effects = yes
inherit_icon = yes
inherit_name = no
trigger = {
has_authority = auth_hive_mind
}
- modifier = {
- country_core_sector_system_cap = 2
- ascension_perks_add = 1
- }
-
weight = {
factor = 1
}
@@ -258,7 +240,7 @@ tr_expansion_galactic_ambition = {
}
modifier = {
- country_starbase_capacity_add = 2
+ country_starbase_upkeep_mult = -0.2
}
tradition_swap = {
diff --git a/2.0.0/common/traditions/00_harmony.txt b/2.0.2/common/traditions/00_harmony.txt
index c8a0ab5..304ca1e 100755
--- a/2.0.0/common/traditions/00_harmony.txt
+++ b/2.0.2/common/traditions/00_harmony.txt
@@ -124,7 +124,7 @@ tr_harmony_the_greater_good = {
tr_harmony_kinship = {
modifier = {
- mod_distance_to_capital_static_modifier_efficiency_mult = -0.5
+ pop_government_ethic_attraction = 0.25
}
tradition_swap = {
diff --git a/2.0.0/common/traditions/00_supremacy.txt b/2.0.2/common/traditions/00_supremacy.txt
index 09c4a4c..e533105 100755
--- a/2.0.0/common/traditions/00_supremacy.txt
+++ b/2.0.2/common/traditions/00_supremacy.txt
@@ -176,7 +176,7 @@ tr_supremacy_right_of_conquest = {
}
tradition_swap = {
- name = tr_supremacy_natural_order
+ name = tr_supremacy_natural_preeminence
inherit_effects = no
inherit_icon = yes
inherit_name = no
diff --git a/2.0.0/common/traits/00_admiral_traits.txt b/2.0.2/common/traits/00_admiral_traits.txt
index 59581a2..382a68e 100755
--- a/2.0.0/common/traits/00_admiral_traits.txt
+++ b/2.0.2/common/traits/00_admiral_traits.txt
@@ -83,7 +83,10 @@ leader_trait_scout = {
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_scout.dds"
modifier = {
ship_sensor_range_add = 1
- ship_speed_mult = 0.2
+ ship_speed_mult = 0.1
+ }
+ leader_potential_add = {
+ from = { has_technology = tech_sensors_2 }
}
leader_trait = yes
leader_class = { admiral }
@@ -229,8 +232,22 @@ leader_trait_dragonslayer = {
randomized = no
}
+leader_trait_admiral_erudite = {
+ cost = 0
+ modification = no
+ icon = "gfx/interface/icons/traits/trait_erudite.dds"
+ modifier = {
+ ship_fire_rate_mult = 0.05
+ ship_disengage_chance_mult = 0.10
+ }
+ leader_trait = yes
+ leader_class = { admiral }
+ initial = no
+ randomized = no
+}
+
leader_trait_admiral_cyborg = {
- cost = 1
+ cost = 0
modification = no
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_cyborg.dds"
modifier = {
diff --git a/2.0.0/common/traits/00_general_traits.txt b/2.0.2/common/traits/00_general_traits.txt
index 9b44cc4..771a1da 100755
--- a/2.0.0/common/traits/00_general_traits.txt
+++ b/2.0.2/common/traits/00_general_traits.txt
@@ -101,8 +101,22 @@ leader_trait_army_logistician = {
leader_class = { general }
}
+leader_trait_general_erudite = {
+ cost = 0
+ modification = no
+ icon = "gfx/interface/icons/traits/trait_erudite.dds"
+ modifier = {
+ army_damage_mult = 0.05
+ army_disengage_chance_mult = 0.10
+ }
+ leader_trait = yes
+ leader_class = { general }
+ initial = no
+ randomized = no
+}
+
leader_trait_general_cyborg = {
- cost = 1
+ cost = 0
modification = no
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_cyborg.dds"
modifier = {
diff --git a/2.0.0/common/traits/00_governor_traits.txt b/2.0.2/common/traits/00_governor_traits.txt
index 0b3394f..fb390b5 100755
--- a/2.0.0/common/traits/00_governor_traits.txt
+++ b/2.0.2/common/traits/00_governor_traits.txt
@@ -22,7 +22,7 @@ leader_trait_iron_fist = {
}
leader_potential_add = {
from = { allows_slavery = yes }
- NOT = { from = { has_authority = "auth_machine_intelligence" } }
+ NOT = { from = { has_ethic = ethic_gestalt_consciousness } }
}
leader_trait = yes
leader_class = { governor }
@@ -121,8 +121,23 @@ leader_trait_environmental_engineer = {
leader_class = { governor }
}
+leader_trait_governor_erudite = {
+ cost = 0
+ modification = no
+ icon = "gfx/interface/icons/traits/trait_erudite.dds"
+ modifier = {
+ tile_resource_engineering_research_mult = 0.05
+ tile_resource_physics_research_mult = 0.05
+ tile_resource_society_research_mult = 0.05
+ }
+ leader_trait = yes
+ leader_class = { governor }
+ initial = no
+ randomized = no
+}
+
leader_trait_governor_cyborg = {
- cost = 1
+ cost = 0
modification = no
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_cyborg.dds"
modifier = {
diff --git a/2.0.0/common/traits/00_ruler_traits.txt b/2.0.2/common/traits/00_ruler_traits.txt
index d1044b1..3a0b1c5 100755
--- a/2.0.0/common/traits/00_ruler_traits.txt
+++ b/2.0.2/common/traits/00_ruler_traits.txt
@@ -28,7 +28,7 @@ trait_ruler_corvette_focus = {
}
leader_trait = yes
leader_class = { ruler }
- prerequisites = { tech_corvettes }
+ prerequisites = { tech_destroyers } # 'corvette focus' is a bit silly when it's the only available ship
opposites = { "trait_ruler_destroyer_focus" "trait_ruler_cruiser_focus" "trait_ruler_battleship_focus" }
}
@@ -413,8 +413,21 @@ leader_trait_reformer = {
leader_class = { ruler }
}
+leader_trait_ruler_erudite = {
+ cost = 0
+ modification = no
+ icon = "gfx/interface/icons/traits/trait_erudite.dds"
+ modifier = {
+ all_technology_research_speed = 0.05
+ }
+ leader_trait = yes
+ leader_class = { ruler }
+ initial = no
+ randomized = no
+}
+
leader_trait_ruler_cyborg = {
- cost = 1
+ cost = 0
modification = no
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_cyborg.dds"
leader_trait = yes
@@ -424,12 +437,9 @@ leader_trait_ruler_cyborg = {
}
leader_trait_ruler_synthetic = {
- cost = 1
+ cost = 0
modification = no
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_synthetic.dds"
- leader_potential_add = {
- NOT = { from = { has_ethic = "ethic_gestalt_consciousness" } }
- }
modifier = {
pop_robot_production_output = 0.05
}
@@ -443,9 +453,6 @@ leader_trait_ruler_psionic = {
cost = 0
modification = no
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_psionic_leader.dds"
- leader_potential_add = {
- NOT = { from = { has_ethic = "ethic_gestalt_consciousness" } }
- }
modifier = {
pop_government_ethic_attraction = 0.10
country_resource_influence_add = 0.5
@@ -461,9 +468,6 @@ leader_trait_ruler_chosen = {
modification = no
icon = "gfx/interface/icons/traits/leader_traits/leader_trait_psionic_chosen_one.dds"
immortal_leaders = yes
- leader_potential_add = {
- NOT = { from = { has_ethic = "ethic_gestalt_consciousness" } }
- }
modifier = {
pop_government_ethic_attraction = 0.20
country_resource_influence_add = 1
diff --git a/2.0.0/common/traits/00_scientist_traits.txt b/2.0.2/common/traits/00_scientist_traits.txt
index 9c08298..05330ce 100755
--- a/2.0.0/common/traits/00_scientist_traits.txt
+++ b/2.0.2/common/traits/00_scientist_traits.txt
@@ -789,10 +789,33 @@ leader_trait_curator = {
}
}
+leader_trait_scientist_erudite = {
+ cost = 0
+ modification = no
+ icon = "gfx/interface/icons/traits/trait_erudite.dds"
+ modifier = {
+ all_technology_research_speed = 0.05
+ }
+ leader_trait = yes
+ leader_class = { scientist }
+ initial = no
+ randomized = no
+
+ ai_categories = {
+ physics
+ society
+ engineering
+ }
+
+ ai_weight = {
+ weight = 100
+ }
+}
+
leader_trait_scientist_cyborg = {
- cost = 1
+ cost = 0
modification = no
- icon = "gfx/interface/icons/traits/leader_traits/leader_trait_cyborg.dds"
+ icon = "gfx/interface/icons/traits/leader_traits/leader_trait_synthetic.dds"
modifier = {
all_technology_research_speed = 0.05
}
@@ -805,7 +828,6 @@ leader_trait_scientist_cyborg = {
physics
society
engineering
- survey
}
ai_weight = {
diff --git a/2.0.0/common/traits/02_species_traits_basic_characteristics.txt b/2.0.2/common/traits/02_species_traits_basic_characteristics.txt
index 2f2f194..3449659 100755
--- a/2.0.0/common/traits/02_species_traits_basic_characteristics.txt
+++ b/2.0.2/common/traits/02_species_traits_basic_characteristics.txt
@@ -16,7 +16,6 @@ trait_hive_mind = {
randomized = no
modification = no
forced_happiness = yes
- alters_species_identity = yes
leader_age_min = 10
leader_age_max = 20
@@ -127,8 +126,8 @@ trait_syncretic_proles = {
cost = 1
opposites = { "trait_intelligent" "trait_erudite" "trait_natural_engineers" "trait_natural_physicists" "trait_natural_sociologists" }
initial = no
- sapient = no
- modification = no
+ modification = yes
+ species_potential_add = { always = no }
icon = "gfx/interface/icons/traits/trait_primitive.dds"
allowed_archetypes = { BIOLOGICAL }
modifier = {
diff --git a/2.0.0/common/traits/03_species_traits_presapients.txt b/2.0.2/common/traits/03_species_traits_presapients.txt
index 67d8e19..9190515 100755
--- a/2.0.0/common/traits/03_species_traits_presapients.txt
+++ b/2.0.2/common/traits/03_species_traits_presapients.txt
@@ -3,7 +3,8 @@ trait_presapient_starborn = {
opposites = { "trait_presapient_earthbound" "trait_sedentary" }
initial = no
sapient = no
- modification = no
+ modification = yes
+ species_potential_add = { always = no }
icon = "gfx/interface/icons/traits/trait_primitive.dds"
allowed_archetypes = { BIOLOGICAL PRESAPIENT }
modifier = {
@@ -18,7 +19,8 @@ trait_presapient_earthbound = {
opposites = { "trait_presapient_starborn" "trait_nomadic" }
initial = no
sapient = no
- modification = no
+ modification = yes
+ species_potential_add = { always = no }
icon = "gfx/interface/icons/traits/trait_primitive.dds"
allowed_archetypes = { BIOLOGICAL PRESAPIENT }
modifier = {
@@ -32,7 +34,8 @@ trait_presapient_natural_intellectuals = {
opposites = { "trait_presapient_proles" }
initial = no
sapient = no
- modification = no
+ modification = yes
+ species_potential_add = { always = no }
icon = "gfx/interface/icons/traits/trait_primitive.dds"
allowed_archetypes = { BIOLOGICAL PRESAPIENT }
modifier = {
@@ -49,7 +52,8 @@ trait_presapient_proles = {
opposites = { "trait_presapient_natural_intellectuals" }
initial = no
sapient = no
- modification = no
+ modification = yes
+ species_potential_add = { always = no }
icon = "gfx/interface/icons/traits/trait_primitive.dds"
allowed_archetypes = { BIOLOGICAL PRESAPIENT }
modifier = {
@@ -66,7 +70,8 @@ trait_presapient_conservative = {
cost = 1
initial = no
sapient = no
- modification = no
+ modification = yes
+ species_potential_add = { always = no }
icon = "gfx/interface/icons/traits/trait_primitive.dds"
allowed_archetypes = { BIOLOGICAL PRESAPIENT }
modifier = {
@@ -80,7 +85,8 @@ trait_presapient_irradiated = {
cost = 1
initial = no
sapient = no
- modification = no
+ modification = yes
+ species_potential_add = { always = no }
icon = "gfx/interface/icons/traits/trait_primitive.dds"
allowed_archetypes = { BIOLOGICAL PRESAPIENT }
modifier = {
diff --git a/2.0.0/common/traits/04_species_traits.txt b/2.0.2/common/traits/04_species_traits.txt
index 4f747a8..7a41c5c 100755
--- a/2.0.0/common/traits/04_species_traits.txt
+++ b/2.0.2/common/traits/04_species_traits.txt
@@ -111,6 +111,7 @@ trait_slow_breeders = {
trait_talented = {
cost = 1
allowed_archetypes = { BIOLOGICAL }
+ opposites = { "trait_nerve_stapled" }
modifier = {
leader_skill_levels = 1
}
@@ -242,7 +243,7 @@ trait_charismatic = {
modifier = {
pop_other_species_owner_happiness = 0.05
}
- opposites = { "trait_repugnant" }
+ opposites = { "trait_repugnant" "trait_fertile" }
allowed_archetypes = { BIOLOGICAL }
custom_tooltip = TRAIT_CHARISMATIC_EFFECT
}
@@ -252,7 +253,7 @@ trait_repugnant = {
modifier = {
pop_other_species_owner_happiness = -0.05
}
- opposites = { "trait_charismatic" }
+ opposites = { "trait_charismatic" "trait_fertile" }
allowed_archetypes = { BIOLOGICAL }
custom_tooltip = TRAIT_REPUGNANT_EFFECT
ai_weight = {
@@ -369,10 +370,12 @@ trait_wasteful = {
trait_cybernetic = {
cost = 0
+ opposites = { "trait_latent_psionic" "trait_psionic" }
+
+ improves_leaders = yes
initial = no
randomized = no
modification = no
- alters_species_identity = yes
allowed_archetypes = { BIOLOGICAL }
@@ -388,10 +391,11 @@ trait_latent_psionic = {
cost = 0
icon = "gfx/interface/icons/traits/trait_psionic_species.dds"
+ opposites = { "trait_cybernetic" }
+
initial = no
randomized = no
modification = no
- alters_species_identity = yes
allowed_archetypes = { BIOLOGICAL }
@@ -407,10 +411,12 @@ trait_psionic = {
cost = 0
icon = "gfx/interface/icons/traits/trait_psionic_species.dds"
+ opposites = { "trait_cybernetic" }
+
+ improves_leaders = yes
initial = no
randomized = no
modification = no
- alters_species_identity = yes
allowed_archetypes = { BIOLOGICAL }
@@ -430,7 +436,6 @@ trait_self_modified = {
initial = no
randomized = no
modification = no
- alters_species_identity = yes
allowed_archetypes = { BIOLOGICAL }
@@ -453,7 +458,7 @@ trait_delicious = {
trait_nerve_stapled = {
cost = 3
- opposites = { "trait_intelligent" "trait_erudite" "trait_natural_engineers" "trait_natural_physicists" "trait_natural_sociologists" "trait_communal" "trait_solitary" }
+ opposites = { "trait_intelligent" "trait_erudite" "trait_natural_engineers" "trait_natural_physicists" "trait_natural_sociologists" "trait_communal" "trait_solitary" "trait_talented" }
initial = no
randomized = no
advanced_trait = yes
@@ -467,6 +472,7 @@ trait_nerve_stapled = {
tile_resource_physics_research_mult = -0.75
tile_resource_engineering_research_mult = -0.75
tile_resource_society_research_mult = -0.75
+ leader_skill_levels = -2
}
}
@@ -475,42 +481,43 @@ trait_fertile = {
initial = no
randomized = no
advanced_trait = yes
- opposites = { "trait_slow_breeders" "trait_rapid_breeders" }
+ opposites = { "trait_slow_breeders" "trait_rapid_breeders" "trait_charismatic" "trait_repugnant" }
allowed_archetypes = { BIOLOGICAL }
modifier = {
pop_growth_speed = 0.3
tile_resource_unity_mult = 0.1
- pop_other_species_owner_happiness = 0.05
+ pop_other_species_owner_happiness = 0.1
pop_happiness = 0.05
}
}
-trait_erudite = {
+trait_robust = {
cost = 4
initial = no
randomized = no
advanced_trait = yes
- opposites = { "trait_nerve_stapled" "trait_intelligent" }
+ opposites = { "trait_nonadaptive" "trait_adaptive" "trait_extremely_adaptive" }
allowed_archetypes = { BIOLOGICAL }
modifier = {
- tile_resource_engineering_research_mult = 0.2
- tile_resource_physics_research_mult = 0.2
- tile_resource_society_research_mult = 0.2
- leader_skill_levels = 2
+ pop_environment_tolerance = 0.30
+ pop_resource_output = 0.05
+ leader_age = 50
}
}
-trait_robust = {
+trait_erudite = {
cost = 4
initial = no
randomized = no
+ improves_leaders = yes
advanced_trait = yes
- opposites = { "trait_nonadaptive" "trait_adaptive" "trait_extremely_adaptive" }
+ opposites = { "trait_nerve_stapled" "trait_intelligent" }
allowed_archetypes = { BIOLOGICAL }
modifier = {
- pop_environment_tolerance = 0.30
- pop_resource_output = 0.05
- leader_age = 50
+ tile_resource_engineering_research_mult = 0.2
+ tile_resource_physics_research_mult = 0.2
+ tile_resource_society_research_mult = 0.2
+ leader_skill_levels = 1
}
}
diff --git a/2.0.0/common/traits/05_species_traits_robotic.txt b/2.0.2/common/traits/05_species_traits_robotic.txt
index 2dd74a8..6ae9314 100755
--- a/2.0.0/common/traits/05_species_traits_robotic.txt
+++ b/2.0.2/common/traits/05_species_traits_robotic.txt
@@ -50,6 +50,7 @@ trait_robot_loyalty_circuits = {
opposites = { trait_robotic_2 trait_robotic_1 } # Synth only
species_potential_add = {
+ exists = from
from = {
NOT = { has_policy_flag = ai_outlawed }
}
@@ -70,6 +71,7 @@ trait_robot_domestic_protocols = {
allowed_archetypes = { ROBOT }
species_potential_add = {
+ exists = from
from = {
NOT = { has_policy_flag = ai_full_rights }
}
diff --git a/2.0.0/common/war_goals/00_war_goals.txt b/2.0.2/common/war_goals/00_war_goals.txt
index e5d9266..23e033e 100755
--- a/2.0.0/common/war_goals/00_war_goals.txt
+++ b/2.0.2/common/war_goals/00_war_goals.txt
@@ -99,6 +99,48 @@ wg_end_threat_swarm = {
}
}
+wg_end_threat_assimilators = {
+ casus_belli = cb_containment
+
+ hide_if_no_cb = yes
+ total_war = yes
+ set_defender_wargoal = wg_absorption
+
+ surrender_acceptance = -1000
+
+ potential = {
+ from = { has_valid_civic = civic_machine_assimilator }
+ }
+ possible = {
+ always = yes
+ }
+
+ ai_weight = {
+ weight = 100
+ }
+}
+
+wg_assimilation = {
+ casus_belli = cb_sublimation
+
+ hide_if_no_cb = yes
+ total_war = yes
+ set_defender_wargoal = wg_end_threat_assimilators
+
+ surrender_acceptance = -1000
+
+ potential = {
+ always = yes
+ }
+ possible = {
+ always = yes
+ }
+
+ ai_weight = {
+ weight = 100
+ }
+}
+
wg_cleansing = {
casus_belli = cb_purification
@@ -147,7 +189,7 @@ wg_plunder = {
hide_if_no_cb = no
total_war = no
- surrender_acceptance = -50
+ surrender_acceptance = -25
potential = {
has_total_war_cb = no
@@ -157,11 +199,56 @@ wg_plunder = {
always = yes
}
on_accept = {
- custom_tooltip = wg_plunder_accept
- hidden_effect = {
- add_energy = 500
- from = { add_modifier = { modifier = raided days = 3600 } }
+ custom_tooltip = wg_plunder_accept_them
+ if = {
+ limit = {
+ from = {
+ num_owned_planets < 5
+ }
}
+ custom_tooltip = wg_plunder_accept_us_1
+ hidden_effect = { add_energy = 500 add_minerals = 500 }
+ }
+ if = {
+ limit = {
+ from = {
+ num_owned_planets > 4
+ num_owned_planets < 10
+ }
+ }
+ custom_tooltip = wg_plunder_accept_us_2
+ hidden_effect = { add_energy = 1000 add_minerals = 1000 }
+ }
+ if = {
+ limit = {
+ from = {
+ num_owned_planets > 9
+ num_owned_planets < 15
+ }
+ }
+ custom_tooltip = wg_plunder_accept_us_3
+ hidden_effect = { add_energy = 1500 add_minerals = 1500 }
+ }
+ if = {
+ limit = {
+ from = {
+ num_owned_planets > 14
+ num_owned_planets < 20
+ }
+ }
+ custom_tooltip = wg_plunder_accept_us_4
+ hidden_effect = { add_energy = 2000 add_minerals = 2000 }
+ }
+ if = {
+ limit = {
+ from = {
+ num_owned_planets > 19
+ }
+ }
+ custom_tooltip = wg_plunder_accept_us_5
+ hidden_effect = { add_energy = 2500 add_minerals = 2500 }
+ }
+ hidden_effect = { from = { add_modifier = { modifier = raided days = 3600 } } }
}
ai_weight = {
@@ -200,7 +287,7 @@ wg_end_threat_colossus = {
surrender_acceptance = -1000
potential = {
- from = { has_technology = "tech_colossus" }
+ always = yes
}
possible = {
always = yes
@@ -256,7 +343,7 @@ wg_tribute = {
hide_if_no_cb = no
- surrender_acceptance = -100
+ surrender_acceptance = -75
potential = {
has_total_war_cb = no
@@ -297,9 +384,12 @@ wg_force_ideology = {
surrender_acceptance = -100
+ war_exhaustion = 0.75
+
potential = {
has_policy_flag = liberation_wars
has_total_war_cb = no
+ from = { is_country_type = default }
}
possible = {
always = yes
@@ -312,12 +402,30 @@ wg_force_ideology = {
from = { add_opinion_modifier = { modifier = opinion_liberated_us who = root } }
end_rivalry = from
from = { end_rivalry = root }
+ every_system_within_border = {
+ limit = {
+ from = { has_claim = prev }
+ }
+ remove_claims = { who = from }
+ }
every_country = {
- limit = { is_in_federation_with = root }
+ limit = {
+ OR = {
+ is_in_federation_with = root
+ is_subject = yes
+ overlord = { is_same_value = root }
+ }
+ }
end_rivalry = from
from = { end_rivalry = prev }
add_opinion_modifier = { modifier = opinion_we_liberated who = from }
from = { add_opinion_modifier = { modifier = opinion_liberated_us who = prev } }
+ every_system_within_border = {
+ limit = {
+ from = { has_claim = prev }
+ }
+ remove_claims = { who = from }
+ }
}
from = {
add_threat = {
@@ -325,6 +433,9 @@ wg_force_ideology = {
amount = 0.25
}
}
+ from = {
+ leave_alliance = { override_requirements = yes }
+ }
}
}
@@ -340,8 +451,6 @@ wg_conquest = {
threat_multiplier = 0.75
- show_claims_in_description = yes
-
potential = {
has_total_war_cb = no
}
@@ -360,7 +469,7 @@ wg_humiliation = {
hide_if_no_cb = no
defender_default = yes
- surrender_acceptance = -50
+ surrender_acceptance = -25
potential = {
has_total_war_cb = no
diff --git a/2.0.0/common/war_goals/01_fallen_empire_war_goals.txt b/2.0.2/common/war_goals/01_fallen_empire_war_goals.txt
index 6511e6e..181690c 100755
--- a/2.0.0/common/war_goals/01_fallen_empire_war_goals.txt
+++ b/2.0.2/common/war_goals/01_fallen_empire_war_goals.txt
@@ -12,6 +12,7 @@ wg_fe_humiliation = {
always = yes
}
on_accept = {
+ custom_tooltip = wg_humiliation_fe_accept
save_event_target_as = fallen_empire_humiliator
from = {
fallen_empire_humiliate_effect = yes
@@ -36,6 +37,7 @@ wg_fe_stop_atrocities = {
from = { is_valid_target_fe_stop_atrocities = yes }
}
on_accept = {
+ custom_tooltip = wg_humiliation_fe_accept
save_event_target_as = fallen_empire_humiliator
from = {
fallen_empire_stop_atrocities_effect = yes
@@ -61,6 +63,7 @@ wg_fe_stop_ai = {
from = { is_valid_target_fe_stop_ai = yes }
}
on_accept = {
+ custom_tooltip = wg_humiliation_fe_accept
save_event_target_as = fallen_empire_humiliator
from = {
fallen_empire_stop_ai_effect = yes
@@ -86,6 +89,7 @@ wg_fe_cleanse_holy_worlds = {
from = { is_valid_target_fe_cleanse_holy_worlds = yes }
}
on_accept = {
+ custom_tooltip = wg_humiliation_fe_accept
save_event_target_as = fallen_empire_humiliator
from = {
fallen_empire_cleanse_holy_worlds_effect = yes
@@ -111,6 +115,7 @@ wg_fe_cleanse_border_worlds = {
is_neighbor_of = from
}
on_accept = {
+ custom_tooltip = wg_humiliation_fe_accept
save_event_target_as = fallen_empire_humiliator
from = {
fallen_empire_cleanse_border_worlds_effect = yes
diff --git a/2.0.0/common/war_goals/02_event_war_goals.txt b/2.0.2/common/war_goals/02_event_war_goals.txt
index 659cb5b..91ccf20 100755
--- a/2.0.0/common/war_goals/02_event_war_goals.txt
+++ b/2.0.2/common/war_goals/02_event_war_goals.txt
@@ -37,6 +37,25 @@ wg_war_in_heaven = {
always = yes
}
+ on_accept = {
+ hidden_effect = {
+ save_event_target_as = WarInHeavenFEOne
+ every_playable_country = {
+ country_event = { id = war_in_heaven.5 }
+ }
+ }
+ }
+
+ on_status_quo = {
+ hidden_effect = {
+ save_event_target_as = WarInHeavenFEOne
+ from = { save_event_target_as = WarInHeavenFETwo }
+ every_playable_country = {
+ country_event = { id = war_in_heaven.6 }
+ }
+ }
+ }
+
ai_weight = {
weight = 100
}
diff --git a/2.0.0/events/anomaly_events_2.txt b/2.0.2/events/anomaly_events_2.txt
index c30e835..a24b340 100755
--- a/2.0.0/events/anomaly_events_2.txt
+++ b/2.0.2/events/anomaly_events_2.txt
@@ -117,7 +117,9 @@ ship_event = {
is_triggered_only = yes
- immediate = { owner = { country_event = { id = story.6 days = 30 } } }
+ immediate = {
+ owner = { country_event = { id = story.6 days = 30 } }
+ }
option = {
name = "ONSCREEN"
@@ -161,25 +163,6 @@ country_event = {
immediate = {
save_event_target_as = MyCountry
- if = {
- limit = {
- any_system = {
- distance = {
- source = FROMFROM
- max_distance = 50
- min_distance = 5
- }
- any_planet = {
- is_planet_class = pc_gas_giant
- is_surveyed = {
- who = event_target:MyCountry
- status = no
- }
- }
- }
- }
- set_country_flag = itisreal
- }
}
picture_event_data = {
@@ -204,20 +187,17 @@ country_event = {
option = {
name = anomaly.5003.d
response_text = anomaly.5003.d.response
- trigger = { has_country_flag = itisreal }
- random_planet = {
+ closest_system = {
limit = {
- is_planet_class = pc_gas_giant
- is_surveyed = {
- who = event_target:MyCountry
- status = no
- }
- distance = {
- source = FROMFROM
- max_distance = 50
- min_distance = 5
+ OR = {
+ has_owner = no
+ owner = { is_same_value = root }
}
+ any_planet = { is_planet_class = pc_gas_giant }
}
+ min_steps = 1
+ random_system_planet = {
+ limit = { is_planet_class = pc_gas_giant }
hidden_effect = {
set_planet_flag = baldarak
save_event_target_as = baldarak_planet
@@ -230,33 +210,6 @@ country_event = {
}
}
}
- option = {
- name = anomaly.5003.d
- response_text = anomaly.5003.d.response
- trigger = { NOT = { has_country_flag = itisreal } }
- random_planet = {
- limit = {
- is_planet_class = pc_gas_giant
- is_surveyed = {
- who = event_target:MyCountry
- status = no
- }
- distance = {
- source = FROMFROM
- max_distance = 300
- min_distance = 50
- }
- }
- hidden_effect = {
- set_planet_flag = baldarak
- orbital_deposit_tile = { clear_deposits = yes }
- }
- enable_special_project = {
- name = "GAS_GIANT_RELOCATION"
- location = this
- owner = root
- }
- }
}
option = {
name = anomaly.5003.e
@@ -283,6 +236,10 @@ ship_event = {
}
random_planet = {
limit = { has_planet_flag = baldarak }
+ surveyed = {
+ set_surveyed = yes
+ surveyor = root.owner
+ }
set_name = "NAME_Baldarak"
add_modifier = {
modifier = "gas_giant_civ"
@@ -293,7 +250,7 @@ ship_event = {
random_planet = {
limit = { has_planet_flag = baldarak }
orbital_deposit_tile = {
- add_deposit = d_immense_society_deposit
+ add_deposit = d_enormous1_society_deposit
}
}
}
@@ -387,17 +344,27 @@ country_event = {
name = anomaly.5007.a
response_text = anomaly.5007.a.response
capital_scope = {
- random_planet = {
+ closest_system = {
limit = {
+ OR = {
+ has_owner = no
+ owner = { is_same_value = root }
+ }
+ any_planet = {
is_planet_class = pc_gas_giant
NOT = {
has_planet_flag = baldarak
has_planet_flag = tollok_rong
}
- distance = {
- source = PREV
- max_distance = 50
- min_distance = 0
+ }
+ }
+ min_steps = 1
+ random_system_planet = {
+ limit = {
+ is_planet_class = pc_gas_giant
+ NOT = {
+ has_planet_flag = baldarak
+ has_planet_flag = tollok_rong
}
}
hidden_effect = {
@@ -413,6 +380,7 @@ country_event = {
}
}
}
+ }
option = {
name = anomaly.5007.b
@@ -445,6 +413,10 @@ ship_event = {
limit = { has_planet_flag = new_baldarak }
hidden_effect = {
set_name = "NAME_New_Baldarak"
+ surveyed = {
+ set_surveyed = yes
+ surveyor = root.owner
+ }
add_modifier = {
modifier = "gas_giant_colony"
days = -1
diff --git a/2.0.0/events/anomaly_events_3.txt b/2.0.2/events/anomaly_events_3.txt
index 2ddd728..856d3b3 100755
--- a/2.0.0/events/anomaly_events_3.txt
+++ b/2.0.2/events/anomaly_events_3.txt
@@ -1199,8 +1199,8 @@ ship_event = {
}
has_access_fleet = root.owner
}
- min_steps = 10
- max_steps = 80
+ min_steps = 1
+ max_steps = 8
set_star_flag = [email protected]
}
closest_system = {
@@ -1214,8 +1214,8 @@ ship_event = {
}
has_access_fleet = root.owner
}
- min_steps = 20
- max_steps = 90
+ min_steps = 2
+ max_steps = 9
set_star_flag = [email protected]
}
closest_system = {
@@ -1230,8 +1230,8 @@ ship_event = {
}
has_access_fleet = root.owner
}
- min_steps = 30
- max_steps = 100
+ min_steps = 3
+ max_steps = 10
set_star_flag = [email protected]
}
}
@@ -2485,7 +2485,6 @@ ship_event = {
immediate = { from = { orbital_deposit_tile = { clear_deposits = yes } } }
option = {
- trigger = { owner = { energy > 199 } }
name = anomaly.230.a
custom_tooltip = anomaly.230.a.tooltip
hidden_effect = {
@@ -2503,7 +2502,7 @@ ship_event = {
}
option = {
- trigger = { owner = { energy > 199 } }
+ allow = { owner = { energy > 199 } }
name = anomaly.230.b
custom_tooltip = anomaly.230.b.tooltip
owner = { add_energy = -200 }
@@ -2514,24 +2513,6 @@ ship_event = {
}
}
}
-
- option = {
- trigger = { owner = { energy < 199 } }
- name = anomaly.230.c
- custom_tooltip = anomaly.230.a.tooltip
- hidden_effect = {
- from = {
- orbital_deposit_tile = {
- add_deposit = d_vast_physics_deposit
- add_deposit = d_vast_physics_deposit
- }
- add_modifier = {
- modifier = grimacing
- days = -1
- }
- }
- }
- }
}
# Grimacing - can enable special project
@@ -3076,6 +3057,7 @@ ship_event = {
desc = anomaly.270.desc
picture = GFX_evt_asteroid_approaching_planet
show_sound = event_default
+ location = from
is_triggered_only = yes
diff --git a/2.0.0/events/anomaly_events_4.txt b/2.0.2/events/anomaly_events_4.txt
index 0568ed0..0c9cfec 100755
--- a/2.0.0/events/anomaly_events_4.txt
+++ b/2.0.2/events/anomaly_events_4.txt
@@ -1315,8 +1315,9 @@ country_event = {
any_system = {
distance = {
source = event_target:buoy
- max_distance = 120
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 6
}
NOR = {
exists = space_owner
@@ -1330,8 +1331,9 @@ country_event = {
limit = {
distance = {
source = event_target:buoy
- max_distance = 120
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 6
}
NOR = {
exists = space_owner
@@ -1348,8 +1350,9 @@ country_event = {
limit = {
distance = {
source = event_target:buoy
- max_distance = 120
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 6
}
is_owned_by = ROOT
any_planet = { is_asteroid = yes }
@@ -2289,7 +2292,7 @@ country_event = {
}
if = {
limit = {
- NOT = { has_technology = tech_destroyers }
+ NOT = { has_technology = tech_cruisers }
}
set_country_flag = goodies
}
@@ -2317,16 +2320,16 @@ country_event = {
}
if = {
limit = {
- has_tech_option = tech_destroyers
+ has_tech_option = tech_cruisers
}
add_tech_progress = {
- tech = tech_destroyers
+ tech = tech_cruisers
progress = 0.90
}
else = {
- add_research_option = tech_destroyers
+ add_research_option = tech_cruisers
add_tech_progress = {
- tech = tech_destroyers
+ tech = tech_cruisers
progress = 0.6
}
}
@@ -2334,6 +2337,35 @@ country_event = {
}
}
+# This = owner of fleet 1 (combatant)
+# From = owner of fleet 2 (destroyed)
+# FromFrom = fleet 1
+# FromFromFrom = fleet 2
+#on_fleet_destroyed_perp = {
+country_event = {
+ id = anomaly.3121
+ hide_window = yes
+
+ is_triggered_only = yes
+
+ trigger = {
+ exists = from
+ from = {
+ NOT = {
+ has_relation_flag = {
+ who = root
+ flag = wrecker_relation
+ }
+ }
+ }
+ fromfromfrom = { has_fleet_flag = wrecker_base_flag }
+ }
+
+ immediate = {
+ from = { destroy_country = yes }
+ }
+}
+
# Manufactory
ship_event = {
id = anomaly.3125
diff --git a/2.0.0/events/anomaly_events_5.txt b/2.0.2/events/anomaly_events_5.txt
index aa2f8fc..368efdf 100755
--- a/2.0.0/events/anomaly_events_5.txt
+++ b/2.0.2/events/anomaly_events_5.txt
@@ -426,8 +426,9 @@ country_event = {
limit = {
distance = {
source = event_target:anomaly_planet
- max_distance = 120
- min_distance = 1
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
has_owner = yes
owner = {
@@ -808,8 +809,9 @@ ship_event = {
limit = {
distance = {
source = event_target:anomaly_star
- max_distance = 80
- min_distance = 40
+ use_bypasses = no
+ min_jumps = 3
+ max_jumps = 8
}
NOT = {
has_star_flag = current_system
@@ -825,8 +827,9 @@ ship_event = {
limit = {
distance = {
source = event_target:anomaly_star
- max_distance = 80
- min_distance = 25
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 7
}
NOT = {
has_star_flag = current_system
@@ -2691,10 +2694,8 @@ ship_event = {
}
option = {
name = "anomaly.4086.b"
- custom_tooltip = "anomaly.4086.b.tooltip"
- hidden_effect = {
- fromfrom = {
- owner = {
+ #custom_tooltip = "anomaly.4086.b.tooltip"
+ root.owner = {
add_modifier = {
modifier = army_speed_boost
days = -1
@@ -2702,8 +2703,6 @@ ship_event = {
}
}
}
- }
-}
### Refugees #############################################################################################
#story8
@@ -2742,6 +2741,16 @@ ship_event = {
}
#Find some available planets
owner = {
+ IF = {
+ LIMIT = {
+ NOT = {
+ any_owned_planet = {
+ habitability = { who = event_target:RefugeeAliens value > 0.5 }
+ }
+ }
+ }
+ set_country_flag = uninhabitable_for_refugees
+ }
random_owned_planet = {
limit = {
NOR = {
@@ -3045,6 +3054,20 @@ ship_event = {
}
}
}
+
+ option = {
+ name = "anomaly.4090.uninhabitable"
+ exclusive_trigger = {
+ owner = {
+ has_country_flag = uninhabitable_for_refugees
+ }
+ }
+ hidden_effect = {
+ owner = {
+ remove_country_flag = uninhabitable_for_refugees
+ }
+ }
+ }
}
country_event = {
id = anomaly.4091
diff --git a/2.0.0/events/apocalypse_events.txt b/2.0.2/events/apocalypse_events.txt
index 76f83e6..1a3d9ff 100755
--- a/2.0.0/events/apocalypse_events.txt
+++ b/2.0.2/events/apocalypse_events.txt
@@ -76,12 +76,28 @@ country_event = {
text = apoc.10.desc.1
trigger = {
num_active_gateways = 2
+ NOT = { has_country_flag = did_not_repair_gateway }
}
}
desc = {
text = apoc.10.desc.2
trigger = {
num_active_gateways > 2
+ NOT = { has_country_flag = did_not_repair_gateway }
+ }
+ }
+ desc = {
+ text = apoc.10.desc.3
+ trigger = {
+ has_country_flag = did_not_repair_gateway
+ has_technology = "tech_gateway_activation"
+ }
+ }
+ desc = {
+ text = apoc.10.desc.4
+ trigger = {
+ has_country_flag = did_not_repair_gateway
+ NOT = { has_technology = "tech_gateway_activation" }
}
}
picture = GFX_evt_drifting_gateway
@@ -91,7 +107,6 @@ country_event = {
is_triggered_only = yes
trigger = {
- #FROM = { is_megastructure_type = gateway_restored }
NOR = {
has_country_flag = gateway_reactivated
has_country_flag = gateway_built
@@ -103,8 +118,40 @@ country_event = {
set_country_flag = gateway_reactivated
}
+ after = {
+ hidden_effect = {
+ if = {
+ limit = { has_country_flag = did_not_repair_gateway }
+ remove_country_flag = did_not_repair_gateway
+ }
+ }
+ }
+
option = {
name = EXCELLENT
+ trigger = {
+ NOT = { has_country_flag = did_not_repair_gateway }
+ }
+ }
+ option = {
+ name = INTERESTING
+ trigger = {
+ has_country_flag = did_not_repair_gateway
+ has_technology = "tech_gateway_activation"
+ }
+ }
+ option = {
+ name = apoc.10.a
+ trigger = {
+ has_country_flag = did_not_repair_gateway
+ NOT = { has_technology = "tech_gateway_activation" }
+ }
+ if = {
+ limit = {
+ NOT = { has_tech_option = tech_gateway_activation }
+ }
+ add_research_option = tech_gateway_activation
+ }
}
}
diff --git a/2.0.0/events/colony_events.txt b/2.0.2/events/colony_events.txt
index 0b1d4c3..1eb6ce8 100755
--- a/2.0.0/events/colony_events.txt
+++ b/2.0.2/events/colony_events.txt
@@ -258,6 +258,10 @@ planet_event = {
create_country = {
name = "NAME_Rampaging_Forests"
type = faction
+ effect = {
+ establish_communications_no_message = root.owner
+ establish_contact = { who = root.owner location = root.solar_system }
+ }
}
create_species = {
name = "NAME_Migrating_Trees"
@@ -269,19 +273,19 @@ planet_event = {
name = "NAME_Rampaging_Forest"
owner = last_created
species = last_created
- type = "assault_army"
+ type = "tree_army"
}
create_army = {
name = "NAME_Rampaging_Forest"
owner = last_created
species = last_created
- type = "assault_army"
+ type = "tree_army"
}
create_army = {
name = "NAME_Rampaging_Forest"
owner = last_created
species = last_created
- type = "assault_army"
+ type = "tree_army"
}
}
@@ -2602,6 +2606,9 @@ planet_event = {
create_country = {
name = "NAME_Deformed_Creatures"
type = faction
+ effect = {
+ establish_communications_no_message = root.owner
+ }
}
create_army = {
name = "NAME_Deformed_Creatures"
@@ -2821,6 +2828,9 @@ planet_event = {
create_country = {
name = "NAME_Marauding_Creatures"
type = faction
+ effect = {
+ establish_communications_no_message = root.owner
+ }
}
create_army = {
name = "NAME_Marauding_Swarms"
@@ -3877,6 +3887,7 @@ planet_event = {
is_occupied_flag = no
num_pops > 0
is_capital = no
+ years_passed < 50
NOR = {
is_planet_class = pc_habitat
is_planet_class = pc_ringworld_habitable
diff --git a/2.0.0/events/colony_events_4.txt b/2.0.2/events/colony_events_4.txt
index d71f2c0..1c0cd73 100755
--- a/2.0.0/events/colony_events_4.txt
+++ b/2.0.2/events/colony_events_4.txt
@@ -113,7 +113,7 @@ planet_event = {
}
has_ground_combat = no
is_occupied_flag = no
- num_pops > 3
+ num_pops > 0
is_capital = no
OR = {
is_planet_class = pc_continental
@@ -335,8 +335,7 @@ planet_event = {
}
has_ground_combat = no
is_occupied_flag = no
- num_pops > 4
- num_pops < 8
+ num_pops > 0
is_capital = no
NOT = {
has_planet_flag = colony_event
@@ -1339,7 +1338,7 @@ planet_event = {
}
has_ground_combat = no
is_occupied_flag = no
- num_pops > 3
+ num_pops > 0
free_building_tiles > 0
is_capital = no
NOR = {
@@ -1725,7 +1724,7 @@ planet_event = {
}
has_ground_combat = no
is_occupied_flag = no
- num_pops > 4
+ num_pops > 0
is_capital = no
NOR = {
has_planet_flag = colony_event
@@ -2004,7 +2003,7 @@ planet_event = {
}
}
}
- num_pops > 4
+ num_pops > 0
has_ground_combat = no
is_occupied_flag = no
exists = leader
@@ -2154,9 +2153,12 @@ planet_event = {
sector_controlled = no
owner = {
is_ai = no
- NOT = { has_country_flag = colony_infected }
+ NOT = {
+ has_country_flag = colony_infected
+ has_ethic = ethic_gestalt_consciousness
}
- num_pops > 5
+ }
+ num_pops > 0
has_ground_combat = no
is_occupied_flag = no
NOR = {
@@ -2952,6 +2954,8 @@ planet_event = {
show_sound = event_red_alert
location = root
+ mean_time_to_happen = { days = 100 }
+
trigger = {
has_planet_flag = colony_infected_active
NOT = {
@@ -3465,7 +3469,7 @@ planet_event = {
has_country_flag = alien_infection_isolated
}
}
- num_pops > 1
+ num_pops > 0
count_pops = {
limit = {
OR = {
@@ -3544,7 +3548,7 @@ planet_event = {
is_capital = no
has_ground_combat = no
is_occupied_flag = no
- num_pops > 10
+ num_pops > 0
free_building_tiles > 0
any_tile = { has_building = yes }
NOR = {
diff --git a/2.0.0/events/communications_spread.txt b/2.0.2/events/communications_spread.txt
index d3f0aa2..f6fb31f 100755
--- a/2.0.0/events/communications_spread.txt
+++ b/2.0.2/events/communications_spread.txt
@@ -210,3 +210,37 @@ country_event = {
}
}
}
+
+# Primitives gain comms with anyone that has comms with their system owner
+country_event = {
+ id = communications_spread.4
+ hide_window = yes
+
+ trigger = {
+ is_country_type = primitive
+ capital_scope.solar_system = {
+ exists = owner
+ owner = {
+ NOT = { is_same_value = root }
+ }
+ }
+ any_playable_country = {
+ has_communications = capital_scope.solar_system.owner
+ NOT = { has_communications = root }
+ }
+ }
+
+ mean_time_to_happen = {
+ months = 1
+ }
+
+ immediate = {
+ every_playable_country = {
+ limit = {
+ has_communications = root.capital_scope.solar_system.owner
+ NOT = { has_communications = root }
+ }
+ establish_communications_no_message = root
+ }
+ }
+}
diff --git a/2.0.0/events/country_events.txt b/2.0.2/events/country_events.txt
index c89beac..b9c2fab 100755
--- a/2.0.0/events/country_events.txt
+++ b/2.0.2/events/country_events.txt
@@ -142,8 +142,9 @@ country_event = {
limit = {
distance = {
source = event_target:capital
- max_distance = 80
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 6
}
NOT = {
exists = space_owner
@@ -157,8 +158,9 @@ country_event = {
limit = {
distance = {
source = event_target:capital
- max_distance = 80
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 6
}
NOT = {
exists = space_owner
@@ -173,8 +175,9 @@ country_event = {
limit = {
distance = {
source = event_target:capital
- max_distance = 80
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 6
}
NOT = {
exists = space_owner
@@ -190,8 +193,9 @@ country_event = {
limit = {
distance = {
source = event_target:capital
- max_distance = 80
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 6
}
NOT = {
exists = space_owner
@@ -515,13 +519,8 @@ ship_event = {
set_country_flag = chasing_ion_trail
set_country_flag = probe_salvage_flag
}
- random_system = {
+ closest_system = {
limit = {
- distance = {
- source = event_target:ion_trail_system
- max_distance = 30
- min_distance = 5
- }
NOT = {
exists = space_owner
has_star_flag = probe_system_1
@@ -2200,7 +2199,7 @@ country_event = {
id = country.200
title = "country.200.name"
desc = "country.200.desc"
- picture = GFX_evt_big_landing_ship
+ picture = GFX_evt_alien_propaganda
show_sound = event_ship_thrusters
location = event_target:cultist_ship
@@ -2334,12 +2333,6 @@ ship_event = {
flag = cultist_rebels
}
}
- #fleet.owner = {
- # has_relation_flag = {
- # who = root.from.owner
- # flag = cultist_rebels
- # }
- #}
}
immediate = {
@@ -2352,7 +2345,7 @@ country_event = {
id = country.202
title = "country.202.name"
desc = "country.202.desc"
- picture = GFX_evt_interior_battle
+ picture = GFX_evt_sabotaged_ship
show_sound = event_space_battle
location = FROM
@@ -2418,7 +2411,7 @@ country_event = {
id = country.218
title = "country.218.name"
desc = "country.218.desc"
- picture = GFX_evt_interior_battle
+ picture = GFX_evt_sabotaged_ship
show_sound = event_space_battle
location = FROM
@@ -2446,7 +2439,7 @@ ship_event = {
id = country.203
title = "country.203.name"
desc = "country.203.desc"
- picture = GFX_evt_hangar_bay
+ picture = GFX_evt_interior_battle
show_sound = event_ground_battle
is_triggered_only = yes
@@ -2466,42 +2459,57 @@ ship_event = {
owner = { save_event_target_as = cult_name }
fleet = { destroy_fleet = this }
}
- closest_system = {
+ random_system = {
limit = {
+ distance = {
+ source = event_target:capital
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 5
+ }
NOT = {
+ exists = space_owner
has_star_flag = hostile_system
is_star_class = sc_black_hole
}
- has_owner = no
}
- min_steps = 10
save_event_target_as = cultists_1
set_star_flag = cultists_1
}
- closest_system = {
+ random_system = {
limit = {
+ distance = {
+ source = event_target:capital
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 5
+ }
NOT = {
+ exists = space_owner
has_star_flag = cultists_1
has_star_flag = hostile_system
is_star_class = sc_black_hole
}
- has_owner = no
}
- min_steps = 20
save_event_target_as = cultists_2
set_star_flag = cultists_2
}
- closest_system = {
+ random_system = {
limit = {
+ distance = {
+ source = event_target:capital
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 5
+ }
NOT = {
+ exists = space_owner
has_star_flag = cultists_1
has_star_flag = cultists_2
has_star_flag = hostile_system
is_star_class = sc_black_hole
}
- has_owner = no
}
- min_steps = 30
save_event_target_as = cultists_3
set_star_flag = cultists_3
}
@@ -3257,7 +3265,7 @@ country_event = {
title = "country.210.name"
desc = "country.210.desc"
picture = GFX_evt_ship_in_orbit
- show_sound = event_air_raid_siren # Should be Red Alert
+ show_sound = event_red_alert
is_triggered_only = yes
@@ -3265,13 +3273,8 @@ country_event = {
hidden_effect = {
set_country_flag = hunting_cult_flagship
capital_scope = { save_event_target_as = capital }
- random_system = {
+ closest_system = {
limit = {
- distance = {
- source = event_target:capital
- max_distance = 150
- min_distance = 5
- }
NOT = {
has_star_flag = hostile_system
is_star_class = sc_black_hole
@@ -3611,8 +3614,9 @@ country_event = {
}
distance = {
source = root.capital_scope
- max_distance = 60
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 5
}
NOT = { has_star_flag = hostile_system }
has_owner = no
@@ -3623,8 +3627,9 @@ country_event = {
}
distance = {
source = root.capital_scope
- max_distance = 60
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 5
}
NOR = {
has_star_flag = hostile_system
@@ -3638,8 +3643,9 @@ country_event = {
}
distance = {
source = root.capital_scope
- max_distance = 60
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 5
}
NOR = {
has_star_flag = hostile_system
@@ -3653,7 +3659,7 @@ country_event = {
}
mean_time_to_happen = {
- months = 80
+ months = 1 #80
}
immediate = {
@@ -3676,8 +3682,9 @@ country_event = {
}
distance = {
source = event_target:capital
- max_distance = 60
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 5
}
NOT = { has_star_flag = hostile_system }
has_owner = no
@@ -3693,8 +3700,9 @@ country_event = {
}
distance = {
source = event_target:capital
- max_distance = 60
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 5
}
NOT = {
has_star_flag = hyacinth_system_1
@@ -3713,8 +3721,9 @@ country_event = {
}
distance = {
source = event_target:capital
- max_distance = 60
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 2
+ max_jumps = 5
}
NOT = {
has_star_flag = hyacinth_system_1
diff --git a/2.0.0/events/country_events_2.txt b/2.0.2/events/country_events_2.txt
index 6621452..eb2855b 100755
--- a/2.0.0/events/country_events_2.txt
+++ b/2.0.2/events/country_events_2.txt
@@ -407,8 +407,9 @@ country_event = {
is_pirate_system = no
distance = {
source = event_target:capital_location
- max_distance = 60
- min_distance = 2
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 5
}
}
set_star_flag = scientist_system_1
@@ -436,8 +437,9 @@ country_event = {
is_pirate_system = no
distance = {
source = event_target:capital_location
- max_distance = 60
- min_distance = 2
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 5
}
}
set_star_flag = scientist_system_2
@@ -466,8 +468,9 @@ country_event = {
is_pirate_system = no
distance = {
source = event_target:capital_location
- max_distance = 60
- min_distance = 2
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 5
}
}
set_star_flag = scientist_system_3
@@ -996,8 +999,9 @@ country_event = {
is_pirate_system = no
distance = {
source = event_target:capital_location
- max_distance = 120
- min_distance = 40
+ use_bypasses = no
+ min_jumps = 3
+ max_jumps = 8
}
}
set_star_flag = scientist_system_4
@@ -1483,8 +1487,9 @@ country_event = {
is_pirate_system = no
distance = {
source = event_target:capital_location
- max_distance = 160
- min_distance = 40
+ use_bypasses = no
+ min_jumps = 3
+ max_jumps = 8
}
}
set_star_flag = scientist_system_5
@@ -1816,8 +1821,9 @@ country_event = {
any_planet = { is_planet_class = pc_asteroid }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -1856,8 +1862,9 @@ country_event = {
any_planet = { is_planet_class = pc_molten }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -1896,8 +1903,9 @@ country_event = {
any_planet = { is_planet_class = pc_barren }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -1936,8 +1944,9 @@ country_event = {
any_planet = { is_planet_class = pc_toxic }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -1976,8 +1985,9 @@ country_event = {
any_planet = { is_planet_class = pc_frozen }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -2138,8 +2148,9 @@ country_event = {
any_planet = { is_planet_class = pc_asteroid }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -2249,8 +2260,9 @@ country_event = {
any_planet = { is_planet_class = pc_molten }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -2360,8 +2372,9 @@ country_event = {
any_planet = { is_planet_class = pc_barren }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -2471,8 +2484,9 @@ country_event = {
any_planet = { is_planet_class = pc_toxic }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
@@ -2582,8 +2596,9 @@ country_event = {
any_planet = { is_planet_class = pc_frozen }
distance = {
source = event_target:capital_location
- max_distance = 190
- min_distance = 5
+ use_bypasses = no
+ min_jumps = 1
+ max_jumps = 8
}
}
random_system_planet = {
diff --git a/2.0.0/events/crisis_events_1.txt b/2.0.2/events/crisis_events_1.txt
index e78b121..b7a8fff 100755
--- a/2.0.0/events/crisis_events_1.txt
+++ b/2.0.2/events/crisis_events_1.txt
@@ -3161,7 +3161,7 @@ country_event = {
}
add_modifier = {
modifier = "prethoryn_defeated"
- days = 360
+ days = 3600
}
add_monthly_resource_mult = {
resource = unity
diff --git a/2.0.0/events/crisis_events_2.txt b/2.0.2/events/crisis_events_2.txt
index a3bca05..2f6240c 100755
--- a/2.0.0/events/crisis_events_2.txt
+++ b/2.0.2/events/crisis_events_2.txt
@@ -892,32 +892,21 @@ country_event = {
}
}
FROM = { save_event_target_as = portal_killer }
- every_country = {
- limit = {
- is_country_type = default
- has_communications = FROM
- }
+ every_playable_country = {
+ if = {
+ limit = { has_communications = FROM }
add_opinion_modifier = {
who = FROM
modifier = opinion_destroyed_portal
}
}
- every_country = {
- limit = { is_country_type = default }
add_modifier = {
modifier = "extradimensionals_defeated"
days = 360
}
- }
- every_country = {
- limit = {
- #is_ai = no
- is_country_type = default
- }
country_event = { id = crisis.1013 }
}
- break = yes
- }
+ else = {
if = {
limit = {
has_global_flag = extradimensional_second_portal
@@ -926,16 +915,14 @@ country_event = {
has_global_flag = extradimensional_third_portal_destroyed
}
}
- every_country = {
- limit = {
- #is_ai = no
- is_country_type = default
- }
+ every_playable_country = {
country_event = { id = crisis.1016 }
}
}
}
}
+ }
+}
# Portal Destroyed
country_event = {
diff --git a/2.0.0/events/crisis_events_3.txt b/2.0.2/events/crisis_events_3.txt
index 4ca0ca6..6f6cab1 100755
--- a/2.0.0/events/crisis_events_3.txt
+++ b/2.0.2/events/crisis_events_3.txt
@@ -1309,12 +1309,20 @@ country_event = {
desc = {
text = crisis.2037.desc
- trigger = { NOT = { has_global_flag = first_machine_world_destroyed } }
+ trigger = {
+ NOT = { has_global_flag = first_machine_world_destroyed }
+ NOT = {
+ from = { has_planet_flag = destroyed_by_colossus }
+ }
+ }
}
desc = {
text = crisis.2037.alt.desc
trigger = {
has_global_flag = first_machine_world_destroyed
+ NOT = {
+ from = { has_planet_flag = destroyed_by_colossus }
+ }
OR = {
NOT = { has_authority = auth_machine_intelligence }
AND = {
@@ -1335,6 +1343,24 @@ country_event = {
NOT = { has_country_flag = ghost_signal_blocked }
}
}
+ desc = {
+ text = crisis.2037.alt.cracked.desc
+ trigger = {
+ from = {
+ has_planet_flag = destroyed_by_colossus
+ has_planet_flag = planet_cracked
+ }
+ }
+ }
+ desc = {
+ text = crisis.2037.alt.shielded.desc
+ trigger = {
+ from = {
+ has_planet_flag = destroyed_by_colossus
+ has_planet_flag = planet_shielded
+ }
+ }
+ }
picture = GFX_evt_exploding_planet
show_sound = event_super_explosion
@@ -1367,7 +1393,32 @@ country_event = {
country_event = {
id = crisis.2038
title = "crisis.2038.name"
- desc = "crisis.2038.desc"
+ desc = {
+ text = crisis.2038.desc
+ trigger = {
+ NOT = {
+ from = { has_planet_flag = destroyed_by_colossus }
+ }
+ }
+ }
+ desc = {
+ text = crisis.2038.cracker.desc
+ trigger = {
+ from = {
+ has_planet_flag = destroyed_by_colossus
+ has_planet_flag = planet_cracked
+ }
+ }
+ }
+ desc = {
+ text = crisis.2038.shield.desc
+ trigger = {
+ from = {
+ has_planet_flag = destroyed_by_colossus
+ has_planet_flag = planet_shielded
+ }
+ }
+ }
picture = GFX_evt_exploding_planet
show_sound = event_super_explosion
location = from
@@ -1420,17 +1471,20 @@ planet_event = {
remove_point_of_interest = ai_crisis_poi.4
}
}
+ if = {
+ limit = {
+ NOT = { has_planet_flag = destroyed_by_colossus }
+ }
destroy_colony = yes
change_pc = pc_broken
reset_planet = yes
- #set_planet_entity = { entity = "barren_planet_01_destroyed_entity" }
orbital_deposit_tile = {
hidden_effect = { clear_deposits = yes }
add_deposit = d_living_metal_deposit
add_deposit = d_vast_mineral_deposit
add_deposit = d_vast_energy_deposit
}
-
+ }
every_country = {
limit = { has_event_chain = "ai_crisis_chain" }
@@ -1745,10 +1799,14 @@ planet_event = {
remove_global_flag = synth_terror
remove_global_flag = ai_ghost_signal
remove_global_flag = ai_invasion_ongoing
+ if = {
+ limit = {
+ NOT = { has_planet_flag = destroyed_by_colossus }
+ }
destroy_colony = yes
change_pc = pc_broken
reset_planet = yes
- #set_planet_entity = { entity = "barren_planet_01_destroyed_entity" }
+ }
every_country = {
limit = { has_notification_modifier = ghost_signal_1 }
remove_notification_modifier = ghost_signal_1
@@ -2022,6 +2080,7 @@ pop_event = {
has_notification_modifier = ghost_signal_2
has_notification_modifier = ghost_signal_1
}
+ NOT = { has_country_flag = synthetic_empire }
}
}
diff --git a/2.0.0/events/fallen_empire_awakening_events.txt b/2.0.2/events/fallen_empire_awakening_events.txt
index ae7545b..1fd2765 100755
--- a/2.0.0/events/fallen_empire_awakening_events.txt
+++ b/2.0.2/events/fallen_empire_awakening_events.txt
@@ -226,6 +226,7 @@ country_event = {
trigger = {
has_global_flag = galactic_crisis_happened
+ NOT = { has_global_flag = sleepers_awake_rival_waking } # Not if WiH happened
has_country_flag = guardians_of_the_galaxy
NOT = { has_global_flag = guardians_of_the_galaxy_happened }
NOT = { has_country_flag = timed_guardians_of_the_galaxy }
diff --git a/2.0.0/events/game_start.txt b/2.0.2/events/game_start.txt
index 768694f..1ccd3e4 100755
--- a/2.0.0/events/game_start.txt
+++ b/2.0.2/events/game_start.txt
@@ -1050,7 +1050,17 @@ country_event = {
random_owned_planet ={
limit = { is_capital = yes }
change_pc = pc_nuked
+ reroll_deposits = yes
reset_start_buildings_and_blockers_post_apoc = yes
+ if = {
+ limit = { root = { has_civic = civic_machine_terminator } }
+ every_tile = {
+ limit = { has_building = building_hydroponics_farm_1 }
+ remove_building = yes
+ set_building = building_power_plant_1
+ clear_deposits = yes
+ }
+ }
}
}
}
diff --git a/2.0.0/events/guardian_events.txt b/2.0.2/events/guardian_events.txt
index 290c29b..eea4869 100755
--- a/2.0.0/events/guardian_events.txt
+++ b/2.0.2/events/guardian_events.txt
@@ -131,7 +131,7 @@ country_event = {
}
}
-# Enclave Monthly Border Opinion
+# Enclave Yearly Border Opinion
event = {
id = guardian.10
hide_window = yes
@@ -266,6 +266,8 @@ country_event = {
id = guardian.97
hide_window = yes
+ is_triggered_only = yes
+
trigger = {
exists = event_target:pc_home
event_target:pc_home = {
@@ -575,12 +577,7 @@ country_event = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_machine_terminator
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_energy_trade_3_xur
+ has_active_xuracorp_trade = yes
}
}
hidden_effect = {
@@ -596,12 +593,7 @@ country_event = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_machine_terminator
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_energy_trade_3_xur
+ has_active_xuracorp_trade = yes
}
}
hidden_effect = {
@@ -609,6 +601,22 @@ country_event = {
}
}
+ option = { # Food
+ name = guardian.105.f
+ custom_gui = "enclave_trader_option"
+ trigger = {
+ NOR = {
+ has_valid_civic = civic_fanatic_purifiers
+ has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_machine_terminator
+ has_active_xuracorp_trade = yes
+ }
+ }
+ hidden_effect = {
+ country_event = { id = guardian.125 }
+ }
+ }
+
option = { # Strategic Resource
name = guardian.105.c
custom_gui = "enclave_trader_option"
@@ -643,23 +651,11 @@ country_event = {
name = guardian.105.e
custom_gui = "enclave_trader_option"
trigger = {
- OR = {
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_energy_trade_3_xur
- }
+ has_active_xuracorp_trade = yes
}
custom_tooltip = end_trade_1
hidden_effect = {
- remove_modifier = enclave_mineral_trade_1_xur
- remove_modifier = enclave_mineral_trade_2_xur
- remove_modifier = enclave_mineral_trade_3_xur
- remove_modifier = enclave_energy_trade_1_xur
- remove_modifier = enclave_energy_trade_2_xur
- remove_modifier = enclave_energy_trade_3_xur
+ remove_xuracorp_trades = yes
}
is_dialog_only = yes
response_text = guardian.105.e.response
@@ -755,12 +751,7 @@ country_event = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_machine_terminator
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_energy_trade_3_rig
+ has_active_riggan_trade = yes
}
}
hidden_effect = {
@@ -776,12 +767,7 @@ country_event = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_machine_terminator
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_energy_trade_3_rig
+ has_active_riggan_trade = yes
}
}
hidden_effect = {
@@ -789,6 +775,22 @@ country_event = {
}
}
+ option = { # Food
+ name = guardian.105.f
+ custom_gui = "enclave_trader_option"
+ trigger = {
+ NOR = {
+ has_valid_civic = civic_fanatic_purifiers
+ has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_machine_terminator
+ has_active_riggan_trade = yes
+ }
+ }
+ hidden_effect = {
+ country_event = { id = guardian.125 }
+ }
+ }
+
option = { # Strategic Resource
name = guardian.105.c
custom_gui = "enclave_trader_option"
@@ -823,23 +825,11 @@ country_event = {
name = guardian.105.e
custom_gui = "enclave_trader_option"
trigger = {
- OR = {
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_energy_trade_3_rig
- }
+ has_active_riggan_trade = yes
}
custom_tooltip = end_trade_2
hidden_effect = {
- remove_modifier = enclave_mineral_trade_1_rig
- remove_modifier = enclave_mineral_trade_2_rig
- remove_modifier = enclave_mineral_trade_3_rig
- remove_modifier = enclave_energy_trade_1_rig
- remove_modifier = enclave_energy_trade_2_rig
- remove_modifier = enclave_energy_trade_3_rig
+ remove_riggan_trades = yes
}
is_dialog_only = yes
response_text = guardian.105.e.response
@@ -932,12 +922,7 @@ country_event = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_machine_terminator
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_energy_trade_3_mut
+ has_active_muutagan_trade = yes
}
}
hidden_effect = {
@@ -953,12 +938,7 @@ country_event = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_machine_terminator
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_energy_trade_3_mut
+ has_active_muutagan_trade = yes
}
}
hidden_effect = {
@@ -966,6 +946,22 @@ country_event = {
}
}
+ option = { # Food
+ name = guardian.105.f
+ custom_gui = "enclave_trader_option"
+ trigger = {
+ NOR = {
+ has_valid_civic = civic_fanatic_purifiers
+ has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_machine_terminator
+ has_active_muutagan_trade = yes
+ }
+ }
+ hidden_effect = {
+ country_event = { id = guardian.125 }
+ }
+ }
+
option = { # Strategic Resource
name = guardian.105.c
custom_gui = "enclave_trader_option"
@@ -1000,23 +996,11 @@ country_event = {
name = guardian.105.e
custom_gui = "enclave_trader_option"
trigger = {
- OR = {
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_energy_trade_3_mut
- }
+ has_active_muutagan_trade = yes
}
custom_tooltip = end_trade_3
hidden_effect = {
- remove_modifier = enclave_mineral_trade_1_mut
- remove_modifier = enclave_mineral_trade_2_mut
- remove_modifier = enclave_mineral_trade_3_mut
- remove_modifier = enclave_energy_trade_1_mut
- remove_modifier = enclave_energy_trade_2_mut
- remove_modifier = enclave_energy_trade_3_mut
+ remove_muutagan_trades = yes
}
is_dialog_only = yes
response_text = guardian.105.e.response
@@ -1070,14 +1054,7 @@ country_event = {
name = guardian.105.a
custom_gui = "enclave_trader_option"
trigger = {
- NOR = {
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_energy_trade_3_xur
- }
+ has_active_xuracorp_trade = no
}
hidden_effect = {
country_event = { id = guardian.110 }
@@ -1088,20 +1065,24 @@ country_event = {
name = guardian.105.b
custom_gui = "enclave_trader_option"
trigger = {
- NOR = {
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_energy_trade_3_xur
- }
+ has_active_xuracorp_trade = no
}
hidden_effect = {
country_event = { id = guardian.120 }
}
}
+ option = { # Food
+ name = guardian.105.f
+ custom_gui = "enclave_trader_option"
+ trigger = {
+ has_active_xuracorp_trade = no
+ }
+ hidden_effect = {
+ country_event = { id = guardian.125 }
+ }
+ }
+
option = { # Strategic Resource
name = guardian.105.c
custom_gui = "enclave_trader_option"
@@ -1129,23 +1110,11 @@ country_event = {
name = guardian.105.e
custom_gui = "enclave_trader_option"
trigger = {
- OR = {
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_energy_trade_3_xur
- }
+ has_active_xuracorp_trade = yes
}
custom_tooltip = end_trade_1
hidden_effect = {
- remove_modifier = enclave_mineral_trade_1_xur
- remove_modifier = enclave_mineral_trade_2_xur
- remove_modifier = enclave_mineral_trade_3_xur
- remove_modifier = enclave_energy_trade_1_xur
- remove_modifier = enclave_energy_trade_2_xur
- remove_modifier = enclave_energy_trade_3_xur
+ remove_xuracorp_trades = yes
}
is_dialog_only = yes
response_text = guardian.105.e.response
@@ -1195,14 +1164,7 @@ country_event = {
name = guardian.105.a
custom_gui = "enclave_trader_option"
trigger = {
- NOR = {
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_energy_trade_3_rig
- }
+ has_active_riggan_trade = no
}
hidden_effect = {
country_event = { id = guardian.110 }
@@ -1213,20 +1175,24 @@ country_event = {
name = guardian.105.b
custom_gui = "enclave_trader_option"
trigger = {
- NOR = {
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_energy_trade_3_rig
- }
+ has_active_riggan_trade = no
}
hidden_effect = {
country_event = { id = guardian.120 }
}
}
+ option = { # Food
+ name = guardian.105.f
+ custom_gui = "enclave_trader_option"
+ trigger = {
+ has_active_riggan_trade = no
+ }
+ hidden_effect = {
+ country_event = { id = guardian.125 }
+ }
+ }
+
option = { # Strategic Resource
name = guardian.105.c
custom_gui = "enclave_trader_option"
@@ -1254,23 +1220,11 @@ country_event = {
name = guardian.105.e
custom_gui = "enclave_trader_option"
trigger = {
- OR = {
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_energy_trade_3_rig
- }
+ has_active_riggan_trade = yes
}
custom_tooltip = end_trade_2
hidden_effect = {
- remove_modifier = enclave_mineral_trade_1_rig
- remove_modifier = enclave_mineral_trade_2_rig
- remove_modifier = enclave_mineral_trade_3_rig
- remove_modifier = enclave_energy_trade_1_rig
- remove_modifier = enclave_energy_trade_2_rig
- remove_modifier = enclave_energy_trade_3_rig
+ remove_riggan_trades = yes
}
is_dialog_only = yes
response_text = guardian.105.e.response
@@ -1320,14 +1274,7 @@ country_event = {
name = guardian.105.a
custom_gui = "enclave_trader_option"
trigger = {
- NOR = {
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_energy_trade_3_mut
- }
+ has_active_muutagan_trade = no
}
hidden_effect = {
country_event = { id = guardian.110 }
@@ -1338,20 +1285,24 @@ country_event = {
name = guardian.105.b
custom_gui = "enclave_trader_option"
trigger = {
- NOR = {
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_energy_trade_3_mut
- }
+ has_active_muutagan_trade = no
}
hidden_effect = {
country_event = { id = guardian.120 }
}
}
+ option = { # Food
+ name = guardian.105.f
+ custom_gui = "enclave_trader_option"
+ trigger = {
+ has_active_muutagan_trade = no
+ }
+ hidden_effect = {
+ country_event = { id = guardian.125 }
+ }
+ }
+
option = { # Strategic Resource
name = guardian.105.c
custom_gui = "enclave_trader_option"
@@ -1379,23 +1330,11 @@ country_event = {
name = guardian.105.e
custom_gui = "enclave_trader_option"
trigger = {
- OR = {
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_energy_trade_3_mut
- }
+ has_active_muutagan_trade = yes
}
custom_tooltip = end_trade_3
hidden_effect = {
- remove_modifier = enclave_mineral_trade_1_mut
- remove_modifier = enclave_mineral_trade_2_mut
- remove_modifier = enclave_mineral_trade_3_mut
- remove_modifier = enclave_energy_trade_1_mut
- remove_modifier = enclave_energy_trade_2_mut
- remove_modifier = enclave_energy_trade_3_mut
+ remove_muutagan_trades = yes
}
is_dialog_only = yes
response_text = guardian.105.e.response
@@ -1482,12 +1421,6 @@ country_event = {
}
custom_tooltip = monthly_opinion1
hidden_effect = {
- event_target:traders = {
- add_trust = {
- who = root
- amount = 1
- }
- }
country_event = { id = guardian.111 }
country_event = { id = guardian.122 days = 30 }
}
@@ -1538,12 +1471,6 @@ country_event = {
}
custom_tooltip = monthly_opinion2
hidden_effect = {
- event_target:traders = {
- add_trust = {
- who = root
- amount = 2
- }
- }
country_event = { id = guardian.111 }
country_event = { id = guardian.122 days = 30 }
}
@@ -1594,24 +1521,168 @@ country_event = {
}
custom_tooltip = monthly_opinion3
hidden_effect = {
- event_target:traders = {
- add_trust = {
- who = root
- amount = 3
- }
- }
country_event = { id = guardian.111 }
country_event = { id = guardian.122 days = 30 }
}
}
option = {
- name = guardian.110.d
+ name = guardian.110.food.a
custom_gui = "enclave_trader_option"
- hidden_effect = {
- if = {
- limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
- country_event = { id = guardian.105 }
+ allow = {
+ food > 20
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_1_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_1_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_1_mut"
+ days = -1
+ }
+ }
+ custom_tooltip = monthly_opinion1
+ hidden_effect = {
+ country_event = { id = guardian.111 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.110.food.b
+ custom_gui = "enclave_trader_option"
+ allow = {
+ food > 50
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_2_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_2_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_2_mut"
+ days = -1
+ }
+ }
+ custom_tooltip = monthly_opinion2
+ hidden_effect = {
+ country_event = { id = guardian.111 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.110.food.c
+ custom_gui = "enclave_trader_option"
+ allow = {
+ food > 100
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_3_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_3_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_mineral_food_trade_3_mut"
+ days = -1
+ }
+ }
+ custom_tooltip = monthly_opinion3
+ hidden_effect = {
+ country_event = { id = guardian.111 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.110.d
+ custom_gui = "enclave_trader_option"
+ hidden_effect = {
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ country_event = { id = guardian.105 }
}
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
@@ -1644,15 +1715,24 @@ country_event = {
OR = {
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ OR = {
has_modifier = enclave_mineral_trade_1_xur
+ has_modifier = enclave_mineral_food_trade_1_xur
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ OR = {
has_modifier = enclave_mineral_trade_1_rig
+ has_modifier = enclave_mineral_food_trade_1_rig
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ OR = {
has_modifier = enclave_mineral_trade_1_mut
+ has_modifier = enclave_mineral_food_trade_1_mut
+ }
}
}
}
@@ -1663,15 +1743,24 @@ country_event = {
OR = {
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ OR = {
has_modifier = enclave_mineral_trade_2_xur
+ has_modifier = enclave_mineral_food_trade_2_xur
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ OR = {
has_modifier = enclave_mineral_trade_2_rig
+ has_modifier = enclave_mineral_food_trade_2_rig
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ OR = {
has_modifier = enclave_mineral_trade_2_mut
+ has_modifier = enclave_mineral_food_trade_2_mut
+ }
}
}
}
@@ -1682,15 +1771,24 @@ country_event = {
OR = {
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ OR = {
has_modifier = enclave_mineral_trade_3_xur
+ has_modifier = enclave_mineral_food_trade_3_xur
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ OR = {
has_modifier = enclave_mineral_trade_3_rig
+ has_modifier = enclave_mineral_food_trade_3_rig
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ OR = {
has_modifier = enclave_mineral_trade_3_mut
+ has_modifier = enclave_mineral_food_trade_3_mut
+ }
}
}
}
@@ -1760,22 +1858,674 @@ country_event = {
portrait = event_target:traders
room = enclave_trader_room
}
-
- immediate = {
- set_country_flag = trader_enclave_diplomacy_engaged
+
+ immediate = {
+ set_country_flag = trader_enclave_diplomacy_engaged
+ }
+
+ after = {
+ hidden_effect = {
+ remove_country_flag = trader_enclave_diplomacy_engaged
+ }
+ }
+
+ option = {
+ name = guardian.120.a
+ custom_gui = "enclave_trader_option"
+ allow = {
+ minerals > 20
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_1_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_1_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_1_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion1
+ hidden_effect = {
+ country_event = { id = guardian.121 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.120.b
+ custom_gui = "enclave_trader_option"
+ allow = {
+ minerals > 50
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_2_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_2_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_2_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion2
+ hidden_effect = {
+ country_event = { id = guardian.121 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.120.c
+ custom_gui = "enclave_trader_option"
+ allow = {
+ minerals > 100
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_3_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_3_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_energy_trade_3_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion3
+ hidden_effect = {
+ country_event = { id = guardian.121 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.120.food.a
+ custom_gui = "enclave_trader_option"
+ allow = {
+ food > 20
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_1_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_1_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_1_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion1
+ hidden_effect = {
+ country_event = { id = guardian.121 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.120.food.b
+ custom_gui = "enclave_trader_option"
+ allow = {
+ food > 50
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_2_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_2_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_2_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion2
+ hidden_effect = {
+ country_event = { id = guardian.121 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.120.food.c
+ custom_gui = "enclave_trader_option"
+ allow = {
+ food > 100
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_3_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_3_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_energy_food_trade_3_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion3
+ hidden_effect = {
+ country_event = { id = guardian.121 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.110.d
+ custom_gui = "enclave_trader_option"
+ hidden_effect = {
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ country_event = { id = guardian.105 }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ country_event = { id = guardian.106 }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ country_event = { id = guardian.107 }
+ }
+ }
+ }
+
+ option = {
+ name = guardian.110.e
+ custom_gui = "enclave_trader_option"
+ default_hide_option = yes
+ hidden_effect = {
+ remove_country_flag = trader_enclave_diplomacy_engaged
+ }
+ }
+}
+
+# Energy Deal Struck
+country_event = {
+ id = guardian.121
+ title = guardian.120.name
+ desc = {
+ text = guardian.120.a.reply
+ trigger = {
+ OR = {
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ OR = {
+ has_modifier = enclave_energy_trade_1_xur
+ has_modifier = enclave_energy_food_trade_1_xur
+ }
+ }
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ OR = {
+ has_modifier = enclave_energy_trade_1_rig
+ has_modifier = enclave_energy_food_trade_1_rig
+ }
+ }
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ OR = {
+ has_modifier = enclave_energy_trade_1_mut
+ has_modifier = enclave_energy_food_trade_1_mut
+ }
+ }
+ }
+ }
+ }
+ desc = {
+ text = guardian.120.b.reply
+ trigger = {
+ OR = {
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ OR = {
+ has_modifier = enclave_energy_trade_2_xur
+ has_modifier = enclave_energy_food_trade_2_xur
+ }
+ }
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ OR = {
+ has_modifier = enclave_energy_trade_2_rig
+ has_modifier = enclave_energy_food_trade_2_rig
+ }
+ }
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ OR = {
+ has_modifier = enclave_energy_trade_2_mut
+ has_modifier = enclave_energy_food_trade_2_mut
+ }
+ }
+ }
+ }
+ }
+ desc = {
+ text = guardian.120.c.reply
+ trigger = {
+ OR = {
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ OR = {
+ has_modifier = enclave_energy_trade_3_xur
+ has_modifier = enclave_energy_food_trade_3_xur
+ }
+ }
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ OR = {
+ has_modifier = enclave_energy_trade_3_rig
+ has_modifier = enclave_energy_food_trade_3_rig
+ }
+ }
+ AND = {
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ OR = {
+ has_modifier = enclave_energy_trade_3_mut
+ has_modifier = enclave_energy_food_trade_3_mut
+ }
+ }
+ }
+ }
+ }
+
+ is_triggered_only = yes
+ diplomatic = yes
+ custom_gui = "enclave_trader_window"
+ force_open = yes
+
+ picture_event_data = {
+ portrait = event_target:traders
+ room = enclave_trader_room
+ }
+
+ immediate = {
+ set_country_flag = trader_enclave_diplomacy_engaged
+ }
+
+ after = {
+ hidden_effect = {
+ remove_country_flag = trader_enclave_diplomacy_engaged
+ }
+ }
+
+ option = {
+ name = guardian.110.d
+ custom_gui = "enclave_trader_option"
+ hidden_effect = {
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ country_event = { id = guardian.105 }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ country_event = { id = guardian.106 }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ country_event = { id = guardian.107 }
+ }
+ }
+ }
+
+ option = {
+ name = guardian.111.e
+ custom_gui = "enclave_trader_option"
+ default_hide_option = yes
+ hidden_effect = {
+ remove_country_flag = trader_enclave_diplomacy_engaged
+ }
+ }
+}
+
+# Food
+country_event = {
+ id = guardian.125
+ title = guardian.125.name
+ desc = guardian.125.desc
+
+ is_triggered_only = yes
+ diplomatic = yes
+ custom_gui = "enclave_trader_window"
+ force_open = yes
+
+ picture_event_data = {
+ portrait = event_target:traders
+ room = enclave_trader_room
+ }
+
+ immediate = {
+ set_country_flag = trader_enclave_diplomacy_engaged
+ }
+
+ after = {
+ hidden_effect = {
+ remove_country_flag = trader_enclave_diplomacy_engaged
+ }
+ }
+
+ option = {
+ name = guardian.125.minerals.a
+ custom_gui = "enclave_trader_option"
+ allow = {
+ minerals > 20
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_1_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_1_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_1_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion1
+ hidden_effect = {
+ country_event = { id = guardian.126 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.125.minerals.b
+ custom_gui = "enclave_trader_option"
+ allow = {
+ minerals > 50
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_2_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_2_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_2_mut"
+ days = -1
+ }
+ }
+
+ custom_tooltip = monthly_opinion2
+ hidden_effect = {
+ country_event = { id = guardian.126 }
+ country_event = { id = guardian.122 days = 30 }
+ }
+ }
+
+ option = {
+ name = guardian.125.minerals.c
+ custom_gui = "enclave_trader_option"
+ allow = {
+ minerals > 100
+ hidden_trigger = {
+ NOT = {
+ AND = {
+ has_country_flag = attacked_xuracorp
+ event_target:traders = { has_country_flag = trader_enclave_country_1 }
+ }
+ AND = {
+ has_country_flag = attacked_riggans
+ event_target:traders = { has_country_flag = trader_enclave_country_2 }
+ }
+ AND = {
+ has_country_flag = attacked_muutagans
+ event_target:traders = { has_country_flag = trader_enclave_country_3 }
+ }
+ }
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_3_xur"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_3_rig"
+ days = -1
+ }
+ }
+ if = {
+ limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
+ add_modifier = {
+ modifier = "enclave_food_minerals_trade_3_mut"
+ days = -1
+ }
}
- after = {
+ custom_tooltip = monthly_opinion3
hidden_effect = {
- remove_country_flag = trader_enclave_diplomacy_engaged
+ country_event = { id = guardian.126 }
+ country_event = { id = guardian.122 days = 30 }
}
}
option = {
- name = guardian.120.a
+ name = guardian.125.energy.a
custom_gui = "enclave_trader_option"
allow = {
- minerals > 20
+ energy > 20
hidden_trigger = {
NOT = {
AND = {
@@ -1796,43 +2546,37 @@ country_event = {
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
add_modifier = {
- modifier = "enclave_energy_trade_1_xur"
+ modifier = "enclave_food_energy_trade_1_xur"
days = -1
}
}
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
add_modifier = {
- modifier = "enclave_energy_trade_1_rig"
+ modifier = "enclave_food_energy_trade_1_rig"
days = -1
}
}
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
add_modifier = {
- modifier = "enclave_energy_trade_1_mut"
+ modifier = "enclave_food_energy_trade_1_mut"
days = -1
}
}
custom_tooltip = monthly_opinion1
hidden_effect = {
- event_target:traders = {
- add_trust = {
- who = root
- amount = 1
- }
- }
- country_event = { id = guardian.121 }
+ country_event = { id = guardian.126 }
country_event = { id = guardian.122 days = 30 }
}
}
option = {
- name = guardian.120.b
+ name = guardian.125.energy.b
custom_gui = "enclave_trader_option"
allow = {
- minerals > 50
+ energy > 50
hidden_trigger = {
NOT = {
AND = {
@@ -1853,43 +2597,37 @@ country_event = {
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
add_modifier = {
- modifier = "enclave_energy_trade_2_xur"
+ modifier = "enclave_food_energy_trade_2_xur"
days = -1
}
}
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
add_modifier = {
- modifier = "enclave_energy_trade_2_rig"
+ modifier = "enclave_food_energy_trade_2_rig"
days = -1
}
}
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
add_modifier = {
- modifier = "enclave_energy_trade_2_mut"
+ modifier = "enclave_food_energy_trade_2_mut"
days = -1
}
}
custom_tooltip = monthly_opinion2
hidden_effect = {
- event_target:traders = {
- add_trust = {
- who = root
- amount = 2
- }
- }
- country_event = { id = guardian.121 }
+ country_event = { id = guardian.126 }
country_event = { id = guardian.122 days = 30 }
}
}
option = {
- name = guardian.120.c
+ name = guardian.125.energy.c
custom_gui = "enclave_trader_option"
allow = {
- minerals > 100
+ energy > 100
hidden_trigger = {
NOT = {
AND = {
@@ -1910,34 +2648,28 @@ country_event = {
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_1 } }
add_modifier = {
- modifier = "enclave_energy_trade_3_xur"
+ modifier = "enclave_food_energy_trade_3_xur"
days = -1
}
}
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_2 } }
add_modifier = {
- modifier = "enclave_energy_trade_3_rig"
+ modifier = "enclave_food_energy_trade_3_rig"
days = -1
}
}
if = {
limit = { event_target:traders = { has_country_flag = trader_enclave_country_3 } }
add_modifier = {
- modifier = "enclave_energy_trade_3_mut"
+ modifier = "enclave_food_energy_trade_3_mut"
days = -1
}
}
custom_tooltip = monthly_opinion3
hidden_effect = {
- event_target:traders = {
- add_trust = {
- who = root
- amount = 3
- }
- }
- country_event = { id = guardian.121 }
+ country_event = { id = guardian.126 }
country_event = { id = guardian.122 days = 30 }
}
}
@@ -1971,63 +2703,90 @@ country_event = {
}
}
-# Energy Deal Struck
+# Food Deal Struck
country_event = {
- id = guardian.121
- title = guardian.120.name
+ id = guardian.126
+ title = guardian.125.name
desc = {
- text = guardian.120.a.reply
+ text = guardian.125.a.reply
trigger = {
OR = {
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_1 }
- has_modifier = enclave_energy_trade_1_xur
+ OR = {
+ has_modifier = enclave_food_minerals_trade_1_xur
+ has_modifier = enclave_food_energy_trade_1_xur
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_2 }
- has_modifier = enclave_energy_trade_1_rig
+ OR = {
+ has_modifier = enclave_food_minerals_trade_1_rig
+ has_modifier = enclave_food_energy_trade_1_rig
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_3 }
- has_modifier = enclave_energy_trade_1_mut
+ OR = {
+ has_modifier = enclave_food_minerals_trade_1_mut
+ has_modifier = enclave_food_energy_trade_1_mut
+ }
}
}
}
}
desc = {
- text = guardian.120.b.reply
+ text = guardian.125.b.reply
trigger = {
OR = {
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_1 }
- has_modifier = enclave_energy_trade_2_xur
+ OR = {
+ has_modifier = enclave_food_minerals_trade_2_xur
+ has_modifier = enclave_food_energy_trade_2_xur
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_2 }
- has_modifier = enclave_energy_trade_2_rig
+ OR = {
+ has_modifier = enclave_food_minerals_trade_2_rig
+ has_modifier = enclave_food_energy_trade_2_rig
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_3 }
- has_modifier = enclave_energy_trade_2_mut
+ OR = {
+ has_modifier = enclave_food_minerals_trade_1_mut
+ has_modifier = enclave_food_energy_trade_1_mut
+ }
}
}
}
}
desc = {
- text = guardian.120.c.reply
+ text = guardian.125.c.reply
trigger = {
OR = {
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_1 }
- has_modifier = enclave_energy_trade_3_xur
+ OR = {
+ has_modifier = enclave_food_minerals_trade_3_xur
+ has_modifier = enclave_food_energy_trade_3_xur
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_2 }
- has_modifier = enclave_energy_trade_3_rig
+ OR = {
+ has_modifier = enclave_food_minerals_trade_3_rig
+ has_modifier = enclave_food_energy_trade_3_rig
+ }
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_3 }
- has_modifier = enclave_energy_trade_3_mut
+ OR = {
+ has_modifier = enclave_food_minerals_trade_3_mut
+ has_modifier = enclave_food_energy_trade_3_mut
+ }
}
}
}
@@ -2094,36 +2853,15 @@ country_event = {
OR = {
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_1 }
- OR = {
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_3_xur
- }
+ has_active_xuracorp_trade = yes
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_2 }
- OR = {
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_3_rig
- }
+ has_active_riggan_trade = yes
}
AND = {
event_target:traders = { has_country_flag = trader_enclave_country_3 }
- OR = {
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_3_mut
- }
+ has_active_muutagan_trade = yes
}
}
}
@@ -2137,6 +2875,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_1_xur
has_modifier = enclave_energy_trade_1_xur
+ has_modifier = enclave_mineral_food_trade_1_xur
+ has_modifier = enclave_energy_food_trade_1_xur
+ has_modifier = enclave_food_minerals_trade_1_xur
+ has_modifier = enclave_food_energy_trade_1_xur
}
}
AND = {
@@ -2144,6 +2886,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_1_rig
has_modifier = enclave_energy_trade_1_rig
+ has_modifier = enclave_mineral_food_trade_1_rig
+ has_modifier = enclave_energy_food_trade_1_rig
+ has_modifier = enclave_food_minerals_trade_1_rig
+ has_modifier = enclave_food_energy_trade_1_rig
}
}
AND = {
@@ -2151,6 +2897,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_1_mut
has_modifier = enclave_energy_trade_1_mut
+ has_modifier = enclave_mineral_food_trade_1_mut
+ has_modifier = enclave_energy_food_trade_1_mut
+ has_modifier = enclave_food_minerals_trade_1_mut
+ has_modifier = enclave_food_energy_trade_1_mut
}
}
}
@@ -2172,6 +2922,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_2_xur
has_modifier = enclave_energy_trade_2_xur
+ has_modifier = enclave_mineral_food_trade_2_xur
+ has_modifier = enclave_energy_food_trade_2_xur
+ has_modifier = enclave_food_minerals_trade_2_xur
+ has_modifier = enclave_food_energy_trade_2_xur
}
}
AND = {
@@ -2179,6 +2933,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_2_rig
has_modifier = enclave_energy_trade_2_rig
+ has_modifier = enclave_mineral_food_trade_2_rig
+ has_modifier = enclave_energy_food_trade_2_rig
+ has_modifier = enclave_food_minerals_trade_2_rig
+ has_modifier = enclave_food_energy_trade_2_rig
}
}
AND = {
@@ -2186,6 +2944,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_2_mut
has_modifier = enclave_energy_trade_2_mut
+ has_modifier = enclave_mineral_food_trade_2_mut
+ has_modifier = enclave_energy_food_trade_2_mut
+ has_modifier = enclave_food_minerals_trade_2_mut
+ has_modifier = enclave_food_energy_trade_2_mut
}
}
}
@@ -2207,6 +2969,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_3_xur
has_modifier = enclave_energy_trade_3_xur
+ has_modifier = enclave_mineral_food_trade_3_xur
+ has_modifier = enclave_energy_food_trade_3_xur
+ has_modifier = enclave_food_minerals_trade_3_xur
+ has_modifier = enclave_food_energy_trade_3_xur
}
}
AND = {
@@ -2214,6 +2980,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_3_rig
has_modifier = enclave_energy_trade_3_rig
+ has_modifier = enclave_mineral_food_trade_3_rig
+ has_modifier = enclave_energy_food_trade_3_rig
+ has_modifier = enclave_food_minerals_trade_3_rig
+ has_modifier = enclave_food_energy_trade_3_rig
}
}
AND = {
@@ -2221,6 +2991,10 @@ country_event = {
OR = {
has_modifier = enclave_mineral_trade_3_mut
has_modifier = enclave_energy_trade_3_mut
+ has_modifier = enclave_mineral_food_trade_3_mut
+ has_modifier = enclave_energy_food_trade_3_mut
+ has_modifier = enclave_food_minerals_trade_3_mut
+ has_modifier = enclave_food_energy_trade_3_mut
}
}
}
@@ -2786,12 +3560,7 @@ country_event = {
if = {
limit = { FROM = { has_country_flag = trader_enclave_country_1 } }
remove_modifier = "enclave_traders_sr2"
- remove_modifier = enclave_mineral_trade_1_xur
- remove_modifier = enclave_mineral_trade_2_xur
- remove_modifier = enclave_mineral_trade_3_xur
- remove_modifier = enclave_energy_trade_1_xur
- remove_modifier = enclave_energy_trade_2_xur
- remove_modifier = enclave_energy_trade_3_xur
+ remove_xuracorp_trades = yes
remove_relation_flag = {
who = FROM
flag = xuracorp_trade
@@ -2801,12 +3570,7 @@ country_event = {
if = {
limit = { FROM = { has_country_flag = trader_enclave_country_2 } }
remove_modifier = "enclave_traders_sr1"
- remove_modifier = enclave_mineral_trade_1_rig
- remove_modifier = enclave_mineral_trade_2_rig
- remove_modifier = enclave_mineral_trade_3_rig
- remove_modifier = enclave_energy_trade_1_rig
- remove_modifier = enclave_energy_trade_2_rig
- remove_modifier = enclave_energy_trade_3_rig
+ remove_riggan_trades = yes
remove_relation_flag = {
who = FROM
flag = riggan_trade
@@ -2816,12 +3580,7 @@ country_event = {
if = {
limit = { FROM = { has_country_flag = trader_enclave_country_3 } }
remove_modifier = "enclave_traders_sr3"
- remove_modifier = enclave_mineral_trade_1_mut
- remove_modifier = enclave_mineral_trade_2_mut
- remove_modifier = enclave_mineral_trade_3_mut
- remove_modifier = enclave_energy_trade_1_mut
- remove_modifier = enclave_energy_trade_2_mut
- remove_modifier = enclave_energy_trade_3_mut
+ remove_muutagan_trades = yes
remove_relation_flag = {
who = FROM
flag = muutagan_trade
@@ -2893,12 +3652,7 @@ country_event = {
immediate = {
set_global_flag = xuracorp_destroyed
remove_modifier = "enclave_traders_sr2"
- remove_modifier = enclave_mineral_trade_1_xur
- remove_modifier = enclave_mineral_trade_2_xur
- remove_modifier = enclave_mineral_trade_3_xur
- remove_modifier = enclave_energy_trade_1_xur
- remove_modifier = enclave_energy_trade_2_xur
- remove_modifier = enclave_energy_trade_3_xur
+ remove_xuracorp_trades = yes
remove_relation_flag = {
who = FROM
flag = xuracorp_trade
@@ -2967,12 +3721,7 @@ country_event = {
immediate = {
set_global_flag = riggans_destroyed
remove_modifier = "enclave_traders_sr1"
- remove_modifier = enclave_mineral_trade_1_rig
- remove_modifier = enclave_mineral_trade_2_rig
- remove_modifier = enclave_mineral_trade_3_rig
- remove_modifier = enclave_energy_trade_1_rig
- remove_modifier = enclave_energy_trade_2_rig
- remove_modifier = enclave_energy_trade_3_rig
+ remove_riggan_trades = yes
remove_relation_flag = {
who = FROM
flag = riggan_trade
@@ -3041,12 +3790,7 @@ country_event = {
immediate = {
set_global_flag = muutagans_destroyed
remove_modifier = "enclave_traders_sr3"
- remove_modifier = enclave_mineral_trade_1_mut
- remove_modifier = enclave_mineral_trade_2_mut
- remove_modifier = enclave_mineral_trade_3_mut
- remove_modifier = enclave_energy_trade_1_mut
- remove_modifier = enclave_energy_trade_2_mut
- remove_modifier = enclave_energy_trade_3_mut
+ remove_muutagan_trades = yes
remove_relation_flag = {
who = FROM
flag = muutagan_trade
@@ -3265,21 +4009,11 @@ country_event = {
limit = {
OR = {
has_modifier = enclave_traders_sr2
- has_modifier = enclave_mineral_trade_1_xur
- has_modifier = enclave_mineral_trade_2_xur
- has_modifier = enclave_mineral_trade_3_xur
- has_modifier = enclave_energy_trade_1_xur
- has_modifier = enclave_energy_trade_2_xur
- has_modifier = enclave_energy_trade_3_xur
+ has_active_xuracorp_trade = yes
}
}
remove_modifier = enclave_traders_sr1
- remove_modifier = enclave_mineral_trade_1_xur
- remove_modifier = enclave_mineral_trade_2_xur
- remove_modifier = enclave_mineral_trade_3_xur
- remove_modifier = enclave_energy_trade_1_xur
- remove_modifier = enclave_energy_trade_2_xur
- remove_modifier = enclave_energy_trade_3_xur
+ remove_xuracorp_trades = yes
remove_relation_flag = {
who = FROM
flag = xuracorp_trade
@@ -3410,21 +4144,11 @@ country_event = {
limit = {
OR = {
has_modifier = enclave_traders_sr1
- has_modifier = enclave_mineral_trade_1_rig
- has_modifier = enclave_mineral_trade_2_rig
- has_modifier = enclave_mineral_trade_3_rig
- has_modifier = enclave_energy_trade_1_rig
- has_modifier = enclave_energy_trade_2_rig
- has_modifier = enclave_energy_trade_3_rig
+ has_active_riggan_trade = yes
}
}
remove_modifier = enclave_traders_sr1
- remove_modifier = enclave_mineral_trade_1_rig
- remove_modifier = enclave_mineral_trade_2_rig
- remove_modifier = enclave_mineral_trade_3_rig
- remove_modifier = enclave_energy_trade_1_xur
- remove_modifier = enclave_energy_trade_2_xur
- remove_modifier = enclave_energy_trade_3_xur
+ remove_riggan_trades = yes
remove_relation_flag = {
who = FROM
flag = riggan_trade
@@ -3555,21 +4279,11 @@ country_event = {
limit = {
OR = {
has_modifier = enclave_traders_sr3
- has_modifier = enclave_mineral_trade_1_mut
- has_modifier = enclave_mineral_trade_2_mut
- has_modifier = enclave_mineral_trade_3_mut
- has_modifier = enclave_energy_trade_1_mut
- has_modifier = enclave_energy_trade_2_mut
- has_modifier = enclave_energy_trade_3_mut
+ has_active_muutagan_trade = yes
}
}
remove_modifier = enclave_traders_sr3
- remove_modifier = enclave_mineral_trade_1_mut
- remove_modifier = enclave_mineral_trade_2_mut
- remove_modifier = enclave_mineral_trade_3_mut
- remove_modifier = enclave_energy_trade_1_mut
- remove_modifier = enclave_energy_trade_2_mut
- remove_modifier = enclave_energy_trade_3_mut
+ remove_muutagan_trades = yes
remove_relation_flag = {
who = FROM
flag = muutagan_trade
@@ -3670,7 +4384,7 @@ country_event = {
}
}
-# Mineral Trade Cancelled
+# No More Energy - Trades Cancelled
event = {
id = guardian.170
hide_window = yes
@@ -3685,12 +4399,21 @@ event = {
has_modifier = enclave_mineral_trade_1_xur
has_modifier = enclave_mineral_trade_2_xur
has_modifier = enclave_mineral_trade_3_xur
+ has_modifier = enclave_food_energy_trade_1_xur
+ has_modifier = enclave_food_energy_trade_2_xur
+ has_modifier = enclave_food_energy_trade_3_xur
has_modifier = enclave_mineral_trade_1_rig
has_modifier = enclave_mineral_trade_2_rig
has_modifier = enclave_mineral_trade_3_rig
+ has_modifier = enclave_food_energy_trade_1_rig
+ has_modifier = enclave_food_energy_trade_2_rig
+ has_modifier = enclave_food_energy_trade_3_rig
has_modifier = enclave_mineral_trade_1_mut
has_modifier = enclave_mineral_trade_2_mut
has_modifier = enclave_mineral_trade_3_mut
+ has_modifier = enclave_food_energy_trade_1_mut
+ has_modifier = enclave_food_energy_trade_2_mut
+ has_modifier = enclave_food_energy_trade_3_mut
}
}
}
@@ -3704,12 +4427,21 @@ event = {
has_modifier = enclave_mineral_trade_1_xur
has_modifier = enclave_mineral_trade_2_xur
has_modifier = enclave_mineral_trade_3_xur
+ has_modifier = enclave_food_energy_trade_1_xur
+ has_modifier = enclave_food_energy_trade_2_xur
+ has_modifier = enclave_food_energy_trade_3_xur
has_modifier = enclave_mineral_trade_1_rig
has_modifier = enclave_mineral_trade_2_rig
has_modifier = enclave_mineral_trade_3_rig
+ has_modifier = enclave_food_energy_trade_1_rig
+ has_modifier = enclave_food_energy_trade_2_rig
+ has_modifier = enclave_food_energy_trade_3_rig
has_modifier = enclave_mineral_trade_1_mut
has_modifier = enclave_mineral_trade_2_mut
has_modifier = enclave_mineral_trade_3_mut
+ has_modifier = enclave_food_energy_trade_1_mut
+ has_modifier = enclave_food_energy_trade_2_mut
+ has_modifier = enclave_food_energy_trade_3_mut
}
}
country_event = { id = guardian.171 }
@@ -3717,7 +4449,7 @@ event = {
}
}
-# Mineral Trade Cancelled Notification
+# No More Energy - Trades Cancelled Notification
country_event = {
id = guardian.171
title = "guardian.171.name"
@@ -3737,6 +4469,15 @@ country_event = {
remove_modifier = enclave_mineral_trade_1_mut
remove_modifier = enclave_mineral_trade_2_mut
remove_modifier = enclave_mineral_trade_3_mut
+ remove_modifier = enclave_food_energy_trade_1_xur
+ remove_modifier = enclave_food_energy_trade_2_xur
+ remove_modifier = enclave_food_energy_trade_3_xur
+ remove_modifier = enclave_food_energy_trade_1_rig
+ remove_modifier = enclave_food_energy_trade_2_rig
+ remove_modifier = enclave_food_energy_trade_3_rig
+ remove_modifier = enclave_food_energy_trade_1_mut
+ remove_modifier = enclave_food_energy_trade_2_mut
+ remove_modifier = enclave_food_energy_trade_3_mut
}
option = {
@@ -3745,7 +4486,7 @@ country_event = {
}
}
-# Energy Trade Cancelled
+# No More Minerals - Trades Cancelled
event = {
id = guardian.172
hide_window = yes
@@ -3766,6 +4507,15 @@ event = {
has_modifier = enclave_energy_trade_1_mut
has_modifier = enclave_energy_trade_2_mut
has_modifier = enclave_energy_trade_3_mut
+ has_modifier = enclave_food_minerals_trade_1_xur
+ has_modifier = enclave_food_minerals_trade_2_xur
+ has_modifier = enclave_food_minerals_trade_3_xur
+ has_modifier = enclave_food_minerals_trade_1_rig
+ has_modifier = enclave_food_minerals_trade_2_rig
+ has_modifier = enclave_food_minerals_trade_3_rig
+ has_modifier = enclave_food_minerals_trade_1_mut
+ has_modifier = enclave_food_minerals_trade_2_mut
+ has_modifier = enclave_food_minerals_trade_3_mut
}
}
}
@@ -3785,6 +4535,15 @@ event = {
has_modifier = enclave_energy_trade_1_mut
has_modifier = enclave_energy_trade_2_mut
has_modifier = enclave_energy_trade_3_mut
+ has_modifier = enclave_food_minerals_trade_1_xur
+ has_modifier = enclave_food_minerals_trade_2_xur
+ has_modifier = enclave_food_minerals_trade_3_xur
+ has_modifier = enclave_food_minerals_trade_1_rig
+ has_modifier = enclave_food_minerals_trade_2_rig
+ has_modifier = enclave_food_minerals_trade_3_rig
+ has_modifier = enclave_food_minerals_trade_1_mut
+ has_modifier = enclave_food_minerals_trade_2_mut
+ has_modifier = enclave_food_minerals_trade_3_mut
}
}
country_event = { id = guardian.173 }
@@ -3792,7 +4551,7 @@ event = {
}
}
-# Energy Trade Cancelled Notification
+# No More Minerals - Trades Cancelled Notification
country_event = {
id = guardian.173
title = "guardian.173.name"
@@ -3812,6 +4571,15 @@ country_event = {
remove_modifier = enclave_energy_trade_1_mut
remove_modifier = enclave_energy_trade_2_mut
remove_modifier = enclave_energy_trade_3_mut
+ remove_modifier = enclave_food_minerals_trade_1_xur
+ remove_modifier = enclave_food_minerals_trade_2_xur
+ remove_modifier = enclave_food_minerals_trade_3_xur
+ remove_modifier = enclave_food_minerals_trade_1_rig
+ remove_modifier = enclave_food_minerals_trade_2_rig
+ remove_modifier = enclave_food_minerals_trade_3_rig
+ remove_modifier = enclave_food_minerals_trade_1_mut
+ remove_modifier = enclave_food_minerals_trade_2_mut
+ remove_modifier = enclave_food_minerals_trade_3_mut
}
option = {
@@ -3820,6 +4588,108 @@ country_event = {
}
}
+# No More Food - Trades Cancelled
+event = {
+ id = guardian.174
+ hide_window = yes
+
+ is_triggered_only = yes
+
+ trigger = {
+ any_country = {
+ is_country_type = default
+ food <= 0
+ OR = {
+ has_modifier = enclave_mineral_food_trade_1_xur
+ has_modifier = enclave_mineral_food_trade_2_xur
+ has_modifier = enclave_mineral_food_trade_3_xur
+ has_modifier = enclave_energy_food_trade_1_xur
+ has_modifier = enclave_energy_food_trade_2_xur
+ has_modifier = enclave_energy_food_trade_3_xur
+ has_modifier = enclave_mineral_food_trade_1_rig
+ has_modifier = enclave_mineral_food_trade_2_rig
+ has_modifier = enclave_mineral_food_trade_3_rig
+ has_modifier = enclave_energy_food_trade_1_rig
+ has_modifier = enclave_energy_food_trade_2_rig
+ has_modifier = enclave_energy_food_trade_3_rig
+ has_modifier = enclave_mineral_food_trade_1_mut
+ has_modifier = enclave_mineral_food_trade_2_mut
+ has_modifier = enclave_mineral_food_trade_3_mut
+ has_modifier = enclave_energy_food_trade_1_mut
+ has_modifier = enclave_energy_food_trade_2_mut
+ has_modifier = enclave_energy_food_trade_3_mut
+ }
+ }
+ }
+
+ immediate = {
+ every_country = {
+ limit = {
+ is_country_type = default
+ food <= 0
+ OR = {
+ has_modifier = enclave_mineral_food_trade_1_xur
+ has_modifier = enclave_mineral_food_trade_2_xur
+ has_modifier = enclave_mineral_food_trade_3_xur
+ has_modifier = enclave_energy_food_trade_1_xur
+ has_modifier = enclave_energy_food_trade_2_xur
+ has_modifier = enclave_energy_food_trade_3_xur
+ has_modifier = enclave_mineral_food_trade_1_rig
+ has_modifier = enclave_mineral_food_trade_2_rig
+ has_modifier = enclave_mineral_food_trade_3_rig
+ has_modifier = enclave_energy_food_trade_1_rig
+ has_modifier = enclave_energy_food_trade_2_rig
+ has_modifier = enclave_energy_food_trade_3_rig
+ has_modifier = enclave_mineral_food_trade_1_mut
+ has_modifier = enclave_mineral_food_trade_2_mut
+ has_modifier = enclave_mineral_food_trade_3_mut
+ has_modifier = enclave_energy_food_trade_1_mut
+ has_modifier = enclave_energy_food_trade_2_mut
+ has_modifier = enclave_energy_food_trade_3_mut
+ }
+ }
+ country_event = { id = guardian.175 }
+ }
+ }
+}
+
+# No More Food - Trades Cancelled Notification
+country_event = {
+ id = guardian.175
+ title = "guardian.175.name"
+ desc = "guardian.175.desc"
+ picture = GFX_evt_mining_operations
+ show_sound = event_radio_chatter
+
+ is_triggered_only = yes
+
+ immediate = {
+ remove_modifier = enclave_mineral_food_trade_1_xur
+ remove_modifier = enclave_mineral_food_trade_2_xur
+ remove_modifier = enclave_mineral_food_trade_3_xur
+ remove_modifier = enclave_energy_food_trade_1_xur
+ remove_modifier = enclave_energy_food_trade_2_xur
+ remove_modifier = enclave_energy_food_trade_3_xur
+ remove_modifier = enclave_mineral_food_trade_1_rig
+ remove_modifier = enclave_mineral_food_trade_2_rig
+ remove_modifier = enclave_mineral_food_trade_3_rig
+ remove_modifier = enclave_energy_food_trade_1_rig
+ remove_modifier = enclave_energy_food_trade_2_rig
+ remove_modifier = enclave_energy_food_trade_3_rig
+ remove_modifier = enclave_mineral_food_trade_1_mut
+ remove_modifier = enclave_mineral_food_trade_2_mut
+ remove_modifier = enclave_mineral_food_trade_3_mut
+ remove_modifier = enclave_energy_food_trade_1_mut
+ remove_modifier = enclave_energy_food_trade_2_mut
+ remove_modifier = enclave_energy_food_trade_3_mut
+ }
+
+ option = {
+ name = guardian.171.a
+ custom_tooltip = enclave_food_trade_ended
+ }
+}
+
# Artists
country_event = {
id = guardian.300
@@ -8036,7 +8906,7 @@ country_event = {
}
option = {
name = guardian.545.c
- response_text = guardian.545.b.reply
+ response_text = guardian.545.c.reply
trigger = {
NOT = { has_country_flag = bought_wraith_info_2 }
}
@@ -9666,7 +10536,13 @@ planet_event = {
immediate = {
create_fleet = {
name = "NAME_Ether_Hatchling"
- settings = { spawn_debris = no }
+ settings = {
+ can_upgrade = no
+ can_change_composition = no
+ can_change_leader = no
+ uses_naval_capacity = no
+ spawn_debris = no
+ }
effect = {
set_owner = root.owner
create_ship_design = {
@@ -9678,10 +10554,6 @@ planet_event = {
prefix = no
upgradable = no
}
- #add_modifier = {
- # modifier = immature_dragon
- # days = -1
- #}
set_location = root
}
}
@@ -12232,6 +13104,25 @@ country_event = {
#############################################################
+# wraith won't be discovered past the midgame
+event = {
+ id = guardian.20101
+ hide_window = yes
+
+ is_triggered_only = yes
+
+ trigger = {
+ any_planet = { has_planet_flag = guardians_wraith_pulsar }
+ }
+
+ immediate = {
+ random_planet = {
+ limit = { has_planet_flag = guardians_wraith_pulsar }
+ remove_planet_flag = guardians_wraith_pulsar
+ }
+ }
+}
+
### WRAITH ###
# First scan of the neutron star, sets Wraith spawn timer
ship_event = {
@@ -12271,22 +13162,24 @@ ship_event = {
option = {
name = guardian.2010.a
custom_tooltip = guardian.2010.c
- hidden_effect = {
- from = {
- planet_event = { id = guardian.2011 days = 14400 } # 40 Years
- }
- }
}
}
# Wraith is born
-planet_event = {
+event = {
id = guardian.2011
hide_window = yes
is_triggered_only = yes
+ trigger = {
+ any_planet = { has_modifier = germinating_wraith }
+ }
+
immediate = {
+ random_planet = {
+ limit = { has_modifier = germinating_wraith }
+ save_event_target_as = wraith_star
remove_modifier = germinating_wraith
create_country = {
name = "NAME_Wraith"
@@ -12353,7 +13246,7 @@ planet_event = {
}
}
save_global_event_target_as = wraith_fleet
- set_location = root
+ set_location = event_target:wraith_star
set_fleet_stance = aggressive
set_aggro_range_measure_from = self
set_aggro_range = 20
@@ -12400,6 +13293,7 @@ planet_event = {
}
}
}
+}
# Wraith Spawned in Territory
country_event = {
@@ -12787,6 +13681,7 @@ country_event = {
NOT = { has_communications = event_target:fortress_country }
}
establish_communications_no_message = event_target:fortress_country
+ }
event_target:fortress_country = {
random_owned_ship = {
limit = { has_ship_flag = fortress_vault }
@@ -12794,7 +13689,6 @@ country_event = {
}
}
}
- }
option = {
name = "guardian.2101.a"
@@ -14283,6 +15177,9 @@ country_event = {
save_global_event_target_as = hive_country
set_country_flag = hive_country
}
+ every_playable_country = {
+ establish_communications_no_message = event_target:hive_country
+ }
create_fleet = {
name = "NAME_Hiver_Nest"
settings = { spawn_debris = no }
diff --git a/2.0.0/events/horizonsignal_events.txt b/2.0.2/events/horizonsignal_events.txt
index a77443e..1cadf44 100755
--- a/2.0.0/events/horizonsignal_events.txt
+++ b/2.0.2/events/horizonsignal_events.txt
@@ -2657,7 +2657,7 @@ planet_event = {
limit = {
has_building = no
has_blocker = no
- has_deposit = no
+ #has_deposit = no
}
set_building = building_worm_farm
set_ruined = yes
@@ -2666,7 +2666,7 @@ planet_event = {
limit = {
has_building = no
has_blocker = no
- has_deposit = no
+ #has_deposit = no
}
set_building = building_worm_mine
set_ruined = yes
diff --git a/2.0.0/events/marauder_events.txt b/2.0.2/events/marauder_events.txt
index 9d93b5f..364b759 100755
--- a/2.0.0/events/marauder_events.txt
+++ b/2.0.2/events/marauder_events.txt
@@ -88,6 +88,8 @@ namespace = marauder
@raidcooldown = 600
+# Mercenary Costs
+
@largemercallow = 9000
@largemerccost = -9000
@@ -97,20 +99,10 @@ namespace = marauder
@smallmercallow = 4000
@smallmerccost = -4000
-@tributeallow = 500
-@tributecost = -500
-
-@tributefoodallow = 500
-@tributefoodcost = -500
-
-@tributeallowraided = 1000
-@tributecostraided = -1000
-
-@tributefoodallowraided = 1000
-@tributefoodcostraided = -1000
+# Tribute Allow and Costs found in 01_scripted_triggers_marauder_tribute and marauder_tribute_effects
-@leaderallow = 5000
-@leadercost = -5000
+@leaderallow = 2000
+@leadercost = -2000
@raidallow = 3000
@raidcost = -3000
@@ -301,14 +293,14 @@ country_event = {
owner_species = { save_event_target_as = marauder_species }
every_country = {
limit = { is_ai = no }
- country_event = { id = marauder.5 days = 10 }
+ country_event = { id = marauder.5 }
}
random_relation = {
limit = {
is_country_type = default
has_policy_flag = refugees_allowed
}
- country_event = { id = marauder.9 days = 30 random = 10 }
+ country_event = { id = marauder.9 days = 10 random = 10 }
}
# Mercenary Desertions (Marauder 1)
@@ -1224,6 +1216,28 @@ country_event = {
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_machine_terminator
}
+ NOT = {
+ AND = {
+ has_relation_flag = {
+ who = from
+ flag = current_target
+ }
+ from = { is_country_type = dormant_marauders }
+ }
+ AND = {
+ from = { is_country_type = marauder_raiders }
+ any_country = {
+ is_country_type = dormant_marauders
+ has_country_flag = parent_of@from
+ root = {
+ has_relation_flag = {
+ who = prev
+ flag = current_target
+ }
+ }
+ }
+ }
+ }
NOT = { has_country_flag = marauder_diplomacy_engaged }
}
@@ -2202,14 +2216,6 @@ country_event = {
immediate = {
from = { set_country_flag = hired@event_target:raiding_marauder }
- event_target:raiding_marauder = {
- set_faction_hostility = {
- target = from
- set_hostile = no
- set_neutral = no
- set_friendly = yes
- }
- }
if = {
limit = {
event_target:raiding_marauder = { has_country_flag = marauder_1 }
@@ -2263,9 +2269,42 @@ country_event = {
}
event_target:raiding_marauder = {
set_country_flag = raid_ongoing
+ }
+ create_country = {
+ name = event_target:raiding_marauder
+ type = "marauder_raiders"
+ flag = event_target:raiding_marauder
+ effect = {
+ save_event_target_as = marauder_raiding_country
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_1 } }
+ set_country_flag = marauder_1
+ }
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_2 } }
+ set_country_flag = marauder_2
+ }
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_3 } }
+ set_country_flag = marauder_3
+ }
+ set_country_flag = raid_ongoing
+ }
+ }
+ event_target:marauder_raiding_country = {
+ every_country = { establish_communications_no_message = event_target:marauder_raiding_country }
+ event_target:raiding_marauder = {
+ set_country_flag = parent_of@event_target:marauder_raiding_country
+ set_faction_hostility = {
+ target = event_target:marauder_raiding_country
+ set_hostile = no
+ set_neutral = no
+ set_friendly = yes
+ }
+ }
create_leader = {
type = admiral
- species = owner_main_species
+ species = event_target:marauder_species
name = random
skill = 3
leader_age_min = 25
@@ -2278,9 +2317,8 @@ country_event = {
create_fleet = {
name = "NAME_Raiding_Fleet"
effect = {
- set_owner = event_target:raiding_marauder
+ set_owner = event_target:raiding_marauder # For ship names
create_marauder_raiders = yes
- assign_leader = last_created_leader
set_location = event_target:raid_source
set_fleet_stance = aggressive
set_fleet_bombardment_stance = indiscriminate
@@ -2288,6 +2326,8 @@ country_event = {
set_aggro_range = 150
set_fleet_flag = hired_raiding_fleet
set_fleet_flag = raiding_fleet
+ set_owner = event_target:marauder_raiding_country # Real owner
+ assign_leader = last_created_leader
closest_system = {
limit = {
@@ -2315,6 +2355,12 @@ country_event = {
}
}
}
+ set_faction_hostility = {
+ target = event_target:marauder_target
+ set_hostile = yes
+ set_neutral = no
+ set_friendly = no
+ }
}
country_event = { id = marauder.120 }
if = {
@@ -4316,11 +4362,7 @@ event = {
years_passed >= 25
any_country = {
is_country_type = default
- NOR = {
- has_valid_civic = "civic_fanatic_purifiers"
- has_valid_civic = "civic_hive_devouring_swarm"
- has_valid_civic = "civic_machine_terminator"
- }
+ NOT = { has_country_flag = under_marauder_attack }
any_relation = {
AND = {
is_country_type = dormant_marauders
@@ -4340,11 +4382,7 @@ event = {
random_country = {
limit = {
is_country_type = default
- NOR = {
- has_valid_civic = "civic_fanatic_purifiers"
- has_valid_civic = "civic_hive_devouring_swarm"
- has_valid_civic = "civic_machine_terminator"
- }
+ NOT = { has_country_flag = under_marauder_attack }
any_relation = {
AND = {
is_country_type = dormant_marauders
@@ -4368,7 +4406,7 @@ event = {
save_event_target_as = raiding_marauder
species = { save_event_target_as = marauder_species }
}
- country_event = { id = marauder.101 days = 10 random = 200 }
+ country_event = { id = marauder.101 days = 1 random = 10 }
}
}
60 = {}
@@ -4417,10 +4455,59 @@ country_event = {
any_owned_fleet = { has_fleet_flag = raiding_fleet }
}
}
+ NOT = { has_country_flag = recently_raided_or_threatened }
}
immediate = {
+ # Determine tribute level
+ if = {
+ limit = {
+ has_monthly_income = { resource = minerals value < 50 }
+ }
+ set_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ }
+ if = {
+ limit = {
+ has_monthly_income = { resource = minerals value > 49 }
+ has_monthly_income = { resource = minerals value < 100 }
+ }
+ set_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ }
+ if = {
+ limit = {
+ has_monthly_income = { resource = minerals value > 99 }
+ has_monthly_income = { resource = minerals value < 150 }
+ }
+ set_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ }
+ if = {
+ limit = {
+ has_monthly_income = { resource = minerals value > 149 }
+ has_monthly_income = { resource = minerals value < 200 }
+ }
+ set_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ }
+ if = {
+ limit = {
+ has_monthly_income = { resource = minerals value > 199 }
+ has_monthly_income = { resource = minerals value < 250 }
+ }
+ set_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ }
+ if = {
+ limit = {
+ has_monthly_income = { resource = minerals value > 249 }
+ has_monthly_income = { resource = minerals value < 300 }
+ }
+ set_country_flag = marauder_tribute_6@event_target:raiding_marauder
+ }
+
+ set_timed_country_flag = {
+ flag = recently_raided_or_threatened
+ days = 1800 # 5 years
+ }
set_country_flag = raid_target_of@event_target:raiding_marauder
+ set_country_flag = under_marauder_attack
if = {
limit = {
event_target:raiding_marauder = { has_country_flag = marauder_1 }
@@ -4467,9 +4554,44 @@ country_event = {
save_event_target_as = marauder_target
event_target:raiding_marauder = {
set_country_flag = raid_ongoing
+ owner_species = { save_event_target_as = marauder_species }
+ }
+ create_country = {
+ name = event_target:raiding_marauder
+ type = "marauder_raiders"
+ species = event_target:marauder_species
+ flag = event_target:raiding_marauder
+ effect = {
+ save_event_target_as = marauder_raiding_country
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_1 } }
+ set_country_flag = marauder_1
+ }
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_2 } }
+ set_country_flag = marauder_2
+ }
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_3 } }
+ set_country_flag = marauder_3
+ }
+ set_country_flag = raid_ongoing
+ }
+ }
+ event_target:marauder_raiding_country = {
+ every_country = { establish_communications_no_message = event_target:marauder_raiding_country }
+ event_target:raiding_marauder = {
+ set_country_flag = parent_of@event_target:marauder_raiding_country
+ set_faction_hostility = {
+ target = event_target:marauder_raiding_country
+ set_hostile = no
+ set_neutral = no
+ set_friendly = yes
+ }
+ }
create_leader = {
type = admiral
- species = owner_main_species
+ species = event_target:marauder_species
name = random
skill = 3
leader_age_min = 25
@@ -4482,15 +4604,16 @@ country_event = {
create_fleet = {
name = "NAME_Raiding_Fleet"
effect = {
- set_owner = event_target:raiding_marauder
+ set_owner = event_target:raiding_marauder # For ship names
create_marauder_raiders = yes
- assign_leader = last_created_leader
set_location = event_target:raid_source
set_fleet_stance = aggressive
set_fleet_bombardment_stance = indiscriminate
set_aggro_range_measure_from = self
set_aggro_range = 150
set_fleet_flag = raiding_fleet
+ set_owner = event_target:marauder_raiding_country # Real owner
+ assign_leader = last_created_leader
closest_system = {
limit = {
@@ -4518,6 +4641,12 @@ country_event = {
}
}
}
+ set_faction_hostility = {
+ target = event_target:marauder_target
+ set_hostile = yes
+ set_neutral = no
+ set_friendly = no
+ }
}
}
@@ -4529,21 +4658,32 @@ country_event = {
}
response_text = marauder.101.1.a.response
allow = {
- energy >= @tributeallow
+ determine_energy_tribute = yes
}
- add_energy = @tributecost
+ tribute_cost_energy = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4554,21 +4694,32 @@ country_event = {
}
response_text = marauder.101.1.a.response
allow = {
- minerals >= @tributeallow
+ determine_mineral_tribute = yes
}
- add_minerals = @tributecost
+ tribute_cost_minerals = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4579,21 +4730,32 @@ country_event = {
}
response_text = marauder.101.1.a.response
allow = {
- food >= @tributefoodallow
+ determine_food_tribute = yes
}
- add_food = @tributefoodcost
+ tribute_cost_food = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4613,21 +4775,32 @@ country_event = {
}
response_text = marauder.101.2.a.response
allow = {
- energy >= @tributeallow
+ determine_energy_tribute = yes
}
- add_energy = @tributecost
+ tribute_cost_energy = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4638,21 +4811,32 @@ country_event = {
}
response_text = marauder.101.2.a.response
allow = {
- minerals >= @tributeallow
+ determine_mineral_tribute = yes
}
- add_minerals = @tributecost
+ tribute_cost_minerals = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4663,21 +4847,32 @@ country_event = {
}
response_text = marauder.101.2.a.response
allow = {
- food >= @tributefoodallow
+ determine_food_tribute = yes
}
- add_food = @tributefoodcost
+ tribute_cost_food = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4698,21 +4893,32 @@ country_event = {
}
response_text = marauder.101.3.a.response
allow = {
- energy >= @tributeallow
+ determine_energy_tribute = yes
}
- add_energy = @tributecost
+ tribute_cost_energy = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4723,21 +4929,32 @@ country_event = {
}
response_text = marauder.101.3.a.response
allow = {
- minerals >= @tributeallow
+ determine_mineral_tribute = yes
}
- add_minerals = @tributecost
+ tribute_cost_minerals = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4748,21 +4965,32 @@ country_event = {
}
response_text = marauder.101.3.a.response
allow = {
- food >= @tributefoodallow
+ determine_food_tribute = yes
}
- add_food = @tributefoodcost
+ tribute_cost_food = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
remove_relation_flag = {
who = event_target:raiding_marauder
flag = current_target
}
event_target:raiding_marauder = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4809,11 +5037,29 @@ country_event = {
is_triggered_only = yes
trigger = {
+ OR = {
+ AND = {
has_relation_flag = {
who = from
flag = current_target
}
from = { is_country_type = dormant_marauders }
+ }
+ AND = {
+ from = { is_country_type = marauder_raiders }
+ any_country = {
+ is_country_type = dormant_marauders
+ has_country_flag = parent_of@from
+ root = {
+ has_relation_flag = {
+ who = prev
+ flag = current_target
+ }
+ }
+
+ }
+ }
+ }
NOT = { has_country_flag = marauder_diplomacy_engaged }
}
@@ -4822,6 +5068,29 @@ country_event = {
owner_species = { save_event_target_as = marauder_species }
}
set_country_flag = marauder_diplomacy_engaged
+ if = {
+ limit = {
+ from = { is_country_type = marauder_raiders }
+ }
+ random_country = {
+ limit = {
+ is_country_type = dormant_marauders
+ has_country_flag = parent_of@from
+ }
+ save_event_target_as = marauder_country
+ }
+ from = { save_event_target_as = marauder_raiding_country }
+ else = {
+ from = { save_event_target_as = marauder_country }
+ random_country = {
+ limit = {
+ is_country_type = marauder_raiders
+ from = { has_country_flag = parent_of@prev }
+ }
+ save_event_target_as = marauder_raiding_country
+ }
+ }
+ }
}
after = {
@@ -4838,21 +5107,32 @@ country_event = {
from = { has_country_flag = marauder_1 }
}
allow = {
- energy >= @tributeallowraided
+ determine_energy_tribute_raided = yes
}
- add_energy = @tributecostraided
+ tribute_cost_energy_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4863,21 +5143,32 @@ country_event = {
from = { has_country_flag = marauder_1 }
}
allow = {
- minerals >= @tributeallowraided
+ determine_mineral_tribute_raided = yes
}
- add_minerals = @tributecostraided
+ tribute_cost_minerals_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4888,21 +5179,32 @@ country_event = {
from = { has_country_flag = marauder_1 }
}
allow = {
- food >= @tributefoodallowraided
+ determine_food_tribute_raided = yes
}
- add_food = @tributefoodcostraided
+ tribute_cost_food_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4913,6 +5215,11 @@ country_event = {
trigger = {
from = { has_country_flag = marauder_1 }
NOT = { has_country_flag = marauder_ugly }
+ NOR = {
+ has_valid_civic = "civic_fanatic_purifiers"
+ has_valid_civic = "civic_hive_devouring_swarm"
+ has_valid_civic = "civic_machine_terminator"
+ }
}
set_country_flag = marauder_ugly
}
@@ -4925,22 +5232,33 @@ country_event = {
from = { has_country_flag = marauder_2 }
}
allow = {
- energy >= @tributeallowraided
+ determine_energy_tribute_raided = yes
}
- add_energy = @tributecostraided
+ tribute_cost_energy_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
- random_owned_fleet = {
- limit = { has_fleet_flag = raiding_fleet }
- delete_fleet = this
- }
+ event_target:marauder_country = {
remove_country_flag = raid_ongoing
set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
}
+ event_target:marauder_raiding_country = {
+ random_owned_fleet = {
+ limit = { has_fleet_flag = raiding_fleet }
+ delete_fleet = this
+ }
+ destroy_country = yes
+ }
}
}
option = { # Offer Mineral tribute
@@ -4950,21 +5268,32 @@ country_event = {
from = { has_country_flag = marauder_2 }
}
allow = {
- minerals >= @tributeallowraided
+ determine_mineral_tribute_raided = yes
}
- add_minerals = @tributecostraided
+ tribute_cost_minerals_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -4975,21 +5304,32 @@ country_event = {
from = { has_country_flag = marauder_2 }
}
allow = {
- food >= @tributefoodallowraided
+ determine_food_tribute_raided = yes
}
- add_food = @tributefoodcostraided
+ tribute_cost_food_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -5002,21 +5342,32 @@ country_event = {
from = { has_country_flag = marauder_3 }
}
allow = {
- energy >= @tributeallowraided
+ determine_energy_tribute_raided = yes
}
- add_energy = @tributecostraided
+ tribute_cost_energy_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -5027,21 +5378,32 @@ country_event = {
from = { has_country_flag = marauder_3 }
}
allow = {
- minerals >= @tributeallowraided
+ determine_mineral_tribute_raided = yes
}
- add_minerals = @tributecostraided
+ tribute_cost_minerals_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -5052,21 +5414,32 @@ country_event = {
from = { has_country_flag = marauder_3 }
}
allow = {
- food >= @tributefoodallowraided
+ determine_food_tribute_raided = yes
}
- add_food = @tributefoodcostraided
+ tribute_cost_food_raided = yes
hidden_effect = {
+ remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
remove_relation_flag = {
- who = from
+ who = event_target:marauder_country
flag = current_target
}
- from = {
+ event_target:marauder_country = {
+ remove_country_flag = raid_ongoing
+ set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ }
+ event_target:marauder_raiding_country = {
random_owned_fleet = {
limit = { has_fleet_flag = raiding_fleet }
delete_fleet = this
}
- remove_country_flag = raid_ongoing
- set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
+ destroy_country = yes
}
}
}
@@ -5085,8 +5458,7 @@ planet_event = {
is_triggered_only = yes
trigger = {
- from = { is_country_type = dormant_marauders }
- this = {
+ from = { is_country_type = marauder_raiders }
owner = {
OR = {
is_country_type = default
@@ -5094,11 +5466,18 @@ planet_event = {
is_country_type = fallen_empire
}
}
- }
NOT = { has_planet_flag = planet_raided }
}
immediate = {
+ owner = { save_event_target_as = raid_victim }
+ random_country = {
+ limit = {
+ is_country_type = dormant_marauders
+ has_country_flag = parent_of@from
+ }
+ save_event_target_as = marauder_country
+ }
set_timed_planet_flag = {
flag = planet_raided
days = 600
@@ -5162,9 +5541,47 @@ planet_event = {
option = {
name = marauder.104.a
owner = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ add_energy = -200
+ add_minerals = -200
+ add_food = -50
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ add_energy = -300
+ add_minerals = -300
+ add_food = -100
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
add_energy = -500
add_minerals = -500
- add_food = -50
+ add_food = -150
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ add_energy = -700
+ add_minerals = -700
+ add_food = -200
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ add_energy = -900
+ add_minerals = -900
+ add_food = -250
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ add_energy = -1100
+ add_minerals = -1100
+ add_food = -300
+ }
}
}
}
@@ -5182,17 +5599,32 @@ planet_event = {
option = {
name = marauder.105.a
+ if = {
+ limit = { num_pops > 1 }
+ random_pop = {
+ kill_pop = yes
+ }
+ }
+ if = {
+ limit = { num_pops > 1 }
random_pop = {
kill_pop = yes
}
+ }
+ if = {
+ limit = { num_pops > 1 }
random_pop = {
kill_pop = yes
}
+ }
+ if = {
+ limit = { num_pops > 1 }
random_pop = {
kill_pop = yes
}
}
}
+}
# Raiders Hit Planet (Machine Empire)
planet_event = {
@@ -5208,9 +5640,47 @@ planet_event = {
option = {
name = marauder.106.a
owner = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ add_energy = -200
+ add_minerals = -200
+ add_food = -50
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ add_energy = -300
+ add_minerals = -300
+ add_food = -100
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
add_energy = -500
add_minerals = -500
- add_food = -50
+ add_food = -150
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ add_energy = -700
+ add_minerals = -700
+ add_food = -200
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ add_energy = -900
+ add_minerals = -900
+ add_food = -250
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ add_energy = -1100
+ add_minerals = -1100
+ add_food = -300
+ }
}
}
}
@@ -5252,6 +5722,14 @@ planet_event = {
}
kill_pop = yes
}
+ random_pop = {
+ limit = {
+ is_robot_pop = no
+ is_sapient = yes
+ is_growing = no
+ }
+ kill_pop = yes
+ }
}
}
@@ -5269,9 +5747,47 @@ planet_event = {
option = {
name = marauder.108.a
owner = {
+ if = {
+ limit = { has_country_flag = marauder_tribute_1@event_target:marauder_country }
+ add_energy = -200
+ add_minerals = -200
+ add_food = -50
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_2@event_target:marauder_country }
+ add_energy = -300
+ add_minerals = -300
+ add_food = -100
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_3@event_target:marauder_country }
add_energy = -500
add_minerals = -500
- add_food = -50
+ add_food = -150
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_4@event_target:marauder_country }
+ add_energy = -700
+ add_minerals = -700
+ add_food = -200
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_5@event_target:marauder_country }
+ add_energy = -900
+ add_minerals = -900
+ add_food = -250
+ break = yes
+ }
+ if = {
+ limit = { has_country_flag = marauder_tribute_6@event_target:marauder_country }
+ add_energy = -1100
+ add_minerals = -1100
+ add_food = -300
+ }
}
}
}
@@ -5328,24 +5844,43 @@ fleet_event = {
destroy_on_arrival = yes
clear_auto_move_on_arrival = yes
}
- owner = {
+ random_country = {
+ limit = {
+ is_country_type = dormant_marauders
+ has_country_flag = [email protected]
+ }
+ save_event_target_as = raid_parent
remove_country_flag = raid_ongoing
set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
}
- random_country = {
- limit = { has_country_flag = [email protected] }
- save_event_target_as = marauder_target
+ owner = { remove_country_flag = raid_ongoing }
+ event_target:raid_victim = {
country_event = { id = marauder.111 }
- remove_country_flag = [email protected]
+ remove_country_flag = raid_target_of@event_target:raid_parent
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raid_parent
+ remove_country_flag = marauder_tribute_2@event_target:raid_parent
+ remove_country_flag = marauder_tribute_3@event_target:raid_parent
+ remove_country_flag = marauder_tribute_4@event_target:raid_parent
+ remove_country_flag = marauder_tribute_5@event_target:raid_parent
+ remove_country_flag = marauder_tribute_6@event_target:raid_parent
+ remove_relation_flag = {
+ who = event_target:raid_parent
+ flag = current_target
+ }
+ remove_relation_flag = {
+ who = event_target:raid_parent
+ flag = current_hired_target
+ }
}
if = {
limit = {
- any_country = { has_country_flag = [email protected] }
+ any_country = { has_country_flag = hired@event_target:raid_parent }
}
random_country = {
- limit = { has_country_flag = [email protected] }
+ limit = { has_country_flag = hired@event_target:raid_parent }
country_event = { id = marauder.122 }
- remove_country_flag = [email protected]
+ remove_country_flag = hired@event_target:raid_parent
}
}
}
@@ -5358,26 +5893,26 @@ country_event = {
desc = {
text = marauder.111.1.desc
trigger = {
- event_target:raiding_marauder = { has_country_flag = marauder_1 }
+ event_target:raid_parent = { has_country_flag = marauder_1 }
}
}
desc = {
text = marauder.111.2.desc
trigger = {
- event_target:raiding_marauder = { has_country_flag = marauder_2 }
+ event_target:raid_parent = { has_country_flag = marauder_2 }
}
}
desc = {
text = marauder.111.3.desc
trigger = {
- event_target:raiding_marauder = { has_country_flag = marauder_3 }
+ event_target:raid_parent = { has_country_flag = marauder_3 }
}
}
diplomatic = yes
picture_event_data = {
- portrait = from.owner
+ portrait = event_target:raid_parent
room = "ethic_spaceship_room"
}
@@ -5421,11 +5956,29 @@ country_event = {
is_triggered_only = yes
trigger = {
+ OR = {
+ AND = {
has_relation_flag = {
who = from
flag = current_hired_target
}
from = { is_country_type = dormant_marauders }
+ }
+ AND = {
+ from = { is_country_type = marauder_raiders }
+ any_country = {
+ is_country_type = dormant_marauders
+ has_country_flag = parent_of@from
+ root = {
+ has_relation_flag = {
+ who = prev
+ flag = current_hired_target
+ }
+ }
+
+ }
+ }
+ }
NOT = { has_country_flag = marauder_diplomacy_engaged }
}
@@ -5505,7 +6058,7 @@ event = {
trigger = {
any_country = {
- is_country_type = dormant_marauders
+ is_country_type = marauder_raiders
has_country_flag = raid_ongoing
any_owned_fleet = {
OR = {
@@ -5541,7 +6094,7 @@ event = {
immediate = {
random_country = {
limit = {
- is_country_type = dormant_marauders
+ is_country_type = marauder_raiders
has_country_flag = raid_ongoing
any_owned_fleet = {
OR = {
@@ -5568,74 +6121,13 @@ event = {
}
}
}
- save_event_target_as = marauder_country
- if = {
- limit = {
- any_owned_fleet = {
- has_fleet_flag = marauder_raider_fleet_1
- is_in_combat = no
- fleet_power < 1500
- }
- }
- random_owned_fleet = {
- limit = {
- has_fleet_flag = marauder_raider_fleet_1
- is_in_combat = no
- fleet_power < 1500
- }
- save_event_target_as = raiding_fleet
- }
- }
- if = {
- limit = {
- any_owned_fleet = {
- has_fleet_flag = marauder_raider_fleet_2
- is_in_combat = no
- fleet_power < 2500
- }
- }
- random_owned_fleet = {
- limit = {
- has_fleet_flag = marauder_raider_fleet_2
- is_in_combat = no
- fleet_power < 2500
- }
- save_event_target_as = raiding_fleet
- }
- }
- if = {
- limit = {
- any_owned_fleet = {
- has_fleet_flag = marauder_raider_fleet_3
- is_in_combat = no
- fleet_power < 3500
- }
- }
- random_owned_fleet = {
- limit = {
- has_fleet_flag = marauder_raider_fleet_3
- is_in_combat = no
- fleet_power < 3500
- }
- save_event_target_as = raiding_fleet
- }
- }
- if = {
- limit = {
- any_owned_fleet = {
- has_fleet_flag = marauder_raider_fleet_4
- is_in_combat = no
- fleet_power < 6500
- }
- }
- random_owned_fleet = {
+ save_event_target_as = marauder_raiding_country
+ random_country = {
limit = {
- has_fleet_flag = marauder_raider_fleet_4
- is_in_combat = no
- fleet_power < 6500
- }
- save_event_target_as = raiding_fleet
+ is_country_type = dormant_marauders
+ has_country_flag = parent_of@event_target:marauder_raiding_country
}
+ save_event_target_as = marauder_country
}
}
event_target:marauder_country = {
@@ -5671,8 +6163,10 @@ event = {
}
}
}
- event_target:raiding_fleet = {
- clear_fleet_actions = this
+ event_target:marauder_raiding_country = {
+ remove_country_flag = raid_ongoing
+ every_owned_fleet = {
+ remove_auto_move_target = yes
solar_system = { save_event_target_as = retreating_fleet_system }
auto_move_to_planet = {
target = event_target:raid_source
@@ -5680,11 +6174,27 @@ event = {
clear_auto_move_on_arrival = yes
}
}
+ }
random_country = {
limit = { has_country_flag = raid_target_of@event_target:marauder_country }
save_event_target_as = marauder_target
country_event = { id = marauder.114 }
remove_country_flag = raid_target_of@event_target:marauder_country
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:marauder_country
+ remove_country_flag = marauder_tribute_2@event_target:marauder_country
+ remove_country_flag = marauder_tribute_3@event_target:marauder_country
+ remove_country_flag = marauder_tribute_4@event_target:marauder_country
+ remove_country_flag = marauder_tribute_5@event_target:marauder_country
+ remove_country_flag = marauder_tribute_6@event_target:marauder_country
+ remove_relation_flag = {
+ who = event_target:marauder_country
+ flag = current_target
+ }
+ remove_relation_flag = {
+ who = event_target:marauder_country
+ flag = current_hired_target
+ }
}
if = {
limit = {
@@ -5727,7 +6237,7 @@ country_event = {
is_triggered_only = yes
trigger = {
- is_country_type = dormant_marauders
+ is_country_type = marauder_raiders
has_country_flag = raid_ongoing
fromfrom = {
has_fleet_flag = raiding_fleet
@@ -5735,15 +6245,38 @@ country_event = {
}
immediate = {
+ random_country = {
+ limit = {
+ is_country_type = dormant_marauders
+ has_country_flag = parent_of@root
+ }
save_event_target_as = raiding_marauder
+ }
fromfrom = {
solar_system = { save_event_target_as = destroyed_fleet_system }
}
random_country = {
- limit = { has_country_flag = raid_target_of@root }
+ limit = { has_country_flag = raid_target_of@event_target:raiding_marauder }
country_event = { id = marauder.116 }
- remove_country_flag = raid_target_of@root
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
+ remove_relation_flag = {
+ who = event_target:raiding_marauder
+ flag = current_target
+ }
+ remove_relation_flag = {
+ who = event_target:raiding_marauder
+ flag = current_hired_target
+ }
}
+ remove_country_flag = raid_ongoing
+ event_target:raiding_marauder = {
remove_country_flag = raid_ongoing
set_timed_country_flag = { flag = raid_cooldown days = @raidcooldown }
from = { save_event_target_as = fleet_destroyer }
@@ -5751,13 +6284,14 @@ country_event = {
limit = {
any_country = {
is_country_type = default
- has_country_flag = hired@root
+ has_country_flag = hired@event_target:raiding_marauder
}
}
random_country = {
- limit = { has_country_flag = hired@root }
+ limit = { has_country_flag = hired@event_target:raiding_marauder }
country_event = { id = marauder.124 }
- remove_country_flag = hired@root
+ remove_country_flag = hired@event_target:raiding_marauder
+ }
}
}
}
@@ -5790,11 +6324,6 @@ country_event = {
is_triggered_only = yes
- immediate = {
- event_target:marauder_country = { save_event_target_as = raiding_marauder } # to make marauder.161 work
- country_event = { id = marauder.161 days = 480 }
- }
-
option = {
name = marauder.117.a
}
@@ -5888,10 +6417,6 @@ country_event = {
is_triggered_only = yes
- immediate = {
- country_event = { id = marauder.161 days = 480 }
- }
-
option = {
name = marauder.122.a
}
@@ -5908,17 +6433,6 @@ country_event = {
is_triggered_only = yes
- immediate = {
- event_target:raiding_marauder = {
- set_faction_hostility = {
- target = root
- set_hostile = yes
- set_neutral = no
- set_friendly = no
- }
- }
- }
-
option = {
name = marauder.124.a
}
@@ -5943,6 +6457,10 @@ event = {
}
any_relation = {
prev = { is_rival = prev }
+ NOR = {
+ has_country_flag = under_marauder_attack
+ has_country_flag = target_of_hired_ai_raid
+ }
}
energy > 5000
any_relation = {
@@ -5968,13 +6486,25 @@ event = {
}
any_relation = {
prev = { is_rival = prev }
+ NOR = {
+ has_country_flag = under_marauder_attack
+ has_country_flag = target_of_hired_ai_raid
+ }
}
energy > 5000
+ any_relation = {
+ is_country_type = dormant_marauders
+ has_communications = prev
+ NOR = {
+ has_country_flag = raid_ongoing
+ has_country_flag = raid_cooldown
+ }
+ }
}
save_event_target_as = hired_marauders
}
random_list = {
- 5 = {
+ 3 = {
modifier = {
factor = 0
event_target:hired_marauders = {
@@ -6007,12 +6537,17 @@ event = {
# }
# save_event_target_as = hired_marauders
event_target:hired_marauders = {
- add_energy = -5000
+ add_energy = @raidcost
random_relation = {
limit = {
prev = { is_rival = prev }
+ NOR = {
+ has_country_flag = under_marauder_attack
+ has_country_flag = target_of_hired_ai_raid
+ }
}
save_event_target_as = marauder_target
+ set_timed_country_flag = { flag = target_of_hired_ai_raid days = 7200 }
}
random_relation = {
limit = {
@@ -6066,9 +6601,44 @@ event = {
}
event_target:raiding_marauder = {
set_country_flag = raid_ongoing
+ owner_species = { save_event_target_as = marauder_species }
+ }
+ create_country = {
+ name = event_target:raiding_marauder
+ type = "marauder_raiders"
+ species = event_target:marauder_species
+ flag = event_target:raiding_marauder
+ effect = {
+ save_event_target_as = marauder_raiding_country
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_1 } }
+ set_country_flag = marauder_1
+ }
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_2 } }
+ set_country_flag = marauder_2
+ }
+ if = {
+ limit = { event_target:raiding_marauder = { has_country_flag = marauder_3 } }
+ set_country_flag = marauder_3
+ }
+ set_country_flag = raid_ongoing
+ }
+ }
+ event_target:marauder_raiding_country = {
+ every_country = { establish_communications_no_message = event_target:marauder_raiding_country }
+ event_target:raiding_marauder = {
+ set_country_flag = parent_of@event_target:marauder_raiding_country
+ set_faction_hostility = {
+ target = event_target:marauder_raiding_country
+ set_hostile = no
+ set_neutral = no
+ set_friendly = yes
+ }
+ }
create_leader = {
type = admiral
- species = owner_main_species
+ species = event_target:marauder_species
name = random
skill = 3
leader_age_min = 25
@@ -6081,16 +6651,17 @@ event = {
create_fleet = {
name = "NAME_Raiding_Fleet"
effect = {
- set_owner = event_target:raiding_marauder
+ set_owner = event_target:raiding_marauder # For ship names
create_marauder_raiders = yes
- assign_leader = last_created_leader
set_location = event_target:raid_source
set_fleet_stance = aggressive
+ set_fleet_bombardment_stance = indiscriminate
set_aggro_range_measure_from = self
set_aggro_range = 150
- set_fleet_bombardment_stance = indiscriminate
set_fleet_flag = hired_raiding_fleet
set_fleet_flag = raiding_fleet
+ set_owner = event_target:marauder_raiding_country # Real owner
+ assign_leader = last_created_leader
closest_system = {
limit = {
@@ -6118,9 +6689,20 @@ event = {
}
}
}
+ set_faction_hostility = {
+ target = event_target:marauder_target
+ set_hostile = yes
+ set_neutral = no
+ set_friendly = no
+ }
}
event_target:marauder_target = {
set_country_flag = raid_target_of@event_target:raiding_marauder
+ set_country_flag = under_marauder_attack
+ set_relation_flag = {
+ who = event_target:raiding_marauder
+ flag = current_hired_target
+ }
if = {
limit = { has_communications = event_target:raiding_marauder }
country_event = { id = marauder.120 days = 1 random = 30 }
@@ -6130,7 +6712,7 @@ event = {
}
}
}
- 100 = {}
+ 110 = {}
}
}
}
@@ -6175,14 +6757,35 @@ event = {
AND = {
has_country_flag = marauder_1
has_country_flag = mercenaries_available_1
+ NOR = {
+ AND = {
+ has_country_flag = merc_fleet_1_hired
+ has_country_flag = merc_fleet_2_hired
+ has_country_flag = merc_fleet_3_hired
+ }
+ }
}
AND = {
has_country_flag = marauder_2
has_country_flag = mercenaries_available_2
+ NOR = {
+ AND = {
+ has_country_flag = merc_fleet_1_hired
+ has_country_flag = merc_fleet_2_hired
+ has_country_flag = merc_fleet_3_hired
+ }
+ }
}
AND = {
has_country_flag = marauder_3
has_country_flag = mercenaries_available_3
+ NOR = {
+ AND = {
+ has_country_flag = merc_fleet_1_hired
+ has_country_flag = merc_fleet_2_hired
+ has_country_flag = merc_fleet_3_hired
+ }
+ }
}
}
}
@@ -6222,14 +6825,35 @@ event = {
AND = {
has_country_flag = marauder_1
has_country_flag = mercenaries_available_1
+ NOR = {
+ AND = {
+ has_country_flag = merc_fleet_1_hired
+ has_country_flag = merc_fleet_2_hired
+ has_country_flag = merc_fleet_3_hired
+ }
+ }
}
AND = {
has_country_flag = marauder_2
has_country_flag = mercenaries_available_2
+ NOR = {
+ AND = {
+ has_country_flag = merc_fleet_1_hired
+ has_country_flag = merc_fleet_2_hired
+ has_country_flag = merc_fleet_3_hired
+ }
+ }
}
AND = {
has_country_flag = marauder_3
has_country_flag = mercenaries_available_3
+ NOR = {
+ AND = {
+ has_country_flag = merc_fleet_1_hired
+ has_country_flag = merc_fleet_2_hired
+ has_country_flag = merc_fleet_3_hired
+ }
+ }
}
}
}
@@ -6563,49 +7187,55 @@ event = {
is_country_type = dormant_marauders
has_country_flag = raid_ongoing
NOT = {
- any_owned_fleet = {
- OR = {
- has_fleet_flag = hired_raiding_fleet
- has_fleet_flag = raiding_fleet
- }
+ any_country = {
+ is_country_type = marauder_raiders
+ prev = { has_country_flag = parent_of@prev }
}
}
}
}
immediate = {
- every_country = {
+ random_country = {
limit = {
is_country_type = dormant_marauders
has_country_flag = raid_ongoing
NOT = {
- any_owned_fleet = {
- OR = {
- has_fleet_flag = hired_raiding_fleet
- has_fleet_flag = raiding_fleet
- }
+ any_country = {
+ is_country_type = marauder_raiders
+ prev = { has_country_flag = parent_of@prev }
}
}
}
+ save_event_target_as = raiding_marauder
remove_country_flag = raid_ongoing
}
+ random_playable_country = {
+ limit = { has_country_flag = raid_target_of@event_target:raiding_marauder }
+ remove_country_flag = raid_target_of@event_target:raiding_marauder
+ remove_country_flag = under_marauder_attack
+ remove_country_flag = marauder_tribute_1@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_2@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_3@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_4@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_5@event_target:raiding_marauder
+ remove_country_flag = marauder_tribute_6@event_target:raiding_marauder
+ remove_relation_flag = {
+ who = event_target:raiding_marauder
+ flag = current_target
}
+ remove_relation_flag = {
+ who = event_target:raiding_marauder
+ flag = current_hired_target
}
-
-# Clear Friendly state after raid
-country_event = {
- id = marauder.161
- hide_window = yes
-
- is_triggered_only = yes
-
- immediate = {
- event_target:raiding_marauder = {
- set_faction_hostility = {
- target = root
- set_hostile = yes
- set_neutral = no
- set_friendly = no
+ }
+ if = {
+ limit = {
+ any_playable_country = { has_country_flag = hired@event_target:raiding_marauder }
+ }
+ random_playable_country = {
+ limit = { has_country_flag = hired@event_target:raiding_marauder }
+ remove_country_flag = hired@event_target:raiding_marauder
}
}
}
@@ -7493,7 +8123,7 @@ country_event = {
}
}
option = { # Return to former owner
- name = marauder.518.a
+ name = marauder.517.b
custom_tooltip = marauder.517.b.tooltip
event_target:liberated_planet = {
set_owner = event_target:planet_former_owner
@@ -7612,7 +8242,7 @@ country_event = {
immediate = {
from = { save_event_target_as = awakened_horde }
random_list = {
- 5 = {
+ 2 = {
set_global_flag = horde_triggered
country_event = { id = marauder.500 }
}
@@ -8202,6 +8832,7 @@ country_event = {
exists = event_target:raider_khanate
is_country_type = default
is_subject = no
+ is_ai = yes
NOR = {
has_valid_civic = "civic_fanatic_purifiers"
has_valid_civic = "civic_hive_devouring_swarm"
@@ -8440,7 +9071,10 @@ country_event = {
every_country = {
limit = { has_modifier = satrapy_of_horde }
remove_modifier = "satrapy_of_horde"
- country_event = { id = marauder.670 days = 10 }
+ set_subject_of = {
+ who = none
+ }
+ country_event = { id = marauder.670 days = 4 }
}
# Two Diadochi (Marauder small)
@@ -9000,7 +9634,6 @@ country_event = {
id = marauder.670
title = "marauder.670.name"
desc = "marauder.670.desc"
-
picture = GFX_evt_arguing_senate
show_sound = event_conversation
@@ -9016,7 +9649,6 @@ country_event = {
id = marauder.671
title = "marauder.671.name"
desc = "marauder.671.desc"
-
picture = GFX_evt_large_explosion
show_sound = event_ship_explosion
@@ -9026,3 +9658,417 @@ country_event = {
name = marauder.671.a
}
}
+
+### Neighbor Events
+
+event = {
+ id = marauder.699
+ hide_window = yes
+
+ is_triggered_only = yes
+
+ trigger = {
+ any_country = {
+ is_country_type = default
+ any_system_within_border = {
+ any_neighbor_system = {
+ exists = space_owner
+ space_owner = { is_country_type = dormant_marauders }
+ }
+ }
+ }
+ }
+
+ immediate = {
+ random_playable_country = {
+ limit = {
+ any_system_within_border = {
+ any_neighbor_system = {
+ exists = space_owner
+ space_owner = { is_country_type = dormant_marauders }
+ }
+ }
+ }
+ random_list = {
+ 20 = {
+ country_event = { id = marauder.700 }
+ }
+ 80 = {}
+ }
+ }
+ }
+}
+
+country_event = {
+ id = marauder.700
+ hide_window = yes
+
+ is_triggered_only = yes
+
+ immediate = {
+ random_system_within_border = {
+ limit = {
+ any_neighbor_system = {
+ exists = space_owner
+ space_owner = { is_country_type = dormant_marauders }
+ }
+ }
+ save_event_target_as = border_system
+ random_system_planet = {
+ limit = {
+ is_star = no
+ is_asteroid = no
+ is_moon = no
+ }
+ save_event_target_as = border_planet
+ }
+ random_neighbor_system = {
+ limit = {
+ exists = space_owner
+ space_owner = { is_country_type = dormant_marauders }
+ }
+ space_owner = {
+ save_event_target_as = marauder_neighbor
+ owner_species = { save_event_target_as = marauder_neighbor_species }
+ }
+ }
+ }
+
+ random_list = {
+ 10 = {
+ if = {
+ limit = {
+ has_policy_flag = refugees_allowed
+ any_owned_planet = {
+ habitability = { who = event_target:marauder_neighbor_species value > 0.4 }
+ any_tile = {
+ has_blocker = no
+ has_pop = no
+ }
+ }
+ }
+ random_owned_planet = {
+ limit = {
+ habitability = { who = event_target:marauder_neighbor_species value > 0.4 }
+ any_tile = {
+ has_blocker = no
+ has_pop = no
+ }
+ }
+ create_pop = {
+ species = event_target:marauder_neighbor_species
+ ethos = {
+ ethic = "ethic_militarist"
+ }
+ }
+ planet_event = { id = marauder.701 }
+ }
+ }
+ }
+ 10 = {
+ country_event = { id = marauder.702 }
+ }
+ 10 = {
+ country_event = { id = marauder.703 }
+ }
+ 10 = {
+ country_event = { id = marauder.704 }
+ }
+ 10 = {
+ country_event = { id = marauder.705 }
+ }
+ 10 = {
+ country_event = { id = marauder.706 }
+ }
+ 10 = {
+ country_event = { id = marauder.707 }
+ }
+ }
+ }
+}
+
+# Refugees
+planet_event = {
+ id = marauder.701
+ title = "marauder.701.name"
+ desc = "marauder.701.desc"
+ picture = GFX_evt_colony_settlement
+ show_sound = event_radio_chatter
+ location = root
+
+ is_triggered_only = yes
+
+ trigger = {
+ owner = {
+ NOT = { has_country_flag = marauder_neighbor_event_1 }
+ }
+ }
+
+ immediate = {
+ owner = {
+ set_country_flag = marauder_neighbor_event_1
+ }
+ }
+
+ option = {
+ name = marauder.701.a
+ }
+}
+
+# Battle Tactics
+country_event = {
+ id = marauder.702
+ title = "marauder.702.name"
+ desc = {
+ text = marauder.702.a.desc
+ trigger = {
+ NOR = {
+ has_authority = auth_hive_mind
+ has_authority = auth_machine_intelligence
+ }
+ }
+ }
+ desc = {
+ text = marauder.702.b.desc
+ trigger = {
+ has_authority = auth_hive_mind
+ }
+ }
+ desc = {
+ text = marauder.702.c.desc
+ trigger = {
+ has_authority = auth_machine_intelligence
+ }
+ }
+ picture = GFX_evt_machine_space_battle
+ show_sound = event_space_battle
+
+ is_triggered_only = yes
+
+ trigger = {
+ NOT = { has_country_flag = marauder_neighbor_event_2 }
+ }
+
+ immediate = {
+ set_country_flag = marauder_neighbor_event_2
+ }
+
+ option = {
+ name = EXCELLENT
+ add_modifier = {
+ modifier = "marauder_skirmishing"
+ days = 3600
+ }
+ }
+}
+
+# New Admiral
+country_event = {
+ id = marauder.703
+ title = "marauder.703.name"
+ desc = "marauder.703.desc"
+ picture = GFX_evt_hangar_bay
+ show_sound = event_radio_chatter
+
+ is_triggered_only = yes
+
+ trigger = {
+ NOT = { has_country_flag = marauder_neighbor_event_3 }
+ }
+
+ immediate = {
+ set_country_flag = marauder_neighbor_event_3
+ }
+
+ option = {
+ name = marauder.703.a
+ trigger = {
+ NOR = {
+ has_valid_civic = civic_machine_terminator
+ has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_fanatic_purifiers
+ }
+ }
+ create_leader = {
+ type = admiral
+ species = event_target:marauder_neighbor_species
+ name = random
+ skill = 4
+ leader_age_min = 25
+ leader_age_max = 45
+ traits = {
+ trait = leader_trait_mercenary_warrior
+ trait = random_trait
+ }
+ }
+ custom_tooltip = gain_marauder_admiral
+ }
+ option = {
+ name = marauder.703.b
+ trigger = {
+ NOR = {
+ has_valid_civic = civic_machine_terminator
+ has_valid_civic = civic_hive_devouring_swarm
+ has_valid_civic = civic_fanatic_purifiers
+ }
+ }
+ }
+ option = {
+ name = marauder.703.c
+ trigger = {
+ has_valid_civic = civic_machine_terminator
+ }
+ add_influence = 50
+ }
+ option = {
+ name = marauder.703.d
+ trigger = {
+ has_valid_civic = civic_hive_devouring_swarm
+ }
+ add_food = 1
+ add_influence = 50
+ }
+ option = {
+ name = marauder.703.e
+ trigger = {
+ has_valid_civic = civic_fanatic_purifiers
+ }
+ add_influence = 50
+ }
+}
+
+# New Fleet
+country_event = {
+ id = marauder.704
+ title = "marauder.704.name"
+ desc = "marauder.704.desc"
+ picture = GFX_evt_pirate_armada
+ show_sound = event_radio_chatter
+
+ is_triggered_only = yes
+
+ trigger = {
+ NOT = { has_country_flag = marauder_neighbor_event_4 }
+ years_passed >= 30
+ }
+
+ immediate = {
+ set_country_flag = marauder_neighbor_event_4
+ }
+
+ option = {
+ name = marauder.704.a
+ create_fleet = {
+ name = "NAME_Salvaged_Fleet"
+ effect = {
+ set_owner = root
+ while = {
+ count = 4
+ create_ship = {
+ name = random
+ prefix = no
+ design = "NAME_Outrider"
+ graphical_culture = "pirate_01"
+ }
+ }
+ while = {
+ count = 2
+ create_ship = {
+ name = random
+ prefix = no
+ design = "NAME_Lancer"
+ graphical_culture = "pirate_01"
+ }
+ }
+ while = {
+ count = 1
+ create_ship = {
+ name = random
+ prefix = no
+ design = "NAME_Void_Champion"
+ graphical_culture = "pirate_01"
+ }
+ }
+ set_location = root.capital_scope
+ }
+ }
+ custom_tooltip = gain_marauder_fleet
+ }
+ option = {
+ name = marauder.704.b
+ add_minerals = 200
+ }
+}
+
+# Resource Cache
+country_event = {
+ id = marauder.705
+ title = "marauder.705.name"
+ desc = "marauder.705.desc"
+ picture = GFX_evt_space_debris
+ show_sound = event_scanner
+
+ is_triggered_only = yes
+
+ trigger = {
+ NOT = { has_country_flag = marauder_neighbor_event_5 }
+ }
+
+ immediate = {
+ set_country_flag = marauder_neighbor_event_5
+ }
+
+ option = {
+ name = EXCELLENT
+ add_minerals = 300
+ add_energy = 300
+ }
+}
+
+# Abandoned Habitat
+country_event = {
+ id = marauder.706
+ title = "marauder.706.name"
+ desc = "marauder.706.desc"
+ picture = GFX_evt_space_debris
+ show_sound = event_scanner
+
+ is_triggered_only = yes
+
+ trigger = {
+ NOT = { has_country_flag = marauder_neighbor_event_6 }
+ }
+
+ immediate = {
+ set_country_flag = marauder_neighbor_event_6
+ }
+
+ option = {
+ name = marauder.706.a
+ add_minerals = 400
+ }
+}
+
+# Shuttle
+country_event = {
+ id = marauder.707
+ title = "marauder.707.name"
+ desc = "marauder.707.desc"
+ picture = GFX_evt_machine_space_battle
+ show_sound = event_ship_thrusters
+
+ is_triggered_only = yes
+
+ trigger = {
+ NOT = { has_country_flag = marauder_neighbor_event_7 }
+ }
+
+ immediate = {
+ set_country_flag = marauder_neighbor_event_7
+ }
+
+ option = {
+ name = marauder.707.a
+ add_energy = 400
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/events/observation_events.txt b/2.0.2/events/observation_events.txt
index 263e1e3..822dccd 100755
--- a/2.0.0/events/observation_events.txt
+++ b/2.0.2/events/observation_events.txt
@@ -5362,11 +5362,15 @@ planet_event = {
}
mean_time_to_happen = {
- months = 5000
+ years = 400
modifier = {
factor = 0.75
observation_outpost = { has_mission = specimen_collection }
}
+ modifier = {
+ factor = 0.5
+ observation_outpost = { has_mission = native_indoctrination }
+ }
}
immediate = {
diff --git a/2.0.0/events/on_action_events.txt b/2.0.2/events/on_action_events.txt
index d15693c..6fec4f2 100755
--- a/2.0.0/events/on_action_events.txt
+++ b/2.0.2/events/on_action_events.txt
@@ -4280,25 +4280,6 @@ ship_event = {
}
}
-# Primitive planet found by trading Star Charts
-planet_event = {
- id = action.33
- is_triggered_only = yes
- hide_window = yes
-
- trigger = {
- exists = owner
- NOT = { exists = fromfrom }
- owner = { is_country_type = primitive }
- }
-
- immediate = {
- from = {
- establish_communications_no_message = root.owner
- }
- }
-}
-
# Aliens Establish Communications
country_event = {
id = action.13
@@ -6449,93 +6430,20 @@ country_event = {
}
}
-# Megastructure built
-#country_event = {
-# id = action.52
-# hide_window = yes
-# is_triggered_only = yes
-#
-# immediate = {
-# create_message = {
-# target = fromfromfrom
-# type = "MEGASTRUCTURE_BUILT"
-# localization = "MESSAGE_MEGASTRUCTURE_BUILT"
-# variable = {
-# type = name
-# scope = fromfromfrom
-# localization = "FLEET"
-# }
-# variable = {
-# type = name
-# scope = from
-# localization = "MEGASTRUCTURE"
-# }
-# variable = {
-# type = name
-# scope = fromfrom
-# localization = "SYSTEM"
-# }
-# }
-# }
-#}
-
-# Megastructure upgraded
-#country_event = {
-# id = action.53
-# hide_window = yes
-# is_triggered_only = yes
-#
-# immediate = {
-# create_message = {
-# target = from
-# type = "MEGASTRUCTURE_UPGRADED"
-# localization = "MESSAGE_MEGASTRUCTURE_UPGRADED"
-# variable = {
-# type = name
-# scope = from
-# localization = "MEGASTRUCTURE"
-# }
-# variable = {
-# type = name
-# scope = fromfrom
-# localization = "SYSTEM"
-# }
-# }
-# }
-#}
-
-# Tradition Discovery - Exploration Journals gain research points.
-ship_event = {
- id = action.54
+# Tradition Discovery - gain unity on tech unlock
+country_event = {
+ id = action.55
hide_window = yes
is_triggered_only = yes
immediate = {
if = {
limit = {
- owner = {
- OR = {
- has_non_swapped_tradition = tr_discovery_planetary_survey_corps
- has_swapped_tradition = tr_discovery_planetary_survey_corps_machine
- }
- }
- }
- owner = {
- add_monthly_resource_mult = {
- resource = physics_research
- value = 0.1
- min = 3
+ has_tradition = tr_discovery_faith_in_science
}
add_monthly_resource_mult = {
- resource = society_research
- value = 0.1
- min = 3
- }
- add_monthly_resource_mult = {
- resource = engineering_research
- value = 0.1
- min = 3
- }
+ resource = unity
+ value = 3
}
}
}
@@ -6689,32 +6597,6 @@ ship_event = {
# }
#}
-#planet_event = {
-# id = action.55
-# hide_window = yes
-# is_triggered_only = yes
-#
-# immediate = {
-# owner = {
-# if = {
-# limit = {
-# has_country_flag = has_colonization_fever
-# NOT = { has_modifier = colonization_fever}
-# }
-# add_modifier = { modifier = colonization_fever days = 3600 }
-# }
-# if = {
-# limit = {
-# has_modifier = colonization_fever
-# }
-# remove_modifier = "colonization_fever"
-# add_modifier = { modifier = colonization_fever days = 3600 }
-# }
-# }
-# }
-#}
-
-
pop_event = {
id = action.58
hide_window = yes
@@ -7667,6 +7549,12 @@ planet_event = {
}
immediate = {
+ every_owned_pop = {
+ limit = {
+ is_growing = yes
+ }
+ kill_pop = yes
+ }
owner = {
add_static_war_exhaustion = {
attacker = from
@@ -7774,6 +7662,11 @@ event = {
starbase = {
exists = owner
owner = {
+ OR = {
+ is_country_type = default
+ is_country_type = fallen_empire
+ is_country_type = awakened_fallen_empire
+ }
NOR = {
is_same_value = prevprev.owner
is_at_war_with = prevprev.owner
@@ -7866,7 +7759,7 @@ ship_event = {
immediate = {
add_modifier = {
modifier = jump_drive_cooldown
- days = 120
+ days = 200
}
}
}
@@ -7962,3 +7855,35 @@ planet_event = {
}
}
}
+
+# Make sure Swarm-owned planets are Infested and megastructures wiped
+event = {
+ id = action.92
+ hide_window = yes
+
+ is_triggered_only = yes
+
+ trigger = {
+ any_country = { is_country_type = swarm }
+ }
+
+ immediate = {
+ every_planet = {
+ limit = {
+ exists = owner
+ owner = { is_country_type = swarm }
+ NOT = { is_planet_class = pc_infested }
+ }
+ if = {
+ limit = {
+ OR = {
+ is_planet_class = pc_habitat
+ is_planet_class = pc_ringworld_habitable
+ }
+ }
+ destroy_colony = yes
+ else = { change_pc = pc_infested }
+ }
+ }
+ }
+}
diff --git a/2.0.0/events/pirate_events.txt b/2.0.2/events/pirate_events.txt
index 915e258..b142f1c 100755
--- a/2.0.0/events/pirate_events.txt
+++ b/2.0.2/events/pirate_events.txt
@@ -14,6 +14,7 @@ country_event = {
title = "pirate.1.name"
picture = GFX_evt_pirate_armada
show_sound = event_space_battle
+ location = event_target:pirate_system
desc = { # Spiritual
text = pirate.1.desc_01
@@ -119,6 +120,7 @@ country_event = {
}
}
}
+ save_event_target_as = pirate_system
random_system_planet = {
limit = { is_star = no }
save_event_target_as = pirate_home
@@ -343,6 +345,16 @@ country_event = {
any_country = {
is_country_type = default
has_country_flag = spawner_of@root
+ exists = capital_scope
+ any_controlled_planet = {
+ OR = {
+ has_mining_station = yes
+ has_research_station = yes
+ }
+ solar_system = {
+ NOT = { is_same_value = prev.prev.capital_scope.solar_system }
+ }
+ }
}
}
@@ -364,7 +376,9 @@ country_event = {
save_event_target_as = pirate_band
random_owned_ship = {
limit = { is_ship_size = pirate_station }
- save_event_target_as = pirate_home
+ fleet = {
+ orbit = { save_event_target_as = pirate_home } # save actual planet as home
+ }
}
create_pirate_fleet = yes
}
@@ -438,7 +452,6 @@ event = {
immediate = {
every_country = {
limit = {
- is_ai = no
NOT = { has_country_flag = birth_of_piracy }
}
country_event = { id = pirate.5 }
@@ -499,6 +512,7 @@ country_event = {
picture = GFX_evt_pirate_armada
show_sound = event_space_battle
desc = pirate.6.desc
+ location = event_target:pirate_system
trigger = {
years_passed > 10
@@ -543,6 +557,7 @@ country_event = {
}
}
}
+ save_event_target_as = pirate_system
random_system_planet = {
limit = { is_star = no }
save_event_target_as = pirate_home
@@ -710,6 +725,7 @@ country_event = {
picture = GFX_evt_machine_space_battle
show_sound = event_space_battle
desc = pirate.7.desc
+ location = event_target:pirate_system
trigger = {
years_passed > 10
@@ -754,6 +770,7 @@ country_event = {
}
}
}
+ save_event_target_as = pirate_system
random_system_planet = {
limit = { is_star = no }
save_event_target_as = pirate_home
@@ -1203,54 +1220,55 @@ country_event = {
id = pirate.49
hide_window = yes
- mean_time_to_happen = {
- months = 280
- modifier = {
- factor = 0.2
- has_isolated_system = yes
- }
- modifier = {
- factor = 0.9
- num_starbases > 9
- }
- modifier = {
- factor = 0.9
- num_starbases > 19
- }
- modifier = {
- factor = 1.4
- check_variable = {
- which = "pirates_active"
- value > 0
- }
- }
- modifier = {
- factor = 1.6
- check_variable = {
- which = "pirates_active"
- value > 1
- }
- }
- modifier = {
- factor = 2
- check_variable = {
- which = "pirates_active"
- value > 2
- }
- }
- modifier = {
- factor = 3
- check_variable = {
- which = "pirates_active"
- value > 3
- }
- }
- }
+ is_triggered_only = yes
+
+ #mean_time_to_happen = {
+ # months = 280
+ # modifier = {
+ # factor = 0.2
+ # has_isolated_system = yes
+ # }
+ # modifier = {
+ # factor = 0.9
+ # num_starbases > 9
+ # }
+ # modifier = {
+ # factor = 0.9
+ # num_starbases > 19
+ # }
+ # modifier = {
+ # factor = 1.4
+ # check_variable = {
+ # which = "pirates_active"
+ # value > 0
+ # }
+ # }
+ # modifier = {
+ # factor = 1.6
+ # check_variable = {
+ # which = "pirates_active"
+ # value > 1
+ # }
+ # }
+ # modifier = {
+ # factor = 2
+ # check_variable = {
+ # which = "pirates_active"
+ # value > 2
+ # }
+ # }
+ # modifier = {
+ # factor = 3
+ # check_variable = {
+ # which = "pirates_active"
+ # value > 3
+ # }
+ # }
+ #}
trigger = {
is_country_type = default
has_country_flag = birth_of_piracy
- NOT = { has_country_flag = had_pirates_spawn }
OR = {
has_isolated_system = yes
has_bordering_system = yes
@@ -1264,7 +1282,6 @@ country_event = {
}
immediate = {
- set_timed_country_flag = { flag = had_pirates_spawn days = 1800 }
if = {
limit = { has_isolated_system = yes }
random_system_within_border = {
diff --git a/2.0.0/events/planet_destruction_events.txt b/2.0.2/events/planet_destruction_events.txt
index abe19b3..a02a309 100755
--- a/2.0.0/events/planet_destruction_events.txt
+++ b/2.0.2/events/planet_destruction_events.txt
@@ -30,9 +30,56 @@ planet_event = {
}
from.owner = { country_event = { id = planet_destruction.102 } }
else = {
+ if = {
+ limit = {
+ NOT = { is_planet_class = pc_ai }
+ }
from.owner = { country_event = { id = planet_destruction.101 } }
}
}
+ }
+
+ # Contingency Machine World
+ if = {
+ limit = {
+ is_planet_class = pc_ai
+ NOT = { has_planet_flag = machine_lair }
+ }
+ set_planet_flag = destroyed_by_colossus
+ set_planet_flag = planet_cracked
+ planet_event = { id = crisis.2040 }
+ }
+
+ # Contingency Final Machine World
+ if = {
+ limit = {
+ is_planet_class = pc_ai
+ has_planet_flag = machine_lair
+ }
+ set_planet_flag = destroyed_by_colossus
+ set_planet_flag = planet_cracked
+ planet_event = { id = crisis.2043 }
+ }
+
+ # Swarm Situation Log counter
+ if = {
+ limit = {
+ owner = { is_country_type = swarm }
+ }
+ every_country = {
+ limit = { has_event_chain = "prethoryn_scourge_chain" }
+ add_event_chain_counter = {
+ event_chain = "prethoryn_scourge_chain"
+ counter = "infested_worlds"
+ amount = -1
+ }
+ add_event_chain_counter = {
+ event_chain = "prethoryn_scourge_chain"
+ counter = "infested_worlds_cleansed"
+ amount = 1
+ }
+ }
+ }
# Exterminatus Achievement
if = {
@@ -441,11 +488,55 @@ planet_event = {
limit = {
exists = owner
owner = { NOT = { is_same_value = from.owner } }
+ NOT = { is_planet_class = pc_ai }
}
from.owner = {
country_event = { id = planet_destruction.210 }
}
}
+
+ # Contingency Machine World
+ if = {
+ limit = {
+ is_planet_class = pc_ai
+ NOT = { has_planet_flag = machine_lair }
+ }
+ set_planet_flag = destroyed_by_colossus
+ set_planet_flag = planet_shielded
+ planet_event = { id = crisis.2040 }
+ }
+
+ # Contingency Final Machine World
+ if = {
+ limit = {
+ is_planet_class = pc_ai
+ has_planet_flag = machine_lair
+ }
+ set_planet_flag = destroyed_by_colossus
+ set_planet_flag = planet_shielded
+ planet_event = { id = crisis.2043 }
+ }
+
+ # Swarm Situation Log counter
+ if = {
+ limit = {
+ owner = { is_country_type = swarm }
+ }
+ every_country = {
+ limit = { has_event_chain = "prethoryn_scourge_chain" }
+ add_event_chain_counter = {
+ event_chain = "prethoryn_scourge_chain"
+ counter = "infested_worlds"
+ amount = -1
+ }
+ add_event_chain_counter = {
+ event_chain = "prethoryn_scourge_chain"
+ counter = "infested_worlds_cleansed"
+ amount = 1
+ }
+ }
+ }
+
if = {
limit = {
exists = owner
@@ -636,6 +727,27 @@ planet_event = {
country_event = { id = planet_destruction.301 }
}
}
+
+ # Swarm Situation Log counter
+ if = {
+ limit = {
+ owner = { is_country_type = swarm }
+ }
+ every_country = {
+ limit = { has_event_chain = "prethoryn_scourge_chain" }
+ add_event_chain_counter = {
+ event_chain = "prethoryn_scourge_chain"
+ counter = "infested_worlds"
+ amount = -1
+ }
+ add_event_chain_counter = {
+ event_chain = "prethoryn_scourge_chain"
+ counter = "infested_worlds_cleansed"
+ amount = 1
+ }
+ }
+ }
+
if = {
limit = {
exists = owner
@@ -758,6 +870,10 @@ planet_event = {
}
}
destroy_colony = yes
+ add_modifier = {
+ modifier = neutron_bombarded
+ days = 3600
+ }
# Special graphics for Habitats and Ring Worlds
if = {
limit = {
@@ -796,6 +912,15 @@ planet_event = {
}
}
}
+ # For Infested worlds
+ if = {
+ limit = { is_planet_class = pc_infested }
+ random_list = {
+ 50 = { change_pc = pc_barren }
+ 50 = { change_pc = pc_barren_cold }
+ }
+ add_modifier = { modifier = "terraforming_candidate" days = -1 }
+ }
}
}
@@ -806,6 +931,13 @@ country_event = {
text = planet_destruction.301.nobots.desc
trigger = {
from = {
+ NOT = {
+ OR = {
+ is_planet_class = pc_infested
+ is_planet_class = pc_barren
+ is_planet_class = pc_barren_cold
+ }
+ }
count_pops = {
count < 1
}
@@ -822,6 +954,18 @@ country_event = {
}
}
}
+ desc = {
+ text = planet_destruction.301.infested.desc
+ trigger = {
+ from = {
+ OR = {
+ is_planet_class = pc_infested
+ is_planet_class = pc_barren
+ is_planet_class = pc_barren_cold
+ }
+ }
+ }
+ }
picture = GFX_evt_planet_beam
show_sound = event_solar_fusion
location = from
diff --git a/2.0.0/events/precursor_events.txt b/2.0.2/events/precursor_events.txt
index b0e400c..385ac6f 100755
--- a/2.0.0/events/precursor_events.txt
+++ b/2.0.2/events/precursor_events.txt
@@ -784,6 +784,19 @@ country_event = {
immediate = {
set_global_flag = vultaum_system_discovered
set_country_flag = vultaum_system
+ if = {
+ limit = {
+ any_system_within_border = { has_star_flag = precursor_1 }
+ }
+ random_system_within_border = {
+ limit = { has_star_flag = precursor_1 }
+ spawn_system = {
+ min_distance = 20
+ max_distance = 50
+ initializer = "vultaumar_system"
+ }
+ }
+ else = {
random_system = {
limit = { has_star_flag = precursor_1 }
spawn_system = {
@@ -792,6 +805,8 @@ country_event = {
initializer = "vultaumar_system"
}
}
+ }
+ }
country_event = { id = precursor.100 days = 2 }
}
}
@@ -1572,6 +1587,19 @@ country_event = {
immediate = {
set_global_flag = yuht_system_discovered
set_country_flag = yuht_system
+ if = {
+ limit = {
+ any_system_within_border = { has_star_flag = precursor_2 }
+ }
+ random_system_within_border = {
+ limit = { has_star_flag = precursor_2 }
+ spawn_system = {
+ min_distance = 20
+ max_distance = 50
+ initializer = "yuhtaan_system"
+ }
+ }
+ else = {
random_system = {
limit = { has_star_flag = precursor_2 }
spawn_system = {
@@ -1580,6 +1608,8 @@ country_event = {
initializer = "yuhtaan_system"
}
}
+ }
+ }
country_event = { id = precursor.600 days = 2 }
}
}
@@ -2637,6 +2667,19 @@ country_event = {
immediate = {
set_global_flag = first_league_discovered
set_country_flag = first_league_system
+ if = {
+ limit = {
+ any_system_within_border = { has_star_flag = precursor_3 }
+ }
+ random_system_within_border = {
+ limit = { has_star_flag = precursor_3 }
+ spawn_system = {
+ min_distance = 20
+ max_distance = 50
+ initializer = "fen_habbanis_system"
+ }
+ }
+ else = {
random_system = {
limit = { has_star_flag = precursor_3 }
spawn_system = {
@@ -2645,6 +2688,8 @@ country_event = {
initializer = "fen_habbanis_system"
}
}
+ }
+ }
country_event = { id = precursor.1100 days = 2 }
}
}
@@ -3550,6 +3595,19 @@ country_event = {
immediate = {
set_global_flag = irassia_discovered
set_country_flag = irassian_system
+ if = {
+ limit = {
+ any_system_within_border = { has_star_flag = precursor_4 }
+ }
+ random_system_within_border = {
+ limit = { has_star_flag = precursor_4 }
+ spawn_system = {
+ min_distance = 20
+ max_distance = 50
+ initializer = "irass_system"
+ }
+ }
+ else = {
random_system = {
limit = { has_star_flag = precursor_4 }
spawn_system = {
@@ -3558,6 +3616,8 @@ country_event = {
initializer = "irass_system"
}
}
+ }
+ }
country_event = { id = precursor.1600 days = 2 }
}
}
@@ -4451,6 +4511,19 @@ country_event = {
immediate = {
set_global_flag = cybrex_discovered
set_country_flag = cybrex_system
+ if = {
+ limit = {
+ any_system_within_border = { has_star_flag = precursor_5 }
+ }
+ random_system_within_border = {
+ limit = { has_star_flag = precursor_5 }
+ spawn_system = {
+ min_distance = 20
+ max_distance = 50
+ initializer = "cybrex_system"
+ }
+ }
+ else = {
random_system = {
limit = { has_star_flag = precursor_5 }
spawn_system = {
@@ -4459,6 +4532,8 @@ country_event = {
initializer = "cybrex_system"
}
}
+ }
+ }
country_event = { id = precursor.2100 days = 2 }
}
}
@@ -4755,7 +4830,7 @@ country_event = {
trigger = {
is_ai = no
- mid_game_years_passed > 0
+ years_passed > 50
NOR = {
has_country_flag = new_precursor
has_country_flag = ongoing_precursor_artifact
@@ -4880,6 +4955,10 @@ country_event = {
factor = 0.66
has_ethic = ethic_gestalt_consciousness # Won't get the other events
}
+ modifier = {
+ factor = 0.75
+ years_passed > 100
+ }
}
immediate = {
@@ -5262,7 +5341,7 @@ country_event = {
trigger = {
is_ai = no
- mid_game_years_passed > 0
+ years_passed > 50
NOR = {
has_country_flag = new_precursor
has_country_flag = ongoing_precursor_artifact
@@ -5320,6 +5399,10 @@ country_event = {
mean_time_to_happen = {
months = 240
+ modifier = {
+ factor = 0.75
+ years_passed > 100
+ }
}
immediate = {
@@ -5400,7 +5483,7 @@ country_event = {
trigger = {
is_ai = no
- mid_game_years_passed > 0
+ years_passed > 50
NOR = {
has_country_flag = new_precursor
has_country_flag = ongoing_precursor_artifact
@@ -5547,6 +5630,10 @@ country_event = {
mean_time_to_happen = {
months = 240
+ modifier = {
+ factor = 0.75
+ years_passed > 100
+ }
}
immediate = {
@@ -5834,7 +5921,7 @@ country_event = {
trigger = {
is_ai = no
- mid_game_years_passed > 0
+ years_passed > 50
NOR = {
has_country_flag = new_precursor
has_country_flag = ongoing_precursor_artifact
@@ -5976,6 +6063,10 @@ country_event = {
mean_time_to_happen = {
months = 240
+ modifier = {
+ factor = 0.75
+ years_passed > 100
+ }
}
immediate = {
diff --git a/2.0.0/events/primitive_events.txt b/2.0.2/events/primitive_events.txt
index d323107..984baa0 100755
--- a/2.0.0/events/primitive_events.txt
+++ b/2.0.2/events/primitive_events.txt
@@ -1338,6 +1338,10 @@ planet_event = {
mean_time_to_happen = {
years = 100
+ modifier = {
+ factor = 10
+ owner = { has_country_flag = early_space_age }
+ }
modifier = {
factor = 0.75
has_observation_outpost = yes
diff --git a/2.0.0/events/test_events.txt b/2.0.2/events/test_events.txt
index 1d6610a..a08d462 100755
--- a/2.0.0/events/test_events.txt
+++ b/2.0.2/events/test_events.txt
@@ -21,7 +21,7 @@ fleet_event = {
traits = random
}
create_country = {
- name = "NAME_Unbidden"
+ name = root.owner
type = "extradimensional"
species = last_created
name_list = "Extradimensional"
@@ -390,3 +390,21 @@ planet_event = {
#spawn_megastructure_destruction_effect = yes
}
}
+
+planet_event = {
+ id = henrik.134
+ hide_window = yes
+
+ trigger = { always = no }
+
+ immediate = {
+ create_message = {
+ type = BYPASS_EXPLORED
+ localization = BYPASS_EXPLORED_MESSAGE
+ days = 30
+ target = root
+ variable = { type = name localization = SYSTEM1 scope = root }
+ variable = { type = name localization = SYSTEM2 scope = root }
+ }
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/events/tutorial_events.txt b/2.0.2/events/tutorial_events.txt
index e83388d..61772cd 100755
--- a/2.0.0/events/tutorial_events.txt
+++ b/2.0.2/events/tutorial_events.txt
@@ -21,6 +21,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_1_chain
@@ -94,8 +95,8 @@ ship_event = {
trigger = {
owner = {
- is_tutorial_level = 2
is_ai = no
+ is_tutorial_level = 2
has_country_flag = tutorial_1
}
}
@@ -128,6 +129,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
any_owned_ship = {
has_fleet_order = survey_planet_order
}
@@ -154,6 +156,7 @@ ship_event = {
trigger = {
has_fleet_order = survey_planet_order
owner = {
+ is_ai = no
is_tutorial_level = 2
has_country_flag = tutorial_1
NOT = { has_country_flag = tutorial_2 }
@@ -181,6 +184,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_2_chain
@@ -218,9 +222,10 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
has_technology = tech_colonization_1
is_tutorial_level = 2
- not = {
+ NOT = {
has_country_flag = tutorial_2
}
}
@@ -239,6 +244,7 @@ country_event = {
# is_triggered_only = yes
#
# trigger = {
+# is_ai = no
# is_tutorial_level = 2
# has_technology = tech_colonization_1
# has_event_chain = "tutorial_2_chain"
@@ -264,6 +270,7 @@ country_event = {
# is_triggered_only = yes
#
# trigger = {
+# is_ai = no
# last_increased_tech = "tech_space_construction"
# has_event_chain = "tutorial_2_chain"
# NOT = { has_country_flag = tech_2_researched }
@@ -300,6 +307,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_technology = tech_colonization_1
has_event_chain = "tutorial_2_chain"
@@ -335,6 +343,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
count_owned_ships = {
limit = { is_ship_class = shipclass_constructor }
@@ -365,6 +374,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
count_owned_ships = {
limit = { is_ship_class = shipclass_constructor }
@@ -390,6 +400,7 @@ ship_event = {
trigger = {
is_ship_size = constructor
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_3_chain"
}
@@ -480,6 +491,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = "tutorial_4_chain"
@@ -509,6 +521,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_4_chain"
#any_owned_ship = { is_ship_size = mining_station }
@@ -603,6 +616,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = "tutorial_5_chain"
@@ -631,6 +645,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_5_chain"
#any_owned_ship = { is_ship_size = research_station } #removed cause otherwise you need to build 2 before this is triggered
@@ -662,6 +677,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_6_chain
@@ -693,6 +709,7 @@ planet_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = { has_country_flag = tutorial_cleared_early_14 }
}
@@ -718,6 +735,7 @@ planet_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_6_chain"
}
@@ -750,6 +768,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_country_flag = tutorial_cleared_early_16
@@ -778,6 +797,7 @@ planet_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = { has_country_flag = tutorial_cleared_early_16 }
}
@@ -800,6 +820,7 @@ planet_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_7_chain"
}
@@ -828,6 +849,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_8_chain
@@ -920,6 +942,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_country_flag = tutorial_cleared_early_17
@@ -984,6 +1007,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_8_chain"
FROM = {
@@ -1037,6 +1061,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_8_chain"
has_completed_event_chain_counter = {
@@ -1077,6 +1102,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_9_chain
@@ -1107,6 +1133,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
count_owned_ships = {
limit = { is_ship_class = shipclass_science_ship }
@@ -1132,6 +1159,7 @@ ship_event = {
trigger = {
is_ship_class = shipclass_science_ship
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_9_chain"
count_owned_ships = {
@@ -1166,6 +1194,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
any_owned_ship = {
is_ship_class = shipclass_science_ship
@@ -1202,6 +1231,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_10_chain"
count_owned_ships = {
@@ -1286,6 +1316,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
OR = {
count_owned_ships = {
@@ -1317,6 +1348,7 @@ ship_event = {
trigger = {
is_ship_class = shipclass_colonizer
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_11_chain"
}
@@ -1350,6 +1382,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_technology = tech_colonization_1
NOT = {
@@ -1384,6 +1417,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
any_owned_planet = {
is_capital = no
@@ -1408,6 +1442,7 @@ planet_event = {
trigger = {
exists = owner
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_12_chain"
}
@@ -1442,6 +1477,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
any_owned_planet = {
is_capital = no
@@ -1473,6 +1509,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_13_chain"
any_owned_planet = {
@@ -1595,6 +1632,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_15_chain
@@ -1615,6 +1653,7 @@ country_event = {
custom_tooltip = tutorial_15_tooltip
}
}
+
# Cleared Early
country_event = {
id = tutorial.330
@@ -1622,6 +1661,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_monthly_income = { resource = energy value > 9 }
has_monthly_income = { resource = minerals value > 29 }
@@ -1638,6 +1678,7 @@ country_event = {
hide_window = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_15_chain"
NOT = { has_country_flag = tutorial_15_minerals_achieved }
@@ -1668,6 +1709,7 @@ country_event = {
hide_window = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_15_chain"
has_country_flag = tutorial_15_minerals_achieved
@@ -1694,6 +1736,7 @@ country_event = {
hide_window = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_15_chain"
NOT = { has_country_flag = tutorial_15_credits_achieved }
@@ -1724,6 +1767,7 @@ country_event = {
hide_window = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_15_chain"
has_country_flag = tutorial_15_credits_achieved
@@ -1755,6 +1799,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_15_chain"
has_completed_event_chain_counter = {
@@ -1792,6 +1837,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
count_owned_ships = {
limit = { is_ship_size = corvette }
@@ -1826,6 +1872,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_16_chain"
NOT = { has_country_flag = tutorial_16_corvettes_built }
@@ -1853,6 +1900,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_16_chain"
NOT = { has_country_flag = tutorial_16_corvettes_built }
@@ -1873,6 +1921,7 @@ country_event = {
hide_window = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_16_chain"
NOT = { has_country_flag = tutorial_16_admiral_assigned }
@@ -1910,6 +1959,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_16_chain"
has_completed_event_chain_counter = {
@@ -1948,6 +1998,7 @@ planet_event = {
trigger = {
exists = owner
owner = {
+ is_ai = no
is_tutorial_level = 2
check_variable = {
which = "num_colonies"
@@ -2000,6 +2051,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
sectors < 1
check_variable = {
@@ -2032,6 +2084,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_17_chain"
sectors > 0
@@ -2066,6 +2119,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
any_sector = {
NOT = { exists = leader }
@@ -2098,6 +2152,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_18_chain"
any_sector = { exists = leader }
@@ -2129,6 +2184,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_19_chain
@@ -2156,6 +2212,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = "tutorial_19_chain"
@@ -2179,6 +2236,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_19_chain"
}
@@ -2209,6 +2267,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_20_chain
@@ -2245,6 +2304,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_20_chain"
any_owned_ship = { is_ship_size = observation_station }
@@ -2287,7 +2347,10 @@ ship_event = {
is_triggered_only = yes
trigger = {
- owner = { is_tutorial_level = 2 }
+ owner = {
+ is_ai = no
+ is_tutorial_level = 2
+ }
}
option = {
@@ -2313,6 +2376,7 @@ ship_event = {
}
}
}
+
ship_event = {
#Story5
id = tutorial.53
@@ -2337,7 +2401,10 @@ ship_event = {
is_triggered_only = yes
trigger = {
- owner = { is_tutorial_level = 2 }
+ owner = {
+ is_ai = no
+ is_tutorial_level = 2
+ }
}
immediate = { hidden_effect = { owner = { country_event = { id = story.5 days = 30 } } } }
@@ -2378,6 +2445,7 @@ ship_event = {
}
}
}
+
ship_event = {
id = tutorial.54
title = tutorial.52.name
@@ -2388,7 +2456,10 @@ ship_event = {
is_triggered_only = yes
trigger = {
- owner = { is_tutorial_level = 2 }
+ owner = {
+ is_ai = no
+ is_tutorial_level = 2
+ }
}
option = {
@@ -2441,6 +2512,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_21_chain
@@ -2524,6 +2596,7 @@ ship_event = {
custom_tooltip = tutorial_21_tooltip
}
}
+
# Start with meantime
country_event = {
id = tutorial.555
@@ -2534,6 +2607,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_21_chain
@@ -2630,6 +2704,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_21_chain"
NOT = { has_country_flag = finished_tutorial_21 }
@@ -2663,6 +2738,7 @@ ship_event = {
name = OK
}
}
+
# Finished by having a mining station on a resource before researching the required tech
country_event = {
id = tutorial.560
@@ -2673,6 +2749,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = { has_country_flag = finished_tutorial_21 }
capital_scope = {
@@ -2829,6 +2906,10 @@ country_event = {
hide_window = yes
is_triggered_only = yes
+ trigger = {
+ is_ai = no
+ }
+
immediate = {
end_event_chain = "tutorial_21b_chain"
}
@@ -2854,6 +2935,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_22_chain
@@ -2885,6 +2967,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = tutorial_22_chain
}
@@ -2911,6 +2994,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_23_chain
@@ -2942,6 +3026,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = tutorial_23_chain
}
@@ -2967,6 +3052,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = tutorial_23_chain
}
@@ -2989,8 +3075,8 @@ country_event = {
is_triggered_only = yes
trigger = {
- is_tutorial_level = 2
is_country_type = default
+ from = { is_tutorial_level = 2 }
}
immediate = {
@@ -3011,6 +3097,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
is_country_type = default
has_event_chain = tutorial_23_chain
@@ -3025,7 +3112,6 @@ country_event = {
}
}
}
- break = yes
else = { end_event_chain = tutorial_23_chain }
}
}
@@ -3047,6 +3133,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
OR = {
last_increased_tech = "tech_gene_tailoring"
@@ -3083,6 +3170,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = tutorial_24_chain
}
@@ -3128,6 +3216,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level > 0
}
@@ -3166,6 +3255,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
OR = {
last_increased_tech = tech_epigenetic_triggers
@@ -3219,6 +3309,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
NOT = {
has_event_chain = tutorial_25_chain
@@ -3247,6 +3338,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
NOT = { has_country_flag = tutorial_cleared_early_75 }
}
@@ -3269,6 +3361,7 @@ ship_event = {
trigger = {
owner = {
+ is_ai = no
is_tutorial_level = 2
has_event_chain = "tutorial_25_chain"
}
@@ -3294,6 +3387,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 0
has_country_flag = tutorial_level_picked
}
@@ -3318,6 +3412,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 1
has_country_flag = tutorial_level_picked
NOT = { has_ethic = ethic_gestalt_consciousness }
@@ -3343,6 +3438,7 @@ country_event = {
is_advisor_event = yes
trigger = {
+ is_ai = no
is_tutorial_level = 2
has_country_flag = tutorial_level_picked
NOT = { has_ethic = ethic_gestalt_consciousness }
@@ -3373,6 +3469,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
OR = {
is_tutorial_level = 0
is_tutorial_level = 1
@@ -3549,6 +3646,7 @@ country_event = {
is_triggered_only = yes
trigger = {
+ is_ai = no
is_tutorial_level < 1
NOT = { has_country_flag = tutorial_level_picked }
}
diff --git a/2.0.0/events/unrest_events.txt b/2.0.2/events/unrest_events.txt
index 4da4fd1..8974886 100755
--- a/2.0.0/events/unrest_events.txt
+++ b/2.0.2/events/unrest_events.txt
@@ -1375,7 +1375,7 @@ country_event = {
From = { save_event_target_as = rebel_country }
remove_country_flag = slave_revolt_chain_active
save_event_target_as = old_owner
- solar_system = {
+ fromfrom.solar_system = {
starbase = {
set_owner = event_target:rebel_country
}
diff --git a/2.0.0/events/utopia_megastructure_events.txt b/2.0.2/events/utopia_megastructure_events.txt
index 1f9f24e..29abb03 100755
--- a/2.0.0/events/utopia_megastructure_events.txt
+++ b/2.0.2/events/utopia_megastructure_events.txt
@@ -3562,10 +3562,10 @@ country_event = {
show_sound = event_mystic_reveal
picture = GFX_evt_colony_settlement
is_triggered_only = yes
- location = FromFromFrom
+ location = FromFromFrom.Planet
option = {
name = EXCELLENT
- set_country_flag = already_built_habitat
+ hidden_effect = { set_country_flag = already_built_habitat }
}
}
\ No newline at end of file
diff --git a/2.0.0/events/utopia_on_action_events.txt b/2.0.2/events/utopia_on_action_events.txt
index 4b58363..32bd954 100755
--- a/2.0.0/events/utopia_on_action_events.txt
+++ b/2.0.2/events/utopia_on_action_events.txt
@@ -427,6 +427,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_cyborg
+ add_ruler_trait = leader_trait_ruler_cyborg
}
}
@@ -464,6 +465,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_cyborg
+ add_ruler_trait = leader_trait_ruler_cyborg
}
}
@@ -530,6 +532,80 @@ country_event = {
}
}
+# Handle leader traits after species modification
+country_event = {
+ id = utopia.2508
+ is_triggered_only = yes
+ hide_window = yes
+
+ immediate = {
+ every_owned_leader = {
+ add_leader_traits_after_modification = yes
+ remove_leader_traits_after_modification = yes
+ }
+
+ every_pool_leader = {
+ add_leader_traits_after_modification = yes
+ remove_leader_traits_after_modification = yes
+ }
+ }
+}
+
+# New Leaders Get Erudite Trait
+country_event = {
+ id = utopia.2509
+ is_triggered_only = yes
+ hide_window = yes
+
+ trigger = {
+ from = {
+ species = {
+ has_trait = trait_erudite
+ NOR = {
+ has_trait = trait_cybernetic
+ has_trait = trait_psionic
+ has_trait = trait_latent_psionic
+ }
+ }
+ }
+ }
+
+ immediate = {
+ from = {
+ if = {
+ limit = { leader_class = admiral }
+ add_trait = leader_trait_admiral_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ break = yes
+ }
+ if = {
+ limit = { leader_class = general }
+ add_trait = leader_trait_general_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ break = yes
+ }
+ if = {
+ limit = { leader_class = governor }
+ add_trait = leader_trait_governor_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ break = yes
+ }
+ if = {
+ limit = { leader_class = scientist }
+ add_trait = leader_trait_scientist_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ break = yes
+ }
+ if = {
+ limit = { leader_class = ruler }
+ add_trait = leader_trait_ruler_erudite
+ add_ruler_trait = leader_trait_ruler_erudite
+ break = yes
+ }
+ }
+ }
+}
+
# New Leaders Get Cyborg Trait
country_event = {
id = utopia.2510
@@ -847,6 +923,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_synthetic
+ add_ruler_trait = leader_trait_ruler_synthetic
remove_trait = leader_trait_ruler_cyborg
}
}
@@ -892,6 +969,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_synthetic
+ add_ruler_trait = leader_trait_ruler_synthetic
remove_trait = leader_trait_ruler_cyborg
}
}
@@ -1130,6 +1208,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_synthetic
+ add_ruler_trait = leader_trait_ruler_synthetic
break = yes
}
}
@@ -1213,7 +1292,7 @@ country_event = {
}
country_event = { id = utopia.2602 }
}
- change_dominant_species = { species = last_created change_all = yes }
+ #change_dominant_species = { species = last_created change_all = yes }
}
option = {
@@ -1270,6 +1349,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_psionic
+ add_ruler_trait = leader_trait_ruler_psionic
break = yes
}
}
@@ -1433,6 +1513,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_psionic
+ add_ruler_trait = leader_trait_ruler_psionic
break = yes
}
}
@@ -1514,6 +1595,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_psionic
+ add_ruler_trait = leader_trait_ruler_psionic
}
}
every_pool_leader = {
@@ -1554,6 +1636,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_psionic
+ add_ruler_trait = leader_trait_ruler_psionic
}
}
}
@@ -1611,6 +1694,7 @@ country_event = {
if = {
limit = { leader_class = ruler }
add_trait = leader_trait_ruler_psionic
+ add_ruler_trait = leader_trait_ruler_psionic
break = yes
}
}
diff --git a/2.0.0/events/utopia_shroud_events.txt b/2.0.2/events/utopia_shroud_events.txt
index bf90dd5..7b49d39 100755
--- a/2.0.0/events/utopia_shroud_events.txt
+++ b/2.0.2/events/utopia_shroud_events.txt
@@ -439,8 +439,11 @@ country_event = {
create_fleet = {
name = "NAME_Psionic_Avatar"
settings = {
+ can_upgrade = no
+ can_change_composition = no
+ can_change_leader = no
+ uses_naval_capacity = no
spawn_debris = no
- is_boss = yes
}
effect = {
set_owner = root
@@ -6047,3 +6050,167 @@ country_event = {
}
}
}
+
+# Chosen One becomes ruler
+country_event = {
+ id = utopia.3400
+ title = "utopia.3400.name"
+ desc = "utopia.3400.desc"
+ picture = GFX_evt_psionics
+ show_sound = event_mystic_reveal
+
+ trigger = {
+ is_country_type = default
+ NOT = { has_country_flag = chosen_one_ruler_event }
+ OR = {
+ has_authority = auth_democratic
+ has_authority = auth_oligarchic
+ has_authority = auth_dictatorial
+ }
+ any_owned_leader = {
+ OR = {
+ has_trait = leader_trait_admiral_chosen
+ has_trait = leader_trait_general_chosen
+ has_trait = leader_trait_governor_chosen
+ has_trait = leader_trait_scientist_chosen
+ has_trait = leader_trait_ruler_chosen
+ }
+ }
+ }
+
+ mean_time_to_happen = {
+ months = 120
+ }
+
+ immediate = {
+ set_country_flag = chosen_one_ruler_event
+ random_owned_leader = {
+ limit = {
+ OR = {
+ has_trait = leader_trait_admiral_chosen
+ has_trait = leader_trait_general_chosen
+ has_trait = leader_trait_governor_chosen
+ has_trait = leader_trait_scientist_chosen
+ has_trait = leader_trait_ruler_chosen
+ }
+ }
+ save_event_target_as = chosen_one
+ species = { save_event_target_as = chosen_one_species }
+ }
+ }
+
+ option = {
+ name = "utopia.3400.a"
+ ai_chance = {
+ factor = 100
+ modifier = {
+ factor = 40
+ has_ethic = ethic_egalitarian
+ }
+ modifier = {
+ factor = 80
+ has_ethic = ethic_fanatic_egalitarian
+ }
+ }
+ custom_tooltip = reject_god_emperor
+ }
+ option = {
+ name = "utopia.3400.b"
+ ai_chance = {
+ factor = 150
+ modifier = {
+ factor = 40
+ has_ethic = ethic_authoritarian
+ }
+ modifier = {
+ factor = 80
+ has_ethic = ethic_fanatic_authoritarian
+ }
+ }
+ shift_ethic = "ethic_fanatic_authoritarian"
+ shift_ethic = "ethic_spiritualist"
+ change_government = {
+ authority = auth_imperial
+ civics = {
+ civic = civic_imperial_cult
+ civic = civic_aristocratic_elite
+ civic = civic_philosopher_king
+ }
+ }
+ set_leader = event_target:chosen_one
+ hidden_effect = {
+ every_country = {
+ limit = {
+ is_ai = no
+ NOT = { is_same_value = root }
+ has_communications = root
+ }
+ country_event = { id = utopia.3401 days = 4 }
+ }
+ country_event = { id = utopia.3402 days = 5 }
+ }
+ }
+}
+
+# Empire accepts Chosen One as ruler
+country_event = {
+ id = utopia.3401
+ title = "utopia.3401.name"
+ desc = "utopia.3401.desc"
+ picture = GFX_evt_psionics
+ show_sound = event_mystic_reveal
+
+ is_triggered_only = yes
+
+ option = {
+ name = "utopia.3401.a"
+ trigger = {
+ any_relation = {
+ AND = {
+ is_country_type = shroud
+ has_communications = root
+ }
+ }
+ }
+ }
+ option = {
+ name = "utopia.3401.b"
+ trigger = {
+ OR = {
+ has_ethic = ethic_fanatic_materialist
+ has_ethic = ethic_materialist
+ }
+ }
+ }
+ option = {
+ name = "utopia.3401.c"
+ trigger = {
+ NOR = {
+ has_ethic = ethic_fanatic_materialist
+ has_ethic = ethic_materialist
+ any_relation = {
+ AND = {
+ is_country_type = shroud
+ has_communications = root
+ }
+ }
+ }
+ }
+ }
+}
+
+# Change empire name
+country_event = {
+ id = utopia.3402
+ hide_window = yes
+
+ is_triggered_only = yes
+
+ trigger = {
+ is_ai = yes
+ }
+
+ immediate = {
+ set_name = random
+ }
+}
\ No newline at end of file
diff --git a/2.0.0/events/war_in_heaven_events.txt b/2.0.2/events/war_in_heaven_events.txt
index 292fc88..44f0ada 100755
--- a/2.0.0/events/war_in_heaven_events.txt
+++ b/2.0.2/events/war_in_heaven_events.txt
@@ -609,115 +609,41 @@ country_event = {
}
}
-# TODO [HL] [AUG-14707]: Rework for new war system
-# Victory for one side, neutral observer
-#country_event = {
-# id = war_in_heaven.5
-# title = war_in_heaven.5.name
-# desc = war_in_heaven.5.desc
-# picture = GFX_evt_fallen_empire_awakes
-# show_sound = event_alien_signal
-# location = from
-#
-# is_triggered_only = yes
-#
-# trigger = {
-# NOT = { has_country_flag = war_in_heaven_winner }
-# NOT = { has_country_flag = war_in_heaven_loser }
-# }
-#
-# option = {
-# name = war_in_heaven.5.a
-# }
-#}
-
-# TODO [HL] [AUG-14707]: Rework for new war system
-# Victory for your side, no planets awarded
-#country_event = {
-# id = war_in_heaven.6
-# title = war_in_heaven.6.name
-# desc = war_in_heaven.6.desc
-# picture = GFX_evt_fallen_empire_awakes
-# show_sound = event_alien_signal
-# location = from
-#
-# is_triggered_only = yes
-#
-# trigger = {
-# has_country_flag = war_in_heaven_winner
-# NOT = { has_country_flag = war_in_heaven_planet_was_given }
-# }
-#
-# option = {
-# name = war_in_heaven.6.a
-# }
-#}
-
-# TODO [HL] [AUG-14707]: Rework for new war system
-# Victory for your side, planets awarded
-#country_event = {
-# id = war_in_heaven.7
-# title = war_in_heaven.7.name
-# desc = war_in_heaven.7.desc
-# picture = GFX_evt_fallen_empire_awakes
-# show_sound = event_alien_signal
-# location = from
-#
-# is_triggered_only = yes
-#
-# trigger = {
-# has_country_flag = war_in_heaven_winner
-# has_country_flag = war_in_heaven_planet_was_given
-# }
-#
-# option = {
-# name = war_in_heaven.7.a
-# }
-#}
-
-# TODO [HL] [AUG-14707]: Rework for new war system
-# Victory for your side, no planets awarded
-#country_event = {
-# id = war_in_heaven.8
-# title = war_in_heaven.8.name
-# desc = war_in_heaven.8.desc
-# picture = GFX_evt_fallen_empire_awakes
-# show_sound = event_alien_signal
-# location = from
-#
-# is_triggered_only = yes
-#
-# trigger = {
-# has_country_flag = war_in_heaven_loser
-# NOT = { has_country_flag = war_in_heaven_planet_was_lost }
-# }
-#
-# option = {
-# name = war_in_heaven.8.a
-# }
-#}
-
-# TODO [HL] [AUG-14707]: Rework for new war system
-# Defeat for your side, planets lost
-#country_event = {
-# id = war_in_heaven.9
-# title = war_in_heaven.9.name
-# desc = war_in_heaven.9.desc
-# picture = GFX_evt_fallen_empire_awakes
-# show_sound = event_alien_signal
-# location = from
-#
-# is_triggered_only = yes
-#
-# trigger = {
-# has_country_flag = war_in_heaven_loser
-# has_country_flag = war_in_heaven_planet_was_lost
-# }
-#
-# option = {
-# name = war_in_heaven.9.a
-# }
-#}
+# Victory for one side
+country_event = {
+ id = war_in_heaven.5
+ title = war_in_heaven.5.name
+ desc = war_in_heaven.5.desc
+ picture = GFX_evt_fallen_empire_awakes
+ show_sound = event_alien_signal
+ location = from
+
+ is_triggered_only = yes
+
+ trigger = {
+ is_subject = no
+ }
+
+ option = {
+ name = war_in_heaven.5.a
+ }
+}
+
+# Ends in Status Quo
+country_event = {
+ id = war_in_heaven.6
+ title = war_in_heaven.6.name
+ desc = war_in_heaven.6.desc
+ picture = GFX_evt_fallen_empire_awakes
+ show_sound = event_alien_signal
+ location = from
+
+ is_triggered_only = yes
+
+ option = {
+ name = war_in_heaven.6.a
+ }
+}
# War in Heaven combatant defeated by nonaligned league
country_event = {
diff --git a/2.0.0/interface/alerts.gfx b/2.0.2/interface/alerts.gfx
index cb6816b..df82bbe 100755
--- a/2.0.0/interface/alerts.gfx
+++ b/2.0.2/interface/alerts.gfx
@@ -3,7 +3,7 @@ spriteTypes = {
spriteType = {
name = "GFX_alerticons"
texturefile = "gfx/interface/icons/alerticons.dds"
- noOfFrames = 30
+ noOfFrames = 31
alwaystransparent = yes
}
diff --git a/2.0.0/interface/ascension_perks.gfx b/2.0.2/interface/ascension_perks.gfx
index 651ddf3..1c85e9d 100755
--- a/2.0.0/interface/ascension_perks.gfx
+++ b/2.0.2/interface/ascension_perks.gfx
@@ -99,8 +99,8 @@ spriteTypes = {
}
spriteType = {
- name = "GFX_ap_reach_for_the_stars"
- texturefile = "gfx/interface/icons/ascension_perks/ap_reach_for_the_stars.dds"
+ name = "GFX_ap_grasp_the_void"
+ texturefile = "gfx/interface/icons/ascension_perks/ap_grasp_the_void.dds"
alwaystransparent = yes
}
@@ -193,4 +193,10 @@ spriteTypes = {
texturefile = "gfx/interface/icons/ascension_perks/ap_nihilistic_acquisition.dds"
alwaystransparent = yes
}
+
+ spriteType = {
+ name = "GFX_ap_transcendent_learning"
+ texturefile = "gfx/interface/icons/ascension_perks/ap_transcendent_learning.dds"
+ alwaystransparent = yes
+ }
}
diff --git a/2.0.0/interface/credits_l_simp_chinese.txt b/2.0.0/interface/credits_l_simp_chinese.txt
deleted file mode 100755
index e5e62c5..0000000
--- a/2.0.0/interface/credits_l_simp_chinese.txt
+++ /dev/null
@@ -1,608 +0,0 @@
-# 《群星:利维坦》 / 《视界信号》开发小组
---------
-##游戏总监
-Martin Anward
-
-##项目组长
-Rikard Åslund
-
-##设计
-Martin Anward
-Daniel Moregård
-
-##附加设计
-Henrik Fåhraeus
-
-##客座作家
-Alexis Kennedy (视界信号)
-
-##程序
-Daniel Eriksson
-Alexander Ivannikov
-Mehrnaz Amanat Bari
-Joakim Bennedich
-Hampus Liljekvist
-
-##内容设计
-Maximilian Olbers
-Niclas Karlsson
-Rufus Tronde
-Henrik Eklund
-Miranda van den Brink
-
-##本地化经理
-Sara Wendel-Örtqvist
-
-##用户模组调度
-Joel Hansson
-Niklas Strid
-
-##艺术调度
-Pernilla Sparrhult
-
-##艺术总监
-Fredrik Toll
-
-##2D美工
-Simon Gunnarsson
-Jonas Jakobsson
-Frida Eriksson
-
-##3D美工
-Helena Kasper
-Joacim Carlberg
-Johan Lundqvist
-
-##动画&特效
-Niklas Tammpere
-
-##艺术原画
-Ylva Ljungqvist
-
-##质保经理
-Mario Lasan
-
-##内部质保
-Aziz Faghihinejad
-Leo Larsson
-
-##社区质保
-Carsten 't Mannetje
-
-##质保测试
-Albin Wallin
-Arthur Bialecki
-Carmille Gidfors
-Daniel Sjöberg
-Jesper Norberg
-Malin Jakobsson
-Markus Grebe
-Olga Koter
-Patric Lindbergh
-Peter Skager
-Sebastian Borg
-
-##音效总监
-Björn Iversen
-
-##作曲
-Andreas Waldetoft
-
-##附加音效总监
-David Schlein-Andersen
-
-## Beta测试者
-Mark Charters
-Lukasz Damentko
-Dylan Anthony Skoda
-Cathrine Zangerl
-Michael Aaron Hoselton
-Jeroen Elfrink
-Christopher Kenneth O'Keefe
-Kamil Kowalczyk
-Erik Brian Olmstead
-Them Bo Bojesen Jensen
-Peter Deadman
-Richard Williams
-David Lockwood
-Edward Earl Chaney II
-Pablo Agustín Eralio
-Mitchell Alexander Cumming
-
-
-#派拉多克斯群星开发组
---------
-##执行副总经理 创意策划
-Johan Andersson
-
-##游戏总监
-Henrik Fåhraeus
-
-##项目组长
-Rikard Åslund
-
-##制作人
-Anna Norrevik
-
-##设计师
-Henrik Fåhraeus
-Joakim Andreasson
-Daniel Moregård
-
-##附加设计
-Johan Andersson
-
-##程序
-Daniel Eriksson
-Alexander Ivannikov
-Mehrnaz Amanat Bari
-Rikard Åslund
-Joakim Bennedich
-
-##附加程序
-Johan Lerström
-Jonas Wickerström
-Martin Anward
-Mohammed Al-Sader
-Niklas Strid
-
-##首席内容设计
-Henrik Eklund
-
-##内容设计
-Maximilian Olbers
-Niclas Karlsson
-David Ballantyne
-Rufus Tronde
-
-##艺术总监
-Fredrik Toll
-
-##2D美工
-Aline Gladh
-Simon Gunnarsson
-Jonas Jakobsson
-Jenny Holmer
-
-##艺术原画
-Erik Nilsson
-
-##封面设计
-Aline Gladh
-
-##附加2D美工
-Frida Eriksson
-Anton Hultdin
-Johan Lundqvist
-Pontus Olofsson
-Timor Khanagov
-Carlos Lundhall
-
-##3D美工
-Joakim Larsen
-Markus Krantz
-Viktor Nyström
-Magnus Nyström
-Maxemilian Roberts
-Robin Skog
-Helena Kasper
-Staffan Norling
-Marcus Persson
-Fredrik Toll
-
-##动画师
-Niklas Tammpere
-Nancy Lai
-
-##附加动画师
-Patrick Kling
-
-##内部质保
-Olga Koter
-Aziz Faghihinejad
-Leo Larsson
-Karim Muammar
-
-##质保
-Peter Skager
-Daniel Sjöberg
-Daniel Olsson
-Patric Lindbergh
-Malin Jakobsson
-Rufus Magnusson
-Carsten t'Mannetje
-
-##附加质保
-Alexander Lundström
-
-##音效总监
-Björn Iversen
-
-##编曲
-Andreas Waldetoft
-
-##配音演员
-Kola Krauze
-
-##附加音效设计
-Martin Skogehall
-
-##界面设计
-Daniel Moregård
-
-##手册
-Troy Goodfellow
-
-
-#派拉多克斯开发工作室
---------
-##执行副总经理 工作室
-Mattias Lilja
-
-##副总开发
-Thomas Johansson
-
-##执行总监
-Linda Kiby
-
-##制作人
-Anna Norrevik
-
-##总监助理/编辑/本地化经理
-Sara Wendel-Örtqvist
-
-##DLC管理
-Pernilla Sparrhult
-
-##百科创建与维护
-Magne Skjæran
-
-##技术脚本
-Niklas Strid
-Joel Hansson
-
-##技术总监
-Fredrik Zetterman
-
-##执行引擎总监
-John Wordsworth
-
-##程序管理
-Olof Björk
-
-##引擎编程
-Marcus Beausang
-John Wordsworth
-Rickard Nyberg
-
-##版本工程师
-Per Hasselström
-
-##工具编程
-Johan Yngman
-
-##3D美工管理
-Fredrik Toll
-
-##2D美工管理
-Pontus Olofsson
-
-##脚本管理
-Tobias Bodlund
-
-##质保管理
-Mario Lasan
-
-##质保
-Filippa Gannholm
-Zeke Lugmair
-Jake Leiper-Ritchie
-Jesper Norberg
-Alexander Oltner
-Emil Tisander
-
-##社区管理
-Björn Blomberg
-
-##引擎组
-John Wordsworth
-Marcus Beausang
-Per Hasselström
-Johan Yngman
-Richard Nyberg
-
-##内容设计
-Jakob Have
-Marcus Olsen
-Henrik Lohmander
-Mathilda Bjarnehed
-Camilla Isaksson
-Petter Vilberg
-
-##程序
-Henrik Hansson
-Jimmy Rönn
-Ilya Nikitin
-Igor Aleksandrowicz
-Gwenael Tranvouez
-Gustav Palmqvist
-Tomasz Kowalczyk
-Carl Carenvall
-Martin Hesselborn
-Rickard Lagerbäck
-Petter Hansson
-
-##美工
-Staffan Norling
-Mats Virtanen
-Bjarne Hallberg
-
-##设计
-Chris King
-Dan Lind
-
-##项目组长
-Anna Norrevik
-Martin Anward
-
-
-#派拉多克斯《群星》团队
---------
-##品牌管理
-Tomas Härenstam
-
-##市场
-Steven K Wells
-
-##社区
-Graham Murphy
-Björn Blomberg
-
-##销售
-Daniel Lagergren
-Fang Chen
-
-质保项目调度
-Niklas Ivarsson
-Malin Furöstam
-
-
-#派拉多克斯互动
---------
-#管理层
-
-##首席执行官
-Fredrik Wester
-
-##财务总监
-Andras Vajlok
-
-##首席运营官
-Susana Meza Graham
-
-##首席产品官
-Johan Sjöberg
-
-##首席信息官
-John Hargelid
-
-##派拉多克斯工作室经理
-Mattias Lilja
-
-##产品副总裁
-Shams Jorjani
-
-##首席市场官
-Daniela Sjunnesson
-Production Team
-
-##产品经理
-Jörgen Björklund
-
-##高级制作人
-Andreas Renström
-Florian Schwarzer
-Joe Fricano
-
-##制作人
-Staffan Berglén
-Patrick Berglind
-Kandra Dahlgren
-Robin Cederholm
-
-##制作人助理
-Angelica Uhlan
-Peter Cornelius
-Niklas Lundström
-
-
-#用户调研组
---------
-##用户调研经理
-Karl Leino
-
-##用户调研
-Tobias Viklund
-Jean-Luc Potte
-Henrik Edlund
-Johan Dorell
-
-##用户调研助理
-Anna Ström
-
-#质保团队
-
-##高级质保管理
-Artur Foxander
-
-##质保管理
-Loke Norman
-
-##质保专员
-Felix Gladitz
-Niklas Ivarsson
-Andrei Zainea
-
-##质保测试
-Pontus Anehäll
-Emil Andersson
-Bengin Bayrak
-Erik Elgerot
-Malin Furöstam
-Victor Järnberg
-Kimberly Stinson
-Daniel Teige
-
-
-#品牌管理组
---------
-##品牌经理
-Marco Behrmann
-Stefan Eld
-Tomas Härenstam
-Jakob Munthe
-
-##进度管理
-Martin Park
-
-##采编助理
-Nils Brolin
-
-#市场&销售
-
-##首席市场管理
-Daniela Sjunnesson
-
-##副市场管理
-Petra Takeva
-
-##营销创意总监
-Steven K Wells
-
-##预告&视频制作
-Marcus Herbertsson
-
-##直播制作
-Anders Carlsson
-
-##活动制作
-Veronica Gunlycke
-
-##高级社区经理
-Malin Söderberg
-
-##社区开发
-Zeke Lugmair
-
-##论坛与论坛维护管理
-Christian Arvidsson
-
-##线上营销经理
-Mats Wall
-
-##前端开发
-Alberto Blázquez
-
-##邮件营销经理
-Andreas Nyberg
-
-##用户获取经理
-Mi Ahnhem Thomsen
-
-##图像制作
-Max Collin
-Adam Skarin
-
-##销售经理
-Filip Sirc
-Fang Chen
-
-##直销开发
-Daniel Lagergren
-
-
-#技术,分析与开发
---------
-##技术总监
-Christian Westman
-
-##高级后端开发
-Anders Törlind
-
-##后端开发
-Alexander Altanis
-Mikael Berg
-
-##网络开发
-Johan Li
-
-##分析团队
-Magnus Eriksson
-Niklas Nordansjö
-
-##IT经理
-Henrik Hjelm
-
-##IT技术
-Johannes Ek
-Richard Lindkvist
-
-
-#法律
---------
-##高级法律顾问
-Juliette Auverny-Bennetot
-
-##法律顾问
-Andreas Ruthberg-Sällquist
-
-##律师助理
-Emilia Oscarsson
-
-
-#特别鸣谢
---------
-Matthijs Hoving
-
-
-#外部合作
---------
-##本地化
-西班牙语 - QLOC
-法语 - S&H Entertainment Localization
-德语 - S&H Entertainment Localization
-波兰语 - QLOC
-俄语 - The Most Games
-巴西葡萄语 - S&H Entertainment Localization
-
-##Beta测试者
-Markus Grebe
-Lukasz Damentko
-Magne Skjæran
-Kamil Kowalczyk
-Michael Aaron Hoselton
-Peter Deadman
-Dylan Anthony Skoda
-Christopher Kenneth O'Keefe
-Cathrine Zangerl
-Jeroen Elfrink
-Erik Brian Olmstead
-Them Bo Bojesen Jensen
-Tomasz Wieczorek
-Mark Charters
-Samuel Frederick Allessandro Marrello
-Isaac Lamb
-Christian Borrelli
-Fabian Schneider
-
-##配音录制工作室:
-Cineast Dub AB
-
-
---------
-
-在此特别感谢我们的论坛,粉丝们与合作伙伴们。
-没有你们就没有我们今天的成功。
-
-
-FORZA DJURGÅR'N!
diff --git a/2.0.0/interface/customize_species_editors.gui b/2.0.2/interface/customize_species_editors.gui
index 3e0a535..5433428 100755
--- a/2.0.0/interface/customize_species_editors.gui
+++ b/2.0.2/interface/customize_species_editors.gui
@@ -772,7 +772,7 @@ guiTypes = {
instantTextBoxType = {
name = "trait_points_lables"
font = "malgun_goth_24"
- position = { x = 20 y = 90 }
+ position = { x = 20 y = 70 }
maxWidth = 330
text = "POINTS_LEFT"
format = left
@@ -783,7 +783,7 @@ guiTypes = {
instantTextBoxType = {
name = "trait_points"
font = "malgun_goth_24"
- position = { x = 340 y = 90 }
+ position = { x = 340 y = 70 }
maxWidth = 30
text = "12"
format = left
@@ -794,7 +794,7 @@ guiTypes = {
instantTextBoxType = {
name = "trait_picks_lables"
font = "malgun_goth_24"
- position = { x = 20 y = 115 }
+ position = { x = 20 y = 95 }
maxWidth = 330
text = "PICKS_LEFT"
format = left
@@ -805,7 +805,7 @@ guiTypes = {
instantTextBoxType = {
name = "trait_picks"
font = "malgun_goth_24"
- position = { x = 340 y = 115 }
+ position = { x = 340 y = 95 }
maxWidth = 30
text = "12"
format = left
@@ -816,8 +816,8 @@ guiTypes = {
containerWindowType = {
name = "details"
- size = { width = 410 height = 160 }
- position = { x = 12 y = 150 }
+ size = { width = 410 height = 220 }
+ position = { x = 12 y = 130 }
background = {
name = "leader_frame"
@@ -839,7 +839,7 @@ guiTypes = {
instantTextBoxType = {
name = "trait_description"
font = "cg_16b"
- position = { x = 10 y = 40 }
+ position = { x = 10 y = 30 }
maxWidth = 395
text = ""
format = left
diff --git a/2.0.0/interface/diplomacy_artist_event_view.gui b/2.0.2/interface/diplomacy_artist_event_view.gui
index 8861cb0..8689096 100755
--- a/2.0.0/interface/diplomacy_artist_event_view.gui
+++ b/2.0.2/interface/diplomacy_artist_event_view.gui
@@ -316,7 +316,7 @@ guiTypes = {
containerWindowType = {
name = "EVENT_DIPLO"
position = { x = 0 y = 400 }
- size = { width=563 height=220 }
+ size = { width=563 height=280 }
moveable = no
instantTextBoxType={
@@ -341,9 +341,9 @@ guiTypes = {
listboxType = {
name = "option_list"
- position = { x = 500 y = 30 }
+ position = { x = 500 y = 20 }
backGround=""
- size = { x=450 y=175 }
+ size = { x=450 y=240 }
spacing = 1
scrollbartype = "standardlistbox_slider"
borderSize = { x = 0 y = 0 }
diff --git a/2.0.0/interface/diplomacy_curator_event_view.gui b/2.0.2/interface/diplomacy_curator_event_view.gui
index aacce6b..5e7706f 100755
--- a/2.0.0/interface/diplomacy_curator_event_view.gui
+++ b/2.0.2/interface/diplomacy_curator_event_view.gui
@@ -314,7 +314,7 @@ guiTypes = {
containerWindowType = {
name = "EVENT_DIPLO"
position = { x = 0 y = 400 }
- size = { width=563 height=220 }
+ size = { width=563 height=280 }
moveable = no
instantTextBoxType={
@@ -339,9 +339,9 @@ guiTypes = {
listboxType = {
name = "option_list"
- position = { x = 500 y = 30 }
+ position = { x = 500 y = 20 }
backGround=""
- size = { x=450 y=175 }
+ size = { x=450 y=240 }
spacing = 1
scrollbartype = "standardlistbox_slider"
borderSize = { x = 0 y = 0 }
diff --git a/2.0.0/interface/diplomacy_trader_event_view.gui b/2.0.2/interface/diplomacy_trader_event_view.gui
index 1097ce6..f7f4536 100755
--- a/2.0.0/interface/diplomacy_trader_event_view.gui
+++ b/2.0.2/interface/diplomacy_trader_event_view.gui
@@ -313,7 +313,7 @@ guiTypes = {
containerWindowType = {
name = "EVENT_DIPLO"
position = { x = 0 y = 400 }
- size = { width=563 height=220 }
+ size = { width=563 height=280 }
moveable = no
instantTextBoxType={
@@ -338,9 +338,9 @@ guiTypes = {
listboxType = {
name = "option_list"
- position = { x = 500 y = 30 }
+ position = { x = 500 y = 20 }
backGround=""
- size = { x=450 y=175 }
+ size = { x = 460 y = 240 }
spacing = 1
scrollbartype = "standardlistbox_slider"
borderSize = { x = 0 y = 0 }
diff --git a/2.0.0/interface/federation_view.gui b/2.0.2/interface/federation_view.gui
index 4630ec9..0563495 100755
--- a/2.0.0/interface/federation_view.gui
+++ b/2.0.2/interface/federation_view.gui
@@ -41,7 +41,7 @@ guiTypes = {
buttonType = {
name = "federation_rename_button"
spriteType = "GFX_invisible"
- position = { x = -390 y = 5 }
+ position = { x = -320 y = 5 }
size = { x = 300 y = 25 }
orientation = center_up
}
@@ -74,7 +74,7 @@ guiTypes = {
name = "leader_desc"
font = "cg_16b"
position = { x = 140 y = 65 }
- maxwidth = 330
+ maxwidth = 450
}
containerWindowType = {
@@ -479,8 +479,10 @@ guiTypes = {
name = "name"
font = "cg_16b"
maxWidth = 250
+ maxHeight = 25
position = { x = 50 y = @entry_info_height }
alwaysTransparent = yes
+ fixedSize = yes
}
instantTextBoxType={
@@ -560,7 +562,7 @@ guiTypes = {
position = { x = 305 y = @entry_info_height }
font = "cg_16b"
text = "10/10"
- maxWidth = 60
+ maxWidth = 70
maxHeight = 15
fixedSize = yes
}
diff --git a/2.0.0/interface/fleet_view.gfx b/2.0.2/interface/fleet_view.gfx
index 2ebf1d6..dfcbeba 100755
--- a/2.0.0/interface/fleet_view.gfx
+++ b/2.0.2/interface/fleet_view.gfx
@@ -1219,7 +1219,7 @@ spriteTypes = {
spriteType = {
name = "GFX_delete_template_button"
- texturefile = "gfx/interface/fleet_view/delete_template_button.dds"
+ texturefile = "gfx/interface/fleet_view/fleet_action_button_destroy_fleet_2.dds"
effectFile = "gfx/FX/buttonstate_onlydisable.lua"
noOfFrames = 3
animation = {
diff --git a/2.0.0/interface/fleet_view.gui b/2.0.2/interface/fleet_view.gui
index fcc6547..8e746b6 100755
--- a/2.0.0/interface/fleet_view.gui
+++ b/2.0.2/interface/fleet_view.gui
@@ -130,6 +130,7 @@ guiTypes = {
buttonType = {
name = "disband"
quadTextureSprite = "GFX_fleetview_destroy_fleet"
+# quadTextureSprite = "GFX_delete_template_button"
position = { x= -39 y = 2 }
Orientation = "UPPER_RIGHT"
buttonFont = "cg_16b"
@@ -346,11 +347,11 @@ guiTypes = {
buttonType = {
name = "disband"
- quadTextureSprite = "GFX_fleetview_destroy_fleet"
+ quadTextureSprite = "GFX_delete_template_button"
position = { x= -73 y = 10 }
Orientation = "UPPER_RIGHT"
buttonFont = "cg_16b"
- pdx_tooltip = "DISBAND"
+ pdx_tooltip = "FLEET_MANAGER_DELETE_TEMPLATE"
}
buttonType = {
diff --git a/2.0.0/interface/frontend.gfx b/2.0.2/interface/frontend.gfx
index a3778f3..2b14e6b 100755
--- a/2.0.0/interface/frontend.gfx
+++ b/2.0.2/interface/frontend.gfx
@@ -25,11 +25,6 @@ spriteTypes = {
texturefile = "gfx/interface/main/game_logo.dds"
}
- spriteType = {
- name = "gfx_game_logo_chinese"
- texturefile = "gfx/interface/main/game_logo_chinese.dds"
- }
-
spriteType = {
name = "GFX_white_stripe_button"
texturefile = "gfx/interface/buttons/white_stripe.dds"
diff --git a/2.0.0/interface/galaxy_view.gfx b/2.0.2/interface/galaxy_view.gfx
index f221eba..e739d24 100755
--- a/2.0.0/interface/galaxy_view.gfx
+++ b/2.0.2/interface/galaxy_view.gfx
@@ -108,6 +108,7 @@ spriteTypes = {
spriteType = {
name = "GFX_diplomacy_status_war"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
diff --git a/2.0.0/interface/galaxy_view.gui b/2.0.2/interface/galaxy_view.gui
index 949bdc2..7b7d9fd 100755
--- a/2.0.0/interface/galaxy_view.gui
+++ b/2.0.2/interface/galaxy_view.gui
@@ -302,21 +302,21 @@ guiTypes = {
containerWindowType = {
name = "detailed_diplomacy_window"
- size = { width = 285 height = 188}
- position = { x = 25 y = 360 }
+ size = { width = 285 height = 218}
+ position = { x = 25 y = 340 }
clipping = yes
iconType = {
name = "value_slot_2"
spriteType = "GFX_value_slot_2"
- position = { x = -4 y = 33 }
+ position = { x = -4 y = 32 }
alwaystransparent = yes
}
iconType = {
name = "value_slot_3"
spriteType = "GFX_value_slot_2"
- position = { x = -4 y = 150 }
+ position = { x = -4 y = 144 }
alwaystransparent = yes
}
@@ -324,7 +324,7 @@ guiTypes = {
name = "diplomatic_status"
font = "malgun_goth_24"
text = "DIPLO_STATUS"
- position = { x = 0 y = 0 }
+ position = { x = 0 y = 3 }
maxWidth = 250
maxHeight = 32
format = LEFT
@@ -332,8 +332,8 @@ guiTypes = {
smoothListboxType = {
name = "detailed_diplomacy_list"
- position = { x = 5 y = 31 }
- size = { x = 280 y = 156 }
+ position = { x = 5 y = 32 }
+ size = { x = 280 y = 184 }
scrollbarType = "standardlistbox_slider"
}
}
@@ -343,7 +343,7 @@ guiTypes = {
font = "cg_16b"
spriteType = "GFX_standard_button_142_34_button"
buttonText = "GALAXY_VIEW_EMPIRE_DIPLOMACY"
- position = { x = 155 y = 550 }
+ position = { x = 155 y = 556 }
}
}
@@ -388,8 +388,6 @@ guiTypes = {
}
}
-
-
containerWindowType = {
name = "empire_list"
position = { x=335 y=75 }
@@ -515,10 +513,10 @@ guiTypes = {
buttonType={
name = "status"
font = "cg_16b"
- spriteType = "GFX_galactic_object_button"
- #spriteType = "GFX_button_150_24"
+ #spriteType = "GFX_galactic_object_button"
+ spriteType = "GFX_button_164_24"
buttonText = "GALAXY_VIEW_EMPIRE_STATUS"
- position = { x = 656 y = 40 }
+ position = { x = 656 y = 33 }
pdx_tooltip = "GALAXY_VIEW_SORT_DIPLOMACY"
}
@@ -527,7 +525,7 @@ guiTypes = {
font = "cg_16b"
spriteType = "GFX_button_150_24"
buttonText = "RELATIVE_POWER"
- position = { x = 927 y = @sort_button_height }
+ position = { x = 823 y = @sort_button_height }
pdx_tooltip = "GALAXY_VIEW_SORT_POWER"
}
@@ -536,10 +534,19 @@ guiTypes = {
font = "cg_16b"
spriteType = "GFX_button_150_24"
buttonText = "GALAXY_VIEW_EMPIRE_ALLIANCE_FEDERATION"
- position = { x = 1080 y = @sort_button_height }
+ position = { x = 976 y = @sort_button_height }
pdx_tooltip = "GALAXY_VIEW_SORT_ALLIANCE_OR_FEDERATION"
}
+ buttonType={
+ name = "war_status"
+ font = "cg_16b"
+ spriteType = "GFX_button_95_24"
+ buttonText = "GALAXY_VIEW_EMPIRE_WAR_STATUS"
+ position = { x = 1128 y = @sort_button_height }
+ pdx_tooltip = "GALAXY_VIEW_SORT_WAR_STATUS"
+ }
+
containerWindowType = {
name = "empires_window"
@@ -627,7 +634,7 @@ guiTypes = {
OverlappingElementsBoxType = {
name = "diplomacy_icons"
position = { x = 330 y = 9 }
- size = { x = 250 y = 40 }
+ size = { x = 150 y = 40 }
format = left
spacing = 12.0
}
@@ -637,13 +644,13 @@ guiTypes = {
iconType = {
name = "power_background"
quadTextureSprite = "GFX_info_background_125"
- position = { x = 630 y = 8 }
+ position = { x = 520 y = 8 }
}
iconType = {
name = "power_icon"
quadTextureSprite = "GFX_relative_power_icon"
- position = { x = 605 y = 11 }
+ position = { x = 495 y = 11 }
}
instantTextBoxType={
@@ -651,9 +658,9 @@ guiTypes = {
font = "cg_16b"
maxWidth = 110
maxHeight = 16
- position = { x = 625 y = 15 }
+ position = { x = 526 y = 15 }
text = "Relative Power"
- format = RIGHT
+ format = center
}
# FEDERATION
@@ -661,12 +668,22 @@ guiTypes = {
instantTextBoxType={
name = "alliance_federation"
font = "cg_16b"
- position = { x = 748 y = 7 }
+ position = { x = 645 y = 7 }
maxWidth = 150
maxHeight = 30
format = center
vertical_alignment = center
}
+
+ # WAR STATUS
+
+ iconType ={
+ name ="war_status_icon"
+ quadTextureSprite = "GFX_diplomacy_status_war"
+ position = { x = 832 y = 7 }
+ scale = 0.9
+ }
+
}
containerWindowType = {
@@ -695,7 +712,7 @@ guiTypes = {
containerWindowType = {
name = "selected_empire_detailed_diplomacy_entry"
- size = { width=210 height=38 }
+ size = { width=210 height=34 }
iconType ={
name ="diplomacy_type_icon"
diff --git a/2.0.0/interface/game_setup/setup.gui b/2.0.2/interface/game_setup/setup.gui
index 305f846..da540d6 100755
--- a/2.0.0/interface/game_setup/setup.gui
+++ b/2.0.2/interface/game_setup/setup.gui
@@ -1367,27 +1367,29 @@ guiTypes = {
}
}
- # Aggressiveness
+
+ # Difficulty
containerWindowType = {
- name = "aggressiveness"
+ id = "difficulty"
+ name = "difficulty"
position = { x = 72 y = 485 }
instantTextBoxType = {
- name = "aggressiveness_label"
+ name = "difficulty_label"
position = { x = -20 y = 0 }
font = "malgun_goth_24"
maxWidth = 204
maxHeight = 52
orientation = "UPPER_LEFT"
- text = "FE_AGGRESSIVENESS"
- pdx_tooltip = "FE_AGGRESSIVENESS_TOOLTIP"
+ text = "FE_DIFFICULTY"
+ pdx_tooltip = "FE_DIFFICULTY_TOOLTIP"
tooltip_mode_enabled = yes
}
instantTextBoxType={
name = "value"
font = "malgun_goth_24"
- text = "AGGRESSIVENESS_NORMAL"
+ text = "DIFFICULTY_NORMAL"
position = { x = 790 y = 0 }
maxWidth = 220
maxHeight = 35
@@ -1396,8 +1398,8 @@ guiTypes = {
}
spinnerType = {
- id = "aggressiveness_spinner"
- name = "aggressiveness_spinner"
+ id = "galaxy_difficulty_spinner"
+ name = "galaxy_difficulty_spinner"
leftbutton = "spinner_upButton"
rightbutton = "spinner_downButton"
size = {x = 307 y = 30 }
@@ -1427,33 +1429,32 @@ guiTypes = {
size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
}
- navUp = "num_habitable_worlds_slider"
- navDown = "galaxy_difficulty_spinner"
+ navUp = "aggressiveness_spinner"
+ navDown = "galaxy_ftl_spinner"
}
}
- # Difficulty
+ # Aggressiveness
containerWindowType = {
- id = "difficulty"
- name = "difficulty"
+ name = "aggressiveness"
position = { x = 72 y = 525 }
instantTextBoxType = {
- name = "difficulty_label"
+ name = "aggressiveness_label"
position = { x = -20 y = 0 }
font = "malgun_goth_24"
maxWidth = 204
maxHeight = 52
orientation = "UPPER_LEFT"
- text = "FE_DIFFICULTY"
- pdx_tooltip = "FE_DIFFICULTY_TOOLTIP"
+ text = "FE_AGGRESSIVENESS"
+ pdx_tooltip = "FE_AGGRESSIVENESS_TOOLTIP"
tooltip_mode_enabled = yes
}
instantTextBoxType={
name = "value"
font = "malgun_goth_24"
- text = "DIFFICULTY_NORMAL"
+ text = "AGGRESSIVENESS_NORMAL"
position = { x = 790 y = 0 }
maxWidth = 220
maxHeight = 35
@@ -1462,8 +1463,8 @@ guiTypes = {
}
spinnerType = {
- id = "galaxy_difficulty_spinner"
- name = "galaxy_difficulty_spinner"
+ id = "aggressiveness_spinner"
+ name = "aggressiveness_spinner"
leftbutton = "spinner_upButton"
rightbutton = "spinner_downButton"
size = {x = 307 y = 30 }
@@ -1493,8 +1494,8 @@ guiTypes = {
size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
}
- navUp = "aggressiveness_spinner"
- navDown = "galaxy_ftl_spinner"
+ navUp = "num_habitable_worlds_slider"
+ navDown = "galaxy_difficulty_spinner"
}
}
diff --git a/2.0.0/interface/government_view.gfx b/2.0.2/interface/government_view.gfx
index 9392e7a..253759f 100755
--- a/2.0.0/interface/government_view.gfx
+++ b/2.0.2/interface/government_view.gfx
@@ -32,6 +32,11 @@ spriteTypes = {
noOfFrames = 3
}
+ spriteType = {
+ name = "GFX_piracy_risk"
+ texturefile = "gfx/interface/icons/piracy_risk.dds"
+ }
+
spriteType = {
name = "GFX_pie_chart_overlay"
texturefile = "gfx/interface/pie_chart_overlay.dds"
diff --git a/2.0.0/interface/government_view.gui b/2.0.2/interface/government_view.gui
index e49d70d..37cdd62 100755
--- a/2.0.0/interface/government_view.gui
+++ b/2.0.2/interface/government_view.gui
@@ -272,6 +272,22 @@ guiTypes = {
text_color_code = "E"
}
+ iconType = {
+ name = "ruler_skill"
+ spriteType = "GFX_leader_skill"
+ position = { x = -3 y = 71 }
+ scale = 0.90
+ frame = 5
+ }
+
+ buttonType = {
+ name = "rename_ruler"
+ spriteType = "GFX_invisible"
+ position = { x = -5 y = 35 }
+ size = { x = 335 y = 25 }
+ orientation = left
+ }
+
instantTextBoxType = {
name = "species"
position = { x = 0 y = 55 }
@@ -379,6 +395,47 @@ guiTypes = {
}
}
+ containerWindowType = {
+ name = "piracy_window"
+ size = { width = 100 height = 45 }
+ position = { x = 3 y = 495 }
+
+ background = {
+ name = "leader_frame"
+ spriteType = "GFX_tiles_dark_area_cut_8"
+ alwaysTransparent = yes
+ }
+
+ instantTextBoxType = {
+ name = "piracy_label"
+ position = { x = 5 y = 2 }
+ font = "cg_16b"
+ text = "PIRACY_LABEL"
+ maxWidth = 100
+ maxHeight = 22
+ fixedSize = yes
+ format = left
+ }
+
+ iconType = {
+ name = "piracy_icon"
+ quadTextureSprite = "GFX_piracy_risk"
+ position = { x = 10 y = 23 }
+ orientation = "UPPER_LEFT"
+ }
+
+ instantTextBoxType = {
+ name = "piracy_risk"
+ position = { x = 35 y = 23 }
+ font = "cg_16b"
+ text = "12%"
+ maxWidth = 50
+ maxHeight = 22
+ fixedSize = yes
+ format = left
+ }
+ }
+
containerWindowType = {
name = "government_spec_window"
size = { width = 250 height = 155 }
@@ -483,17 +540,33 @@ guiTypes = {
font = "cg_16b"
text = ""
maxWidth = 220
- maxHeight = 60
+ maxHeight = 20
#fixedSize = yes
format = left
#alwaysTransparent = yes
#text_color_code = "E"
}
+ buttonType = {
+ name = "rename_heir"
+ spriteType = "GFX_invisible"
+ position = { x = -5 y = 31 }
+ size = { x = 225 y = 25 }
+ orientation = left
+ }
+
+ iconType = {
+ name = "heir_skill"
+ spriteType = "GFX_leader_skill"
+ position = { x = -3 y = 51 }
+ scale = 0.90
+ frame = 5
+ }
+
overlappingElementsBoxType = {
name = "traits"
position = { x = 70 y = 0 }
- size = { x = 100 y = 32 }
+ size = { x = 150 y = 32 }
spacing = 5
format = right
}
@@ -531,7 +604,7 @@ guiTypes = {
smoothListboxType = {
name = "modifiers_list"
position = { x = -10 y = 5 }
- size = { x=248 y=220 }
+ size = { x=248 y=260 }
scrollbartype = "standardlistbox_slider"
orientation = "UPPER_LEFT"
}
diff --git a/2.0.0/interface/icons.gfx b/2.0.2/interface/icons.gfx
index f6f3ee3..73b5443 100755
--- a/2.0.0/interface/icons.gfx
+++ b/2.0.2/interface/icons.gfx
@@ -1176,6 +1176,11 @@ spriteTypes = {
texturefile = "gfx/interface/icons/ship_parts/ship_part_thruster_4.dds"
}
+ spriteType = {
+ name = "GFX_ship_part_thruster_5"
+ texturefile = "gfx/interface/icons/ship_parts/ship_part_thruster_5.dds"
+ }
+
spriteType = {
name = "GFX_ship_part_reactor_booster_1"
texturefile = "gfx/interface/icons/ship_parts/ship_part_reactor_booster_1.dds"
diff --git a/2.0.0/interface/main.gui b/2.0.2/interface/main.gui
index 48a9844..d9b1816 100755
--- a/2.0.0/interface/main.gui
+++ b/2.0.2/interface/main.gui
@@ -42,14 +42,14 @@ guiTypes = {
positionType = {
name = "maingui_lower_topbar_size"
# width less than x increase size with y
- position = { x = 1365 y = 220 }
+ position = { x = 1399 y = 220 }
}
### TOPBAR FOR MUSICPLAYER
containerWindowType = {
name = "maingui_lower_topbar"
- position = { x=-120 y=34 }
- size = { width=120 height=36 }
+ position = { x=-170 y=34 }
+ size = { width=170 height=36 }
orientation = upper_right
background = {
@@ -58,6 +58,18 @@ guiTypes = {
position = { x= 0 y = 0 }
}
+ containerWindowType = {
+ name = "topbar_bar_res"
+ size = { width = 260 height = 25 }
+ position = { x = 26 y = 6 }
+
+ background = {
+ name = "topbar_bar_03"
+ spriteType = "GFX_topbar_bar_03"
+ alwaysTransparent = yes
+ }
+ }
+
####################
# Music
####################
@@ -68,6 +80,18 @@ guiTypes = {
position = { x= -96 y = 0 }
clipping = no
+ containerWindowType = {
+ name = "topbar_bar_04"
+ size = { width = 102 height = 25 }
+ position = { x = -10 y = 6 }
+
+ background = {
+ name = "topbar_bar_03"
+ spriteType = "GFX_topbar_bar_03"
+ alwaysTransparent = yes
+ }
+ }
+
#background = {
# name = "Background"
# quadTextureSprite ="GFX_tiles_frame_light"
@@ -113,7 +137,7 @@ guiTypes = {
containerWindowType = {
name = "strategic_resources"
size = { width = 60 height = 20 }
- position = { x = 220 y = 0 }
+ position = { x = 190 y = 0 }
buttonType = {
name = "strategic_resources_hitbox"
@@ -144,7 +168,7 @@ guiTypes = {
containerWindowType = {
name = "system_cap"
size = { width = 60 height = 20 }
- position = { x = 10 y = 0 }
+ position = { x = 0 y = 0 }
buttonType = {
name = "system_cap_hitbox"
@@ -175,7 +199,7 @@ guiTypes = {
containerWindowType = {
name = "navy_size"
size = { width = 60 height = 20 }
- position = { x = 65 y = 0 }
+ position = { x = 60 y = 0 }
buttonType = {
name = "navy_size_hitbox"
@@ -206,7 +230,7 @@ guiTypes = {
containerWindowType = {
name = "starbase_capacity"
size = { width = 65 height = 20 }
- position = { x = 135 y = 0 }
+ position = { x = 130 y = 0 }
buttonType = {
name = "starbase_capacity_hitbox"
@@ -302,17 +326,6 @@ guiTypes = {
}
}
- containerWindowType = {
- name = "topbar_bar_05"
- size = { width = 212 height = 25 }
- position = { x = 941 y = 13 }
-
- background = {
- name = "topbar_bar_05"
- spriteType = "GFX_topbar_bar_03"
- }
- }
-
containerWindowType = {
name = "topbar_buttons"
size = { width = 20 height = 0 }
@@ -336,6 +349,18 @@ guiTypes = {
size = { width=200 height=200 }
Orientation = UPPER_LEFT
+ containerWindowType = {
+ name = "topbar_bar_05"
+ size = { width = 260 height = 25 }
+ position = { x = 651 y = 13 }
+
+ background = {
+ name = "topbar_bar_03"
+ spriteType = "GFX_topbar_bar_03"
+ alwaysTransparent = yes
+ }
+ }
+
iconType = {
name = "energy_icon"
spriteType = "GFX_resource_energy"
diff --git a/2.0.0/interface/mapicons.gfx b/2.0.2/interface/mapicons.gfx
index f4269f9..b172b2d 100755
--- a/2.0.0/interface/mapicons.gfx
+++ b/2.0.2/interface/mapicons.gfx
@@ -127,6 +127,7 @@ spriteTypes = {
spriteType = {
name = "GFX_has_ftl_magnet"
textureFile = "gfx/interface/icons/has_ftl_magnet.dds"
+ noOfFrames = 3
}
progressbartype = {
diff --git a/2.0.0/interface/megastructure_view.gui b/2.0.2/interface/megastructure_view.gui
index 424f771..8d14d91 100755
--- a/2.0.0/interface/megastructure_view.gui
+++ b/2.0.2/interface/megastructure_view.gui
@@ -137,19 +137,20 @@ guiTypes = {
instantTextBoxType = {
name = "production_header"
font = "cg_16b"
- position = { x = 150 y = 310 }
- maxWidth = 280
+ position = { x = 128 y = 300 }
+ maxWidth = 316
maxHeight = 30
fixedSize = yes
#alwaysTransparent = yes
text = "PRODUCTION"
- format = center
+ format = centre
}
+
gridBoxType = {
name = "production"
- position = { x = 150 y = 327 }
- size = { width = 50% height = 60 }
- slotSize = { width = 50 height = 20 }
+ position = { x = 128 y = 321 }
+ size = { width = 316 height = 30 }
+ slotSize = { width = 77 height = 20 }
max_slots_horizontal = 3
format = CENTERED_UP
}
@@ -157,18 +158,18 @@ guiTypes = {
instantTextBoxType = {
name = "maintenance_header"
font = "cg_16b"
- position = { x = -70 y = 410 }
- maxWidth = 280
+ position = { x = 380 y = 300 }
+ maxWidth = 166
maxHeight = 30
fixedSize = yes
#alwaysTransparent = yes
text = "MAINTENANCE"
- format = center
+ format = centre
}
gridBoxType = {
name = "maintenance"
- position = { x = -70 y = 427 }
- size = { width = 50% height = 60 }
+ position = { x = 390 y = 321 }
+ size = { width = 120 height = 30 }
slotSize = { width = 50 height = 20 }
max_slots_horizontal = 3
format = CENTERED_UP
@@ -182,7 +183,7 @@ guiTypes = {
instantTextBoxType = {
name = "title"
font = "malgun_goth_24"
- position = { x = 25 y = 5 }
+ position = { x = 25 y = 12 }
maxWidth = 520
maxHeight = 20
format = centre
@@ -255,18 +256,20 @@ guiTypes = {
}
containerWindowType = {
name = "megastructure_production_entry"
- #background = {
- #}
- size = { width = 50 height = 20 }
+ background = {
+ name = "planet_view_module_spaceport_orbital_entry_background"
+ spriteType = "GFX_interface_list_light"
+ }
+ size = { width = 75 height = 30 }
instantTextBoxType = {
name = "text"
font = "cg_16b"
- position = { x = -50 y = 0 }
- maxWidth = 150
- maxHeight = 20
+ position = { x = 0 y = 5 }
+ maxWidth = 75
+ maxHeight = 30
format = center
fixedSize = yes
- alwaysTransparent = no
+ alwaysTransparent = yes
text = ""
}
}
diff --git a/2.0.0/interface/mp_gamesetup.gui b/2.0.2/interface/mp_gamesetup.gui
index 3309763..e576541 100755
--- a/2.0.0/interface/mp_gamesetup.gui
+++ b/2.0.2/interface/mp_gamesetup.gui
@@ -1042,22 +1042,22 @@ guiTypes = {
}
}
- # Aggressiveness
+ # Difficulty
containerWindowType = {
- name = "aggressiveness"
+ name = "difficulty"
position = { x = 0 y = 480 }
size={ width=@SettingEntrySizeX height=@SettingEntrySizeY }
instantTextBoxType = {
- name = "aggressiveness_label"
+ name = "difficulty_label"
position = { x = 10 y = 4 }
font = "cg_16b"
maxWidth = 204
maxHeight = 52
alwaysTransparent = yes
orientation = "UPPER_LEFT"
- text = "FE_AGGRESSIVENESS"
- pdx_tooltip = "FE_AGGRESSIVENESS_TOOLTIP"
+ text = "FE_DIFFICULTY"
+ pdx_tooltip = "FE_DIFFICULTY_TOOLTIP"
}
instantTextBoxType={
@@ -1072,8 +1072,8 @@ guiTypes = {
}
spinnerType = {
- id = "aggressiveness_spinner"
- name = "aggressiveness_spinner"
+ id = "galaxy_difficulty_spinner"
+ name = "galaxy_difficulty_spinner"
leftbutton = "spinner_upButton"
rightbutton = "spinner_downButton"
size = { x = 204 y = 30 }
@@ -1097,22 +1097,22 @@ guiTypes = {
}
}
- # Difficulty
+ # Aggressiveness
containerWindowType = {
- name = "difficulty"
+ name = "aggressiveness"
position = { x = 0 y = 520 }
size={ width=@SettingEntrySizeX height=@SettingEntrySizeY }
instantTextBoxType = {
- name = "difficulty_label"
+ name = "aggressiveness_label"
position = { x = 10 y = 4 }
font = "cg_16b"
maxWidth = 204
maxHeight = 52
alwaysTransparent = yes
orientation = "UPPER_LEFT"
- text = "FE_DIFFICULTY"
- pdx_tooltip = "FE_DIFFICULTY_TOOLTIP"
+ text = "FE_AGGRESSIVENESS"
+ pdx_tooltip = "FE_AGGRESSIVENESS_TOOLTIP"
}
instantTextBoxType={
@@ -1127,8 +1127,8 @@ guiTypes = {
}
spinnerType = {
- id = "galaxy_difficulty_spinner"
- name = "galaxy_difficulty_spinner"
+ id = "aggressiveness_spinner"
+ name = "aggressiveness_spinner"
leftbutton = "spinner_upButton"
rightbutton = "spinner_downButton"
size = { x = 204 y = 30 }
diff --git a/2.0.0/interface/rename_dialog.gui b/2.0.2/interface/rename_dialog.gui
index c5dc299..f9d435f 100755
--- a/2.0.0/interface/rename_dialog.gui
+++ b/2.0.2/interface/rename_dialog.gui
@@ -1,5 +1,5 @@
guiTypes = {
- ### Rename Colony Window
+ ### Generic Rename Window
containerWindowType = {
name = "rename_dialog"
orientation = center
@@ -331,4 +331,163 @@ guiTypes = {
text = "DIALOG_AGREE_GAMEPAD_INDICATOR"
}
}
+
+ ### Rename for Ruler & Heir
+ containerWindowType = {
+ name = "rename_ruler_dialog"
+ orientation = center
+ origo = center
+ moveable = yes
+ size = { width=400 height=222 }
+ position = { x=0 y=-10 }
+
+ background = {
+ name = "background"
+ quadTextureSprite = "GFX_tile_outliner_bg"
+ position = { x = 0 y = 0 }
+ size = { x = 400 y = 200 }
+ }
+
+ iconType = {
+ name = "hex_bg"
+ spriteType = "GFX_hex_bg"
+ position = { x = -10 y = -14 }
+ alwaysTransparent = yes
+ }
+
+ iconType = {
+ name = "empire_header_line"
+ quadTextureSprite = "GFX_line"
+ position = { x = 6 y = 22 }
+ alwaysTransparent = yes
+ }
+
+ instantTextBoxType = {
+ name = "title"
+ font = "malgun_goth_24"
+ text = "RENAME_RULER_TITLE"
+ position = { x = 12 y = 7 }
+ maxWidth = 300
+ maxHeight = 40
+ fixedSize = yes
+ alwaysTransparent = yes
+ }
+
+ editBoxType = {
+ position = { x = 17 y = 45 }
+ name = "editbox"
+ instantTextBoxType = no
+ textureFile = "gfx/interface/tiles/small_tiles_dialog.dds"
+ font = "malgun_goth_24"
+ borderSize = { x=4 y=4 }
+ size = { x=370 y=40 }
+ text = " "
+ orientation = "UPPER_LEFT"
+ cursor = { x=0 y= 3}
+ }
+
+ instantTextBoxType = {
+ name = "title_male_label"
+ font = "malgun_goth_24"
+ text = "RULER_TITLE_MALE"
+ position = { x = 222 y = 90 }
+ maxWidth = 150
+ maxHeight = 20
+ fixedSize = yes
+ alwaysTransparent = yes
+ }
+
+ editBoxType = {
+ position = { x = 17 y = 85 }
+ name = "editbox_title_male"
+ instantTextBoxType = no
+ textureFile = "gfx/interface/tiles/small_tiles_dialog.dds"
+ font = "malgun_goth_24"
+ borderSize = { x=4 y=4 }
+ size = { x=200 y=40 }
+ text = ""
+ orientation = "UPPER_LEFT"
+ cursor = { x=0 y= 3}
+ }
+
+ instantTextBoxType = {
+ name = "title_female_label"
+ font = "malgun_goth_24"
+ text = "RULER_TITLE_FEMALE"
+ position = { x = 222 y = 130 }
+ maxWidth = 150
+ maxHeight = 20
+ fixedSize = yes
+ alwaysTransparent = yes
+ }
+
+ editBoxType = {
+ position = { x = 17 y = 125 }
+ name = "editbox_title_female"
+ instantTextBoxType = no
+ textureFile = "gfx/interface/tiles/small_tiles_dialog.dds"
+ font = "malgun_goth_24"
+ borderSize = { x=4 y=4 }
+ size = { x=200 y=40 }
+ text = " "
+ orientation = "UPPER_LEFT"
+ cursor = { x=0 y= 3}
+ }
+
+ buttonType = {
+ name = "RandomizeButton"
+ quadTextureSprite = "GFX_button_randomize"
+ position = { x = 340 y = 20 }
+ Orientation = "UPPER_LEFT"
+ no_clicksound = yes
+ }
+
+ buttonType =
+ {
+ name = "DeclineButton"
+ quadTextureSprite = "GFX_standard_button_142_34_button"
+ position = { x= 5 y = 160 }
+ Orientation = "UPPER_LEFT"
+ buttonText = "CANCEL"
+ buttonFont = "cg_16b"
+ clicksound = "back_click"
+ shortcut = "ESCAPE"
+ actionShortCut = "cancel"
+ }
+
+ buttonType =
+ {
+ name = "AgreeButton"
+ quadTextureSprite = "GFX_standard_button_142_34_button"
+ position = { x= 225 y = 160 }
+ Orientation = "UPPER_LEFT"
+ buttonText = "OK"
+ buttonFont = "cg_16b"
+ clicksound = "confirmation"
+ shortcut = "RETURN"
+ actionShortCut = "accept"
+ }
+
+ instantTextBoxType = {
+ name = "decline_text"
+ orientation = center_down
+ format = center
+ position = { x = -175 y = 0 }
+ maxWidth = 180
+ maxHeight = 20
+ font = "malgun_goth_24"
+ text = "DIALOG_DECLINE_GAMEPAD_INDICATOR"
+ }
+
+ instantTextBoxType = {
+ name = "agree_text"
+ orientation = center_down
+ format = center
+ position = { x = 9 y = 0 }
+ maxWidth = 180
+ maxHeight = 20
+ font = "malgun_goth_24"
+ text = "DIALOG_AGREE_GAMEPAD_INDICATOR"
+ }
+ }
}
\ No newline at end of file
diff --git a/2.0.0/interface/ship_designer.gui b/2.0.2/interface/ship_designer.gui
index 492ad35..6c11836 100755
--- a/2.0.0/interface/ship_designer.gui
+++ b/2.0.2/interface/ship_designer.gui
@@ -1349,7 +1349,7 @@ guiTypes = {
containerWindowType = {
name = "section_select_window"
position = { x = 353 y = 80 }
- size = { width = 528 height = 615 }
+ size = { width = 528 height = 630 }
moveable = yes
# Orientation = "CENTER_UP"
@@ -1389,7 +1389,7 @@ guiTypes = {
smoothListBoxType = {
name = "list"
position = { x = 12 y = 53 }
- size = { x = 840 y = 550 }
+ size = { x = 500 y = 560 }
scrollbartype = "standardlistbox_slider"
}
diff --git a/2.0.0/interface/startup_info.txt b/2.0.2/interface/startup_info.txt
index 92d0036..583dde8 100755
--- a/2.0.0/interface/startup_info.txt
+++ b/2.0.2/interface/startup_info.txt
@@ -1,4 +1,4 @@
-Stellaris has changed quite dramatically in 2.0, including a complete overhaul of the way FTL travel works. Overall, you can expect the pace of expansion to be more measured and deliberate, and you now have much greater choice over which star systems you want to control.
+Stellaris has changed quite dramatically in version 2.0, including a complete overhaul of the way FTL travel works. Overall, you can expect the pace of expansion to be more measured and deliberate, and you now have much greater choice over which star systems you want to control.
You will need to use your construction ships to build Starbases that control systems and defend your borders. Starbases can be upgraded with shipyards to construct military fleets, or turned into mighty fortresses able to defend vital choke points and strategically important systems.
@@ -12,4 +12,4 @@ We hope you are ready for the Apocalypse!
---
-Due to the size and scope of the changes, saved games from before version 2.0 will not be compatible with version 2.0. If you wish to continue your old save in version 1.9, follow the forum link below and read the thread 'How to revert Stellaris to a previous version'.
\ No newline at end of file
+Due to the size and scope of the changes, saved games from previous versions will not be compatible with version 2.0. If you wish to continue your old save in version 1.9, follow the forum link below and read the thread 'How to revert Stellaris to a previous version'.
\ No newline at end of file
diff --git a/2.0.0/interface/texticons.gfx b/2.0.2/interface/texticons.gfx
index d857a17..eb5e688 100755
--- a/2.0.0/interface/texticons.gfx
+++ b/2.0.2/interface/texticons.gfx
@@ -298,4 +298,10 @@ spriteTypes = {
name = "GFX_text_ship_stats_special"
texturefile = "gfx/interface/icons/ship_stats/special.dds"
}
+
+ spriteType = {
+ name = "GFX_text_fleet_status"
+ texturefile = "gfx/interface/outliner/outliner_upgradable_design.dds"
+ noOfFrames = 2
+ }
}
diff --git a/2.0.0/interface/topbar_traditions_view.gui b/2.0.2/interface/topbar_traditions_view.gui
index 74afccc..49aab6c 100755
--- a/2.0.0/interface/topbar_traditions_view.gui
+++ b/2.0.2/interface/topbar_traditions_view.gui
@@ -24,7 +24,7 @@ guiTypes = {
positionType = { name = "tr_expansion_courier_network" position = { x = 61 y = 125 } }
positionType = { name = "tr_expansion_reach_for_the_stars" position = { x = 201 y = 55 } }
positionType = { name = "tr_discovery_to_boldly_go" position = { x = 96 y = 55 } }
- positionType = { name = "tr_discovery_planetary_survey_corps" position = { x = 96 y = 125 } }
+ positionType = { name = "tr_discovery_databank_uplinks" position = { x = 96 y = 125 } }
positionType = { name = "tr_discovery_science_division" position = { x = 166 y = 55 } }
positionType = { name = "tr_discovery_polytechnic_education" position = { x = 166 y = 125 } }
positionType = { name = "tr_discovery_faith_in_science" position = { x = 166 y = 195 } }
diff --git a/2.0.0/interface/traditions.gfx b/2.0.2/interface/traditions.gfx
index 9f5066a..a1daa45 100755
--- a/2.0.0/interface/traditions.gfx
+++ b/2.0.2/interface/traditions.gfx
@@ -264,7 +264,7 @@ spriteTypes = {
}
spriteType = {
- name = "GFX_tr_discovery_planetary_survey_corps"
+ name = "GFX_tr_discovery_databank_uplinks"
textureFile = "gfx/interface/icons/traditions/tradition_discovery_planetary_survey_corps.dds"
}
diff --git a/2.0.0/interface/war_goals_view.gfx b/2.0.2/interface/war_goals_view.gfx
index a5cb4fa..709b30f 100755
--- a/2.0.0/interface/war_goals_view.gfx
+++ b/2.0.2/interface/war_goals_view.gfx
@@ -2,46 +2,67 @@ spriteTypes = {
spriteType = {
name = "GFX_wg_conquest"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_war_in_heaven"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_machine_uprising"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_end_threat"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
+ }
+
+ spriteType = {
+ name = "GFX_wg_end_threat_assimilators"
+ texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_end_threat_ae"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_end_threat_swarm"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_plunder"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
+ }
+
+ spriteType = {
+ name = "GFX_wg_assimilation"
+ texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_cleansing"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
name = "GFX_wg_absorption"
texturefile = "gfx/interface/icons/diplomacy/diplomacy_war.dds"
+ noOfFrames = 2
}
spriteType = {
diff --git a/2.0.0/interface/waroverview.gfx b/2.0.2/interface/waroverview.gfx
index 2873a65..572f80f 100755
--- a/2.0.0/interface/waroverview.gfx
+++ b/2.0.2/interface/waroverview.gfx
@@ -52,6 +52,7 @@ spriteTypes = {
noOfFrames = 6
effectFile = "gfx/FX/buttonstate_onlydisable.lua"
}
+
spriteType = {
name = "GFX_waroverview_icon_progress_allies"
textureFile = "gfx/interface/waroverview/waroverview_icon_progress_allies.dds"
@@ -59,6 +60,13 @@ spriteTypes = {
effectFile = "gfx/FX/buttonstate_onlydisable.lua"
}
+ spriteType = {
+ name = "GFX_waroverview_icon_enemy_surrender_progress"
+ textureFile = "gfx/interface/waroverview/waroverview_icon_enemy_surrender_progress.dds"
+ noOfFrames = 5
+ effectFile = "gfx/FX/buttonstate_onlydisable.lua"
+ }
+
progressbartype = {
name = "GFX_waroverview_war_exhaustion_stats_progressbar"
color = { 1.0 1.0 1.0 }
diff --git a/2.0.0/interface/waroverview.gui b/2.0.2/interface/waroverview.gui
index 14039d0..5e1125a 100755
--- a/2.0.0/interface/waroverview.gui
+++ b/2.0.2/interface/waroverview.gui
@@ -33,48 +33,52 @@ guiTypes = {
}
iconType ={
- name = "their_war_exhaustion_progress"
- spriteType = "GFX_waroverview_icon_progress_enemies"
- frame = 6
- centerPosition = yes
- position = { x = 18 y = -1 }
+ name ="war_status_icon"
+ quadTextureSprite = "GFX_diplomacy_status_war"
+ position = { x = 2 y = -15 }
+ scale = 0.9
alwaysTransparent = yes
}
+
iconType = {
- name = "our_war_exhaustion_progress"
- spriteType = "GFX_waroverview_icon_progress_allies"
- frame = 6
- centerPosition = yes
- position = { x = 16 y = -1 }
+ name = "enemy_flag"
+ quadTextureSprite = "GFX_empire_flag_32"
+ position = { x = 28 y = -18 }
alwaysTransparent = yes
}
iconType = {
- name = "enemy_flag"
+ name = "our_flag"
quadTextureSprite = "GFX_empire_flag_32"
- position = { x = 0 y = -18 }
+ position = { x = -28 y = -18 }
alwaysTransparent = yes
}
+ iconType = {
+ name = "their_surrender_progress"
+ spriteType = "GFX_waroverview_icon_enemy_surrender_progress"
+ frame = 3
+ centerPosition = yes
+ position = { x = 15 y = 23 }
+ }
+
instantTextBoxType = {
name = "their_war_exhaustion"
- position = { x = 18 y = 19 }
+ position = { x = 25 y = 15 }
font = "cg_16b"
maxWidth = 40
maxHeight = 20
format = center
fixedSize = yes
- alwaysTransparent = yes
}
instantTextBoxType = {
name = "our_war_exhaustion"
- position = { x = -24 y = -38 }
+ position = { x = -31 y = 15 }
font = "cg_16b"
maxWidth = 40
maxHeight = 20
format = center
fixedSize = yes
- alwaysTransparent = yes
}
}
@@ -216,7 +220,7 @@ guiTypes = {
containerWindowType = {
name = "war_exhaustion_stats"
- size = { width = 155 height = 218 }
+ size = { width = 155 height = 168 }
position = { x = 0 y = 250 }
background = {
@@ -276,7 +280,7 @@ guiTypes = {
instantTextBoxType = {
name = "war_exhaustion_details_label"
- position = { x = 7 y = 85 }
+ position = { x = 7 y = 65 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -288,7 +292,7 @@ guiTypes = {
instantTextBoxType = {
name = "passive_label"
- position = { x = 7 y = 105 }
+ position = { x = 7 y = 85 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -299,7 +303,7 @@ guiTypes = {
}
instantTextBoxType = {
name = "passive_value"
- position = { x = -40 y = 105 }
+ position = { x = -40 y = 85 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -312,7 +316,7 @@ guiTypes = {
instantTextBoxType = {
name = "ships_label"
- position = { x = 7 y = 125 }
+ position = { x = 7 y = 105 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -323,7 +327,7 @@ guiTypes = {
}
instantTextBoxType = {
name = "ships_value"
- position = { x = -40 y = 125 }
+ position = { x = -40 y = 105 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -336,7 +340,7 @@ guiTypes = {
instantTextBoxType = {
name = "armies_label"
- position = { x = 7 y = 145 }
+ position = { x = 7 y = 125 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -347,7 +351,7 @@ guiTypes = {
}
instantTextBoxType = {
name = "armies_value"
- position = { x = -40 y = 145 }
+ position = { x = -40 y = 125 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -359,19 +363,19 @@ guiTypes = {
}
instantTextBoxType = {
- name = "occupation_label"
- position = { x = 7 y = 165 } # { x = 7 y = 65 }
+ name = "static_label"
+ position = { x = 7 y = 145 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
fixedSize = yes
format = left
- text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_HEADER"
- pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_TOOLTIP"
+ text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_HEADER"
+ pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_TOOLTIP"
}
instantTextBoxType = {
- name = "occupation_value"
- position = { x = -40 y = 165 }
+ name = "static_value"
+ position = { x = -40 y = 145 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -381,21 +385,46 @@ guiTypes = {
text_color_code = "H"
alwaystransparent = yes
}
+ }
+
+ containerWindowType = {
+ name = "occupation_stats"
+ size = { width = 155 height = 48 }
+ position = { x = 0 y = 420 }
+
+ background = {
+ name = "background"
+ spriteType = "GFX_tiles_dark_area_cut_8"
+ }
+
+ iconType = {
+ name = "progressbar"
+ spriteType = "GFX_waroverview_war_exhaustion_stats_progressbar"
+ position = { x = 7 y = 14 }
+ pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_TOOLTIP"
+ }
+ iconType = {
+ name = "progressbar_marker"
+ spriteType = "GFX_waroverview_war_exhaustion_stats_progressbar_glow"
+ centerPosition = yes
+ position = { x = 7 y = 33 }
+ alwaystransparent = yes
+ }
instantTextBoxType = {
- name = "static_label"
- position = { x = 7 y = 185 }
+ name = "occupation_label"
+ position = { x = 7 y = 5 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
fixedSize = yes
format = left
- text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_HEADER"
- pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_TOOLTIP"
+ text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_HEADER"
+ pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_TOOLTIP"
}
instantTextBoxType = {
- name = "static_value"
- position = { x = -40 y = 185 }
+ name = "occupation_value"
+ position = { x = -40 y = 5 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -451,7 +480,7 @@ guiTypes = {
containerWindowType = {
name = "war_exhaustion_stats"
- size = { width = 155 height = 218 }
+ size = { width = 155 height = 168 }
position = { x = 0 y = 250 }
origo = upper_right
orientation = upper_right
@@ -513,7 +542,7 @@ guiTypes = {
instantTextBoxType = {
name = "war_exhaustion_details_label"
- position = { x = 7 y = 85 }
+ position = { x = 7 y = 65 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -525,7 +554,7 @@ guiTypes = {
instantTextBoxType = {
name = "passive_label"
- position = { x = 7 y = 105 }
+ position = { x = 7 y = 85 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -536,7 +565,7 @@ guiTypes = {
}
instantTextBoxType = {
name = "passive_value"
- position = { x = -40 y = 105 }
+ position = { x = -40 y = 85 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -549,7 +578,7 @@ guiTypes = {
instantTextBoxType = {
name = "ships_label"
- position = { x = 7 y = 125 }
+ position = { x = 7 y = 105 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -560,7 +589,7 @@ guiTypes = {
}
instantTextBoxType = {
name = "ships_value"
- position = { x = -40 y = 125 }
+ position = { x = -40 y = 105 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -573,7 +602,7 @@ guiTypes = {
instantTextBoxType = {
name = "armies_label"
- position = { x = 7 y = 145 }
+ position = { x = 7 y = 125 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
@@ -584,7 +613,7 @@ guiTypes = {
}
instantTextBoxType = {
name = "armies_value"
- position = { x = -40 y = 145 }
+ position = { x = -40 y = 125 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -596,19 +625,19 @@ guiTypes = {
}
instantTextBoxType = {
- name = "occupation_label"
- position = { x = 7 y = 165 } # { x = 7 y = 65 }
+ name = "static_label"
+ position = { x = 7 y = 145 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
fixedSize = yes
format = left
- text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_HEADER"
- pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_TOOLTIP"
+ text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_HEADER"
+ pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_TOOLTIP"
}
instantTextBoxType = {
- name = "occupation_value"
- position = { x = -40 y = 165 }
+ name = "static_value"
+ position = { x = -40 y = 145 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
@@ -618,21 +647,48 @@ guiTypes = {
text_color_code = "H"
alwaystransparent = yes
}
+ }
+
+ containerWindowType = {
+ name = "occupation_stats"
+ size = { width = 155 height = 48 }
+ position = { x = 0 y = 420 }
+ origo = upper_right
+ orientation = upper_right
+
+ background = {
+ name = "background"
+ spriteType = "GFX_tiles_dark_area_cut_8"
+ }
+
+ iconType = {
+ name = "progressbar"
+ spriteType = "GFX_waroverview_war_exhaustion_stats_progressbar"
+ position = { x = 7 y = 14 }
+ pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_TOOLTIP"
+ }
+ iconType = {
+ name = "progressbar_marker"
+ spriteType = "GFX_waroverview_war_exhaustion_stats_progressbar_glow"
+ centerPosition = yes
+ position = { x = 7 y = 33 }
+ alwaystransparent = yes
+ }
instantTextBoxType = {
- name = "static_label"
- position = { x = 7 y = 185 }
+ name = "occupation_label"
+ position = { x = 7 y = 5 }
font = "cg_16b"
maxWidth = 143
maxHeight = 30
fixedSize = yes
format = left
- text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_HEADER"
- pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_DESTRUCTION_TOOLTIP"
+ text = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_HEADER"
+ pdx_tooltip = "WAROVERVIEW_WAR_EXHAUSTION_STAT_OCCUPATION_TOOLTIP"
}
instantTextBoxType = {
- name = "static_value"
- position = { x = -40 y = 185 }
+ name = "occupation_value"
+ position = { x = -40 y = 5 }
orientation = upper_right
font = "cg_16b"
maxWidth = 35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment