tr_mt_movement_adopt = {
	unlocks_agenda = agenda_MT_priority_movement
	#custom_tooltip = tr_mt_movement_opener_desc # +10% sublight speed
	# Add hyper relay technology as permanent option
	modifier = {
		ship_speed_mult = 0.1
	}
}
# jump drive cooldown -25%
tr_mt_movement_finish = {
	modifier = {
		ship_jumpdrive_cooldown_mult = -0.25
		ascension_perks_add = 1
	}
	
	tradition_swap = {
		name = tr_mt_movement_catapult_finish
		inherit_effects = no
		inherit_icon = yes
		trigger = {
			has_origin = origin_star_slingshot
		}
		modifier = {
			catapult_range_mult = 0.1
			ship_jumpdrive_cooldown_mult = -0.25
			ascension_perks_add = 1
		}

		weight = {
			factor = 1
		}
	}
}

# Hyper Relays give -10% empire size from pops
## Tradition swap without overlord: Gateways
### Actually, can't give relay modifiers, so the new bonus will be that when a ship enters your borders, if it is not cloaked gain 10 intel on owner of ship?
tr_mt_movement_constant_tracking = {
	custom_tooltip = tr_mt_movement_constant_tracking_desc
	#modifier = {
	#	relay_network_modifier = {
	#		relay_network_stability_edict_modifier = 1 # Using this to test
	#	}
	#}

	tradition_swap = {
		name = tr_mt_movement_constant_tracking_nomadic
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = {
			is_nomadic = yes
		}
		modifier = {
			country_starbase_capacity_mult = 0.25
			#megastructures_waystations_cost_mult = -0.25
		}
		weight = {
			factor = 100
		}
	}

	ai_weight = {
		factor = 1000
	}
}

# Resettlement chance and resetlement cost reduction "By making it easier to move between worlds it will be more easy for us to get our population to move to where they are needed by their own volition, and also easier to coerce them into doing so should they refuse
# Possibly make it into something else, as this falls out of the "space movement" theme
tr_mt_movement_ease_of_transportation = {
	possible = {
		has_tradition = tr_mt_movement_constant_tracking
	}
	modifier = {
		planet_resettlement_unemployed_mult = 5.00
		pop_resettlement_cost_mult = -0.50
	}
	
	tradition_swap = {
		name = tr_mt_movement_ease_of_transportation_wilderness
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = {
			is_wilderness_empire = yes
		}
		modifier = {
			terraforming_cost_mult = -0.25
		}
		weight = {
			factor = 100
		}
	}
	
	tradition_swap = {
		name = tr_mt_movement_ease_of_transportation_nomadic
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = {
			is_nomadic = yes
		}
		modifier = {
			pop_resettlement_cost_mult = -0.75
		}
		weight = {
			factor = 100
		}
	}

	ai_weight = {
		factor = 1000
	}
}

# interstellar movement speed
## Jump drive range if eager explorers
tr_mt_movement_interstellar_transportation = {
	modifier = {
		ship_interstellar_speed_mult = 0.5
	}

	ai_weight = {
		factor = 1000
	}
	
	tradition_swap = {
		name = tr_mt_movement_interstellar_transportation_jump_drive
		inherit_name = yes
		inherit_icon = yes
		inherit_effects = no
		trigger = {
			OR = {
				has_civic = civic_eager_explorers
				has_civic = civic_privatized_exploration
				has_civic = civic_hive_stargazers
				has_civic = civic_machine_exploration_protocol
				# Merger trigger if one is added
			}
		}
		modifier = {
			ship_ftl_jumpdrive_range_mult = 0.25
		}
		weight = {
			factor = 10
		}
	}
	
	tradition_swap = {
		name = tr_mt_movement_interstellar_transportation_overlord
		inherit_name = yes
		inherit_effects = no
		inherit_icon = yes
		trigger = {
			has_overlord_dlc = yes
		}
		modifier = {
			ship_interstellar_speed_mult = 0.5
			megastructures_hyper_relay_unity_produces_add = 5
		}

		weight = {
			factor = 5
		}
	}
	
	tradition_swap = {
		name = tr_mt_movement_interstellar_transportation_jump_drive_overlord
		inherit_name = yes
		inherit_icon = yes
		inherit_effects = no
		trigger = {
			has_overlord_dlc = yes
			OR = {
				has_civic = civic_eager_explorers
				has_civic = civic_privatized_exploration
				has_civic = civic_hive_stargazers
				has_civic = civic_machine_exploration_protocol
				# Merger trigger if one is added
			}
		}
		modifier = {
			ship_ftl_jumpdrive_range_mult = 0.25
			megastructures_hyper_relay_unity_produces_add = 5
		}
		weight = {
			factor = 100
		}
	}
}

# Possibly: Strike craft speed?
tr_mt_movement_pilot_training = {
	possible = {
		has_tradition = tr_mt_movement_interstellar_transportation
	}
	
	modifier = {
		weapon_type_strike_craft_speed_mult = 0.25
	}

	ai_weight = {
		factor = 1000
	}
}

# Gain (using triggered modifier and NOT = { any_owned_planet = { system = { NOT = { has_megastructure = hyper_relay } } } } ) +10% happiness (+10% unity if gestalt) and something else if all planets are connected to your relay network.
## Tradition swap for no overlord: 
tr_mt_movement_highways = {
	possible = {
		has_tradition = tr_mt_movement_interstellar_transportation
	}
	
	modifier = {
		ship_disengage_chance_mult = 0.2
		ship_disengage_opportunities_add = 1
	}

	ai_weight = {
		factor = 1000
	}
}
