Skip to content

Commit

Permalink
2.8.0 update:
Browse files Browse the repository at this point in the history
Fixed spawn with 2.8.0
Removed SI
  • Loading branch information
draconas1 committed Oct 31, 2020
1 parent f89d29c commit de4a519
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 381 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ egs_p2_neighbor_t1_first_colony = {
}

neighbor_system = {
hyperlane_jumps = { min = 1 max = @jumps }
hyperlane_jumps = { min = 1 max = 2 }
initializer = "neighbor_t2"
}
}
Expand Down
2 changes: 1 addition & 1 deletion descriptor.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ dependencies={
}
name="Extragalactic Cluster Start"
picture="thumbnail.png"
supported_version="2.7.*"
supported_version="2.8.*"
remote_file_id="1999512770"
1 change: 1 addition & 0 deletions events/egs_antronach_cluster_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ country_event = {
min_orientation_angle = 125
max_orientation_angle = 130
initializer = egs_cluster_initializer
hyperlane = no
}
}
#Find the star
Expand Down
1 change: 1 addition & 0 deletions events/egs_antronach_cluster_events_p2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ country_event = {
min_orientation_angle = 125
max_orientation_angle = 130
initializer = egs_p2_cluster_initializer
hyperlane = no
}
}
#Find the star
Expand Down
1 change: 1 addition & 0 deletions events/egs_apprentice_cluster_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ country_event = {
min_orientation_angle = 314
max_orientation_angle = 315
initializer = egs_cluster_initializer
hyperlane = no
}
}
#Find the star
Expand Down
1 change: 1 addition & 0 deletions events/egs_apprentice_cluster_events_p2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ country_event = {
min_orientation_angle = 314
max_orientation_angle = 315
initializer = egs_p2_cluster_initializer
hyperlane = no
}
}
#Find the star
Expand Down
1 change: 1 addition & 0 deletions events/egs_big_dipper_cluster_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ country_event = {
min_orientation_angle = 85
max_orientation_angle = 86
initializer = egs_cluster_initializer
hyperlane = no
}
}
#Find the star
Expand Down
144 changes: 22 additions & 122 deletions events/egs_colony_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,57 +127,29 @@ country_event = {
}
}


#setup system modifiers for SI
if = {
limit = {
has_global_flag = retile_active
}
country_event = {
id = egs_retile_generate.4
}
}


# Set up the spaceport
if = {
limit = {
has_global_flag = retile_active
is_gestalt = yes
}
event_target:egs_home_system = {
create_starbase = {
size = "starbase_starport"
module = "shipyard"
building = "default_network"
building = "fleet_hangar"
module = "solar_panel_network"
building = "crew_quarters"
owner = root
}
}
}
else = {
if = {
limit = {
is_gestalt = yes
}
event_target:egs_home_system = {
create_starbase = {
size = "starbase_starport"
module = "shipyard"
module = "solar_panel_network"
building = "crew_quarters"
owner = root
}
}
}
else = {
event_target:egs_home_system = {
create_starbase = {
size = "starbase_starport"
module = "shipyard"
module = "trading_hub"
building = "crew_quarters"
owner = root
}
event_target:egs_home_system = {
create_starbase = {
size = "starbase_starport"
module = "shipyard"
module = "trading_hub"
building = "crew_quarters"
owner = root
}
}
}
Expand All @@ -202,89 +174,24 @@ country_event = {
}
}
generate_start_buildings_and_districts = yes
if = {
remove_all_districts = yes
if = {
limit = {
has_global_flag = retile_active
}

# always add 3 modules
set_variable = { which = module_count value = 3 }

if = { # robots
limit = {
owner = {
is_machine_empire = yes
}
}
if = {
limit = { owner = { OR = {
has_country_flag = biological_subspecies
has_country_flag = plantoid_subspecies
} } }
add_deposit = retile_module_generator_active
add_deposit = retile_module_farm_active
add_deposit = retile_module_mine_active
} else = {
add_deposit = retile_module_generator_active
add_deposit = retile_module_generator_active
add_deposit = retile_module_mine_active
}
}

if = { # Lithoids
limit = {
owner = {
root = {
OR = {
is_robot_empire = yes
is_lithoid_empire = yes
}
}
if = {
limit = { owner = { OR = {
has_country_flag = biological_subspecies
has_country_flag = plantoid_subspecies
} } }
add_deposit = retile_module_generator_active
add_deposit = retile_module_farm_active
add_deposit = retile_module_mine_active
} else = {
add_deposit = retile_module_generator_active
add_deposit = retile_module_mine_active
add_deposit = retile_module_mine_active
}
}

if = { # Biologicals/Plants
limit = {
owner = {
is_lithoid_empire = no
is_machine_empire = no
}
}
}
add_deposit = retile_module_generator_active
add_deposit = retile_module_farm_active
add_deposit = retile_module_mine_active
}

add_district = district_rw_generator
add_deposit = d_egs_rw_crystals
}
else = {
remove_all_districts = yes
if = {
limit = {
root = {
OR = {
is_robot_empire = yes
is_lithoid_empire = yes
}
}
}
add_district = district_rw_generator
add_deposit = d_egs_rw_crystals
}
else = {
add_district = district_rw_farming
add_deposit = d_egs_rw_motes
}
set_planet_size = 5
else = {
add_district = district_rw_farming
add_deposit = d_egs_rw_motes
}
set_planet_size = 5
}
else = {
if = {
Expand All @@ -303,12 +210,6 @@ country_event = {
}
else = {
#Normal Setup
if = {
limit = {
has_global_flag = retile_active
}
#reroll_deposits = yes
}
if = {
limit = {
has_planet_flag = planet_earth
Expand Down Expand Up @@ -440,7 +341,6 @@ country_event = {
if = {
limit = {
has_country_flag = EGS_START_RINGWORLD
NOT = { has_global_flag = retile_active }
}
add_resource = {
energy = 5000
Expand Down
1 change: 1 addition & 0 deletions events/egs_hexagon_cluster_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ country_event = {
min_orientation_angle = 321
max_orientation_angle = 322
initializer = egs_cluster_initializer
hyperlane = no
}
}
#Find the star
Expand Down
1 change: 1 addition & 0 deletions events/egs_steed_cluster_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ country_event = {
min_orientation_angle = 90
max_orientation_angle = 100
initializer = egs_cluster_initializer
hyperlane = no
}
}
#Find the star
Expand Down
Loading

0 comments on commit de4a519

Please sign in to comment.