Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Runtime Docs Version 2.0.7

## TrainPathRequestType :: union

A string specifying the type of request for LuaTrainManager::request_train_path.

#### Union members

`"path"` | The method will return TrainPathFinderOneGoalResult.
`"any-goal-accessible"` | The method will return TrainPathFinderOneGoalResult.
`"all-goals-accessible"` | The method will return TrainPathAllGoalsResult.
`"all-goals-penalties"` | The method will return TrainPathAllGoalsResult with `penalties`.