| Commit message (Collapse) | Author | Age |
|
|
|
| |
Note: I'm not rewriting the history of this repository, too dangerous. basic_trains has been split out with git-filter-repo.
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This new formspec also allows access to the wagon properties. Once
whitelisted in the wagon properties, other players can access its
inventory.
Note on 'useless use' of OO: I tried passing just the wagon ID and
avoiding using the `self` object in order to bypass the need to look up
the lua entitie out of the list, but it ended up retrieving nil data.
The best way to solve this overhead might be to wait for some kind of
better way upstream in minetest's lua API to get entities, or to keep a
central record of entities. Either way, the solution is outside the
scope of this commit.
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
there's now a more strict check for the train_operator privilege
Also added custom reasons on getting on a train.
|
| |
|
|
|
|
|
|
|
| |
- Level crossing bell
- Horns
- Subway train driving and door sounds
...to be continued...
|
|
|
|
| |
I will use this for sounds, and so it needs to be changed to a more general name
|
| |
|
| |
|
|
|
|
| |
wagons
|
|
|