#@cost = 56

tr_plentiful_defence_adopt = {
#	cost = { unity = @cost }
	modifier = {
		starbase_defense_platform_capacity_add = 3
	}
	
	ai_weight = {
		factor = 10
		modifier = {
			factor = 2
			has_ethic = ethic_egalitarian
		}
		modifier = {
			factor = 3
			has_ethic = ethic_fanatic_egalitarian
		}
		modifier = {
			factor = 2
			has_ethic = ethic_pacifist
		}
		modifier = {
			factor = 3
			has_ethic = ethic_fanatic_pacifist
		}
	}
}

tr_plentiful_defence_finish = {
	modifier = {
		starbase_defense_platform_capacity_add = 3
		army_starting_experience_add = 100
		planet_structures_cost_mult = -0.1
		planet_building_build_speed_mult = 0.10
		ascension_perks_add = 1
	}
}

tr_plentiful_defence_1 = {
#	cost = { unity = @cost }
	modifier = {
		starbase_defense_platform_capacity_add = 3
		shipsize_corvette_hull_add = 100
		shipsize_destroyer_hull_add = 200
		shipsize_cruiser_hull_add = 500
		shipsize_battleship_hull_add = 800
		shipsize_military_station_small_hull_add = 500
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_defence_2 = {
#	cost = { unity = @cost }
	modifier = {
		starbase_defense_platform_capacity_add = 3
		army_defense_morale_mult = 0.2
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_defence_3 = {
#	cost = { unity = @cost }
	possible = {
		has_tradition = tr_plentiful_defence_1
	}
	
	modifier = {
		starbase_defense_platform_capacity_add = 3
		category_materials_research_speed_mult = 0.20
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_defence_4 = {
#	cost = { unity = @cost }
	possible = {
		has_tradition = tr_plentiful_defence_2
	}
	modifier = {
		starbase_defense_platform_capacity_add = 3
		army_defense_health_mult = 0.2
		army_defense_damage_mult = 0.2
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_defence_5 = {
#	cost = { unity = @cost }
	custom_tooltip_with_modifiers = tr_plentiful_defence_5_desc
	possible = {
		has_tradition = tr_plentiful_defence_3
		has_tradition = tr_plentiful_defence_4
	}
	modifier = {
		starbase_defense_platform_capacity_add = 3
		#megastructure_build_speed_mult = 0.25
	}
	
	ai_weight = {
		factor = 1000
	}
}