Skip to content

Commit

Permalink
Merge pull request #7 from cocolinfff/master
Browse files Browse the repository at this point in the history
Update 23/7 #1
  • Loading branch information
Ryifer authored Sep 23, 2022
2 parents dc156ee + 04522a7 commit 596bee7
Show file tree
Hide file tree
Showing 28 changed files with 1,895 additions and 284 deletions.
162 changes: 162 additions & 0 deletions common/buildings/ethic_manufacturing_buildings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1095,3 +1095,165 @@ building_factory_3 = {
}
}
}

# 协同物流中心
building_coordinated_fulfillment_center_1 = {
base_buildtime = @b1_time
base_cap_amount = 1

category = manufacturing

potential = {
host_has_dlc = "Toxoids Species Pack"
exists = owner
owner = { is_relentless_industrialist_empire = yes }
NOR = {
has_modifier = resort_colony
has_modifier = slave_colony
}
}

destroy_trigger = {
exists = owner
OR = {
owner = { is_relentless_industrialist_empire = no }
has_modifier = resort_colony
has_modifier = slave_colony
AND = {
owner = {
is_ai = yes
}
has_any_industry_district = no
}
}
}

prerequisites = {
tech_basic_industry
}

show_tech_unlock_if = {
is_relentless_industrialist_empire = yes
}

allow = {
has_upgraded_capital = yes
}

triggered_desc = {
trigger = {
NOR = {
is_planet_class = pc_nuked
is_planet_class = pc_city
uses_district_set = habitat
uses_district_set = ring_world
uses_district_set = shattered_ring_world
}
}
text = building_coordinated_fulfillment_center_tooltip
}

planet_modifier = {
planet_metallurgists_produces_mult = 0.2
planet_artisans_produces_mult = 0.2
}

triggered_planet_modifier = {
potential = {
owner = { has_policy_flag = relentless_industrialists_full_steam_ahead }
}
modifier = {
planet_metallurgists_produces_mult = 0.1
planet_artisans_produces_mult = 0.1
}
}

triggered_planet_modifier = {
potential = {
owner = { is_synthetic_empire = no }
}
modifier = {
pop_growth_speed_reduction = 0.15
}
}

triggered_planet_modifier = {
potential = {
owner = {
is_synthetic_empire = no
NAND = {
has_policy_flag = relentless_industrialists_study
has_country_flag = relentless_industrialists_study_completed
}
}
}
modifier = {
pop_growth_speed_reduction = 0.05
}
}

triggered_planet_modifier = {
potential = {
owner = { is_synthetic_empire = yes }
}
modifier = {
habitability_ceil_add = -0.075
}
}

triggered_planet_modifier = {
potential = {
owner = {
owner = { is_synthetic_empire = yes }
NAND = {
has_policy_flag = relentless_industrialists_study
has_country_flag = relentless_industrialists_study_completed
}
}
}
modifier = {
habitability_ceil_add = -0.025
}
}

upgrades = {
building_coordinated_fulfillment_center_2
}

resources = {
category = planet_buildings
cost = {
minerals = @b1_minerals
}
upkeep = {
energy = @b1_upkeep
}
upkeep = {
unity = 10
trigger = {
owner = { has_policy_flag = relentless_industrialists_cleanup }
}
}
}

ai_resource_production = {
alloys = 6
trigger = {
planet_resource_compare = {
resource = alloys
value >= 40
type = produces
}
}
}
ai_resource_production = {
consumer_goods = 8
trigger = {
planet_resource_compare = {
resource = consumer_goods
value >= 50
type = produces
}
}
}
}
23 changes: 21 additions & 2 deletions common/buildings/ethic_unity_buildings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ building_bureaucratic_1 = {
job_media_worker_add = 1
}

ai_resource_production = { # cheat ai player that empire_size_buidling makes unity
potential = {
always = yes
}
unity = 20
}

triggered_desc = {
text = job_media_worker_effect_desc
}
Expand Down Expand Up @@ -288,7 +295,14 @@ building_bureaucratic_2 = {
rare_crystals = @b2_rare_upkeep
}
}


ai_resource_production = { # cheat ai player that empire_size_buidling makes unity
potential = {
always = yes
}
unity = 40
}

triggered_planet_modifier = {
potential = {
exists = owner
Expand Down Expand Up @@ -474,7 +488,12 @@ building_bureaucratic_3 = {
rare_crystals = @b3_rare_upkeep
}
}

ai_resource_production = { # cheat ai player that empire_size_buidling makes unity
potential = {
always = yes
}
unity = 60
}
triggered_planet_modifier = {
potential = {
exists = owner
Expand Down
Loading

0 comments on commit 596bee7

Please sign in to comment.