This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:core:train [2023-01-11 13:14] 56independent created to the best of my ability and knowledge |
dev:core:train [2023-05-24 20:57] (current) orwell Add more fields, remove some fields that have been removed in the tss update |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
'' | '' | ||
- | The `train` table is an essential | + | The '' |
- | `train` itself | + | The '' |
- | `train` holds a whole array of information about the train, some shown below: | + | Some fields |
- | ^ Key ^ Description ^ Unit ^ | + | ^ Key ^ Description ^ Type ^ |
- | | `speed_restriction` | The speed a train is allowed to go at | m/s | | + | | '' |
- | | `routingcode` | The routing code of a train | Minetest text encoding | + | | '' |
- | | `line` | The line of a train | Minetest text encoding | + | | '' |
- | | `velocity` | The speed of a train | m/s | | + | | '' |
- | | `movedir` | + | | '' |
- | | `brake` | + | | '' |
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | Dynamic (runtime) values: | ||
+ | |||
+ | ^ Key ^ Description ^ Type ^ | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' |