diff --git a/CHANGELOG.md b/CHANGELOG.md index 514e08e3d..0a4696122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ * 修复 职业适用条件修复 - 注意士官的职业适用条件参照骑士 * 修复 职业脚本和政策脚本中的语法错误 +备注: + +* 舍弃对职业的数值修改(否则合并起来太麻烦,以后再看) + ### 2023/1/2 * 调整 所有职业的非全国的贸易额产出改为加算 diff --git a/common/on_actions/ethic_rebuild_on_actions.txt b/common/on_actions/ethic_rebuild_on_actions.txt index 453994570..d6a400fc6 100644 --- a/common/on_actions/ethic_rebuild_on_actions.txt +++ b/common/on_actions/ethic_rebuild_on_actions.txt @@ -77,7 +77,7 @@ on_yearly_pulse_country = { ethic_civic_yearly.2 ethic_civic_yearly.3 ethic_equal_gift.1 - ethic_revolution.3 + ethic_post_revolutionary.1 #education_mod.7 } } diff --git a/common/policies/ethic_rebuild_policies.txt b/common/policies/ethic_rebuild_policies.txt index 96f5dd8dd..d412f8272 100644 --- a/common/policies/ethic_rebuild_policies.txt +++ b/common/policies/ethic_rebuild_policies.txt @@ -304,7 +304,7 @@ diplomatic_stance = { } modifier = { factor = 10 - has_valid_civic = civic_independent + has_civic = civic_independent } modifier = { factor = 10 @@ -915,7 +915,7 @@ war_doctrine = { has_ethic = ethic_militarist has_ethic = ethic_fanatic_militarist has_ethic = ethic_gestalt_consciousness - has_valid_civic = civic_fanatic_purifiers + has_civic = civic_fanatic_purifiers } } @@ -940,7 +940,6 @@ war_doctrine = { NOR = { has_ai_personality = honorbound_warriors has_ai_personality = devouring_swarm - has_valid_civic = civic_sparta_spirit } } } @@ -1063,7 +1062,7 @@ war_doctrine = { has_ethic = ethic_authoritarian has_ethic = ethic_fanatic_authoritarian has_ethic = ethic_gestalt_consciousness - has_valid_civic = civic_fanatic_purifiers + has_civic = civic_fanatic_purifiers } } @@ -1093,7 +1092,7 @@ war_doctrine = { } valid = { - has_valid_civic = civic_fanatic_purifiers + has_civic = civic_fanatic_purifiers } policy_flags = {} @@ -1122,7 +1121,7 @@ war_doctrine = { } valid = { - has_valid_civic = civic_hive_devouring_swarm + has_civic = civic_hive_devouring_swarm } policy_flags = {} @@ -1152,7 +1151,7 @@ war_doctrine = { } valid = { - has_valid_civic = civic_machine_terminator + has_civic = civic_machine_terminator } policy_flags = {} @@ -1184,7 +1183,6 @@ military_service = { option = { name = "demilitarized_state" potential = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = ethic_gestalt_consciousness has_valid_civic = civic_network_of_the_mind @@ -1215,7 +1213,6 @@ military_service = { option = { name = "volunteer_military_service" potential = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = ethic_gestalt_consciousness has_valid_civic = civic_network_of_the_mind @@ -1245,7 +1242,6 @@ military_service = { limited_conscription } potential = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = ethic_gestalt_consciousness has_valid_civic = civic_network_of_the_mind @@ -1280,7 +1276,6 @@ military_service = { extensive_conscription } potential = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = ethic_gestalt_consciousness has_valid_civic = civic_network_of_the_mind @@ -1321,7 +1316,6 @@ military_service = { all_people_are_soldiers } potential = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = ethic_gestalt_consciousness has_valid_civic = civic_network_of_the_mind @@ -1349,25 +1343,6 @@ military_service = { } } } - option = { - name = "sparta_system" - policy_flags = { - sparta_system - } - potential = { - has_valid_civic = civic_sparta_spirit - } - valid = { - has_valid_civic = civic_sparta_spirit - } - modifier = { - job_commandante_per_pop = 0.04 - job_soldier_per_pop = 0.2 - } - AI_weight = { - factor = 1000 - } - } option = { name = "guarded_node" policy_flags = { @@ -1560,7 +1535,6 @@ military_service = { militia_association } potential = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = ethic_gestalt_consciousness has_valid_civic = civic_network_of_the_mind @@ -1589,7 +1563,6 @@ military_service = { military_group } potential = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = ethic_gestalt_consciousness has_valid_civic = civic_network_of_the_mind @@ -4382,9 +4355,9 @@ information_management = { has_ethic = ethic_gestalt_consciousness } NOR = { - has_valid_civic = civic_network_of_the_mind - has_valid_civic = civic_network_of_the_mind_machine - has_valid_civic = civic_network_of_the_mind_true_hive + has_civic = civic_network_of_the_mind + has_civic = civic_network_of_the_mind_machine + has_civic = civic_network_of_the_mind_true_hive } } option = { @@ -4501,9 +4474,9 @@ healthcare = { has_ethic = ethic_gestalt_consciousness } NOR = { - has_valid_civic = civic_network_of_the_mind - has_valid_civic = civic_network_of_the_mind_machine - has_valid_civic = civic_network_of_the_mind_true_hive + has_civic = civic_network_of_the_mind + has_civic = civic_network_of_the_mind_machine + has_civic = civic_network_of_the_mind_true_hive } } option = { @@ -4584,16 +4557,15 @@ education = { has_ethic = ethic_gestalt_consciousness } NOR = { - has_valid_civic = civic_network_of_the_mind - has_valid_civic = civic_network_of_the_mind_machine - has_valid_civic = civic_network_of_the_mind_true_hive + has_civic = civic_network_of_the_mind + has_civic = civic_network_of_the_mind_machine + has_civic = civic_network_of_the_mind_true_hive } } option = { name = "mixed_education" valid = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_valid_civic = civic_shared_burden } @@ -4607,7 +4579,6 @@ education = { option = { name = "private_education" valid = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_valid_civic = civic_welfare_state has_ethic = "ethic_fanatic_socialism" @@ -4618,7 +4589,6 @@ education = { } modifier = { planet_jobs_specialist_produces_mult = 0.1 - planet_jobs_ruler_produces_mult = 0.1 planet_crime_mult = 0.1 pop_ethic_capitalism_attraction_mult = 0.1 } @@ -4634,7 +4604,6 @@ education = { option = { name = "public_education" valid = { - NOT = { has_valid_civic = civic_sparta_spirit } NOR = { has_ethic = "ethic_fanatic_capitalism" has_valid_civic = civic_merchant_guilds @@ -4647,7 +4616,6 @@ education = { pop_government_ethic_attraction = 0.1 country_unity_produces_mult = 0.1 planet_crime_mult = -0.1 - pop_happiness = 0.1 pop_ethic_socialism_attraction_mult = 0.1 } AI_weight = { @@ -4659,85 +4627,6 @@ education = { } } } - option = { - name = "church_school" - valid = { - is_spiritualist = yes - } - policy_flags = { - church_school - } - modifier = { - planet_priests_produces_mult = 0.15 - planet_jobs_ruler_produces_mult = 0.1 - pop_ethic_spiritualist_attraction_mult = 0.1 - planet_pops_consumer_goods_upkeep_mult = -0.15 - pop_growth_speed = 0.05 - all_technology_research_speed = -0.05 - } - AI_weight = { - modifier = { - factor = 10 - OR = { - is_spiritualist = yes - } - } - } - } - option = { - name = "research_orientation" - valid = { - is_materialist = yes - } - policy_flags = { - research_orientation - } - modifier = { - planet_researchers_produces_mult = 0.15 - planet_jobs_specialist_produces_mult = 0.1 - country_physics_tech_research_speed = 0.10 - country_engineering_tech_research_speed = 0.10 - pop_ethic_materialist_attraction_mult = 0.1 - planet_culture_workers_produces_mult = -0.1 - planet_entertainers_produces_mult = -0.1 - pop_growth_speed_reduction = 0.03 - } - AI_weight = { - modifier = { - factor = 10 - OR = { - is_materialist = yes - } - } - } - } - option = { - name = "military_administration" - valid = { - is_militarist = yes - } - policy_flags = { - public_education - } - modifier = { - pop_government_ethic_attraction = 0.15 - planet_jobs_worker_produces_mult = 0.1 - planet_stibility_add = 10 - planet_crime_add = -35 - army_starting_experience_add = 100 - army_damage_mult = 0.2 - pop_happiness = -0.1 - pop_ethic_militarist_attraction_mult = 0.1 - } - AI_weight = { - modifier = { - factor = 10 - OR = { - is_militarist = yes - } - } - } - } } # 科研伦理 @@ -5199,9 +5088,9 @@ industrial = { } NOR = { has_ethic = ethic_gestalt_consciousness - has_valid_civic = civic_network_of_the_mind - has_valid_civic = civic_network_of_the_mind_machine - has_valid_civic = civic_network_of_the_mind_true_hive + has_civic = civic_network_of_the_mind + has_civic = civic_network_of_the_mind_machine + has_civic = civic_network_of_the_mind_true_hive } } policy_flags = { @@ -5247,12 +5136,9 @@ transportation_logistics = { has_technology = tech_hypercomms_forum has_technology = tech_hypercomms_forum_corporate } - NOT = { + NOR = { has_ethic = ethic_fanatic_militarist } - NOT = { - has_valid_civic = civic_sparta_spirit - } is_country_type = default } modifier = { @@ -5275,12 +5161,9 @@ transportation_logistics = { } valid = { has_technology = tech_space_science_4 - NOT = { + NOR = { has_ethic = ethic_fanatic_spiritualist } - NOT = { - has_valid_civic = civic_sparta_spirit - } is_country_type = default } modifier = { @@ -5675,7 +5558,6 @@ slavery = { has_valid_civic = civic_indentured_assets has_valid_civic = civic_triple_the_profit has_valid_civic = civic_ideal_slavery - has_valid_civic = civic_sparta_spirit } } policy_flags = { @@ -5705,7 +5587,6 @@ slavery = { has_ethic = ethic_fanatic_xenophobe has_valid_civic = civic_slaver_guilds has_valid_civic = civic_ideal_slavery - has_valid_civic = civic_sparta_spirit AND = { has_ethic = ethic_fanatic_capitalism OR = { @@ -5838,9 +5719,7 @@ ratio_of_slaves = { option = { potential = { has_policy_flag = slavery_allowed } valid = { - NOT = { - has_valid_civic = civic_triple_the_profit - } + NOT = { has_valid_civic = civic_triple_the_profit } } name = "slaves_40" policy_flags = { @@ -5869,7 +5748,6 @@ ratio_of_slaves = { has_valid_civic = civic_reeducated_labor has_valid_civic = civic_triple_the_profit has_valid_civic = civic_indentured_assets - has_valid_civic = civic_sparta_spirit } } name = "slaves_60" @@ -5885,10 +5763,6 @@ ratio_of_slaves = { factor = 150 has_valid_civic = civic_reeducated_labor } - modifier = { - factor = 150 - has_valid_civic = civic_sparta_spirit - } modifier = { factor = 999 has_valid_civic = civic_triple_the_profit @@ -5903,7 +5777,6 @@ ratio_of_slaves = { has_technology = tech_artificial_moral_codes has_valid_civic = civic_triple_the_profit has_valid_civic = civic_reeducated_labor - has_valid_civic = civic_sparta_spirit } } name = "slaves_75" diff --git a/common/pop_jobs/00_other_jobs.txt b/common/pop_jobs/00_other_jobs.txt index b48266098..3cdbad0f3 100644 --- a/common/pop_jobs/00_other_jobs.txt +++ b/common/pop_jobs/00_other_jobs.txt @@ -16,7 +16,8 @@ servant = { resources = { category = planet_jobs - upkeep = { # 失控女仆兼容 + # 失控女仆兼容 + upkeep = { trigger = { has_global_flag = flag_rogue_maid_mod_activated has_trait = trait_machine_maid @@ -26,13 +27,6 @@ servant = { energy = 2 } } - triggered_planet_modifier = { - potential = { - always = yes - } - planet_amenities_add = 4 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } triggered_pop_modifier = { potential = { @@ -40,6 +34,15 @@ servant = { } pop_housing_usage_add = -0.5 } + + triggered_planet_modifier = { + potential = { + always = yes + } + planet_amenities_add = 4 + mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| + } + triggered_planet_modifier = { potential = { exists = owner @@ -155,10 +158,11 @@ slave_overseer = { } unity = 1 } - # } + pop_modifier = { pop_happiness = 0.25 + pop_defense_armies_add = 2 } planet_modifier = { planet_crime_add = -20 @@ -199,7 +203,8 @@ slave_overseer = { weight = @specialist_job_weight } } -#原版 + +#苦工 slave_toiler = { category = worker is_capped_by_modifier = no @@ -278,8 +283,8 @@ slave_toiler = { # weight = @special_job_weight # } #} -# -#原版 + +#并入电网 organic_battery = { category = worker is_capped_by_modifier = no @@ -322,7 +327,8 @@ organic_battery = { weight = @special_job_weight } } -#原版 + +#牲口 livestock = { category = worker is_capped_by_modifier = no @@ -415,6 +421,8 @@ bio_trophy = { } unity = 4 } + + # 机械乌托邦 produces = { trigger = { owner = { @@ -520,7 +528,8 @@ bio_trophy = { weight = 500000 } } -#原版 + +#正在净化 purge = { category = purge is_capped_by_modifier = no @@ -550,9 +559,9 @@ purge = { } } unity = 2 - engineering_research = 2 - society_research = 2 - physics_research = 2 + engineering_research = 1 + society_research = 1 + physics_research = 1 } produces = { # regular processing trigger = { @@ -712,7 +721,8 @@ purge = { } } } -#原版 + +#正在净化 crisis_purge = { icon = purge category = purge @@ -791,23 +801,45 @@ assimilation = { category = planet_jobs upkeep = { trigger = { - is_organic_species = yes - is_lithoid = no + has_phototrophic_energy_upkeep = yes + } + energy = @living_standard_phototrophic_normal + } + upkeep = { + trigger = { + has_food_upkeep = yes + is_phototrophic = no } food = @living_standard_food_normal } upkeep = { trigger = { - is_lithoid = yes + has_food_upkeep = yes + is_phototrophic = yes + } + food = @living_standard_phototrophic_normal + } + upkeep = { + trigger = { + has_mineral_upkeep = yes + is_phototrophic = no } minerals = @living_standard_food_normal } upkeep = { trigger = { - is_robotic_species = yes + has_mineral_upkeep = yes + is_phototrophic = yes + } + minerals = @living_standard_phototrophic_normal + } + upkeep = { + trigger = { + is_robotic_or_voidspawn_species = yes } energy = @living_standard_energy_normal } + # 失控女仆兼容:机飞帝国不会同化有基因库的星球上的物种,作为补偿产出一点科研 produces = { trigger = { @@ -856,21 +888,22 @@ criminal = { } } - planet_modifier = { - planet_amenities_add = 1 - } triggered_planet_modifier = { potential = { owner = { - NOR = { - has_valid_civic = civic_criminal_heritage - has_valid_civic = civic_underworld_society - } + NOT = { is_criminal_syndicate = yes } } } - modifier = { - trade_value_add = -1 + trade_value_add = -5 + } + triggered_planet_modifier = { + potential = { + owner = { + has_valid_civic = civic_criminal_heritage + } } + trade_value_add = 1.5 + planet_jobs_worker_produces_mult = 0.01 } triggered_planet_modifier = { potential = { @@ -878,18 +911,14 @@ criminal = { has_valid_civic = civic_underworld_society } } - modifier = { - trade_value_add = 1.5 - planet_jobs_worker_produces_mult = 0.01 - } + planet_jobs_worker_produces_mult = 0.02 } triggered_planet_modifier = { potential = { owner = { - has_valid_civic = civic_criminal_heritage + has_valid_civic = civic_underworld_society } } - planet_jobs_worker_produces_mult = 0.4 planet_stability_add = 40 mult = planet.society_factor_pops } diff --git a/common/pop_jobs/01_ruler_jobs.txt b/common/pop_jobs/01_ruler_jobs.txt index 88f567bea..90cdde265 100644 --- a/common/pop_jobs/01_ruler_jobs.txt +++ b/common/pop_jobs/01_ruler_jobs.txt @@ -19,10 +19,7 @@ head_researcher = { } possible_precalc = can_fill_ruler_job possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } + ethic_is_not_enslaved = yes } resources = { @@ -30,29 +27,34 @@ head_researcher = { produces = { trigger = { exists = owner - owner = { NOT = { has_valid_civic = civic_science_knight } } + owner = { + NOT = { has_valid_civic = civic_science_knight } + } } - physics_research = 5 - engineering_research = 5 - society_research = 5 + physics_research = 6 + engineering_research = 6 + society_research = 6 } produces = { trigger = { exists = owner - owner = { has_valid_civic = civic_science_knight } + owner = { + has_valid_civic = civic_science_knight + } } - physics_research = 5 - engineering_research = 5 - society_research = 5 + physics_research = 6 + engineering_research = 6 + society_research = 6 mult = value:knight_commander_unity_output_modifier } + produces = { + unity = 2 + } produces = { trigger = { exists = owner owner = { - OR = { - has_valid_civic = civic_futuristic_art - } + has_valid_civic = civic_futuristic_art } } unity = 1 @@ -61,14 +63,20 @@ head_researcher = { trigger = { exists = owner owner = { - OR = { - has_valid_civic = civic_zhaowen_dao - } + has_valid_civic = civic_zhaowen_dao } } unity = 3 } upkeep = { + consumer_goods = @ruler_upkeep_consumer_goods_base + } + upkeep = { + trigger = { + planet = { + has_planet_flag = has_science_ministry + } + } consumer_goods = 1 } upkeep = { @@ -81,6 +89,21 @@ head_researcher = { consumer_goods = 1 } } + + overlord_resources = { + category = planet_requisitioned_research + produces = { + trigger = { + planet = { + has_planet_flag = has_science_ministry + } + } + physics_research = 3 + engineering_research = 3 + society_research = 3 + } + } + planet_modifier = { planet_jobs_physics_research_produces_mult = 0.05 planet_jobs_society_research_produces_mult = 0.05 @@ -94,13 +117,12 @@ head_researcher = { triggered_pop_modifier = { potential = { + exists = owner owner = { has_valid_civic = civic_science_knight } } - modifier = { - pop_cat_ruler_political_power = 5 - } + pop_cat_ruler_political_power = 5 } triggered_country_modifier = { potential = { @@ -114,9 +136,7 @@ head_researcher = { } } } - modifier = { - country_edict_fund_add = 5 - } + country_edict_fund_add = 5 } triggered_planet_modifier = { potential = { @@ -125,65 +145,70 @@ head_researcher = { has_origin = origin_mechanists } } - modifier = { - planet_pops_robotics_upkeep_mult = -0.05 - planet_jobs_engineering_research_produces_mult = 0.05 - } + planet_pops_robotics_upkeep_mult = -0.05 + planet_jobs_engineering_research_produces_mult = 0.05 } triggered_planet_modifier = { potential = { exists = owner owner = { - OR = { - has_valid_civic = civic_futuristic_art - } + has_valid_civic = civic_futuristic_art } } - modifier = { - planet_amenities_add = 3 - } + planet_amenities_add = 3 } triggered_planet_modifier = { potential = { exists = owner - owner = { has_valid_civic = civic_anarchism } } - modifier = { - pop_cat_specialist_happiness = -0.05 - } + pop_cat_specialist_happiness = -0.05 } triggered_planet_modifier = { potential = { - owner = { has_valid_civic = civic_science_knight } + exists = owner + owner = { + has_valid_civic = civic_science_knight + } } job_researcher_add = 2 } weight = { weight = @ruler_job_weight - modifier = { # 可控的动态权重 - factOR = value:job_weights_research_modifier|JOB|head_researcher| + modifier = { + mult = value:job_weights_research_modifier|JOB|head_researcher| + exists = owner + owner = { has_edict = dynamic_weight } + } + modifier = { + mult = value:job_weights_modifier|JOB|head_researcher|RESOURCE|unity|FACTOR|0.25| + exists = owner owner = { has_edict = dynamic_weight } } modifier = { - factOR = 0.2 + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + exists = owner + owner = { has_edict = dynamic_weight } + } + modifier = { + factor = 0.2 has_citizenship_rights = no NOT = { has_trait = trait_mechanical } } modifier = { - factOR = 2 + factor = 2 has_living_standard = { type = living_standard_academic_privilege } } modifier = { - factOR = 5 + factor = 5 has_job = head_researcher } modifier = { - factOR = 0.01 + factor = 0.01 exists = planet exists = planet.controller planet.controller = { @@ -213,18 +238,14 @@ high_priest = { } possible_precalc = can_fill_ruler_job possible = { - NOT = { has_ethic = ethic_materialist } - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } + is_materialist = no + ethic_is_not_enslaved = yes } - + resources = { category = planet_priests produces = { - unity = 5 - society_research = 2 + unity = 6 } produces = { trigger = { @@ -311,9 +332,10 @@ high_priest = { unity = 1 } upkeep = { - consumer_goods = 1 + consumer_goods = @ruler_upkeep_consumer_goods_base } } + triggered_planet_modifier = { potential = { always = yes } planet_amenities_add = 5 @@ -361,9 +383,7 @@ high_priest = { has_valid_civic = civic_spiritual_democracy } } - modifier = { - planet_amenities_add = 2 - } + planet_amenities_add = 2 } triggered_planet_modifier = { potential = { @@ -372,46 +392,43 @@ high_priest = { has_valid_civic = civic_anarchism } } - modifier = { - pop_cat_specialist_happiness = -0.05 - } + pop_cat_specialist_happiness = -0.05 } weight = { weight = @ruler_job_weight - modifier = { # 可控的动态权重 - factOR = value:job_weights_modifier|JOB|high_priest|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|high_priest|RESOURCE|unity| + exists = owner + owner = { has_edict = dynamic_weight } + } + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + exists = owner owner = { has_edict = dynamic_weight } } modifier = { - factOR = 0.1 + factor = 0.1 has_citizenship_rights = no NOT = { has_trait = trait_mechanical } } modifier = { - factOR = 1.2 + factor = 1.2 has_ethic = ethic_spiritualist } modifier = { - factOR = 0.1 + factor = 0.1 has_ethic = ethic_materialist NOT = { has_job = high_priest } } modifier = { - factOR = 5 + factor = 5 has_job = high_priest } # crisis purge modifier = { - factOR = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } @@ -434,33 +451,30 @@ politician = { } possible_precalc = can_fill_ruler_job possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } + ethic_is_not_enslaved = yes } resources = { category = planet_politicians produces = { - unity = 3 + unity = 4 } upkeep = { - consumer_goods = 1 + consumer_goods = @ruler_upkeep_consumer_goods_base } } country_modifier = { country_edict_fund_add = 5 } + triggered_planet_modifier = { potential = { always = yes } planet_amenities_add = 8 mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } + } #triggered_planet_modifier = { # potential = { - # - # owner = { NOT = { has_civic = civic_coalition_government } } + # owner = { NOT = { has_valid_civic = civic_coalition_government } } # } # species_empire_size_mult = -0.1 #} @@ -486,22 +500,16 @@ politician = { potential = { exists = owner owner = { - OR = { - has_valid_civic = civic_welfare_state - } + has_valid_civic = civic_welfare_state } } - modifier = { - planet_amenities_add = 2 - } + planet_amenities_add = 2 } triggered_planet_modifier = { potential = { exists = owner owner = { - OR = { - has_valid_civic = civic_cultural_review_department - } + has_valid_civic = civic_cultural_review_department } } modifier = { @@ -510,41 +518,39 @@ politician = { } triggered_planet_modifier = { potential = { + exists = owner owner = { has_valid_civic = civic_anarchism } } - modifier = { - pop_cat_specialist_happiness = -0.05 - } + pop_cat_specialist_happiness = -0.05 } weight = { weight = @ruler_job_weight - modifier = { # 可控的动态权重 - factOR = value:job_weights_modifier|JOB|politician|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|politician|RESOURCE|unity| + exists = owner + owner = { has_edict = dynamic_weight } + } + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + exists = owner owner = { has_edict = dynamic_weight } } modifier = { - factOR = 0.1 + factor = 0.1 has_citizenship_rights = no NOT = { has_trait = trait_mechanical } } modifier = { - factOR = 5 + factor = 5 has_job = politician } # crisis purge modifier = { - factOR = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } @@ -566,29 +572,26 @@ noble = { } possible_precalc = can_fill_ruler_job possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } + ethic_is_not_enslaved = yes } resources = { category = planet_nobles produces = { - unity = 3 + unity = 4 } upkeep = { - consumer_goods = 1 + consumer_goods = @ruler_upkeep_consumer_goods_base } } + planet_modifier = { job_slave_overseer_add = 1 } + triggered_pop_modifier = { potential = { always = yes } - modifier = { - pop_cat_ruler_political_power = 5 - } + pop_cat_ruler_political_power = 5 } triggered_planet_modifier = { @@ -597,69 +600,52 @@ noble = { has_valid_civic = civic_anarchism } } - modifier = { - pop_cat_specialist_happiness = -0.05 - } + pop_cat_specialist_happiness = -0.05 } - - - planet_modifier = { - - } - triggered_planet_modifier = { - potential = { + potential = { exists = owner - owner = { has_civic = civic_eternal_kingship } + owner = { + has_valid_civic = civic_eternal_kingship + } } planet_stability_add = 5 } triggered_country_modifier = { - potential = { + potential = { exists = owner - owner = { has_civic = civic_feudal_realm } + owner = { + has_valid_civic = civic_feudal_realm + } } country_admin_cap_add = 10 } weight = { weight = @ruler_job_weight - modifier = { # 可控的动态权重 - factOR = value:job_weights_modifier|JOB|noble|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|noble|RESOURCE|unity| + exists = owner owner = { has_edict = dynamic_weight } } modifier = { - factOR = 0.1 + factor = 0.1 has_citizenship_rights = no NOT = { has_trait = trait_mechanical } } modifier = { - factOR = 0.1 + factor = 0.1 is_egalitarian = yes NOT = { has_job = noble } } modifier = { - factOR = 5 + factor = 5 has_job = noble } # crisis purge modifier = { - factOR = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } - OR = { # contingency won't purge itself - NOT = { exists = event_target:custodian_bot } - AND = { - exists = event_target:custodian_bot - NOT = { species = { is_same_value = event_target:custodian_bot } } - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } @@ -681,51 +667,61 @@ executive = { } possible_precalc = can_fill_ruler_job possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } + ethic_is_not_enslaved = yes + } + + resources = { + category = planet_executives + produces = { + unity = 2 + } + upkeep = { + consumer_goods = @ruler_upkeep_consumer_goods_base } } + triggered_pop_modifier = { potential = { owner = { has_valid_civic = civic_triple_the_profit } } - modifier = { - pop_cat_ruler_political_power = 3 - } + pop_cat_ruler_political_power = 3 } - triggered_pop_modifier = { potential = { owner = { has_policy_flag = market_operation } } - modifier = { - pop_cat_ruler_political_power = 1 - } - } - - resources = { - category = planet_executives - produces = { - unity = 2 - } - upkeep = { - consumer_goods = 1 - } + pop_cat_ruler_political_power = 1 } - triggered_planet_modifier = { potential = { always = yes } - trade_value_mult = 0.01 - mult = planet.value:count_job|JOB|manager| + trade_value_add = 2 + mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| } country_modifier = { trade_value_mult = 0.03 - country_admin_cap_add = 12 + country_admin_cap_add = 8 + } + triggered_country_modifier = { + potential = { + exists = owner + owner = { + has_technology = tech_colonial_bureaucracy + } + } + country_admin_cap_add = 4 + } + triggered_country_modifier = { + potential = { + exists = owner + owner = { + has_technology = tech_galactic_bureaucracy + } + } + country_admin_cap_add = 4 } triggered_planet_modifier = { potential = { always = yes } @@ -738,39 +734,34 @@ executive = { has_valid_civic = civic_anarchism } } - modifier = { - pop_cat_specialist_happiness = -0.05 - } + pop_cat_specialist_happiness = -0.05 } weight = { weight = @ruler_job_weight - modifier = { # 可控的动态权重 - factOR = value:job_weights_modifier|JOB|executive|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|executive|RESOURCE|unity| + exists = owner + owner = { has_edict = dynamic_weight } + } + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + exists = owner owner = { has_edict = dynamic_weight } } modifier = { - factOR = 5 + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_trade_mult| + exists = owner + owner = { has_edict = dynamic_weight } + } + modifier = { + factor = 5 has_job = executive } # crisis purge modifier = { - factOR = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } - OR = { # contingency won't purge itself - NOT = { exists = event_target:custodian_bot } - AND = { - exists = event_target:custodian_bot - NOT = { species = { is_same_value = event_target:custodian_bot } } - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } @@ -781,6 +772,7 @@ knight_commander = { condition_string = RULER_JOB_TRIGGER building_icon = building_order_keep clothes_texture_index = 1 + can_set_priority = no possible_pre_triggers = { has_owner = yes @@ -789,7 +781,6 @@ knight_commander = { is_being_assimilated = no is_sapient = yes } - possible_precalc = can_fill_ruler_job possible = { ethic_is_not_enslaved = yes @@ -805,7 +796,9 @@ knight_commander = { produces = { trigger = { exists = owner - owner = { has_origin = origin_toxic_knights } + owner = { + has_origin = origin_toxic_knights + } } physics_research = 2 engineering_research = 2 @@ -813,8 +806,8 @@ knight_commander = { mult = value:knight_commander_research_output_modifier } upkeep = { - alloys = 1 - consumer_goods = 1 + alloys = @job_knight_commander_upkeep_alloys + consumer_goods = @job_knight_commander_upkeep_consumer_goods } } @@ -824,16 +817,20 @@ knight_commander = { } triggered_planet_modifier = { - potential = { + potential = { exists = owner - owner = { has_civic = civic_eternal_kingship } + owner = { + has_valid_civic = civic_eternal_kingship + } } planet_stability_add = 5 } triggered_country_modifier = { - potential = { + potential = { exists = owner - owner = { has_civic = civic_feudal_realm } + owner = { + has_valid_civic = civic_feudal_realm + } } country_admin_cap_add = 10 } @@ -851,15 +848,37 @@ knight_commander = { mult = value:scripted_modifier_mult|MODIFIER|knights_independent_category_produces_mult| } + triggered_planet_modifier = { + potential = { + owner = { + has_valid_civic = civic_anarchism + } + } + pop_cat_specialist_happiness = -0.05 + } + weight = { weight = @high_prio_specialist_job_weight - modifier = { # 可控的动态权重 - factOR = value:job_weights_modifier|JOB|executive|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|executive|RESOURCE|unity| owner = { has_edict = dynamic_weight } } modifier = { mult = value:job_weights_research_modifier|JOB|researcher| - owner = { has_country_flag = toxoids_7011_b } + owner = { + has_country_flag = toxoids_7011_b + has_edict = dynamic_weight + } + } + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + exists = owner + owner = { has_edict = dynamic_weight } + } + # crisis purge + modifier = { + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } diff --git a/common/pop_jobs/02_specialist_jobs.txt b/common/pop_jobs/02_specialist_jobs.txt index 2183fde0b..c30c9412b 100644 --- a/common/pop_jobs/02_specialist_jobs.txt +++ b/common/pop_jobs/02_specialist_jobs.txt @@ -191,7 +191,7 @@ merchant = { #士官 -> specialist soldier = { category = specialist - condition_string = BATTLE_THRALL_JOB_TRIGGER + condition_string = SOLDIER_JOB_TRIGGER building_icon = building_stronghold clothes_texture_index = 4 @@ -202,15 +202,9 @@ soldier = { is_being_assimilated = no is_sapient = yes } - + possible_precalc = can_fill_specialist_job possible = { - OR = { - ethic_battle_thrall_job_check_trigger = yes - AND = { - exists = owner - owner = { has_valid_civic = civic_du_contrat_social } - } - } + ethic_is_not_enslaved = yes } resources = { @@ -280,16 +274,6 @@ soldier = { } society_research = 0.25 } - triggered_pop_modifier = { - potential = { - owner = { - has_valid_civic = civic_sparta_spirit - } - } - modifier = { - pop_cat_ruler_political_power = 3 - } - } #军国主义 produces = { trigger = { diff --git a/common/pop_jobs/04_gestalt_jobs.txt b/common/pop_jobs/04_gestalt_jobs.txt index 94013465b..890fb1756 100644 --- a/common/pop_jobs/04_gestalt_jobs.txt +++ b/common/pop_jobs/04_gestalt_jobs.txt @@ -33,9 +33,7 @@ spawning_drone = { } } - modifier = { - planet_pop_assembly_organic_add = 2 - } + planet_pop_assembly_organic_add = 2 mult = value:scripted_modifier_mult|MODIFIER|pop_growth_speed_mult| } @@ -71,8 +69,8 @@ spawning_drone = { weight = { weight = @spawner_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| owner = { has_edict = dynamic_weight } } modifier = { @@ -81,16 +79,10 @@ spawning_drone = { has_modifier = planet_population_control_gestalt } } + # crisis purge modifier = { - factor = 0.01 # crisis purge - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } @@ -164,8 +156,8 @@ offspring_drone = { weight = { weight = @spawner_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| owner = { has_edict = dynamic_weight } } modifier = { @@ -174,17 +166,64 @@ offspring_drone = { has_modifier = planet_population_control_gestalt } } + # crisis purge modifier = { - factor = 0.01 # crisis purge - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } + factor = 0.01 + is_crisis_purged_ruler_check = yes + } + } +} + +cyber_drone = { + category = complex_drone + condition_string = DRONE_JOB_TRIGGER + building_icon = building_spawning_pool + icon = machine_nurse + + possible_pre_triggers = { + has_owner = yes + is_enslaved = no + is_being_purged = no + is_being_assimilated = no + is_sapient = yes + } + possible_precalc = can_fill_drone_job + possible = { can_think = yes } + + triggered_planet_modifier = { + potential = { + can_assemble_cyborg_pop = yes + can_assemble_hive_pop = yes + } + modifier = { + planet_pop_assembly_organic_add = 1.5 + } + } + + resources = { + category = planet_pop_assemblers + upkeep = { + alloys = 1 + } + } + + weight = { + weight = @spawner_drone_job_weight + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + owner = { has_edict = dynamic_weight } + } + modifier = { + factor = 0.5 # job is less useful if pop control is active, but still gives amenities + planet = { + has_modifier = planet_population_control_gestalt } } + # crisis purge + modifier = { + factor = 0.01 + is_crisis_purged_ruler_check = yes + } } possible_precalc = can_fill_drone_job possible = { can_think = yes } @@ -280,16 +319,10 @@ replicator = { weight = { weight = @spawner_drone_job_weight mult = 10 + # crisis purge modifier = { - factor = 0.01 # crisis purge - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } modifier = { # 失控女仆兼容 factor = 2 @@ -401,7 +434,7 @@ coordinator = { } modifier = { planet_stability_add = 2 - planet_jobs_produces_mult = 0.02 + planet_jobs_produces_mult = 0.01 } } triggered_planet_modifier = { @@ -439,8 +472,8 @@ coordinator = { weight = { weight = @synapse_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|coordinator|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|coordinator|RESOURCE|unity| owner = { has_edict = dynamic_weight } } modifier = { @@ -457,7 +490,7 @@ coordinator = { evaluator = { category = complex_drone condition_string = DRONE_JOB_TRIGGER - building_icon = building_machine_capital + building_icon = building_simulation_1 possible_pre_triggers = { has_owner = yes @@ -479,10 +512,31 @@ evaluator = { } } + triggered_planet_modifier = { + potential = { + exists = owner + owner = { + has_active_tradition = tr_synchronicity_integrated_preservation + } + } + modifier = { + planet_crime_no_happiness_add = -3 + } + } + + triggered_planet_modifier = { + planet_amenities_no_happiness_add = 3 + mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| + } + weight = { weight = @synapse_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|evaluator|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|evaluator|RESOURCE|unity| + owner = { has_edict = dynamic_weight } + } + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| owner = { has_edict = dynamic_weight } } } @@ -582,8 +636,12 @@ synapse_drone = { weight = { weight = @synapse_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|synapse_drone|RESOURCE|unity| + modifier = { + mult = value:job_weights_modifier|JOB|synapse_drone|RESOURCE|unity| + owner = { has_edict = dynamic_weight } + } + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| owner = { has_edict = dynamic_weight } } } @@ -615,12 +673,34 @@ brain_drone = { upkeep = { minerals = 6 } + upkeep = { + trigger = { + planet = { + has_planet_flag = has_science_ministry + } + } + minerals = 3 + } + } + + overlord_resources = { + category = planet_requisitioned_research + produces = { + trigger = { + planet = { + has_planet_flag = has_science_ministry + } + } + physics_research = 2 + engineering_research = 2 + society_research = 2 + } } weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_research_modifier|JOB|brain_drone| + modifier = { + mult = value:job_weights_research_modifier|JOB|brain_drone| owner = { has_edict = dynamic_weight } } modifier = { @@ -659,12 +739,34 @@ calculator = { upkeep = { energy = 4 } + upkeep = { + trigger = { + planet = { + has_planet_flag = has_science_ministry + } + } + energy = 2 + } + } + + overlord_resources = { + category = planet_requisitioned_research + produces = { + trigger = { + planet = { + has_planet_flag = has_science_ministry + } + } + physics_research = 2 + engineering_research = 2 + society_research = 2 + } } weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_research_modifier|JOB|calculator| + modifier = { + mult = value:job_weights_research_modifier|JOB|calculator| owner = { has_edict = dynamic_weight } } modifier = { @@ -844,8 +946,8 @@ artisan_drone = { } weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|artisan_drone|RESOURCE|consumer_goods| + modifier = { + mult = value:job_weights_modifier|JOB|artisan_drone|RESOURCE|consumer_goods| owner = { has_edict = dynamic_weight } } modifier = { @@ -968,8 +1070,8 @@ fabricator = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|fabricator|RESOURCE|alloys| + modifier = { + mult = value:job_weights_modifier|JOB|fabricator|RESOURCE|alloys| owner = { has_edict = dynamic_weight } } modifier = { @@ -1117,8 +1219,8 @@ alloy_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|alloy_drone|RESOURCE|alloys| + modifier = { + mult = value:job_weights_modifier|JOB|alloy_drone|RESOURCE|alloys| owner = { has_edict = dynamic_weight } } } @@ -1142,7 +1244,7 @@ catalytic_drone = { resources = { category = planet_metallurgists produces = { - alloys = 4 + alloys = 3 } produces = { trigger = { @@ -1243,8 +1345,8 @@ catalytic_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|catalytic_drone|RESOURCE|alloys| + modifier = { + mult = value:job_weights_modifier|JOB|catalytic_drone|RESOURCE|alloys| owner = { has_edict = dynamic_weight } } } @@ -1320,8 +1422,8 @@ chemist_drone = { } weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|chemist_drone|RESOURCE|volatile_motes| + modifier = { + mult = value:job_weights_modifier|JOB|chemist_drone|RESOURCE|volatile_motes| owner = { has_edict = dynamic_weight } } modifier = { @@ -1404,8 +1506,8 @@ translucer_drone = { } weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|translucer_drone|RESOURCE|rare_crystals| + modifier = { + mult = value:job_weights_modifier|JOB|translucer_drone|RESOURCE|rare_crystals| owner = { has_edict = dynamic_weight } } modifier = { @@ -1488,8 +1590,8 @@ gas_refiner_drone = { } weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|gas_refiner_drone|RESOURCE|exotic_gases| + modifier = { + mult = value:job_weights_modifier|JOB|gas_refiner_drone|RESOURCE|exotic_gases| owner = { has_edict = dynamic_weight } } modifier = { @@ -1534,8 +1636,8 @@ patrol_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|patrol_drone|RESOURCE|unity|FACTOR|0.25| + modifier = { + mult = value:job_weights_modifier|JOB|patrol_drone|RESOURCE|unity|FACTOR|0.25| owner = { has_edict = dynamic_weight } } modifier = { @@ -1603,8 +1705,8 @@ crystal_mining_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|crystal_mining_drone|RESOURCE|rare_crystals| + modifier = { + mult = value:job_weights_modifier|JOB|crystal_mining_drone|RESOURCE|rare_crystals| owner = { has_edict = dynamic_weight } } modifier = { @@ -1644,8 +1746,8 @@ mote_harvesting_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|mote_harvesting_drone|RESOURCE|volatile_motes| + modifier = { + mult = value:job_weights_modifier|JOB|mote_harvesting_drone|RESOURCE|volatile_motes| owner = { has_edict = dynamic_weight } } modifier = { @@ -1685,8 +1787,8 @@ gas_extraction_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|gas_extraction_drone|RESOURCE|exotic_gases| + modifier = { + mult = value:job_weights_modifier|JOB|gas_extraction_drone|RESOURCE|exotic_gases| owner = { has_edict = dynamic_weight } } modifier = { @@ -1716,7 +1818,7 @@ mining_drone = { resources = { category = planet_miners produces = { - minerals = 6 + minerals = 4 } produces = { trigger = { @@ -1785,8 +1887,8 @@ mining_drone = { weight = { weight = @simple_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|mining_drone|RESOURCE|minerals| + modifier = { + mult = value:job_weights_modifier|JOB|mining_drone|RESOURCE|minerals| owner = { has_edict = dynamic_weight } } modifier = { @@ -1829,7 +1931,7 @@ agri_drone = { resources = { category = planet_farmers produces = { - food = 8 + food = 6 } produces = { trigger = { @@ -1918,8 +2020,8 @@ agri_drone = { weight = { weight = @simple_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|agri_drone|RESOURCE|food| + modifier = { + mult = value:job_weights_modifier|JOB|agri_drone|RESOURCE|food| owner = { has_edict = dynamic_weight } } modifier = { @@ -1982,7 +2084,7 @@ technician_drone = { resources = { category = planet_technician produces = { - energy = 8 + energy = 6 } produces = { trigger = { @@ -1991,7 +2093,7 @@ technician_drone = { is_robot_empire = yes } } - energy = 4 + energy = 2 } produces = { trigger = { @@ -2060,8 +2162,8 @@ technician_drone = { } weight = { weight = @simple_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|technician_drone|RESOURCE|energy| + modifier = { + mult = value:job_weights_modifier|JOB|technician_drone|RESOURCE|energy| owner = { has_edict = dynamic_weight } } modifier = { @@ -2121,12 +2223,22 @@ maintenance_drone = { planet_amenities_no_happiness_add = 4 mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| } + planet_modifier = { - planet_crime_no_happiness_add = -4 - planet_stability_add = 1 - planet_jobs_produces_mult = 0.02 + planet_jobs_produces_mult = 0.01 + } + country_modifier = { + pop_amenities_usage_mult = -0.01 } + triggered_planet_modifier = { + potential = { + owner = { has_active_tradition = tr_versatility_finish } + } + planet_amenities_no_happiness_add = 2 + mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| + } + triggered_planet_modifier = { potential = { exists = planet.orbital_defence @@ -2140,18 +2252,19 @@ maintenance_drone = { planet_amenities_no_happiness_add = 1 mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| } + + # 失控女仆兼容 triggered_planet_modifier = { potential = { owner = { has_valid_civic = civic_machine_paradise_lost - NOT = { has_global_flag = flag_rogue_maid_mod_activated } # 失控女仆兼容 + NOT = { has_global_flag = flag_rogue_maid_mod_activated } } } modifier = { pop_happiness = 0.01 } } - # 失控女仆兼容 triggered_planet_modifier = { potential = { has_global_flag = flag_rogue_maid_mod_activated @@ -2164,15 +2277,16 @@ maintenance_drone = { weight = { weight = @maintenance_drone_job - modifier = { # 可控的动态权重 - factor = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + modifier = { + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| owner = { has_edict = dynamic_weight } } modifier = { - mult = 0.25 + mult = value:job_weights_modifier|JOB|maintenance_drone|RESOURCE|unity|FACTOR|0.25| exists = owner owner = { has_valid_civic = civic_machine_maintenance_protocols + has_edict = dynamic_weight } } modifier = { @@ -2355,6 +2469,7 @@ warrior_drone = { } } } + #原版 bluelotus_drone = { category = complex_drone @@ -2375,38 +2490,46 @@ bluelotus_drone = { resources = { category = planet_metallurgists produces = { - alloys = 5 + alloys = 4 } upkeep = { trigger = { - is_organic_species = yes + has_food_upkeep = yes is_phototrophic = no - is_lithoid = no } food = @living_standard_food_normal } upkeep = { trigger = { - has_phototrophic_energy_upkeep = yes + has_food_upkeep = yes + is_phototrophic = yes } - energy = @living_standard_phototrophic_normal + food = @living_standard_phototrophic_normal } upkeep = { trigger = { + has_mineral_upkeep = yes + is_phototrophic = no + } + minerals = @living_standard_food_normal + } + upkeep = { + trigger = { + has_mineral_upkeep = yes is_phototrophic = yes } - food = @living_standard_phototrophic_normal + minerals = @living_standard_phototrophic_normal } upkeep = { trigger = { - is_lithoid = yes + has_phototrophic_energy_upkeep = yes } - minerals = @living_standard_food_normal + energy = @living_standard_phototrophic_normal } upkeep = { trigger = { - is_robotic_species = yes + is_robotic_or_voidspawn_species = yes } energy = @living_standard_energy_normal } @@ -2414,8 +2537,8 @@ bluelotus_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|bluelotus_drone|RESOURCE|alloys| + modifier = { + mult = value:job_weights_modifier|JOB|bluelotus_drone|RESOURCE|alloys| owner = { has_edict = dynamic_weight } } } @@ -2436,27 +2559,28 @@ chronicle_drone = { possible = { can_think = yes } resources = { - category = planet_administrators + category = planet_evaluators produces = { unity = 4 - society_research = 2 } upkeep = { - trigger = { is_robotic_species = yes } + trigger = { + is_robotic_or_voidspawn_species = yes + } minerals = 1 energy = 2 } upkeep = { trigger = { - is_organic_species = yes + has_food_upkeep = yes is_phototrophic = no - is_lithoid = no } energy = 1 food = 2 } upkeep = { trigger = { + has_food_upkeep = yes is_phototrophic = yes } energy = 1 @@ -2470,7 +2594,7 @@ chronicle_drone = { } upkeep = { trigger = { - is_lithoid = yes + has_mineral_upkeep = yes } energy = 1 minerals = 2 @@ -2478,14 +2602,23 @@ chronicle_drone = { } planet_modifier = { - planet_stability_add = 2 + planet_stability_add = 2.5 } triggered_planet_modifier = { potential = { - always = yes + exists = owner + owner = { + has_active_tradition = tr_synchronicity_integrated_preservation + } } - planet_amenities_no_happiness_add = 2 + modifier = { + planet_crime_no_happiness_add = -3 + } + } + + triggered_planet_modifier = { + planet_amenities_no_happiness_add = 3 mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| } @@ -2498,20 +2631,18 @@ chronicle_drone = { weight = { weight = @complex_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_multiple_resources_modifier|JOB|chronicle_drone|RESOURCE1|unity|WEIGHT1|0.7|RESOURCE2|society_research|WEIGHT2|0.3| + modifier = { + mult = value:job_weights_multiple_resources_modifier|JOB|chronicle_drone|RESOURCE1|unity|WEIGHT1|0.7|RESOURCE2|society_research|WEIGHT2|0.3| owner = { has_edict = dynamic_weight } } modifier = { - factor = 0.01 # crisis purge - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } + mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| + owner = { has_edict = dynamic_weight } + } + # crisis purge + modifier = { + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } @@ -2534,10 +2665,12 @@ scrap_miner_drone = { resources = { category = planet_miners produces = { - minerals = 3 - alloys = 2 + minerals = 2 + alloys = 1 } - produces = { # 失控女仆兼容 + + # 失控女仆兼容 + produces = { trigger = { has_global_flag = flag_rogue_maid_mod_activated owner = { is_machine_empire = yes } @@ -2559,8 +2692,8 @@ scrap_miner_drone = { weight = { weight = @simple_drone_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_multiple_resources_modifier|JOB|scrap_miner_drone|RESOURCE1|minerals|WEIGHT1|0.7|RESOURCE2|alloys|WEIGHT2|0.3| + modifier = { + mult = value:job_weights_multiple_resources_modifier|JOB|scrap_miner_drone|RESOURCE1|minerals|WEIGHT1|0.7|RESOURCE2|alloys|WEIGHT2|0.3| owner = { has_edict = dynamic_weight } } modifier = { @@ -2631,16 +2764,10 @@ bath_attendant_hive = { has_modifier = planet_population_control_gestalt } } + # crisis purge modifier = { - factor = 0.01 # crisis purge - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } @@ -2674,16 +2801,10 @@ bath_attendant_machine = { weight = { weight = @spawner_drone_job_weight + # crisis purge modifier = { - factor = 0.01 # crisis purge - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } + factor = 0.01 + is_crisis_purged_ruler_check = yes } } } diff --git a/common/pop_jobs/10_rebels_jobs.txt b/common/pop_jobs/10_rebels_jobs.txt index fcb459389..450cff123 100644 --- a/common/pop_jobs/10_rebels_jobs.txt +++ b/common/pop_jobs/10_rebels_jobs.txt @@ -1,5 +1,5 @@ ################### -# Primitive Jobs +# Rebel Jobs ################### #游击队 @@ -16,7 +16,6 @@ guerrilla = { has_owner = yes is_sapient = yes } - possible = { # check that this is not a robot in servitude NOT = { @@ -32,11 +31,17 @@ guerrilla = { resources = { category = planet_guerrilla + upkeep = { + energy = 1.5 + minerals = 1 + food = 1.5 + unity = 1 + } upkeep = { trigger = { exists = owner owner = { - any_owned_planet = { NOT = { has_building = building_guerrilla_stronghold_large } } + any_owned_planet = { has_building = building_guerrilla_stronghold } } } energy = 3 @@ -89,12 +94,12 @@ guerrilla = { } planet_modifier = { - planet_stability_add = -1 + planet_stability_add = -2 planet_crime_add = 5 } - + weight = { - weight = @criminal_job_weight + weight = @rebel_job_weight } } @@ -112,7 +117,6 @@ guerrilla_leader = { has_owner = yes is_sapient = yes } - possible = { # check that this is not a robot in servitude NOT = { @@ -128,6 +132,11 @@ guerrilla_leader = { resources = { category = planet_guerrilla + upkeep = { + alloys = 1 + consumer_goods = 1.5 + unity = 1 + } upkeep = { trigger = { exists = owner @@ -167,15 +176,14 @@ guerrilla_leader = { } planet_modifier = { - planet_stability_add = -2 + planet_stability_add = -4 } - country_modifier = { country_naval_cap_add = -5 } weight = { - weight = @criminal_job_weight + weight = @rebel_job_weight } } @@ -193,7 +201,6 @@ liaison_officer = { has_owner = yes is_sapient = yes } - possible = { # check that this is not a robot in servitude NOT = { @@ -209,6 +216,12 @@ liaison_officer = { resources = { category = planet_guerrilla + upkeep = { + engineering_research = 1.5 + physics_research = 1.5 + society_research = 1.5 + unity = 1 + } upkeep = { trigger = { exists = owner @@ -226,14 +239,14 @@ liaison_officer = { } planet_modifier = { - planet_stability_add = -1 + planet_stability_add = -2 } country_modifier = { country_admin_cap_add = -2 } - + weight = { - weight = @criminal_job_weight + weight = @rebel_job_weight } } \ No newline at end of file diff --git a/common/pop_jobs/ethic_rebuild_jobs.txt b/common/pop_jobs/ethic_rebuild_jobs.txt deleted file mode 100644 index 8b20a9dd9..000000000 --- a/common/pop_jobs/ethic_rebuild_jobs.txt +++ /dev/null @@ -1,6325 +0,0 @@ -################### -# 劳工 -################### -#孝子 -professional_star_fans = { - category = worker - condition_string = WORKER_JOB_TRIGGER - building_icon = building_residence - clothes_texture_index = 2 - icon = clerk - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_worker_job - - resources = { - category = planet_clerk - upkeep = { - consumer_goods = 1 - } - } - triggered_pop_modifier = { - potential = { always = yes } - pop_happiness = 0.1 - mult = planet.value:count_job|JOB|entertainer| - } - planet_modifier = { - pop_cat_worker_happiness = -0.02 - } - triggered_planet_modifier = { - potential = { always = yes } - trade_value_add = 1 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - - triggered_planet_modifier = { - potential = { always = yes } - trade_value_add = 1 - mult = planet.value:count_job|JOB|entertainer| - } - - weight = { - weight = 100 - } -} - -#剩余价值 -surplus_value = { - category = worker - is_capped_by_modifier = no - clothes_texture_index = 2 - - possible_pre_triggers = { - is_enslaved = yes - } - possible = { - exists = owner - owner = { - has_civic = civic_machine_financial_investment - } - has_citizenship_type = { - type = citizenship_slavery - } - } - - resources = { - category = planet_jobs - produces = { - energy = 3 - minerals = 3 - food = 0.5 - } - } - pop_modifier = { - pop_housing_usage_add = -0.25 - } - - weight = { - weight = @special_job_weight - } -} - -#角斗士 -gladiator = { - category = worker - condition_string = WORKER_JOB_TRIGGER - building_icon = building_colliseum - clothes_texture_index = 3 - - possible_pre_triggers = { - has_owner = yes - is_enslaved = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - owner = { - is_gestalt = no - } - } - - resources = { - category = planet_entertainers - upkeep = { - alloys = 0.25 - } - } - pop_modifier = { - pop_defense_armies_add = 1 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 10 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - country_modifier = { - country_naval_cap_add = 1 - } - - weight = { - weight = @specialist_job_weight - modifier = { # 可控的动态权重 - factor = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 1.5 - has_citizenship_rights = no - } - modifier = { - factor = 10 - is_enslaved = yes - has_slavery_type = { - type = slavery_military - } - } - modifier = { - factor = 3 - has_trait = trait_robot_domestic_protocols - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - } - modifier = { - factor = 1.20 - has_ethic = ethic_militarist - } - modifier = { - factor = 1.5 - has_job = gladiator - } - modifier = { - factor = 0.5 - NOT = { has_job = gladiator } - exists = planet - planet = { - free_amenities > 5 - } - } - } -} - -#劳动英雄 -labour_hero = { - category = worker - condition_string = WORKER_JOB_TRIGGER - building_icon = building_power_plant - clothes_texture_index = 2 - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_enslaved = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_worker_job #specialist_job - possible = { - is_non_sapient_robot = no - is_shackled_robot = no - } - - resources = { - category = planet_miners - produces = { - energy = 3 - minerals = 2 - food = 3 - unity = 1 - } - produces = { - trigger = { - owner = { - is_lithoid = yes - } - } - food = -3 - minerals = 2 - unity = 1 - } - produces = { - trigger = { - owner = { - has_policy_flag = economic_stance_planned - } - } - energy = -3 - minerals = -2 - food = -3 - alloys = 3 - consumer_goods = 2 - unity = 1 - } - planet_modifier = { - pop_environment_tolerance = -0.025 - trade_value_add = 2 - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_efficiency - } - } - modifier = { - energy = -1 - minerals = -1 - food = -1 - pop_environment_tolerance = 0.005 - trade_value_add = -1 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_growth - } - } - modifier = { - energy = 0.5 - minerals = 0.5 - food = 0.5 - pop_environment_tolerance = -0.01 - trade_value_add = 1.5 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_growth - } - } - modifier = { - energy = 1.5 - minerals = 1.5 - food = 1.5 - pop_environment_tolerance = -0.025 - trade_value_add = 2 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - AND = { - has_policy_flag = industrial_efficiency - has_policy_flag = economic_stance_planned - } - } - modifier = { - energy = 2 - minerals = 2 - food = 2 - alloys = -1 - consumer_goods = -0.5 - pop_environment_tolerance = 0.005 - trade_value_add = -1 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - AND = { - has_policy_flag = industrial_growth - has_policy_flag = economic_stance_planned - } - } - modifier = { - energy = -0.5 - minerals = -0.5 - food = -0.5 - alloys = 1.5 - consumer_goods = 1 - pop_environment_tolerance = -0.015 - trade_value_add = 2 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - AND = { - has_policy_flag = industrial_growth - has_policy_flag = economic_stance_planned - } - } - modifier = { - energy = -1.5 - minerals = -1.5 - food = -1.5 - alloys = 2 - consumer_goods = 1.5 - pop_environment_tolerance = -0.025 - trade_value_add = 2.5 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_unlimited - } - } - modifier = { - food = 2 - pop_environment_tolerance = -0.015 - trade_value_add = 1 - } - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - NOR = { - has_policy_flag = economic_stance_planned - } - } - } - physics_research = 0.25 - society_research = 0.25 - engineering_research = 0.25 - unity = 0.5 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_socialistic - } - NOR = { - has_policy_flag = economic_stance_planned - } - } - } - unity = 0.5 - } - produces = { - trigger = { - owner = { - OR = { - has_ascension_perk = ap_synthetic_evolution - } - } - } - food = -3 - minerals = 2 - unity = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_anarchism - } - } - } - unity = 1 - } - produces = { - trigger = { - planet = { has_modifier = "ley_rift" } - } - sr_zro = 0.1 - } - } - triggered_planet_modifier = { - potential = { always = yes } - planet_jobs_worker_produces_mult = 0.02 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 2 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_industry_pacesetter - } - } - modifier = { - planet_jobs_produces_mult = 0.01 - } - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_anarchism - } - } - modifier = { - planet_amenities_add = 1 - } - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - - # 共产主义社会 - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - planet_crime_add = -5 - } - triggered_country_modifier = { - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - modifier = { - country_admin_cap_add = 0.5 - } - } - - weight = { - weight = @worker_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|miner|RESOURCE|minerals| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 2 - OR = { - has_trait = trait_agrarian - has_trait = trait_ingenious - has_trait = trait_industrious - has_trait = trait_robot_harvesters - has_trait = trait_robot_superconductive - has_trait = trait_robot_power_drills - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_strong - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 2 - has_trait = trait_very_strong - } - modifier = { - factor = 3 - has_trait = trait_robust - } - modifier = { - factor = 1.2 - owner = { - has_monthly_income = { - resource = energy - value < -1 - } - } - } - modifier = { - factor = 1.1 - owner = { - has_monthly_income = { - resource = minerals - value < 20 - } - } - } - modifier = { - factor = 1.2 - owner = { - has_monthly_income = { - resource = food - value < -1 - } - } - } - } -} - -#德鲁伊学徒 -druid = { - category = worker - condition_string = WORKER_JOB_TRIGGER - building_icon = building_executive_retreat - clothes_texture_index = 3 - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - hidden_trigger = { - exists = owner - } - } - - resources = { - category = planet_priests - produces = { - society_research = 2 - unity = 3 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_imperial_cult - has_valid_civic = civic_divine_council - has_valid_civic = civic_spiritual_democracy - has_valid_civic = civic_exalted_priesthood - } - } - } - unity = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - society_research = 0.25 - } - produces = { - trigger = { - planet = { has_modifier = "ley_rift" } - } - sr_zro = 0.1 - } - } - planet_modifier = { - POP_ENVIRONMENT_TOLERANCE = 0.01 #宜居度+5% - planet_amenities_add = 2 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - - triggered_country_modifier = { # 共产主义社会 - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - modifier = { - country_admin_cap_add = 0.5 - } - } - - weight = { - weight = @worker_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|druid|RESOURCE|unity| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { - has_trait = trait_mechanical - } - } - modifier = { - factor = 2 - owner = { - OR = { - has_valid_civic = civic_imperial_cult - has_valid_civic = civic_divine_council - has_valid_civic = civic_spiritual_democracy - has_valid_civic = civic_exalted_priesthood - } - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robot_domestic_protocols - has_trait = trait_charismatic - } - } - modifier = { - factor = 0.5 - has_trait = trait_repugnant - } - modifier = { - factor = 1.2 - has_ethic = ethic_spiritualist - } - modifier = { - factor = 1.2 - has_ethic = ethic_green - } - modifier = { - factor = 0.5 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.1 - has_trait = trait_natural_sociologists - } - modifier = { - factor = 0.1 - has_ethic = ethic_materialist - NOT = { - has_job = druid - } - } - modifier = { - factor = 1.5 - has_job = druid - } - } -} - -#士兵 -conscript = { - category = worker - icon = soldier - condition_string = SOLDIER_JOB_TRIGGER - building_icon = building_stronghold - clothes_texture_index = 4 - is_capped_by_modifier = yes - can_set_priority = no - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible = { - soldier_job_check_trigger = yes - owner = { is_gestalt = no NOT = { has_policy_flag = sparta_system } } - } - - resources = { - category = planet_soldiers - produces = { - trigger = { - is_lithoid = no - owner = { - exists = owner - has_valid_civic = civic_army_production - NOT = { has_country_flag = synthetic_empire } - } - } - food = 2 - alloys = 1 - } - produces = { - trigger = { - is_lithoid = yes - owner = { - exists = owner - has_valid_civic = civic_army_production - NOT = { has_country_flag = synthetic_empire } - } - } - minerals = 2 - alloys = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_army_production - has_country_flag = synthetic_empire - } - } - energy = 2 - alloys = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_army_production - } - } - minerals = 1 - energy = 1 - unity = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_military_scientific - } - } - physics_research = 1 - engineering_research = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - society_research = 0.25 - } - #军国主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_militarist - } - } - unity = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_militarist - } - } - unity = 0.5 - } - } - country_modifier = { - country_naval_cap_add = 2 - } - triggered_country_modifier = { - potential = { - exists = planet - planet = { - exists = owner - owner = { - has_technology = "tech_ground_defense_planning" - } - } - } - modifier = { - country_naval_cap_add = 2 - } - } - pop_modifier = { - pop_defense_armies_add = 3 - } - triggered_pop_modifier = { - potential = { - planet = { - has_building = building_automated_defense_system - } - } - modifier = { - pop_defense_armies_add = 2 - } - } - - triggered_planet_modifier = { - potential = { - planet = { - exists = planet - has_modifier = martial_law - has_modifier = martial_law_martial_brotherhood - } - happiness >= 0.35 - } - planet_stability_add = 80 - mult = planet.society_factor_pops - } - triggered_planet_modifier = { - potential = { - planet = { - exists = planet - has_modifier = martial_law - has_modifier = martial_law_martial_brotherhood - } - happiness < 0.35 - } - planet_stability_add = -50 - mult = planet.society_factor_pops - } - triggered_country_modifier = { # 共产主义社会 - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - modifier = { - country_admin_cap_add = 0.5 - } - } - - weight = { - weight = 300 - modifier = { - factor = 10 - exists = planet - planet = { has_modifier = martial_law } - } - modifier = { - factor = 10 - exists = owner - owner = { is_militarist = yes } - } - modifier = { - factor = 2 - has_trait = trait_resilient - } - modifier = { - factor = 2 - has_trait = trait_very_strong - } - modifier = { - factor = 1.5 - has_trait = trait_strong - } - modifier = { - factor = 0.5 - has_trait = trait_weak - } - modifier = { - factor = 0.1 - is_enslaved = yes - NOT = { has_slavery_type = { type = slavery_military } } - } - modifier = { - factor = 10 - is_enslaved = yes - has_slavery_type = { type = slavery_military } - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.1 - has_trait = trait_cybernetic - } - modifier = { - factor = 2 - has_trait = trait_presapient_earthbound - } - modifier = { - factor = 1.1 - has_trait = trait_limited_regeneration - } - modifier = { - factor = 1.1 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.1 - has_trait = trait_brainslug - } - modifier = { - factor = 1.05 - has_trait = trait_presapient_natural_intellectuals - } - modifier = { - factor = 1.05 - OR = { - has_trait = trait_robust - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 1.05 - has_trait = trait_nerve_stapled - } - modifier = { - factor = 1.1 - OR = { - has_trait = trait_robot_propaganda_machines - has_trait = trait_traditional - } - } - modifier = { - factor = 0.9 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0 - species = { can_be_soldier = no } - } - modifier = { - factor = 2 - has_trait = trait_lithoid - } - } -} - -#士兵(无上限) -conscript_uncapped = { - category = worker - icon = soldier - condition_string = SOLDIER_JOB_TRIGGER - building_icon = building_stronghold - clothes_texture_index = 4 - is_capped_by_modifier = no - can_set_priority = no - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - is_enslaved = no - } - possible = { - soldier_job_check_trigger = yes - owner = { has_policy_flag = sparta_system } - } - - resources = { - category = planet_soldiers - produces = { - trigger = { - is_lithoid = no - owner = { - exists = owner - has_valid_civic = civic_army_production - NOT = { has_country_flag = synthetic_empire } - } - } - food = 2 - alloys = 1 - } - produces = { - trigger = { - is_lithoid = yes - owner = { - exists = owner - has_valid_civic = civic_army_production - NOT = { has_country_flag = synthetic_empire } - } - } - minerals = 2 - alloys = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_army_production - has_country_flag = synthetic_empire - } - } - energy = 2 - alloys = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_army_production - } - } - minerals = 1 - energy = 1 - unity = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_military_scientific - } - } - physics_research = 1 - engineering_research = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - society_research = 0.25 - } - #军国主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_militarist - } - } - unity = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_militarist - } - } - unity = 0.5 - } - } - country_modifier = { - country_naval_cap_add = 2 - } - triggered_country_modifier = { - potential = { - exists = planet - planet = { - exists = owner - owner = { - has_technology = "tech_ground_defense_planning" - } - } - } - modifier = { - country_naval_cap_add = 2 - } - } - pop_modifier = { - pop_defense_armies_add = 3 - } - triggered_pop_modifier = { - potential = { - planet = { - has_building = building_automated_defense_system - } - } - modifier = { - pop_defense_armies_add = 2 - } - } - - triggered_planet_modifier = { - potential = { - planet = { - exists = planet - has_modifier = martial_law - has_modifier = martial_law_martial_brotherhood - } - happiness >= 0.35 - } - planet_stability_add = 80 - mult = planet.society_factor_pops - } - triggered_planet_modifier = { - potential = { - planet = { - exists = planet - has_modifier = martial_law - has_modifier = martial_law_martial_brotherhood - } - happiness < 0.35 - } - planet_stability_add = -50 - mult = planet.society_factor_pops - } - triggered_country_modifier = { # 共产主义社会 - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - modifier = { - country_admin_cap_add = 0.5 - } - } - - weight = { - weight = 1 - } -} - -#苗床 -tentacle_seedbed = { - category = worker - condition_string = WORKER_JOB_TRIGGER - building_icon = building_spawning_pool - clothes_texture_index = 3 - icon = bio_trophy - - possible_pre_triggers = { - has_owner = yes - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - NOT = { has_trait = trait_zombie } - owner = { - exists = owner - has_civic = civic_libido_equipment - } - } - - resources = { - category = planet_jobs - upkeep = { - trigger = { - is_lithoid = no - } - food = 2 - } - upkeep = { - trigger = { - is_lithoid = yes - } - minerals = 2 - } - } - planet_modifier = { - planet_pop_assembly_organic_add = 1 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 12 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - triggered_planet_modifier = { # 多彩环境强化 - potential = { - AND = { - has_global_flag = love_between_us - OR = { - has_trait = trait_DC_ethic_lust_skynet - has_trait = trait_DC_ethic_carnalism - } - } - } - planet_pop_assembly_organic_add = 0.5 - planet_amenities_add = 12 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - - weight = { - weight = @clerk_job_weight - modifier = { # 可控的动态权重 - factor = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 10 - is_enslaved = yes - } - modifier = { - factor = 10 - AND = { - has_global_flag = love_between_us - OR = { - has_trait = trait_DC_ethic_lust_skynet - has_trait = trait_DC_ethic_carnalism - } - } - } - } -} - -#圣炉侍者 -re_acolyte_metallurgists = { - category = worker - is_capped_by_modifier = yes - building_icon = building_empyrean_shrine - clothes_texture_index = 3 - icon = foundry - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - - resources = { - category = planet_metallurgists - produces = { - alloys = 3 - } - produces = { - trigger = { - exists = owner - owner = { - is_catalytic_empire = yes - } - } - society_research = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - engineering_research = 0.25 - } - produces = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - alloys = @requisitorium_alloys_reduction - } - upkeep = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - minerals = 2 - } - upkeep = { - minerals = 6 - } - upkeep = { - trigger = { - exists = owner - owner = { - is_catalytic_empire = yes - } - } - minerals = -6 - food = 6 - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = mixed_industrial - } - } - modifier = { - pop_environment_tolerance = -0.01 - } - } - #污染 - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_efficiency - } - } - modifier = { - pop_environment_tolerance = -0.005 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_growth - } - } - modifier = { - pop_environment_tolerance = -0.015 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_unlimited - } - } - modifier = { - pop_environment_tolerance = -0.02 - } - } - #社会主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_socialism - } - } - unity = 0.75 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_socialism - } - } - unity = 0.25 - } - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 0.5 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - - overlord_resources = { - category = planet_requisitioned_alloys - produces = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - alloys = @requisitorium_alloys_overlord - } - } - - weight = { - weight = @worker_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|re_acolyte_metallurgists|RESOURCE|alloys| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 2 - is_enslaved = yes - can_take_servant_job = no - } - modifier = { - factor = 5 - has_job = re_acolyte_metallurgists - } - } -} - -#圣坊侍者 -re_acolyte_artisan = { - category = worker - is_capped_by_modifier = yes - building_icon = building_empyrean_shrine - clothes_texture_index = 3 - icon = artisan - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - - resources = { - category = planet_artisans - produces = { - consumer_goods = 6 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_crafters - } - } - engineering_research = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - engineering_research = 0.25 - } - upkeep = { - minerals = 6 - } - produces = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - exists = owner.overlord - owner.overlord = { is_gestalt = no } - } - } - consumer_goods = @requisitorium_consumer_goods_reduction - } - upkeep = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - exists = owner.overlord - owner.overlord = { is_gestalt = no } - } - } - minerals = 1 - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = mixed_industrial - } - } - modifier = { - pop_environment_tolerance = -0.01 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_efficiency - } - } - modifier = { - pop_environment_tolerance = -0.005 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_growth - } - } - modifier = { - pop_environment_tolerance = -0.015 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_unlimited - } - } - modifier = { - pop_environment_tolerance = -0.02 - } - } - #社会主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_socialism - } - } - unity = 0.75 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_socialism - } - } - unity = 0.25 - } - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 0.5 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - - overlord_resources = { - category = planet_requisitioned_consumer_goods - produces = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - exists = owner.overlord - owner.overlord = { is_gestalt = no } - } - } - consumer_goods = @requisitorium_consumer_goods_overlord - } - } - - weight = { - weight = @worker_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|re_acolyte_artisan|RESOURCE|consumer_goods| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 2 - is_enslaved = yes - can_take_servant_job = no - } - modifier = { - factor = 5 - has_job = re_acolyte_artisan - } - - # low income modifier - modifier = { - factor = 1.2 - exists = planet - planet = { - has_available_jobs = "re_acolyte_artisan" - } - exists = owner - owner = { - is_ai = yes - has_monthly_income = { - resource = consumer_goods - value < 5 - } - } - } - } -} - -#犁耕侍者 -re_acolyte_farm = { - category = worker - building_icon = building_food_processing_facility - clothes_texture_index = 3 - icon = farmer - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - - resources = { - category = planet_farmers - produces = { - food = 6 - } - produces = { - trigger = { - exists = owner - owner = { - is_robot_empire = yes - } - } - food = -1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - society_research = 0.25 - } - produces = { - trigger = { - planet = { has_modifier = "ley_rift" } - } - sr_zro = 0.1 - } - produces = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - } - } - food = @requisitorium_food_reduction - } - - #社会主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_socialism - } - } - unity = 0.75 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_socialism - } - } - unity = 0.25 - } - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_valid_civic = civic_agrarian_idyll - } - } - modifier = { - planet_amenities_add = 2 - } - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - - overlord_resources = { - category = planet_requisitioned_food - produces = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - } - } - food = @requisitorium_food_overlord - } - } - - weight = { - weight = @worker_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|re_acolyte_farm|RESOURCE|food| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 1.1 - owner = { has_valid_civic = civic_agrarian_idyll } - } - modifier = { - factor = 10 - is_enslaved = yes - can_take_servant_job = no - NOT = { has_slavery_type = { type = slavery_indentured } } - } - modifier = { - factor = 3 - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { has_technology = tech_droid_workers } - } - modifier = { - factor = 200 - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { NOT = { has_technology = tech_droid_workers } } - } - modifier = { - factor = 0.25 - can_take_servant_job = yes - } - modifier = { - factor = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| - owner = { has_valid_civic = civic_agrarian_idyll } - } - # low income modifier - modifier = { - factor = 1.2 - exists = planet - planet = { - has_available_jobs = re_acolyte_farm - } - exists = owner - owner = { - is_ai = yes - has_monthly_income = { - resource = food - value < 10 - } - } - } - - modifier = { - factor = 0.5 - has_trait = trait_lithoid - - owner = { - is_lithoid_empire = yes - has_monthly_income = { - resource = food - value >= 0 - } - } - } - } -} - -#焰锤侍者 -re_acolyte_mine = { - category = worker - building_icon = building_crystal_mines - clothes_texture_index = 3 - icon = miner - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - - resources = { - category = planet_miners - produces = { - minerals = 4 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - engineering_research = 0.25 - } - produces = { - trigger = { - owner = { - has_valid_civic = civic_anglers_lithoid - } - planet = { is_wet = yes } - } - minerals = 1 - consumer_goods = 1 - } - produces = { - trigger = { - owner = { - has_valid_civic = civic_anglers_lithoid - has_technology = tech_mine_rare_crystals - } - planet = { is_wet = yes } - } - rare_crystals = 0.25 - } - produces = { - trigger = { - planet = { has_modifier = "ley_rift" } - } - sr_zro = 0.1 - } - produces = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - minerals = @requisitorium_minerals_reduction - } - - #社会主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_socialism - } - } - unity = 0.75 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_socialism - } - } - unity = 0.25 - } - } - - overlord_resources = { - category = planet_requisitioned_minerals - produces = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - minerals = @requisitorium_minerals_overlord - } - } - - weight = { - weight = @worker_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|re_acolyte_mine|RESOURCE|minerals| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 10 - is_enslaved = yes - can_take_servant_job = no - NOT = { has_slavery_type = { type = slavery_indentured } } - } - modifier = { - factor = 3 - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { has_technology = tech_droid_workers } - } - modifier = { - factor = 200 - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { NOT = { has_technology = tech_droid_workers } } - } - modifier = { - factor = 0.25 - can_take_servant_job = yes - } - - # low income modifier - modifier = { - factor = 1.1 - exists = planet - planet = { - has_available_jobs = "re_acolyte_mine" - } - exists = owner - owner = { - is_ai = yes - has_monthly_income = { - resource = minerals - value < 0 - } - } - } - } -} - -#圣钳侍者 -re_acolyte_generator = { - category = worker - building_icon = building_power_plant - clothes_texture_index = 3 - icon = technician - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - - resources = { - category = planet_technician - produces = { - energy = 6 - } - produces = { - trigger = { - owner = { - is_robot_empire = yes - } - } - energy = 2 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - physics_research = 0.25 - } - produces = { - trigger = { - planet = { - has_planet_flag = has_energy_requisitorium - } - } - energy = @requisitorium_energy_reduction - } - - #社会主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_socialism - } - } - unity = 0.75 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_socialism - } - } - unity = 0.25 - } - } - - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_financial_investment - } - } - modifier = { - trade_value_add = 1 - } - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - - overlord_resources = { - category = planet_requisitioned_energy - produces = { - trigger = { - planet = { - has_planet_flag = has_energy_requisitorium - } - } - energy = @requisitorium_energy_overlord - } - } - - weight = { - weight = @worker_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|re_acolyte_generator|RESOURCE|energy| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 10 - exists = owner - owner = { is_country_type = default } - is_enslaved = yes - can_take_servant_job = no - NOT = { has_slavery_type = { type = slavery_indentured } } - } - modifier = { - factor = 3 - exists = owner - owner = { is_country_type = default } - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { has_technology = tech_droid_workers } - } - modifier = { - factor = 200 - exists = owner - owner = { is_country_type = default } - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { NOT = { has_technology = tech_droid_workers } } - } - modifier = { - factor = 0.25 - exists = owner - owner = { is_country_type = default } - can_take_servant_job = yes - } - # low income modifier - modifier = { - factor = 1.1 - exists = planet - planet = { - has_available_jobs = "fe_acolyte_generator" - } - exists = owner - owner = { - is_ai = yes - has_monthly_income = { - resource = energy - value < 0 - } - } - } - # 堕落岗位 - modifier = { - factor = 15000 - exists = planet.owner - planet.owner = { NOT = { is_country_type = default } } - } - # crisis purge - modifier = { - factor = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } - } - } -} - -#虚境灵使 -re_augur = { - category = worker - icon = priest - is_capped_by_modifier = yes - building_icon = building_citadel_of_faith - clothes_texture_index = 2 - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - possible_precalc = can_fill_worker_job - possible = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - - resources = { - category = planet_jobs - produces = { - unity = 20 - } - } - - weight = { - weight = 30000 - - # crisis purge - modifier = { - factor = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } - } - } -} - -#劳工 -future_worker = { - category = worker - is_capped_by_modifier = no - clothes_texture_index = 2 - building_icon = building_research_lab_1 - icon = primitive_laborer - - possible_pre_triggers = { - has_owner = yes - } - possible_precalc = can_fill_worker_job - possible = { - planet = { has_modifier = planet_unemployment_benefits } - owner = { - has_active_tradition = tr_future_industry - has_technology = tech_ascension_theory - is_gestalt = no - has_policy_flag = economic_stance_planned - } - } - - resources = { - category = planet_jobs - produces = { - trigger = { - planet = { - OR = { - has_district = district_generator - has_district = district_generator_uncapped - has_district = district_rw_generator - has_district = district_hab_energy - has_district = district_pdhab_energy - } - } - } - energy = 2 - } - produces = { - trigger = { - planet = { - OR = { - has_district = district_mining - has_district = district_mining_uncapped - has_district = district_hab_mining - has_district = district_pdhab_mining - } - } - } - minerals = 1.5 - } - produces = { - trigger = { - OR = { - has_trait = trait_mechanical - has_trait = trait_lithoid - } - planet = { - OR = { - has_district = district_mining - has_district = district_mining_uncapped - has_district = district_hab_mining - has_district = district_pdhab_mining - } - } - } - minerals = 1.5 - } - produces = { - trigger = { - NOR = { - has_trait = trait_mechanical - has_trait = trait_lithoid - } - planet = { - OR = { - has_district = district_farming - has_district = district_farming_uncapped - has_district = district_rw_farming - has_district = district_pdhab_food - has_building = building_hydroponics_farm - has_designation = col_habitat_farming - } - } - } - food = 2 - } - produces = { - trigger = { - planet = { - OR = { - has_district = district_industrial - has_district = district_arcology_arms_industry - has_district = district_rw_industrial - has_district = district_hab_industrial - has_district = district_pdhab_industrial - } - NOR = { - has_designation = col_factory - has_designation = col_habitat_factory - has_designation = col_ring_factory - has_designation = col_ecu_factory - has_designation = col_dome_factory - } - } - } - alloys = 1 - } - produces = { - trigger = { - planet = { - OR = { - has_district = district_industrial - has_district = district_arcology_civilian_industry - has_district = district_rw_industrial - has_district = district_hab_industrial - has_district = district_pdhab_industrial - } - NOR = { - has_designation = col_foundry - has_designation = col_habitat_foundry - has_designation = col_ring_foundry - has_designation = col_ecu_foundry - has_designation = col_dome_foundry - } - } - } - consumer_goods = 1 - } - - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_democracy_and_clean_government - has_valid_civic = civic_business_reporting_administration - } - } - } - unity = 1 - } - - #利他主义 - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_altruism - } - } - unity = 2 - } - - #社会主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_socialism - } - } - unity = 0.5 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_socialism - } - } - unity = 0.25 - } - - # Utopian living standards - produces = { - trigger = { - has_utopian_living_standard_type = yes - } - society_research = 2 - physics_research = 2 - engineering_research = 2 - } - - # Welfare - produces = { - trigger = { - OR = { - has_very_high_living_standard_type = yes - has_high_living_standard_type = yes - has_shared_burden_living_standard_type = yes - } - } - unity = 1 - } - #AI基础与年数产出 - produces = { - trigger = { - owner = { is_ai = yes } - } - food = 2 - energy = 4 - minerals = 2 - consumer_goods = 1 - alloys = 0.5 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 20 - } - food = 1 - energy = 4 - minerals = 1 - consumer_goods = 1 - alloys = 1 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 35 - } - food = 1 - energy = 4 - minerals = 1 - consumer_goods = 1 - alloys = 1 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 50 - } - food = -2 - energy = 16 - minerals = -2 - consumer_goods = -2 - alloys = 2 - } - - produces = { - trigger = { - owner = { is_ai = yes } - mid_game_years_passed > 0 - } - food = 2 - energy = 6 - minerals = 2 - consumer_goods = 2 - alloys = 2 - } - - produces = { - trigger = { - end_game_years_passed > 0 - } - alloys = 3 - unity = 1 - } - #AI思潮加成 - produces = { - trigger = { - owner = { - is_ai = yes - or = { - has_ethic = ethic_fanatic_spiritualist - has_ethic = ethic_spiritualist - } - - } - } - unity = 2 - } - produces = { - trigger = { - owner = { - is_ai = yes - OR = { - has_ethic = ethic_fanatic_materialist - has_ethic = ethic_materialist - } - } - } - physics_research = 1 - engineering_research = 1 - society_research = 1 - } - #AI弱者强化 - produces = { - trigger = { - years_passed >= 50 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 8 - engineering_research = 8 - society_research = 8 - alloys = 8 - unity = 2 - } - produces = { - trigger = { - years_passed >= 80 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 8 - engineering_research = 8 - society_research = 8 - alloys = 14 - } - - upkeep = { - consumer_goods = 0.5 - } - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 1 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - planet_modifier = { - job_researcher_add = 0.2 - job_culture_worker_add = 0.2 - } - - triggered_country_modifier = { # 共产主义社会 - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - modifier = { - country_admin_cap_add = 0.5 - } - } - - weight = { - weight = 0.95 - } -} - -#临时工 -resocialization_workers = { - category = worker - is_capped_by_modifier = no - clothes_texture_index = 2 - building_icon = building_crude_huts - icon = primitive_laborer - - possible_pre_triggers = { - has_owner = yes - } - possible = { - planet = { has_modifier = planet_unemployment_benefits } - owner = { - has_active_tradition = tr_future_industry - has_technology = tech_ascension_theory - is_gestalt = no - NOT = { has_policy_flag = economic_stance_planned } - } - } - - resources = { - category = unemployment_resources - produces = { - trigger = { - planet = { - OR = { - has_district = district_generator - has_district = district_generator_uncapped - has_district = district_rw_generator - has_district = district_hab_energy - has_district = district_pdhab_energy - } - } - } - energy = 2 - } - produces = { - trigger = { - planet = { - OR = { - has_district = district_mining - has_district = district_mining_uncapped - has_district = district_hab_mining - has_district = district_pdhab_mining - } - } - } - minerals = 1.5 - } - produces = { - trigger = { - OR = { - has_trait = trait_mechanical - has_trait = trait_lithoid - } - planet = { - OR = { - has_district = district_mining - has_district = district_mining_uncapped - has_district = district_hab_mining - has_district = district_pdhab_mining - } - } - } - minerals = 1.5 - } - produces = { - trigger = { - NOR = { - has_trait = trait_mechanical - has_trait = trait_lithoid - } - planet = { - OR = { - has_district = district_farming - has_district = district_farming_uncapped - has_district = district_rw_farming - has_district = district_pdhab_food - has_building = building_hydroponics_farm - has_designation = col_habitat_farming - } - } - } - food = 2 - } - produces = { - trigger = { - planet = { - OR = { - has_district = district_industrial - has_district = district_arcology_arms_industry - has_district = district_rw_industrial - has_district = district_hab_industrial - has_district = district_pdhab_industrial - } - NOR = { - has_designation = col_factory - has_designation = col_habitat_factory - has_designation = col_ring_factory - has_designation = col_ecu_factory - has_designation = col_dome_factory - } - } - } - alloys = 1 - } - produces = { - trigger = { - planet = { - OR = { - has_district = district_industrial - has_district = district_arcology_civilian_industry - has_district = district_rw_industrial - has_district = district_hab_industrial - has_district = district_pdhab_industrial - } - NOR = { - has_designation = col_foundry - has_designation = col_habitat_foundry - has_designation = col_ring_foundry - has_designation = col_ecu_foundry - has_designation = col_dome_foundry - } - } - } - consumer_goods = 1 - } - - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_democracy_and_clean_government - has_valid_civic = civic_business_reporting_administration - } - } - } - unity = 1 - } - - #利他主义 - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_altruism - } - } - unity = 2 - } - - #社会主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_socialism - } - } - unity = 0.5 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_socialism - } - } - unity = 0.25 - } - - # Utopian living standards - produces = { - trigger = { - has_utopian_living_standard_type = yes - } - society_research = 2 - physics_research = 2 - engineering_research = 2 - } - - # Welfare - produces = { - trigger = { - OR = { - has_very_high_living_standard_type = yes - has_high_living_standard_type = yes - has_shared_burden_living_standard_type = yes - } - } - unity = 0.5 - } - #AI基础与年数产出 - produces = { - trigger = { - owner = { is_ai = yes } - } - food = 1 - energy = 2 - minerals = 1 - consumer_goods = 0.5 - alloys = 0.25 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 20 - } - food = 0.5 - energy = 2 - minerals = 0.5 - consumer_goods = 0.5 - alloys = 0.5 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 35 - } - food = 0.5 - energy = 2 - minerals = 0.5 - consumer_goods = 0.5 - alloys = 0.5 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 50 - } - food = -3 - energy = 8 - minerals = -3 - consumer_goods = -3 - alloys = 1 - } - - produces = { - trigger = { - owner = { is_ai = yes } - mid_game_years_passed > 0 - } - food = 1 - energy = 3 - minerals = 1 - consumer_goods = 1 - alloys = 1 - } - - produces = { - trigger = { - end_game_years_passed > 0 - } - alloys = 1.5 - unity = 0.5 - } - #AI思潮加成 - produces = { - trigger = { - owner = { - is_ai = yes - or = { - has_ethic = ethic_fanatic_spiritualist - has_ethic = ethic_spiritualist - } - - } - } - unity = 1 - } - produces = { - trigger = { - owner = { - is_ai = yes - OR = { - has_ethic = ethic_fanatic_materialist - has_ethic = ethic_materialist - } - } - } - physics_research = 0.5 - engineering_research = 0.5 - society_research = 0.5 - } - #AI弱者强化 - produces = { - trigger = { - years_passed >= 50 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 4 - engineering_research = 4 - society_research = 4 - alloys = 4 - unity = 1 - } - produces = { - trigger = { - years_passed >= 80 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 6 - engineering_research = 6 - society_research = 6 - alloys = 7 - } - - upkeep = { - consumer_goods = 0.5 - } - } - - planet_modifier = { - job_merchant_add = 0.2 - job_mogul_add = 0.05 - } - - triggered_planet_modifier = { - potential = { always = yes } - trade_value_add = 1 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - - triggered_country_modifier = { # 共产主义社会 - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - modifier = { - country_admin_cap_add = 0.5 - } - } - - weight = { - weight = 0.95 - } -} - -################### -# 专家 -################### -#专家冶金师 -foundry_specialist = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_foundry_1 - clothes_texture_index = 3 - icon = foundry - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - } - possible_precalc = can_fill_specialist_job - possible = { - hidden_trigger = { exists = owner } - owner = { - is_gestalt = no - } - } - - resources = { - category = planet_metallurgists - produces = { - alloys = 2 - engineering_research = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_catalytic_processing - } - } - society_research = 1 - } - produces = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - alloys = @requisitorium_alloys_reduction - } - upkeep = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - minerals = 2 - } - upkeep = { - minerals = 6 - } - upkeep = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_catalytic_processing - } - } - minerals = -6 - food = 6 - } - } - planet_modifier = { - planet_metallurgists_alloys_produces_mult = 0.05 - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_valid_civic = civic_civil_rights_gun_grant - } - } - modifier = { - army_starting_experience_add = 50 - } - } - - - triggered_country_modifier = { # 共产主义社会 - potential = { - exists = owner - owner = { - has_valid_civic = civic_shared_burden - has_ascension_perk = ap_future_society - } - } - modifier = { - country_admin_cap_add = 0.5 - } - } - planet_modifier = { - pop_environment_tolerance = -0.02 - trade_value_add = 2 - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = mixed_industrial - } - } - modifier = { - pop_environment_tolerance = -0.01 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_efficiency - } - } - modifier = { - pop_environment_tolerance = -0.005 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_growth - } - } - modifier = { - pop_environment_tolerance = -0.015 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_unlimited - } - } - modifier = { - pop_environment_tolerance = -0.02 - } - } - # 分产主义 - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_valid_civic = civic_distributism - } - } - modifier = { - trade_value_add = 2 - } - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - - planet_modifier = { - trade_value_add = 3 - } - - overlord_resources = { - category = planet_requisitioned_alloys - produces = { - trigger = { - planet = { - has_planet_flag = has_material_requisitorium - } - } - alloys = @requisitorium_alloys_overlord - } - } - - weight = { - weight = @specialist_job_weight # Fairly important job - modifier = { # 可控的动态权重 - factOR = value:job_weights_modifier|JOB|foundry|RESOURCE|alloys| - exists = owner - owner = { has_edict = dynamic_weight } - } - modifier = { - factOR = 2 - is_enslaved = yes - can_take_servant_job = no - } - modifier = { - factOR = 5 - has_job = foundry_specialist - } - } -} - -#专家工匠 -artisan_specialist = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_factory_1 - clothes_texture_index = 3 - icon = artisan - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - } - possible_precalc = can_fill_specialist_job - possible = { - hidden_trigger = { exists = owner } - owner = { - is_gestalt = no - } - } - - resources = { - category = planet_artisans - produces = { - consumer_goods = 4 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_crafters - } - } - engineering_research = 2 - } - upkeep = { - minerals = 6 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_anarchism - } - } - minerals = -1 - } - produces = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - exists = owner.overlord - owner.overlord = { is_gestalt = no } - } - } - consumer_goods = @requisitorium_consumer_goods_reduction - } - upkeep = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - exists = owner.overlord - owner.overlord = { is_gestalt = no } - } - } - minerals = 1 - } - } - - #奢侈消费主义 - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - OR = { - has_valid_civic = civic_consumerism - } - } - } - trade_value_add = 2 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 1 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - planet_modifier = { - pop_environment_tolerance = -0.02 - trade_value_add = 3 - planet_artisan_consumer_goods_produces_mult = 0.05 - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = mixed_industrial - } - } - modifier = { - pop_environment_tolerance = -0.01 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_efficiency - } - } - modifier = { - pop_environment_tolerance = -0.005 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_growth - } - } - modifier = { - pop_environment_tolerance = -0.015 - } - } - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_policy_flag = industrial_unlimited - } - } - modifier = { - pop_environment_tolerance = -0.02 - } - } - # 分产主义 - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_valid_civic = civic_distributism - } - } - modifier = { - trade_value_add = 2 - } - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - # 能工巧匠 - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - has_valid_civic = civic_crafters - } - } - modifier = { - trade_value_add = 2 - } - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - - - overlord_resources = { - category = planet_requisitioned_consumer_goods - produces = { - trigger = { - planet = { - has_planet_flag = has_produce_requisitorium - exists = owner.overlord - owner.overlord = { is_gestalt = no } - } - } - consumer_goods = @requisitorium_consumer_goods_overlord - } - } - - weight = { - weight = @specialist_job_weight - modifier = { # 可控的动态权重 - factOR = value:job_weights_modifier|JOB|artisan|RESOURCE|consumer_goods| - exists = owner - owner = { has_edict = dynamic_weight } - } - modifier = { - factOR = 2 - is_enslaved = yes - can_take_servant_job = no - } - modifier = { - factOR = 5 - has_job = artisan_specialist - } - - # low income modifier - modifier = { - factOR = 1.2 - exists = planet - planet = { - has_available_jobs = "artisan" - } - exists = owner - owner = { - is_ai = yes - has_monthly_income = { - resource = consumer_goods - value < 5 - } - } - } - } -} - -#记者 -media_worker = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_autochthon_monument - clothes_texture_index = 3 - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - possible = { - complex_specialist_job_check_trigger = yes - } - triggered_pop_modifier = { - potential = { - owner = { - has_policy_flag = market_operation - } - } - modifier = { - pop_cat_specialist_political_power = 0.5 - } - } - resources = { - category = planet_culture_workers - produces = { - unity = 4 - } - #信息管制 - produces = { - trigger = { - exists = owner - owner = { - OR = { - has_policy_flag = strict_control - has_policy_flag = market_operation - } - } - } - unity = -1 - } - #完全自由 - produces = { - trigger = { - exists = owner - owner = { - has_policy_flag = freedom_of_speech - } - } - society_research = 3 - } - #和平主义 - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_fanatic_pacifist - } - } - unity = 2 - } - produces = { - trigger = { - exists = owner - owner = { - has_ethic = ethic_pacifist - } - } - unity = 1 - } - upkeep = { - consumer_goods = 2 - } - } - - planet_modifier = { - POP_ETHICS_SHIFT_SPEED = 0.1 - } - - #舆论控制 - triggered_planet_modifier = { #严格管理 - potential = { - owner = { - has_policy_flag = strict_control - } - } - modifier = { - pop_cat_ruler_political_power = 0.5 - } - } - triggered_planet_modifier = { #市场运作 - potential = { - owner = { - has_policy_flag = market_operation - } - } - modifier = { - trade_value_add = 2 - planet_crime_add = 3 - } - } - triggered_country_modifier = { #加经费 - potential = { - exists = owner - owner = { - OR = { - has_policy_flag = strict_control - has_policy_flag = market_operation - } - } - } - modifier = { - country_edict_fund_add = 1 - } - } - - weight = { - weight = @specialist_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|media_worker|RESOURCE|unity| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { has_trait = trait_mechanical } - } - modifier = { - factor = 2 - has_trait = trait_robot_propaganda_machines - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robot_propaganda_machines - has_trait = trait_traditional - } - } - modifier = { - factor = 0.5 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.5 - has_job = bureaucrat - } - modifier = { - factor = 0.5 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.1 - has_trait = trait_latent_psionic - } - modifier = { - factor = 1.2 - has_trait = trait_psionic - } - modifier = { - factor = 0.5 - has_trait = trait_enigmatic_intelligence_failed - } - } -} - -#血肉机器组装者 -reemployment_HR_supervisor = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_robot_assembly_plant - clothes_texture_index = 3 - icon = roboticist - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - - possible_precalc = can_fill_specialist_job - - resources = { - category = planet_jobs - upkeep = { - consumer_goods = 0.5 - minerals = 2 - } - } - - weight = { - weight = 5000 - } -} - -#产品总监 -PR_manager = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_autochthon_monument - clothes_texture_index = 3 - icon = manager - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - planet_modifier = { - trade_value_mult = 0.02 - } - planet_modifier = { - planet_amenities_add = -3 - } - resources = { - category = planet_bureaucrats - upkeep = { - consumer_goods = 0.5 - unity = 1.5 - } - } - - weight = { - weight = @specialist_job_weight - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { has_trait = trait_mechanical } - } - modifier = { - factor = 2 - has_trait = trait_robot_propaganda_machines - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robot_propaganda_machines - has_trait = trait_traditional - } - } - modifier = { - factor = 0.5 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.5 - has_trait = trait_natural_sociologists - } - modifier = { - factor = 1.5 - has_trait = trait_thrifty - } - modifier = { - factor = 1.5 - has_trait = trait_nuumismatic_administration - } - modifier = { - factor = 1.5 - has_job = PR_manager - } - modifier = { - factor = 3 - has_trait = trait_brainslug - } - modifier = { - factor = 2 - has_trait = trait_presapient_natural_intellectuals - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robust - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 1.4 - OR = { - has_trait = trait_robot_logic_engines - has_trait = trait_intelligent - } - } - modifier = { - factor = 0.5 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.1 - has_trait = trait_latent_psionic - } - modifier = { - factor = 1.2 - has_trait = trait_psionic - } - modifier = { - factor = 0.5 - has_trait = trait_enigmatic_intelligence_failed - } - modifier = { - factor = 1.4 - OR = { - has_trait = trait_enigmatic_intelligence - has_trait = trait_enigmatic_intelligence_poor - } - } - modifier = { - factor = 0.1 - is_enslaved = yes - has_slavery_type = { type = slavery_indentured } - } - modifier = { - factor = 1.5 - has_trait = trait_void_dweller_1 - exists = planet - planet = { is_planet_class = pc_habitat } - } - modifier = { - factor = 0.85 - has_trait = trait_void_dweller_1 - exists = planet - planet = { is_artificial = no } - } - modifier = { - factor = 1.25 - has_trait = trait_necrophage - } - } -} - -#科研模范 -research_pacesetter = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_research_lab_1 - clothes_texture_index = 3 - icon = labour_hero - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - possible = { - complex_specialist_job_check_trigger = yes - } - resources = { - category = planet_researchers - produces = { - physics_research = 4 - engineering_research = 4 - society_research = 4 - } - produces = { - trigger = { - exists = owner - owner = { - or = { - has_edict = scientific_spirit - has_edict = indefinite_patent_act - } - } - } - unity = 1 - } - produces = { - trigger = { - exists = owner - owner = { - or = { - has_valid_civic = civic_technocracy - has_valid_civic = civic_cyber_dictatorship - has_valid_civic = civic_science_directorate - has_valid_civic = civic_cyber_demos_cratos - } - } - } - unity = 1 - } - upkeep = { - consumer_goods = 1 - } - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_industry_pacesetter - } - } - modifier = { - planet_researchers_produces_mult = 0.1 - } - } - weight = { - weight = @specialist_job_weight - modifier = { # 可控的动态权重 - factor = value:job_weights_research_modifier|JOB|researcher| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { - has_trait = trait_mechanical - } - } - modifier = { - factor = 2 - has_living_standard = { - type = living_standard_academic_privilege - } - } - modifier = { - factor = 3 - has_trait = trait_erudite - } - modifier = { - factor = 2 - OR = { - has_trait = trait_robot_logic_engines - has_trait = trait_intelligent - } - } - modifier = { - factor = 2 - has_trait = trait_brainslug - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_natural_engineers - has_trait = trait_natural_physicists - has_trait = trait_natural_sociologists - } - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 0.65 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.5 - has_job = researcher - } - modifier = { - factor = 1.5 - has_trait = trait_latent_psionic - } - modifier = { - factor = 2 - has_trait = trait_psionic - } - modifier = { - factor = 0.1 - has_trait = trait_enigmatic_intelligence_failed - } - modifier = { - factor = 2 - OR = { - has_trait = trait_enigmatic_intelligence - has_trait = trait_enigmatic_intelligence_poor - } - } - modifier = { - factor = 2 - has_trait = trait_presapient_natural_intellectuals - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robust - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 0.8 - is_enslaved = yes - has_slavery_type = { - type = slavery_indentured - } - } - modifier = { - factor = 1.5 - has_trait = trait_void_dweller_1 - } - modifier = { - factor = 1.5 - has_trait = trait_necrophage - } - } -} - -#工人模范 -model_worker = { - category = worker - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_foundry_1 - clothes_texture_index = 3 - icon = labour_hero - - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - } - possible_precalc = can_fill_specialist_job - possible = { - hidden_trigger = { exists = owner } - owner = { - is_gestalt = no - } - } - - resources = { - category = planet_metallurgists - produces = { - alloys = 1.5 - consumer_goods = 3 - } - produces = { - trigger = { - exists = owner - owner = { - is_catalytic_empire = yes - } - } - society_research = 1 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_crafters - } - } - consumer_goods = 1 - engineering_research = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - engineering_research = 0.25 - } - upkeep = { - minerals = 6 - } - upkeep = { - trigger = { - exists = owner - owner = { - is_catalytic_empire = yes - } - } - minerals = -6 - food = 6 - } - } - - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_industry_pacesetter - } - } - modifier = { - planet_metallurgists_alloys_produces_mult = 0.05 - planet_artisans_consumer_goods_produces_mult = 0.05 - } - } - - weight = { - weight = @worker_job_weight # Fairly important job - modifier = { # 可控的动态权重 - factor = value:job_weights_modifier|JOB|model_worker|RESOURCE|consumer_goods| - owner = { has_edict = dynamic_weight } - } - modifier = { - factor = 20 - is_enslaved = yes - can_take_servant_job = no - } - modifier = { - factor = 2 - species = { - has_species_flag = racket_species_flag - } - } - modifier = { - factor = 5 - has_job = foundry - } - modifier = { - factor = 15 - has_job = foundry - OR = { - has_trait = trait_robust - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 1.5 - has_trait = trait_void_dweller_1 - } - } -} - -#节点维护员 -democratic_politician = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_capital - icon = administrator - clothes_texture_index = 3 - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - resources = { - category = planet_bureaucrats - produces = { - society_research = 3 - physics_research = 1 - } - upkeep = { - consumer_goods = 0.75 - } - } - country_modifier = { - country_admin_cap_add = 10 - } - weight = { - weight = @specialist_job_weight - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { - has_trait = trait_mechanical - } - } - modifier = { - factor = 2 - has_trait = trait_robot_propaganda_machines - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robot_propaganda_machines - has_trait = trait_traditional - } - } - modifier = { - factor = 0.5 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.5 - has_job = democratic_politician - } - modifier = { - factor = 0.5 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.1 - has_trait = trait_latent_psionic - } - modifier = { - factor = 1.2 - has_trait = trait_psionic - } - modifier = { - factor = 0.5 - has_trait = trait_enigmatic_intelligence_failed - } - } -} - -#深核工程师 -deep_miner = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_crystal_mines - clothes_texture_index = 3 - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - resources = { - category = planet_miners - produces = { - trigger = { - owner = { - is_gestalt = no - } - } - minerals = 4 - energy = 3 - engineering_research = 2 - } - produces = { - trigger = { - owner = { - is_gestalt = yes - } - } - exotic_gases = 1 - volatile_motes = 1 - rare_crystals = 1 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_shared_burden - has_valid_civic = civic_socialistic - has_valid_civic = civic_forever_with_us - } - } - } - engineering_research = 0.25 - } - upkeep = { - trigger = { - owner = { - is_gestalt = no - } - } - consumer_goods = 0.5 - } - upkeep = { - trigger = { - owner = { - is_gestalt = yes - } - } - energy = 1 - } - } - weight = { - weight = @specialist_job_weight - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { - has_trait = trait_mechanical - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_industrious - has_trait = trait_robot_power_drills - has_trait = trait_natural_engineers - } - } - modifier = { - factor = 2 - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { - has_technology = tech_droid_workers - } - } - modifier = { - factor = 10 - OR = { - is_non_sapient_robot = yes - is_shackled_robot = yes - } - can_take_servant_job = no - owner = { - NOT = { - has_technology = tech_droid_workers - } - } - } - modifier = { - factor = 0.25 - can_take_servant_job = yes - } - modifier = { - factor = 1.2 - has_trait = trait_very_strong - } - modifier = { - factor = 1.1 - has_trait = trait_strong - } - modifier = { - factor = 0.9 - has_trait = trait_weak - } - modifier = { - factor = 1.2 - has_ethic = ethic_industrial - } - } -} - -#圣殿骑士 -templar = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_temple - clothes_texture_index = 3 - icon = knight - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - resources = { - category = planet_priests - produces = { - unity = 4 - } - produces = { - trigger = { - exists = owner - owner = { - has_tradition = tr_piety_nature_and_humanity - } - } - physics_research = 1.5 - engineering_research = 1.5 - } - upkeep = { - alloys = 0.5 - } - } - - triggered_pop_modifier = { - potential = { - always = yes - } - pop_defense_armies_add = 2 - mult = value:scripted_modifier_mult|MODIFIER|knights_independent_category_produces_mult| - } - - triggered_planet_modifier = { - potential = { - owner = { has_country_flag = toxoids_7090_a } - } - planet_stability_add = 3 - mult = value:scripted_modifier_mult|MODIFIER|knights_independent_category_produces_mult| - } - - triggered_country_modifier = { - country_naval_cap_add = 4 - mult = value:scripted_modifier_mult|MODIFIER|knights_independent_category_produces_mult| - } - - triggered_country_modifier = { - potential = { - owner = { has_country_flag = toxoids_7165_a } - } - country_alloys_produces_mult = 0.015 - } - - planet_modifier = { - job_squire_add = 1 - } - - weight = { - weight = @high_prio_specialist_job_weight - modifier = { - mult = value:job_weights_modifier|JOB|bureaucrat|RESOURCE|unity| - owner = { has_edict = dynamic_weight } - } - modifier = { - mult = value:job_weights_research_modifier|JOB|researcher| - } - } -} - -#死亡骑士 -death_knight = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_sacrificial_temple - clothes_texture_index = 3 - icon = knight - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - resources = { - category = planet_priests - produces = { - unity = 4 - } - produces = { - trigger = { - exists = owner - owner = { - has_tradition = tr_piety_nature_and_humanity - } - } - physics_research = 1.5 - engineering_research = 1.5 - } - upkeep = { - alloys = 0.5 - } - } - - triggered_pop_modifier = { - potential = { - always = yes - } - pop_defense_armies_add = 2 - mult = value:scripted_modifier_mult|MODIFIER|knights_independent_category_produces_mult| - } - triggered_pop_modifier = { - potential = { - exists = owner - owner = { has_valid_civic = civic_reanimated_armies } - } - modifier = { - pop_defense_armies_add = 3 - } - } - - triggered_planet_modifier = { - potential = { - owner = { has_country_flag = toxoids_7090_a } - } - planet_stability_add = 3 - mult = value:scripted_modifier_mult|MODIFIER|knights_independent_category_produces_mult| - } - - triggered_country_modifier = { - country_naval_cap_add = 4 - mult = value:scripted_modifier_mult|MODIFIER|knights_independent_category_produces_mult| - } - - triggered_country_modifier = { - potential = { - owner = { has_country_flag = toxoids_7165_a } - } - country_alloys_produces_mult = 0.015 - } - - triggered_planet_modifier = { - potential = { - owner = { - OR = { - has_valid_civic = civic_imperial_cult - has_valid_civic = civic_divine_council - has_valid_civic = civic_spiritual_democracy - has_valid_civic = civic_exalted_priesthood - } - } - } - planet_stability_add = 20 - mult = planet.society_factor_pops - } - - weight = { - weight = @high_prio_specialist_job_weight - modifier = { - mult = value:job_weights_modifier|JOB|bureaucrat|RESOURCE|unity| - owner = { has_edict = dynamic_weight } - } - modifier = { - mult = value:job_weights_research_modifier|JOB|researcher| - } - } -} - -#雇佣兵 -mercenary = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_stronghold - clothes_texture_index = 4 - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - country_modifier = { - country_naval_cap_add = 4 - } - pop_modifier = { - pop_defense_armies_add = 3 - } - triggered_planet_modifier = { - potential = { always = yes } - trade_value_add = 0.5 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - resources = { - category = planet_soldiers - upkeep = { - consumer_goods = 0.5 - } - } - weight = { - weight = @soldier_job_weight - modifier = { - factor = 10 - exists = planet - planet = { - has_modifier = martial_law - } - } - modifier = { - factor = 2 - has_trait = trait_resilient - } - modifier = { - factor = 2 - has_trait = trait_very_strong - } - modifier = { - factor = 1.5 - has_trait = trait_strong - } - modifier = { - factor = 0.5 - has_trait = trait_weak - } - modifier = { - factor = 0.1 - is_enslaved = yes - NOT = { - has_slavery_type = { - type = slavery_military - } - } - } - modifier = { - factor = 10 - is_enslaved = yes - has_slavery_type = { - type = slavery_military - } - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.1 - has_trait = trait_cybernetic - } - modifier = { - factor = 2 - has_trait = trait_presapient_earthbound - } - modifier = { - factor = 1.1 - has_trait = trait_limited_regeneration - } - modifier = { - factor = 1.1 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.1 - has_trait = trait_brainslug - } - modifier = { - factor = 1.05 - has_trait = trait_presapient_natural_intellectuals - } - modifier = { - factor = 1.05 - OR = { - has_trait = trait_robust - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 1.05 - has_trait = trait_nerve_stapled - } - modifier = { - factor = 1.1 - OR = { - has_trait = trait_robot_propaganda_machines - has_trait = trait_traditional - } - } - modifier = { - factor = 0.9 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0 - can_be_soldier = no - } - modifier = { - factor = 2 - has_trait = trait_lithoid - } - } -} - -#超越者 -transcend = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_psi_corps - clothes_texture_index = 5 - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - resources = { - category = planet_telepaths - produces = { - unity = 4 - society_research = 3 - physics_research = 2 - engineering_research = 1 - } - upkeep = { - energy = 2 - } - } - planet_modifier = { - planet_crime_add = -35 - } - - weight = { - weight = @specialist_job_weight - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { has_trait = trait_mechanical } - } - modifier = { - factor = 2 - exists = owner - owner = { has_civic = civic_exalted_priesthood } - } - modifier = { - factor = 2 - OR = { - has_trait = trait_robot_domestic_protocols - has_trait = trait_charismatic - } - } - modifier = { - factor = 0.5 - has_trait = trait_repugnant - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robot_propaganda_machines - has_trait = trait_traditional - } - } - modifier = { - factor = 1.2 - has_ethic = ethic_spiritualist - } - modifier = { - factor = 0.5 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.1 - has_trait = trait_natural_sociologists - } - modifier = { - factor = 0.1 - has_ethic = ethic_materialist - NOT = { has_job = priest } - } - modifier = { - factor = 1.5 - has_job = priest - } - modifier = { - factor = 1.5 - has_trait = trait_brainslug - } - modifier = { - factor = 1.3 - has_trait = trait_presapient_natural_intellectuals - } - modifier = { - factor = 1.3 - OR = { - has_trait = trait_robust - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 1.05 - OR = { - has_trait = trait_robot_logic_engines - has_trait = trait_intelligent - } - } - modifier = { - factor = 0.9 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.05 - has_trait = trait_psionic - } - modifier = { - factor = 0.7 - has_trait = trait_enigmatic_intelligence_failed - } - modifier = { - factor = 1.05 - OR = { - has_trait = trait_enigmatic_intelligence - has_trait = trait_enigmatic_intelligence_poor - } - } - modifier = { - factor = 0.1 - is_enslaved = yes - has_slavery_type = { type = slavery_indentured } - } - modifier = { - factor = 1.5 - has_trait = trait_void_dweller_1 - exists = planet - planet = { is_planet_class = pc_habitat } - } - modifier = { - factor = 0.85 - has_trait = trait_void_dweller_1 - exists = planet - planet = { is_artificial = no } - } - modifier = { - factor = 1.5 - has_trait = trait_necrophage - } - } -} - -#机械牧师 -techno_priest = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_robot_assembly_plant - clothes_texture_index = 3 - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_ruler_job - resources = { - category = planet_pop_assemblers - produces = { - unity = 3 - engineering_research = 2 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_liberation_theology - is_lithoid = no - NOT = { has_country_flag = synthetic_empire } - } - } - minerals = 2 - food = 3 - unity = 2 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_liberation_theology - is_lithoid = yes - NOT = { has_country_flag = synthetic_empire } - } - } - minerals = 4 - unity = 2 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_liberation_theology - has_country_flag = synthetic_empire - } - } - minerals = 2 - energy = 3 - unity = 2 - } - produces = { - trigger = { - exists = owner - owner = { - has_tradition = tr_piety_nature_and_humanity - } - } - engineering_research = 1.5 - society_research = 1.5 - } - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_knowledge_seeker - } - } - unity = -1 - physics_research = 1.5 - engineering_research = 1.5 - society_research = 1.5 - } - produces = { - trigger = { - owner = { - OR = { - has_valid_civic = civic_imperial_cult - has_valid_civic = civic_divine_council - has_valid_civic = civic_spiritual_democracy - has_valid_civic = civic_exalted_priesthood - } - } - } - engineering_research = 1 - } - upkeep = { - alloys = 0.5 - consumer_goods = 0.5 - } - produces = { - trigger = { - planet = { has_modifier = "ley_rift" } - } - unity = 1.5 - society_research = 0.75 - } - upkeep = { - trigger = { - planet = { has_modifier = "ley_rift" } - } - sr_zro = 0.1 - } - } - country_modifier = { - country_admin_cap_add = 3 - } - planet_modifier = { - planet_pops_robotics_upkeep_mult = -0.07 - planet_pop_assembly_add = 0.75 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 3 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - weight = { - weight = @specialist_job_weight - modifier = { - factor = 2 - owner = { - has_origin = origin_machine_cult - } - } - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { - has_trait = trait_mechanical - } - } - modifier = { - factor = 2 - exists = owner - owner = { - OR = { - has_valid_civic = civic_imperial_cult - has_valid_civic = civic_divine_council - has_valid_civic = civic_spiritual_democracy - has_valid_civic = civic_exalted_priesthood - } - } - } - modifier = { - factor = 2 - OR = { - has_trait = trait_robot_domestic_protocols - has_trait = trait_charismatic - } - } - modifier = { - factor = 0.5 - has_trait = trait_repugnant - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robot_propaganda_machines - has_trait = trait_traditional - } - } - modifier = { - factor = 1.2 - has_ethic = ethic_spiritualist - } - modifier = { - factor = 0.5 - has_trait = trait_quarrelsome - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 1.1 - has_trait = trait_natural_sociologists - } - modifier = { - factor = 0.1 - has_ethic = ethic_materialist - NOT = { - has_job = priest - } - } - modifier = { - factor = 1.5 - has_job = priest - } - modifier = { - factor = 1.5 - has_trait = trait_brainslug - } - modifier = { - factor = 1.3 - has_trait = trait_presapient_natural_intellectuals - } - modifier = { - factor = 1.3 - OR = { - has_trait = trait_robust - has_trait = trait_robot_efficient_processors - } - } - modifier = { - factor = 1.15 - has_trait = trait_erudite - } - modifier = { - factor = 1.05 - OR = { - has_trait = trait_robot_logic_engines - has_trait = trait_intelligent - } - } - modifier = { - factor = 0.9 - has_trait = trait_presapient_proles - } - modifier = { - factor = 1.05 - has_trait = trait_psionic - } - modifier = { - factor = 0.7 - has_trait = trait_enigmatic_intelligence_failed - } - modifier = { - factor = 1.05 - OR = { - has_trait = trait_enigmatic_intelligence - has_trait = trait_enigmatic_intelligence_poor - } - } - modifier = { - factor = 0.1 - is_enslaved = yes - has_slavery_type = { - type = slavery_indentured - } - } - modifier = { - factor = 1.5 - has_trait = trait_necrophage - } - } -} - -#天空主教 -re_sky_cardinal = { - category = specialist - is_capped_by_modifier = yes - clothes_texture_index = 1 - icon = high_priest - building_icon = building_palace - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - - possible = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - - resources = { - category = planet_priests - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_liberation_theology - } - } - unity = 8 - } - } - - triggered_planet_modifier = { - potential = { always = yes } - planet_stability_add = 85 - mult = planet.society_factor_pops - } - - triggered_planet_modifier = { - potential = { - always = yes - } - planet_amenities_add = 10 - mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult| - } - - triggered_planet_modifier = { - potential = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - modifier = { - planet_housing_add = 1 - planet_crime_add = -5 - } - } - - triggered_country_modifier = { - potential = { - owner = { - has_origin = origin_zarqlanism_idea - } - } - modifier = { - country_admin_cap_add = 5 - } - } - - weight = { - weight = 30000 - - # crisis purge - modifier = { - factor = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } - } - } -} - -#不知道是啥 -geoengineer = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_research_lab_1 - clothes_texture_index = 3 - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - resources = { - category = planet_researchers - produces = { - physics_research = 4 - engineering_research = 4 - } - upkeep = { - consumer_goods = 1 - } - } - weight = { - weight = @worker_job_weight - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { - has_trait = trait_mechanical - } - } - modifier = { - factor = 2 - has_living_standard = { - type = living_standard_academic_privilege - } - } - modifier = { - factor = 3 - has_trait = trait_erudite - } - modifier = { - factor = 2 - OR = { - has_trait = trait_robot_logic_engines - has_trait = trait_intelligent - } - } - modifier = { - factor = 2 - has_trait = trait_brainslug - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_natural_engineers - has_trait = trait_natural_physicists - } - } - modifier = { - factor = 1.1 - has_ethic = ethic_green - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 0.65 - OR = { - has_trait = trait_presapient_proles - } - } - modifier = { - factor = 1.5 - has_job = geoengineer - } - } -} - -#不知道是啥 -xenobiologist = { - category = specialist - condition_string = SPECIALIST_JOB_TRIGGER - building_icon = building_research_lab_1 - clothes_texture_index = 3 - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_specialist_job - resources = { - category = planet_researchers - produces = { - society_research = 7 - } - upkeep = { - consumer_goods = 1 - } - } - weight = { - weight = @worker_job_weight - modifier = { - factor = 0.2 - has_citizenship_rights = no - NOT = { - has_trait = trait_mechanical - } - } - modifier = { - factor = 2 - has_living_standard = { - type = living_standard_academic_privilege - } - } - modifier = { - factor = 3 - has_trait = trait_erudite - } - modifier = { - factor = 2 - OR = { - has_trait = trait_intelligent - } - } - modifier = { - factor = 2 - has_trait = trait_brainslug - } - modifier = { - factor = 2.5 - OR = { - has_trait = trait_natural_sociologists - } - } - modifier = { - factor = 1.1 - has_ethic = ethic_green - } - modifier = { - factor = 0.1 - can_take_servant_job = yes - } - modifier = { - factor = 0.65 - OR = { - has_trait = trait_presapient_proles - } - } - modifier = { - factor = 1.5 - has_job = xenobiologist - } - } -} - -################### -# 统治者 -################### -#核心党员 -core_party_members = { - category = ruler - condition_string = BATTLE_THRALL_JOB_TRIGGER - building_icon = building_precinct_house - clothes_texture_index = 5 - can_set_priority = no - icon = evaluator - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_ruler_job - possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } - } - resources = { - category = planet_enforcers - produces = { - unity = 3 - } - upkeep = { - consumer_goods = 1 - } - } - planet_modifier = { - species_empire_size_mult = -0.15 - POP_SLAVE_RESOURCE_OUTPUT = 0.05 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_crime_add = -300 - planet_stability_add = 100 - mult = planet.society_factor_pops - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_anarchism - } - } - modifier = { - pop_cat_specialist_happiness = -0.05 - } - } - weight = { - weight = @ruler_job_weight - } -} - -#指挥官 -commandante = { - category = ruler - condition_string = RULER_JOB_TRIGGER - building_icon = building_stronghold - clothes_texture_index = 1 - can_set_priority = no - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_ruler_job - possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } - } - country_modifier = { - country_naval_cap_add = 5 - } - resources = { - category = planet_politicians - produces = { - unity = 1 - } - produces = { - trigger = { - owner = { - has_valid_civic = civic_citizen_service - } - } - unity = 1 - } - produces = { - trigger = { - owner = { - has_valid_civic = civic_sparta_spirit - } - } - unity = 3 - } - upkeep = { - consumer_goods = 1 - } - } - planet_modifier = { - army_starting_experience_add = 50 - } - pop_modifier = { - pop_defense_armies_add = 1 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_stability_add = 50 - mult = planet.society_factor_pops - } - triggered_planet_modifier = { - potential = { - has_trait = trait_repugnant - } - modifier = { - planet_amenities_add = -1 - } - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_citizen_service - } - } - modifier = { - planet_amenities_add = 3 - } - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_sparta_spirit - } - } - modifier = { - planet_amenities_add = 5 - } - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_anarchism - } - } - modifier = { - pop_cat_specialist_happiness = -0.05 - } - } - triggered_pop_modifier = { - potential = { - owner = { - has_valid_civic = civic_triple_the_profit - } - } - modifier = { - pop_cat_ruler_political_power = 3 - } - } - weight = { - weight = @ruler_job_weight - modifier = { - factor = 2 - OR = { - has_trait = trait_very_strong - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_strong - } - } - modifier = { - factor = 0.5 - has_trait = trait_repugnant - } - modifier = { - factor = 5 - has_job = commandante - } - } -} - -#长者 -supervisor = { - category = ruler - condition_string = RULER_JOB_TRIGGER - building_icon = building_capital - clothes_texture_index = 1 - can_set_priority = no - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_ruler_job - possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } - } - resources = { - category = planet_politicians - produces = { - unity = 3 - } - upkeep = { - consumer_goods = 1 - } - } - planet_modifier = { - pop_cat_ruler_political_power = 1 - planet_jobs_society_research_produces_mult = 0.05 - planet_jobs_unity_produces_mult = 0.05 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 5 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - triggered_planet_modifier = { - potential = { - has_trait = trait_repugnant - } - modifier = { - planet_amenities_add = -1 - } - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_anarchism - } - } - modifier = { - pop_cat_specialist_happiness = -0.05 - } - } - weight = { - weight = @ruler_job_weight - modifier = { - factor = 2 - OR = { - has_trait = trait_talented - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_charismatic - } - } - modifier = { - factor = 0.5 - has_trait = trait_repugnant - } - modifier = { - factor = 5 - has_job = supervisor - } - } -} - -#大亨 -mogul = { - category = ruler - condition_string = RULER_JOB_TRIGGER - building_icon = building_galactic_stock_exchange - clothes_texture_index = 1 - can_set_priority = no - possible_pre_triggers = { - has_owner = yes - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_ruler_job - possible = { - OR = { - is_enslaved = no - owner = { has_valid_civic = civic_du_contrat_social } - } - } - possible = { - owner = { - NOT = { - has_valid_civic = civic_distributism - } - } - } - resources = { - category = planet_merchants - produces = { - unity = 1 - } - upkeep = { - consumer_goods = 1 - } - } - triggered_pop_modifier = { - potential = { - owner = { - has_policy_flag = market_operation - } - } - modifier = { - pop_cat_ruler_political_power = 1 - } - } - triggered_pop_modifier = { - potential = { - owner = { - has_valid_civic = civic_triple_the_profit - } - } - modifier = { - pop_cat_ruler_political_power = 3 - } - } - - triggered_planet_modifier = { - potential = { always = yes } - trade_value_add = 3 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult| - } - - triggered_planet_modifier = { - potential = { always = yes } - trade_value_add = 0.5 - mult = planet.value:count_job|JOB|manager| - } - - planet_modifier = { - job_merchant_add = -1 - job_manager_add = 1 - planet_jobs_energy_produces_mult = 0.03 - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 7 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - triggered_planet_modifier = { - potential = { - has_trait = trait_repugnant - } - modifier = { - planet_amenities_add = -1 - } - } - triggered_planet_modifier = { - potential = { - owner = { - has_valid_civic = civic_anarchism - } - } - modifier = { - pop_cat_specialist_happiness = -0.05 - } - } - weight = { - weight = @ruler_job_weight - modifier = { - factor = 2 - OR = { - has_trait = trait_thrifty - has_trait = trait_nuumismatic_administration - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_robot_domestic_protocols - has_trait = trait_charismatic - } - } - modifier = { - factor = 0.5 - has_trait = trait_repugnant - } - modifier = { - factor = 5 - has_job = mogul - } - modifier = { - factor = 1.5 - has_ethic = ethic_capitalism - } - } -} - -################### -# 其他 -################### -#有机观察员 -organic_observer = { - category = bio_trophy - is_capped_by_modifier = no - clothes_texture_index = 2 - building_icon = building_fe_dome - icon = researcher - possible_pre_triggers = { - } - pop_modifier = { - pop_happiness = 0.1 - } - possible = { - NOT = { has_trait = "trait_mechanical" } - has_citizenship_type = { - type = citizenship_limited - } - exists = owner - owner = { - has_civic = civic_machine_liberator - } - } - resources = { - category = planet_researchers - produces = { - food = 1 - minerals = 1 - consumer_goods = 0.5 - society_research = 1 - unity = 4 - } - produces = { - trigger = { - owner = { - has_valid_civic = civic_mechanical_utopia - } - } - energy = 1 - minerals =1 - food =1 - consumer_goods =0.5 - alloys =0.25 - } - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 1 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - weight = { - weight = 1 - } -} - -#能治工人 -intelligent_labor = { - category = complex_drone - condition_string = DRONE_JOB_TRIGGER - building_icon = building_machine_capital - icon = evaluator - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible_precalc = can_fill_drone_job - resources = { - category = planet_bureaucrats - upkeep = { - energy = 3 - } - } - triggered_planet_modifier = { - potential = { always = yes } - planet_stability_add = 200 - pop_cat_worker_political_power = -20 - mult = planet.society_factor_pops - } - weight = { - weight = @complex_drone_job_weight - modifier = { - factor = 3 - has_trait = trait_erudite - } - modifier = { - factor = 2 - OR = { - has_trait = trait_robot_logic_engines - has_trait = trait_intelligent - } - } - modifier = { - factor = 1.5 - OR = { - has_trait = trait_natural_engineers - has_trait = trait_natural_physicists - has_trait = trait_natural_sociologists - } - } - modifier = { - factor = 0.9 - exists = owner - years_passed < 1 - owner = { - has_valid_civic = civic_machine_assimilator - } - has_trait = trait_cybernetic - } - modifier = { - factor = 0 - planet = { - owner = { - is_ai = yes - has_resource = { - type = minerals - amount < 500 - } - has_monthly_income = { - resource = minerals - value < 25 - } - } - } - } - } -} - -#机魂 -machine_soul = { - category = machine_soul - clothes_texture_index = 1 - building_icon = building_organic_sanctuary - icon = bio_trophy - possible = { - exists = owner - owner = { - has_civic = civic_machine_soul_servant - } - has_trait = "trait_mechanical" - } - resources = { - category = planet_bio_trophies - produces = { - unity = 4 - } - } - planet_modifier = { - planet_amenities_no_happiness_add = 2 - planet_jobs_produces_mult = 0.01 - } - country_modifier = { - country_admin_cap_add = 2 - pop_amenities_usage_mult = -0.015 - } - triggered_pop_modifier = { - pop_housing_usage_add = -1 - } - weight = { - weight = 999999 - } -} - -#复杂子个体 -future_complex_drone = { - category = complex_drone - is_capped_by_modifier = no - clothes_texture_index = 2 - icon = administrator - possible_precalc = can_fill_drone_job - possible_pre_triggers = { - has_owner = yes - } - possible = { - OR = { - planet = { has_modifier = planet_unemployment_benefits } - owner = { is_ai = yes } - } - owner = { - has_active_tradition = tr_future_industry - has_technology = tech_ascension_theory - is_gestalt = yes - } - } - resources = { - category = planet_jobs - produces = { - unity = 3 - physics_research = 0.5 - society_research = 0.5 - engineering_research = 0.5 - alloys = 1 - influence = 0.01 - } - #AI基础与年数产出 - produces = { - trigger = { - owner = { is_ai = yes } - } - food = 2 - energy = 4 - minerals = 2 - alloys = 0.5 - physics_research = 0.25 - engineering_research = 0.25 - society_research = 0.25 - unity = 0.25 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 20 - } - food = 1 - energy = 4 - minerals = 1 - alloys = 1 - physics_research = 1 - engineering_research = 1 - society_research = 1 - unity = 1 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 35 - } - food = 1 - energy = 4 - minerals = 1 - alloys = 3 - physics_research = 1 - engineering_research = 1 - society_research = 1 - unity = 1 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 50 - } - food = -2 - energy = 16 - minerals = -2 - alloys = 3 - physics_research = 2 - engineering_research = 2 - society_research = 2 - unity = 8 - } - - produces = { - trigger = { - owner = { is_ai = yes } - mid_game_years_passed > 0 - } - food = 2 - energy = 6 - minerals = 2 - alloys = 6 - physics_research = 3 - engineering_research = 3 - society_research = 3 - unity = 2 - } - - produces = { - trigger = { - end_game_years_passed > 0 - } - alloys = 8 - physics_research = 3 - engineering_research = 3 - society_research = 3 - unity = 1 - } - #AI思潮加成 - produces = { - trigger = { - owner = { - is_ai = yes - or = { - has_ethic = ethic_fanatic_spiritualist - has_ethic = ethic_spiritualist - } - - } - } - unity = 2 - } - produces = { - trigger = { - owner = { - is_ai = yes - OR = { - has_ethic = ethic_fanatic_materialist - has_ethic = ethic_materialist - } - } - } - physics_research = 1 - engineering_research = 1 - society_research = 1 - } - #AI难度加成 - produces = { - trigger = { - owner = { is_ai = yes } - is_difficulty = 2 - } - food = 1 - energy = 1 - minerals = 1 - consumer_goods = 1 - alloys = 2 - physics_research = 1 - engineering_research = 1 - society_research = 1 - unity = 1 - } - produces = { - trigger = { - owner = { is_ai = yes } - is_difficulty = 3 - } - food = 2 - energy = 2 - minerals = 2 - consumer_goods = 2 - alloys = 4 - physics_research = 3 - engineering_research = 3 - society_research = 3 - unity = 2 - } - produces = { - trigger = { - owner = { is_ai = yes } - is_difficulty = 4 - } - food = 3 - energy = 3 - minerals = 3 - consumer_goods = 3 - alloys = 6 - physics_research = 4 - engineering_research = 4 - society_research = 4 - unity = 3 - } - produces = { - trigger = { - owner = { is_ai = yes } - is_difficulty = 5 - } - food = 8 - energy = 8 - minerals = 8 - consumer_goods = 8 - alloys = 18 - physics_research = 8 - engineering_research = 8 - society_research = 8 - unity = 8 - } - #AI弱者强化 - produces = { - trigger = { - years_passed >= 50 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 8 - engineering_research = 8 - society_research = 8 - alloys = 14 - unity = 2 - } - produces = { - trigger = { - years_passed >= 80 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 8 - engineering_research = 8 - society_research = 8 - alloys = 14 - } - } - weight = { - weight = 0.1 - } -} - -#简单子个体 -future_simple_drone = { - category = simple_drone - is_capped_by_modifier = no - clothes_texture_index = 2 - icon = primitive_laborer - possible_precalc = can_fill_drone_job - possible_pre_triggers = { - has_owner = yes - } - possible = { - OR = { - planet = { has_modifier = planet_unemployment_benefits } - owner = { is_ai = yes } - } - owner = { - has_active_tradition = tr_future_industry - has_technology = tech_ascension_theory - is_gestalt = yes - } - } - resources = { - category = planet_jobs - produces = { - energy = 2 - minerals = 1 - unity = 0.5 - } - produces = { - trigger = { - NOR = { - has_trait = trait_mechanical - has_trait = trait_lithoid - } - } - food = 2 - } - produces = { - trigger = { - OR = { - has_trait = trait_mechanical - has_trait = trait_lithoid - } - } - minerals = 1.5 - } - - #利他主义 - produces = { - trigger = { - exists = owner - owner = { - has_valid_civic = civic_altruism - } - } - unity = 2 - } - - # Utopian living standards - produces = { - trigger = { - has_utopian_living_standard_type = yes - } - society_research = 2 - physics_research = 2 - engineering_research = 2 - } - - # Welfare - produces = { - trigger = { - OR = { - has_very_high_living_standard_type = yes - has_high_living_standard_type = yes - has_shared_burden_living_standard_type = yes - } - } - unity = 1 - } - #AI基础与年数产出 - produces = { - trigger = { - owner = { is_ai = yes } - } - food = 2 - energy = 4 - minerals = 2 - consumer_goods = 1 - alloys = 0.5 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 20 - } - food = 1 - energy = 4 - minerals = 1 - consumer_goods = 1 - alloys = 1 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 35 - } - food = 1 - energy = 4 - minerals = 1 - consumer_goods = 1 - alloys = 1 - } - produces = { - trigger = { - owner = { is_ai = yes } - years_passed >= 50 - } - food = -2 - energy = 16 - minerals = -2 - consumer_goods = -2 - alloys = 2 - } - - produces = { - trigger = { - owner = { is_ai = yes } - mid_game_years_passed > 0 - } - food = 2 - energy = 6 - minerals = 2 - consumer_goods = 2 - alloys = 2 - } - - produces = { - trigger = { - end_game_years_passed > 0 - } - alloys = 3 - unity = 1 - } - #AI思潮加成 - produces = { - trigger = { - owner = { - is_ai = yes - or = { - has_ethic = ethic_fanatic_spiritualist - has_ethic = ethic_spiritualist - } - - } - } - unity = 2 - } - produces = { - trigger = { - owner = { - is_ai = yes - OR = { - has_ethic = ethic_fanatic_materialist - has_ethic = ethic_materialist - } - } - } - physics_research = 1 - engineering_research = 1 - society_research = 1 - } - #AI弱者强化 - produces = { - trigger = { - years_passed >= 50 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 8 - engineering_research = 8 - society_research = 8 - alloys = 8 - unity = 2 - } - produces = { - trigger = { - years_passed >= 80 - owner = { - is_ai = yes - num_pops < 100 - } - } - physics_research = 8 - engineering_research = 8 - society_research = 8 - alloys = 14 - } - produces = { - trigger = { - exists = owner - owner = { - is_hive_empire = yes - } - } - minerals = 1 - } - produces = { - trigger = { - exists = owner - owner = { - is_hive_empire = yes - has_civic = civic_hive_natural_neural_network - } - } - physics_research = 1 - engineering_research = 1 - society_research = 1.5 - } - } - triggered_planet_modifier = { - potential = { always = yes } - planet_amenities_add = 2 - mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult| - } - weight = { - weight = 0.95 - } -} - -#享乐主义者 -fe_hedonist = { - category = precursor - is_capped_by_modifier = no - building_icon = building_hyper_entertainment_forum - clothes_texture_index = 2 - - possible_pre_triggers = { - has_owner = yes - is_sapient = yes - } - - possible = { - OR = { - AND = { - owner = { - is_fallen_empire = yes - is_fallen_empire_spiritualist = no - is_fallen_machine_empire = no - } - } - AND = { - owner = { has_origin = origin_taking_care_of_god } - has_trait = trait_fallen_god - } - } - is_same_species = owner - NOR = { - has_trait = trait_mechanical - has_trait = trait_machine_unit - } - } - - resources = { - category = planet_jobs - produces = { - unity = 2 - } - } - - weight = { - weight = 1000 - - # crisis purge - modifier = { - factor = 0.01 - exists = planet - exists = planet.controller - planet.controller = { - OR = { - is_country_type = swarm - is_country_type = ai_empire - } - } - } - - modifier = { - factor = 100 - owner = { has_origin = origin_taking_care_of_god } - has_trait = trait_fallen_god - } - } -} - -#繁育子个体 -breeding_drone = { - category = simple_drone - is_capped_by_modifier = no - building_icon = building_organic_paradise - icon = aid_worker - can_set_priority = no - possible_precalc = can_fill_drone_job - possible_pre_triggers = { - has_owner = yes - is_robot_pop = yes - is_being_assimilated = no - is_being_purged = no - } - - possible_precalc = can_fill_drone_job - - possible = { - hidden_trigger = { - exists = owner - } - owner = { - has_valid_civic = civic_machine_syntheticLove - } - } - - triggered_planet_modifier = { - pop_growth_speed = 0.02 - biological_pop_happiness = 0.01 - planet_amenities_no_happiness_add = 2 - } - - resources = { - category = planet_jobs - produces = { - unity = 2 - } - upkeep = { - food = 3 - } - } - - weight = { - weight = -1.0 - } -} - -#不朽者 -vanguard = { - category = vanguard_unit - condition_string = DRONE_JOB_TRIGGER - is_capped_by_modifier = no - building_icon = building_power_plant - clothes_texture_index = 2 - icon = mind_thrall - possible_pre_triggers = { - has_owner = yes - is_enslaved = no - is_being_purged = no - is_being_assimilated = no - is_sapient = yes - } - possible = { - owner = { - has_valid_civic = civic_forever_with_us - } - has_trait = trait_vanguard_hive_mind - } - resources = { - category = planet_politicians - upkeep = { - energy = 6 - } - } - country_modifier = { - country_admin_cap_add = 10 - } - - triggered_country_modifier = { - potential = { - exists = owner - owner = { - is_authoritarian = yes - } - } - modifier = { - country_edict_fund_add = 3 - } - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - is_egalitarian = yes - } - } - modifier = { - pop_housing_usage_mult = -0.025 - } - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - is_xenophobe = yes - } - } - modifier = { - pop_citizen_happiness = 0.025 - } - } - - triggered_country_modifier = { - potential = { - exists = owner - owner = { - is_xenophile = yes - } - } - modifier = { - planet_pops_upkeep_mult = -0.025 - } - } - - triggered_country_modifier = { - potential = { - exists = owner - owner = { - is_militarist = yes - } - } - modifier = { - country_naval_cap_add = 2 - } - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - is_pacifist = yes - } - } - modifier = { - pop_amenities_usage_mult = -0.025 - } - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - is_materialist = yes - } - } - modifier = { - planet_amenities_add = 5 - } - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - is_capitalism = yes - } - } - modifier = { - trade_value_mult = 0.075 - } - } - - triggered_planet_modifier = { - potential = { - exists = owner - owner = { - is_socialism = yes - } - } - modifier = { - plan_type_mult = 0.1 - } - } - weight = { - weight = 9999 - } -} - diff --git a/common/scripted_triggers/ethic_scripted_triggers.txt b/common/scripted_triggers/ethic_scripted_triggers.txt index 855aa0e2f..2f117e708 100644 --- a/common/scripted_triggers/ethic_scripted_triggers.txt +++ b/common/scripted_triggers/ethic_scripted_triggers.txt @@ -94,7 +94,7 @@ ethic_is_not_enslaved = { # 可以担任艺人职业(兼容特殊国策) ethic_entertainer_job_check_trigger = { - custom_tooltip = ENTERTAINER_JOB_TRIGGER + custom_tooltip = SPECIALIST_JOB_TRIGGER hidden_trigger = { exists = owner OR = { @@ -107,15 +107,10 @@ ethic_entertainer_job_check_trigger = { # 可以担任战斗职业(兼容特殊国策) ethic_battle_thrall_job_check_trigger = { - custom_tooltip = BATTLE_THRALL_JOB_TRIGGER - hidden_trigger = { - OR = { - battle_thrall_job_check_trigger = yes - AND = { - exists = owner - owner = { has_valid_civic = civic_du_contrat_social } - } - } + hidden_trigger = { exists = owner } + OR = { + battle_thrall_job_check_trigger = yes + owner = { has_valid_civic = civic_du_contrat_social } } } diff --git "a/common/traditions/\351\235\251\345\221\275.txt" "b/common/traditions/\351\235\251\345\221\275.txt" index 559bb2dc0..c94a1a934 100644 --- "a/common/traditions/\351\235\251\345\221\275.txt" +++ "b/common/traditions/\351\235\251\345\221\275.txt" @@ -1,10 +1,7 @@ tr_revolution_adopt = { custom_tooltip_with_modifiers = tr_revolution_adopt_desc possible = { - NOR = { - has_ethic = ethic_fanatic_authoritarian - has_ethic = ethic_fanatic_capitalism - } + can_take_revolution_adopt = yes } modifier = { diff --git a/common/war_goals/ethic_wae_goals.txt b/common/war_goals/ethic_wae_goals.txt deleted file mode 100644 index fe4d68aa8..000000000 --- a/common/war_goals/ethic_wae_goals.txt +++ /dev/null @@ -1,28 +0,0 @@ - -wg_end_threat_human = { - casus_belli = cb_containment_human - - hide_if_no_cb = yes - total_war = yes - set_defender_wargoal = wg_cleansing - - allowed_peace_offers = { - status_quo - } - - surrender_acceptance = -1000 - - potential = { - OR = { - owner_main_species = { species_portrait = human } - owner_main_species = { species_portrait = human_legacy } - } - } - possible = { - always = yes - } - - ai_weight = { - weight = 100 - } -} \ No newline at end of file diff --git a/events/ethic_peoples_empire.txt b/events/ethic_peoples_empire.txt index 24360da05..33d48c82e 100644 --- a/events/ethic_peoples_empire.txt +++ b/events/ethic_peoples_empire.txt @@ -23,7 +23,7 @@ country_event = { } set_country_flag = revolutionary_propaganda add_modifier = { - modifier = "mod_revolutionary_propaganda" + modifier = "revolutionary_propaganda" days = 360 } } @@ -31,11 +31,11 @@ country_event = { limit = { is_galactic_community_member = yes has_country_flag = revolutionary_propaganda - NOT = { has_modifier = mod_revolutionary_propaganda } + NOT = { has_modifier = revolutionary_propaganda } } remove_country_flag = revolutionary_propaganda add_modifier = { - modifier = "mod_revolutionary_propaganda" + modifier = "revolutionary_propaganda" days = 360 } } @@ -63,7 +63,7 @@ country_event = { limit = { is_galactic_community_member = yes has_country_flag = revolutionary_propaganda - has_modifier = mod_revolutionary_propaganda + has_modifier = revolutionary_propaganda } remove_country_flag = revolutionary_propaganda } diff --git a/localisation/replace/english/ethic_traditions_l_english.yml b/localisation/replace/english/ethic_traditions_l_english.yml index fe54a4e76..bd1b0515a 100644 --- a/localisation/replace/english/ethic_traditions_l_english.yml +++ b/localisation/replace/english/ethic_traditions_l_english.yml @@ -223,13 +223,6 @@ tr_revolution_null_desc:1 "§RAll effects fail.§!" tr_revolution_null_delayed:0 "" - ethic_revolution.3.name:0 "Anti-Revisionism" - ethic_revolution.3.desc:0 "The population is outraged that the [Root.GetName] government has publicly shifted its governing morality away from revolutionary values. Mass demonstrations have brought the social functioning of [Root.Capital.GetName] to a halt, and the slogan "Death to the oppressor" has grown louder. The situation could escalate rapidly, and administration officials have been surprised by the strong sentiment on the issue. Many support the continuation of the revolution, however, there are also other members of society and government who support [Root.GetName] to come out of the burden of constant revolution and claim that [Root.GetName] should be a respected member of the galactic family , rather than troublemakers." - ethic_revolution.3.a:0 "We will win!" - ethic_revolution.3.a.tooltip:0 "§LThe angry people dragged the reactionaries out of their lair and hung them from lampposts. The revolution triumphed again.§!" - ethic_revolution.3.b:0 "Friends, let's talk reality..." - ethic_revolution.3.b.tooltip:0 "§LThe movement eerily subsided, people were silent about it, and only a few conservatives were left fighting the New Deal with difficulty.§!" - tradition_piety:0 "Piety" tr_piety_adopt:0 "Piety Traditions" tr_piety_adopt_desc:0 "$tr_piety_adopt_effect$" diff --git a/localisation/replace/simp_chinese/ethic_traditions_l_simp_chinese.yml b/localisation/replace/simp_chinese/ethic_traditions_l_simp_chinese.yml index 2a4285d48..b0c4248bf 100644 --- a/localisation/replace/simp_chinese/ethic_traditions_l_simp_chinese.yml +++ b/localisation/replace/simp_chinese/ethic_traditions_l_simp_chinese.yml @@ -216,13 +216,6 @@ tr_revolution_null:0 "§L革命失败§!" tr_revolution_null_desc:1 "§R所有效果失效。§!" tr_revolution_null_delayed:0 "" - - ethic_revolution.3.name:0 "反修正主义" - ethic_revolution.3.desc:0 "民众对[Root.GetName]政府公开将其执政道德从革命价值观上转移感到愤怒。大规模的示威使得[Root.Capital.GetName]的社会运转都停止了,“压迫者去死”的口号也日渐响亮。局势可能迅速升级,政府官员对这一问题上的强烈情绪感到吃惊。许多人支持继续进行革命,然而,社会和政府同样有其它成员支持[Root.GetName]从不断革命的负担中走出来,并宣称[Root.GetName]应当成为银河系大家庭中受人尊敬的一员,而不是捣乱分子。" - ethic_revolution.3.a:0 "我们终将胜利!" - ethic_revolution.3.a.tooltip:0 "§L愤怒的人民将反动派从他们的巢穴中拖了出来,吊在了路灯杆上。革命又一次取得了胜利。§!" - ethic_revolution.3.b:0 "朋友们,我们来谈谈现实吧..." - ethic_revolution.3.b.tooltip:0 "§L运动诡异的平息了,人们对此缄口不言,只剩下一些保守分子在艰难的和新政对抗。§!" ################################################################ # DISCOVERY diff --git a/prescripted_countries/00_top_countries.txt b/prescripted_countries/00_top_countries.txt index ad21025f9..3cc1f6db7 100644 --- a/prescripted_countries/00_top_countries.txt +++ b/prescripted_countries/00_top_countries.txt @@ -105,8 +105,6 @@ humans2 = { "civic_parliamentary_system" } government = gov_representative_democracy - - origin = "origin_lost_colony" ethic = "ethic_xenophobe" ethic = "ethic_fanatic_militarist"