| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This command kicks out all passengers when the train is stopped and
its doors are open. In addtion, a wagon:is_driver_stand(seat) function
was added to allow finding out easily if a seat is the driver stand of
the wagon.
|
|
|
|
|
|
|
|
| |
translations
* Client-side translations is used instead of intllib. [Breaks MT4 compat]
* Existing locale files have been moved to advtrains/locale and named with the format advtrains.[lang].tr
* Add zh_CN locale. (requires a font that supports CJK text)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
nil/false)
Fixes H#72
|
|
|
|
|
|
|
| |
After successfully registering newly-placed ATC rails in the nodedb, the rail's after_place_node() callback
(local apn_func()) immediately cleared it again by passing a "node" object that was actually a player object
and thus had no "name" or "param2" to ndb.update(), which it handled how it should not in this situation.
Since those ndb.update calls were unnecessary anyways, I removed them completely.
|
| |
|
| |
|
|
|
|
| |
Now, only the signal aspect setting is still missing
|
|
|
|
| |
Missing: ATC stuff, yaw problems
|
|
|
|
| |
system
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
...to support an arbitrary number of connections for rails, which leads to these new features:
- switches now get recognized by the trackworker correctly
- ability to add real rail crosses
During this, I also rewrote the rail registering system and the conway function (important part of path prediction)
Note, developers: the track preset format changed, you might need to rewrite them according to the presets in tracks.lua if you wrote your own
(possibly breaks advcarts)
|
| |
|
| |
|
| |
|
| |
|
|
|