{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihtoyqsrjyehnx7lejfb2kvgpfjhhxmf2yzh4dwftvjjscwm525ae",
    "uri": "at://did:plc:i7budt2wflrcfy6jtvfocbix/app.bsky.feed.post/3mfamelhhbsk2"
  },
  "path": "/viewtopic.php?p=1278186#p1278186",
  "publishedAt": "2026-02-19T18:34:30.000Z",
  "site": "https://www.tt-forums.net",
  "tags": [
    "https://docs.openttd.org/ai-api/classAI ... bfa868079f",
    "https://docs.openttd.org/ai-api/classAI ... c12a89e732",
    "GoldMine"
  ],
  "textContent": "The enum AIRail::RailType is not documented, the link below says they only rail type known to game is RAILTYPE_INVALID\n\nhttps://docs.openttd.org/ai-api/classAI ... bfa868079f\n\nSo when we use AIRailTypeList or AIRail.SetCurrentRailType how do we know which rail type to set?\nall that's available are cryptic numbers returned by AIRailTypeList not coresponding to enum.\n\nI think it's documentation problem because road enum is documented.\nhttps://docs.openttd.org/ai-api/classAI ... c12a89e732\n\nStatistics: Posted by GoldMine — 19 Feb 2026 18:34\n\n* * *",
  "title": "OpenTTD AIs and Game Scripts • RailType enum is not documented",
  "updatedAt": "2026-02-19T18:34:30.000Z"
}