leader_trait_MT_royalty_broodmother = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = GFX_leader_trait_aggressive
		RARITY = common
		COUNCIL = triggered
		TIER = none
	}
	triggered_councilor_modifier = {
		potential = {
			always = no
		}
		planet_pop_assembly_add = 1
	}
	triggered_background_planet_modifier = {
		potential = {
			exists = FROM
			FROM = {
				exists = owner
				owner = {
					is_same_value = root.owner
				}
			}
		}
		bonus_pop_growth_mult = 1
		planet_stability_add = 10
		# planet_pop_assembly_organic_add = 10
	}
	triggered_background_planet_modifier = {
		potential = {
			exists = FROM
			FROM = {
				exists = owner
				owner = {
					is_same_value = root.owner
					has_tradition = tr_mt_royalty_keep
				}
			}
		}
		planet_max_districts_add = 6
	}
	leader_class = { commander official scientist }
	initial = no
	randomized = no
}

leader_trait_MT_royalty_broodmother_male_hive = {
	inline_script = {
		script = trait/icon
		CLASS = commander
		ICON = GFX_leader_trait_aggressive
		RARITY = common
		COUNCIL = yes
		TIER = none
	}
	triggered_councilor_modifier = {
		potential = {
			always = no
		}
		planet_pop_assembly_add = 1
	}
	triggered_background_planet_modifier = {
		potential = {
			exists = FROM
			FROM = {
				exists = owner
				owner = {
					is_same_value = root.owner
				}
			}
		}
		job_warrior_drone_add = 500
		planet_stability_add = 10
		# planet_pop_assembly_organic_add = 10
	}
	triggered_background_planet_modifier = {
		potential = {
			exists = FROM
			FROM = {
				exists = owner
				owner = {
					is_same_value = root.owner
					has_tradition = tr_mt_royalty_keep
				}
			}
		}
		planet_soldiers_unity_produces_add = 2
	}
	leader_class = { commander official scientist }
	initial = no
	randomized = no
}

leader_trait_MT_royalty_broodmother_machine = {
	inline_script = {
		script = trait/icon
		CLASS = commander
		ICON = GFX_leader_trait_aggressive
		RARITY = common
		COUNCIL = yes
		TIER = none
	}
	triggered_councilor_modifier = {
		potential = {
			always = no
		}
		planet_pop_assembly_add = 1
	}
	triggered_background_planet_modifier = {
		potential = {
			exists = FROM
			FROM = {
				exists = owner
				owner = {
					is_same_value = root.owner
				}
			}
		}
		custom_tooltip = MT_royalty_machine_trait_tt
	}
	triggered_background_planet_modifier = {
		potential = {
			exists = FROM
			FROM = {
				exists = owner
				owner = {
					is_same_value = root.owner
					has_tradition = tr_mt_royalty_keep
				}
			}
		}
		planet_max_districts_add = 2
		planet_crime_add = -100
	}
	leader_class = { commander official scientist }
	initial = no
	randomized = no
}