Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# TrainPathRequestType - Runtime Docs

## 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`.

Concept used in

- LuaTrainManager::request_train_path()