﻿### Conditions

ill = {
	type = condition
	texture = "gfx/interface/icons/character_trait_icons/syphilis.dds"
	
	character_modifier = {
		character_health_add = -0.25
	}

	command_modifier = {
	unit_morale_loss_mult = 0.1	
	}
	
	country_modifier = {	
		country_influence_mult = -0.1
	}
	
	interest_group_modifier = {
	}
	
	possible = {
				NOT = {
		has_trait = severly_ill
		}
	}
	
		weight = {
		value = 30
		if = {
			limit = {
				owner = { has_technology_researched = medical_degrees }
			}
			divide = 2
		}
				else_if = {
			limit = {
				owner = { has_technology_researched = pharmaceuticals }
			}
			divide = 3
		}
	}
	
	replace = {																
	}
}

severly_ill = {
	type = condition
	texture = "gfx/interface/icons/character_trait_icons/syphilis.dds"
	
	character_modifier = {
		character_health_add = -0.4
	}

	command_modifier = {
	unit_morale_loss_mult = 0.2
	}
	
	country_modifier = {	
		country_influence_mult = -0.2
	}
	
	interest_group_modifier = {
	}
	
	possible = {
		NOT = {
		has_trait = deathly_ill
		}
	}
	
			weight = {
		value = 3
		if = {
			limit = {
				has_trait = ill
			}
			multiply = 5
		}
				if = {
			limit = {
				owner = { has_technology_researched = pharmaceuticals }
			}
			divide = 3
		}
	}
	
	replace = {
		ill
	}
}

deathly_ill = {
	type = condition
	texture = "gfx/interface/icons/character_trait_icons/syphilis.dds"
	
	character_modifier = {
		character_health_add = -0.6
	}

	command_modifier = {
	unit_morale_loss_mult = 0.3
	}
	
	country_modifier = {	
		country_influence_mult = -0.3
	}
	
	interest_group_modifier = {
	}
	
	possible = {
	}
	
	
				weight = {
		value = 2
		if = {
			limit = {
				has_trait = severly_ill
			}
			multiply = 10
		}
				if = {
			limit = {
				owner = { has_technology_researched = pharmaceuticals }
			}
			divide = 2
		}
	}
	
	replace = {
		ill
		severly_ill
	}
}

plot_armor = {
	type = condition
	texture = "gfx/interface/icons/character_trait_icons/pious.dds"
	
	character_modifier = {
		character_health_add = 0.95
	}

	command_modifier = {
		
	}
	
	country_modifier = {	
		
	}
	
	interest_group_modifier = {
	}
	
	possible = {
		always = no # reserved for events
	}
	
}