Skip to content

Commit

Permalink
initial mass spaceport level version
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth committed Sep 16, 2017
0 parents commit fa8b0da
Show file tree
Hide file tree
Showing 17 changed files with 14,016 additions and 0 deletions.
115 changes: 115 additions & 0 deletions common/ascension_perks/01_idrinth-expanded-spaceport.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
ap_idrinthexpandedspaceport_engineered_evolution = {
modifier = {
ship_auto_repair_add = 0.05
}

potential = {
has_ascension_perk = ap_engineered_evolution
}

ai_weight = {
factor = 2
}
}

ap_idrinthexpandedspaceport_the_flesh_is_weak = {
modifier = {
shipclass_orbital_station_hit_points_mult = 0.5
ship_auto_repair_add = 0.025
}

potential = {
has_ascension_perk = ap_the_flesh_is_weak
}

ai_weight = {
factor = 2
}
}

ap_idrinthexpandedspaceport_mind_over_matter = {
modifier = {
ship_shield_hp_mult = 0.5
shipclass_orbital_station_damage_mult = 0.5
}

potential = {
has_ascension_perk = ap_mind_over_matter
}

ai_weight = {
factor = 2
}
}

ap_idrinthexpandedspaceport_galactic_force_projection = {
modifier = {
navy_size_add = 50
shipclass_orbital_station_damage_mult = 0.5
spaceport_ship_build_time_mult = -0.1
spaceport_ship_build_cost_mult = -0.1
}

potential = {
has_ascension_perk = ap_galactic_force_projection
}

ai_weight = {
factor = 5
modifier = {
factor = 1
has_ethic = ethic_militarist
}
modifier = {
factor = 1.5
has_ethic = ethic_fanatic_militarist
}
}
}

ap_idrinthexpandedspaceport_master_builders = {
modifier = {
spaceport_ship_build_time_mult = -0.1
spaceport_ship_build_cost_mult = -0.1
shipclass_orbital_station_hit_points_mult = 1
}

potential = {
has_ascension_perk = ap_master_builders
}

ai_weight = {
factor = 5
modifier = {
factor = 1
has_ethic = ethic_pacifist
}
modifier = {
factor = 1.5
has_ethic = ethic_fanatic_pacifist
}
}
}

ap_idrinthexpandedspaceport_technological_ascendancy = {
modifier = {
all_technology_research_speed = 0.05
shipclass_orbital_station_hit_points_mult = 0.5
}

potential = {
has_ascension_perk = ap_technological_ascendancy
}

ai_weight = {
factor = 5
modifier = {
factor = 1
has_ethic = ethic_materialist
}
modifier = {
factor = 1.5
has_ethic = ethic_fanatic_materialist
}
}
}
23 changes: 23 additions & 0 deletions common/defines/01_idrinth-expanded-spaceport.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
NGameplay = {
# Amount of days it takes to construct a spaceport.
SPACEPORT_CONSTRUCTION_TIME = 300 #360
# How much HP in % that the spaceport starts with.
SPACEPORT_CONSTRUCTION_HEALTH = 0.15 #0.1
# Number of spaceport levels
SPACEPORT_LEVELS = 34 #6
# Time to upgrade a spaceport to the next level
SPACEPORT_UPGRADE_TIME = 1 #150 #180
# Naval Capacity per spaceport level
NAVY_SIZE_SPACEPORT_LEVEL = { 2 3 4 5 6 7 8 10 11 12 13 14 15 16 18 19 20 21 22 23 24 26 27 28 29 30 32 34 35 36 37 38 39 40}
}

NEconomy = {
# Monthly orbital station maintenance cost
ORBITAL_STATION_MAINTENANCE = -1.0 #3.0
# Mineral costs for upgrading the spaceport
SPACEPORT_UPGRADE_COSTS = { 200.0 250.0 300.0 350.0 400.0 450.0 500.0 550.0 600.0 650.0 700.0 750.0 800.0 850.0 900.0 950.0 1000.0 1050.0 1100.0 1150.0 1200.0 1250.0 1300.0 1350.0 1400.0 1450.0 1500.0 1550.0 1600.0 1650.0 1700.0 1750.0 1800.0 }
}
NShip = {
MILITARY_POWER_SPACEPORT_BASE_MULT = 0.8
MILITARY_POWER_SPACEPORT_LEVEL_MULT = 0.05
}
224 changes: 224 additions & 0 deletions common/section_templates/spaceport.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
ship_section_template = {
key = "CORE_SPACEPORT_SECTION"
ship_size = orbital_station
entity = "orbital_station_core_entity"
icon = "GFX_ship_part_core_mid"
fits_on_slot = "1"
fits_on_slot = "8"
fits_on_slot = "15"
fits_on_slot = "22"
fits_on_slot = "29"

component_slot = {
name = "LARGE_GUN_01"
slot_size = large
slot_type = weapon
locatorname = "medium_gun_01"
}
component_slot = {
name = "LARGE_GUN_02"
slot_size = large
slot_type = weapon
locatorname = "medium_gun_02"
}
component_slot = {
name = "MEDIUM_GUN_01"
slot_size = medium
slot_type = weapon
locatorname = "medium_gun_01"
}
component_slot = {
name = "MEDIUM_GUN_02"
slot_size = medium
slot_type = weapon
locatorname = "medium_gun_02"
}
component_slot = {
name = "SMALL_GUN_01"
slot_size = small
slot_type = weapon
locatorname = "small_gun_01"
}
component_slot = {
name = "SMALL_GUN_02"
slot_size = small
slot_type = weapon
locatorname = "small_gun_02"
}
component_slot = {
name = "SMALL_GUN_03"
slot_size = small
slot_type = weapon
locatorname = "small_gun_03"
}
component_slot = {
name = "SMALL_GUN_04"
slot_size = small
slot_type = weapon
locatorname = "small_gun_04"
}
}

ship_section_template = {
key = "ASSEMBLYYARD_SPACEPORT_SECTION"
ship_size = orbital_station
entity = "orbital_station_assemblyyard_section_entity"
icon = "GFX_ship_part_core_mid"
fits_on_slot = "2"
fits_on_slot = "3"
fits_on_slot = "4"
fits_on_slot = "5"
fits_on_slot = "6"
fits_on_slot = "7"

fits_on_slot = "9"
fits_on_slot = "10"
fits_on_slot = "11"
fits_on_slot = "12"
fits_on_slot = "13"
fits_on_slot = "14"

fits_on_slot = "16"
fits_on_slot = "17"
fits_on_slot = "18"
fits_on_slot = "19"
fits_on_slot = "20"
fits_on_slot = "21"

fits_on_slot = "23"
fits_on_slot = "24"
fits_on_slot = "25"
fits_on_slot = "26"
fits_on_slot = "27"
fits_on_slot = "28"

fits_on_slot = "30"
fits_on_slot = "31"
fits_on_slot = "32"
fits_on_slot = "33"
fits_on_slot = "34"
fits_on_slot = "35"
}

ship_section_template = {
key = "HANGARBAY_SPACEPORT_SECTION"
ship_size = orbital_station
entity = "orbital_station_hangarbay_section_entity"
icon = "GFX_ship_part_core_mid"
fits_on_slot = "2"
fits_on_slot = "3"
fits_on_slot = "4"
fits_on_slot = "5"
fits_on_slot = "6"
fits_on_slot = "7"

fits_on_slot = "9"
fits_on_slot = "10"
fits_on_slot = "11"
fits_on_slot = "12"
fits_on_slot = "13"
fits_on_slot = "14"

fits_on_slot = "16"
fits_on_slot = "17"
fits_on_slot = "18"
fits_on_slot = "19"
fits_on_slot = "20"
fits_on_slot = "21"

fits_on_slot = "23"
fits_on_slot = "24"
fits_on_slot = "25"
fits_on_slot = "26"
fits_on_slot = "27"
fits_on_slot = "28"

fits_on_slot = "30"
fits_on_slot = "31"
fits_on_slot = "32"
fits_on_slot = "33"
fits_on_slot = "34"
fits_on_slot = "35"
}

ship_section_template = {
key = "REFINERY_SPACEPORT_SECTION"
ship_size = orbital_station
entity = "orbital_station_refinery_section_entity"
icon = "GFX_ship_part_core_mid"
fits_on_slot = "2"
fits_on_slot = "3"
fits_on_slot = "4"
fits_on_slot = "5"
fits_on_slot = "6"
fits_on_slot = "7"

fits_on_slot = "9"
fits_on_slot = "10"
fits_on_slot = "11"
fits_on_slot = "12"
fits_on_slot = "13"
fits_on_slot = "14"

fits_on_slot = "16"
fits_on_slot = "17"
fits_on_slot = "18"
fits_on_slot = "19"
fits_on_slot = "20"
fits_on_slot = "21"

fits_on_slot = "23"
fits_on_slot = "24"
fits_on_slot = "25"
fits_on_slot = "26"
fits_on_slot = "27"
fits_on_slot = "28"

fits_on_slot = "30"
fits_on_slot = "31"
fits_on_slot = "32"
fits_on_slot = "33"
fits_on_slot = "34"
fits_on_slot = "35"
}

ship_section_template = {
key = "SCIENCE_SPACEPORT_SECTION"
ship_size = orbital_station
entity = "orbital_station_science_section_entity"
icon = "GFX_ship_part_core_mid"
fits_on_slot = "2"
fits_on_slot = "3"
fits_on_slot = "4"
fits_on_slot = "5"
fits_on_slot = "6"
fits_on_slot = "7"

fits_on_slot = "9"
fits_on_slot = "10"
fits_on_slot = "11"
fits_on_slot = "12"
fits_on_slot = "13"
fits_on_slot = "14"

fits_on_slot = "16"
fits_on_slot = "17"
fits_on_slot = "18"
fits_on_slot = "19"
fits_on_slot = "20"
fits_on_slot = "21"

fits_on_slot = "23"
fits_on_slot = "24"
fits_on_slot = "25"
fits_on_slot = "26"
fits_on_slot = "27"
fits_on_slot = "54"

fits_on_slot = "30"
fits_on_slot = "31"
fits_on_slot = "32"
fits_on_slot = "33"
fits_on_slot = "34"
fits_on_slot = "35"
}
Loading

0 comments on commit fa8b0da

Please sign in to comment.