# Metallurgic Apprentice
leader_trait_xt_metallurgic_apprentice = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_xt_metallurgical_apprentice"
		RARITY = common
		COUNCIL = no
		TIER = 1
	}
	leader_potential_add = {
		trait_is_crisis_faction_check = no
		owner = {
			has_tradition = tr_xt_heavy_industry_4
		}
	}
	planet_modifier = {
		planet_metallurgists_alloys_produces_mult = 0.05
	}
	triggered_planet_modifier = {
		potential = {
			owner = {
				NOR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_minerals_upkeep_mult = -0.025
	}
	triggered_planet_modifier = {
		potential = {
			owner = {
				OR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_food_upkeep_mult = -0.025
	}
	sector_modifier = {
		planet_metallurgists_alloys_produces_mult = 0.025
	}
	triggered_sector_modifier = {
		potential = {
			owner = {
				NOR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_minerals_upkeep_mult = -0.0125
	}
	triggered_sector_modifier = {
		potential = {
			owner = {
				OR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_food_upkeep_mult = -0.0125
	}
	leader_class = { official }
	selectable_weight = {
		weight = @shared_trait_weight
		inline_script = paragon/governor_weight_mult
	}
}
# Metallurgic Expert - Replaces Metallurgic Apprentice
leader_trait_xt_metallurgic_expert = {
	replace_traits = { leader_trait_xt_metallurgic_apprentice }
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_xt_metallurgical_apprentice"
		RARITY = common
		COUNCIL = no
		TIER = 2
	}
	leader_potential_add = {
		trait_is_crisis_faction_check = no
		owner = {
			has_tradition = tr_xt_heavy_industry_4
		}
	}
	planet_modifier = {
		planet_metallurgists_alloys_produces_mult = 0.1
	}
	triggered_planet_modifier = {
		potential = {
			owner = {
				NOR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_minerals_upkeep_mult = -0.05
	}
	triggered_planet_modifier = {
		potential = {
			owner = {
				OR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_food_upkeep_mult = -0.05
	}
	sector_modifier = {
		planet_metallurgists_alloys_produces_mult = 0.05
	}
	triggered_sector_modifier = {
		potential = {
			owner = {
				NOR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_minerals_upkeep_mult = -0.025
	}
	triggered_sector_modifier = {
		potential = {
			owner = {
				OR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_food_upkeep_mult = -0.025
	}
	leader_class = { official }
	selectable_weight = {
		weight = @shared_trait_weight
		inline_script = paragon/governor_weight_mult
	}
}
# Metallurgic Master - Replaces Metallurgic Expert
leader_trait_xt_metallurgic_master = {
	replace_traits = { leader_trait_xt_metallurgic_expert }
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_xt_metallurgical_apprentice"
		RARITY = common
		COUNCIL = no
		TIER = 3
	}
	leader_potential_add = {
		trait_is_crisis_faction_check = no
		owner = {
			has_tradition = tr_xt_heavy_industry_4
		}
	}
	planet_modifier = {
		planet_metallurgists_alloys_produces_mult = 0.15
	}
	triggered_planet_modifier = {
		potential = {
			owner = {
				NOR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_minerals_upkeep_mult = -0.075
	}
	triggered_planet_modifier = {
		potential = {
			owner = {
				OR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_food_upkeep_mult = -0.075
	}
	sector_modifier = {
		planet_metallurgists_alloys_produces_mult = 0.075
	}
	triggered_sector_modifier = {
		potential = {
			owner = {
				NOR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_minerals_upkeep_mult = -0.0375
	}
	triggered_sector_modifier = {
		potential = {
			owner = {
				OR = {
					has_civic = civic_catalytic_processing
					has_civic = civic_corporate_catalytic_processing
				}
			}
		}
		planet_metallurgists_food_upkeep_mult = -0.0375
	}
	leader_class = { official }
	selectable_weight = {
		weight = @shared_trait_weight
		inline_script = paragon/governor_weight_mult
	}
}