#ai_weight - checks that required resources are available by AI will be made in code for performance reasons

#modifiers that can be added from modules
#"modifier", category: MODIFIER_CATEGORY_SPACEPORT. things that affect the builder part of the spaceport. like construction costs and speeds
#"orbit_modifier", category: MODIFIER_CATEGORY_FLEET | MODIFIER_CATEGORY_SHIP. applied on all orbiting fleets and ships
#"planet_modifier", category: MODIFIER_CATEGORY_PLANET | MODIFIER_CATEGORY_POP | MODIFIER_CATEGORY_TILE. affects the planet
#"station_modifier", category: MODIFIER_CATEGORY_FLEET | MODIFIER_CATEGORY_SHIP. affects the ship part of the spaceport. like health and armor
#"ship_modifier", category: MODIFIER_CATEGORY_SHIP. affects all ships that are built by this space port


jinkela_out1 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 180
	prerequisites = { "jinkela1" }
	spaceport_level = 1
	
	cost = {
		minerals = 100
		energy = 100
	}
	
	required_resources = {
		energy = 1
		minerals = 1
	}
	produced_resources = {
		jinkela = 5
	}
	
	planet_modifier = {
		planet_resource_food_add = -5
	}
}

jinkela_out2 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 270
	prerequisites = { "jinkela2" }
	spaceport_level = 2
	
	cost = {
		minerals = 200
		energy = 200
	}
	
	required_resources = {
		energy = 2
		minerals = 2
	}
	produced_resources = {
		jinkela = 10
	}
	
	planet_modifier = {
		planet_resource_food_add = -10
	}
}

jinkela_out3 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 360
	prerequisites = { "jinkela3" }
	spaceport_level = 3
	
	cost = {
		minerals = 300
		energy = 300
	}
	
	required_resources = {
		energy = 3
		minerals = 3
	}
	produced_resources = {
		jinkela = 15
	}
	
	planet_modifier = {
		planet_resource_food_add = -15
	}
}

jinkela_out4 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 360
	prerequisites = { "jinkela4" }
	spaceport_level = 4
	
	cost = {
		minerals = 400
		energy = 400
	}
	
	required_resources = {
		energy = 5
		minerals = 5
	}
	produced_resources = {
		jinkela = 20
	}
	
	planet_modifier = {
		planet_resource_food_add = -20
	}
}

jinkela_out5 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 480
	prerequisites = { "jinkela5" }
	spaceport_level = 5
	
	cost = {
		minerals = 500
		energy = 500
	}
	
	required_resources = {
		energy = 5
		minerals = 5
	}
	produced_resources = {
		jinkela = 25
	}
	
	planet_modifier = {
		planet_resource_food_add = -25
	}
}

jinkela_in1 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 180
	prerequisites = { "jinkela1" }
	spaceport_level = 1
	
	cost = {
		minerals = 100
		energy = 100
	}
	
	required_resources = {
		jinkela = 5
		energy = 1
		minerals = 1
	}	
	
	planet_modifier = {
		planet_resource_food_add = 3
	}	
}

jinkela_in2 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 270
	prerequisites = { "jinkela2" }
	spaceport_level = 2
	
	cost = {
		minerals = 200
		energy = 200
	}
	
	required_resources = {
		jinkela = 10
		energy = 2
		minerals = 2
	}	
	
	planet_modifier = {
		planet_resource_food_add = 8
	}	
}

jinkela_in3 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 360
	prerequisites = { "jinkela3" }
	spaceport_level = 3
	
	cost = {
		minerals = 300
		energy = 300
	}
	
	required_resources = {
		jinkela = 15
		energy = 3
		minerals = 3
	}	
	
	planet_modifier = {
		planet_resource_food_add = 14
	}	
}

jinkela_in4 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 360
	prerequisites = { "jinkela4" }
	spaceport_level = 4
	
	cost = {
		minerals = 400
		energy = 400
	}
	
	required_resources = {
		jinkela = 20
		energy = 5
		minerals = 5
	}	
	
	planet_modifier = {
		planet_resource_food_add = 20
	}	
}

jinkela_in5 = {
	icon = "GFX_spaceport_module_observatory"
	section = "SCIENCE_SPACEPORT_SECTION"
	construction_days = 480
	prerequisites = { "jinkela5" }
	spaceport_level = 5
	
	cost = {
		minerals = 500
		energy = 500
	}
	
	required_resources = {
		jinkela = 25
		energy = 5
		minerals = 5
	}	
	
	planet_modifier = {
		planet_resource_food_add = 27
	}	
}