﻿engineers = {
	texture = "gfx/interface/icons/pops_icons/engineers.dds"
	color = hsv{ 0.07 0.57 0.77 }
	start_quality_of_life = 10
	wage_weight = 3
	paid_private_wage = yes
	literacy_target = 0.0
	education_access = 0.0
	dependent_wage = 0.5	# per year
	unemployment = yes
	
	# 50% - 100% politically engaged
	political_engagement_base = 0.0
	political_engagement_literacy_factor = 0.6
	
	political_engagement_mult = {
		value = 1
		
		add = {
			desc = "POP_STARVATION"	
			
			if = {
				limit = {
					is_in_mild_starvation = yes
				}
				value = 0.5
			}
			else_if = {
				limit = {
					is_in_severe_starvation = yes
				}
				value = 1.5
			}
		}

		multiply = {
			desc = "HAS_POLITICAL_AGITATION"	
			value = 1.0	
		}		
	}
	
	qualifications_growth_desc = "ENGINEERS_QUALIFICATIONS_DESC"
	qualifications = {
		if = {
			# baseline: ( literacy - 0.2 ) * 5 + ( wealth / 20 ), norm 2.5 for Wealth 20 and Literacy 50%
			add = {
				value = literacy_rate
				subtract = 0.1
				multiply = 10
				desc = "QUALIFICATIONS_LITERACY_FACTOR"
			}
			add = {
				value = wealth
				divide = 20
				desc = "QUALIFICATIONS_WEALTH_FACTOR"
			}
			if = {
				limit = {
					is_pop_type = machinists
				}
				multiply = {
					value = 5
					desc = "QUALIFICATIONS_FAVORED_TYPE"
				}
			}
			if = {
				limit = {
					is_pop_type = clerks
				}
				multiply = {
					value = 4
					desc = "QUALIFICATIONS_FAVORED_TYPE"
				}
			}
		}
	}
	
	portrait_age = {
		integer_range = {
			min = define:NPortrait|GRACEFUL_AGING_START
			max = define:NPortrait|GRACEFUL_AGING_END
		}
	}
	portrait_pose = { value = 0 }			
	portrait_is_female = { always = yes }
}
