if = {
	limit = {
		from = {
			is_nomadic = no
		}
	}
	hidden_trigger = {
		exists = starbase
	}
	custom_tooltip = {
		fail_text = "requires_inside_border"
		is_inside_border = from
	}
}
else = {
	custom_tooltip = {
		fail_text = requires_tier_2_waystation_on_wayline
		any_starbase_in_system = {
			is_waystation_starbase = yes
			owner? = {
				is_same_value = from
			}
			any_starbase_in_network = {
				has_starbase_size >= starbase_waystation_2
				owner? = {
					is_same_value = from
				}
			}
		}
	}
}
