Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions common/buildings/giga_buildings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ building_giga_matter_synthesizer = {
owner = { is_regular_empire = yes }
}
modifier = {
job_matter_synthesizer_add = 500
job_matter_synthesizer_add = 600
}
}

Expand All @@ -609,7 +609,7 @@ building_giga_matter_synthesizer = {
owner = { is_regular_empire = no }
}
modifier = {
job_matter_synthesizer_drone_add = 500
job_matter_synthesizer_drone_add = 600
}
}
}
Expand Down Expand Up @@ -680,21 +680,6 @@ building_giga_interstellar_hydroponic_farm = {
}
}

triggered_desc = {
trigger = {
exists = owner
owner = { is_gestalt = yes }
}
text = job_agri_drone_effect_desc
}
triggered_desc = {
trigger = {
exists = owner
owner = { is_gestalt = no }
}
text = job_farmer_effect_desc
}

ai_weight = { weight = 0 }
}

Expand Down
2 changes: 1 addition & 1 deletion common/districts/giga_gas_giant_habitat_districts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ district_giga_gas_giant_habitat_exotic = {
}

zone_slots = {
slot_city_01
slot_gigas_gas_giant_exotic
}

# base stats
Expand Down
1 change: 1 addition & 0 deletions common/districts/giga_planets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ district_giga_planet_geothermal = {
##################################
### Alloys #######################
##################################
# should probably be removed, not used anywhere
district_giga_planet_alloys = {
base_buildtime = @giga_planet_urban_district_buildtime
is_capped_by_modifier = no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ building_giga_megaworkshop_acot_$tier$ = {
building_sets = {
industrial
foundry
giga_supertensile
}

resources = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ building_giga_megaworkshop_hub_acot_$tier$ = {

can_build = no # upgrade

building_sets = {
industrial
foundry
giga_supertensile
}

resources = {
category = planet_buildings
cost = {
Expand Down
7 changes: 7 additions & 0 deletions common/scripted_triggers/giga_planet_class_triggers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,13 @@
}
}

giga_is_volcanic = {
optimize_memory
OR = {
is_planet_class = pc_volcanic
}
}

### HAB MEGASTRUCTURE TRIGGERS ###
giga_is_birch_world = {
optimize_memory
Expand Down
1 change: 1 addition & 0 deletions common/scripted_triggers/zzz_overwrites.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,7 @@ habitable_planet_not_urban = {
giga_is_alpine = yes
giga_is_savannah = yes
giga_is_gaia = yes
giga_is_volcanic = yes

# gigastructures
giga_is_lifeless = yes
Expand Down
7 changes: 7 additions & 0 deletions common/zone_slots/gigas_zone_slots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -328,3 +328,10 @@ slot_maginot_bunker_complexes = {
always = yes
}
}

slot_gigas_gas_giant_exotic = {
included_zone_sets = {
urban
food
}
}
167 changes: 141 additions & 26 deletions events/giga_204_origins_gas_giant.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,43 +71,158 @@ country_event = {

add_modifier = { modifier = giga_gas_giant_hab }

# districts :: housing/industrial
while = {
count = 6
add_district = district_giga_planet_city
}
########################################################################
# a bunch of district setup sigh
########################################################################
# city / hive / nexus district

# INDIVID
if = {
limit = {
root = { is_gestalt = no }
}
while = {
count = 6
add_district = district_giga_planet_city
}
add_zone = {
district = district_giga_planet_city
zone = zone_industrial
zone_slot = 1
replace = no
}
add_zone = {
district = district_giga_planet_city
zone = zone_research_unity
zone_slot = 2
replace = no
}
add_building = { building = building_factory_1 zone = zone_industrial }
}
else_if = {
limit = { root = { is_hive_empire = yes } }
while = {
count = 6
add_district = district_giga_planet_hive
}
if = {
limit = { owner = { giga_has_consumer_goods_civic_or_individualist = yes } }
add_zone = {
district = district_giga_planet_hive
zone = zone_industrial
zone_slot = 1
replace = no
}
}
else = {
add_zone = {
district = district_giga_planet_hive
zone = zone_foundry
zone_slot = 1
replace = no
}
}
add_zone = {
district = district_giga_planet_hive
zone = zone_research_unity
zone_slot = 2
replace = no
}
}
else_if = {
limit = { root = { is_machine_empire = yes } }
while = {
count = 6
add_district = district_giga_planet_nexus
}
if = {
limit = { owner = { giga_has_consumer_goods_civic_or_individualist = yes } }
add_zone = {
district = district_giga_planet_nexus
zone = zone_industrial
zone_slot = 1
replace = no
}
}
else = {
add_zone = {
district = district_giga_planet_nexus
zone = zone_foundry
zone_slot = 1
replace = no
}
}
add_zone = {
district = district_giga_planet_nexus
zone = zone_research_unity
zone_slot = 2
replace = no
}
}

# science district
add_district = district_giga_gas_giant_habitat_science
remove_building = building_research_lab_1

# districts :: energy
# energy district
add_district = district_giga_gas_giant_habitat_wind
add_district = district_giga_gas_giant_habitat_wind
add_district = district_giga_gas_giant_habitat_wind

# exotic district
add_district = district_giga_gas_giant_habitat_exotic
add_district = district_giga_gas_giant_habitat_exotic

if = {
limit = {
owner = {
is_robot_empire = yes
}
}
add_building = building_research_lab_1
add_district = district_giga_gas_giant_habitat_wind
}
# more energy / research if robot
if = {
limit = {
owner = {
is_robot_empire = yes
}
}
add_building = { building = building_research_lab_1 zone = zone_research_unity }
add_district = district_giga_gas_giant_habitat_wind
}

if = {
limit = {
exists = owner
owner_main_species = {
has_food_upkeep = yes
}
}
add_building = building_hydroponics_farm
add_building = building_hydroponics_farm
}
# food if has any organic
if = {
limit = {
exists = owner
any_owned_species = {
has_trait = trait_organic
}
}
add_zone = {
zone = zone_food
district = district_giga_gas_giant_habitat_exotic
}

add_building = { building = building_hydroponics_farm zone = zone_food }
add_building = { building = building_hydroponics_farm zone = zone_food }
}

# if lithoid / infernal empire, well have another city
if = {
limit = {
owner = {
OR = {
is_infernal = yes
is_lithoid_empire = yes
}
}
}
if = {
limit = {
owner = {
is_hive_empire = yes
}
}
add_district = district_giga_planet_hive
}
else = {
add_district = district_giga_planet_city
}

}

repair_all_buildings = yes
check_planet_employment = yes
Expand Down
Loading