{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreicvjsykinsc2yh3s7rcm7gscp4qz253woddjl5tnga64y2c4pxeii",
"uri": "at://did:plc:i7budt2wflrcfy6jtvfocbix/app.bsky.feed.post/3mfcd7xzktk62"
},
"path": "/viewtopic.php?p=1278193#p1278193",
"publishedAt": "2026-02-20T10:30:07.000Z",
"site": "https://www.tt-forums.net",
"tags": [
"jfs"
],
"textContent": "You can have multiple rail types a train can run on, and the only difference will be how fast the train can run on it.\n\nHasPower is only interesting for electric (or monorail/maglev) engines since they require power from the track or catenary. So that function tells you whether the railtype in question supplies power of a type that train can use. Meanwhile a self-powered engine, like steam or diesel, should return having power on every railtype it can run on.\n\nStatistics: Posted by jfs — 20 Feb 2026 10:30\n\n* * *",
"title": "OpenTTD AIs and Game Scripts • Re: RailType enum is not documented",
"updatedAt": "2026-02-20T10:30:07.000Z"
}