| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
basis for "stop rails"
Stop rails ATM use the aforementioned things to add a pointwise "2" speed restriction. Seems to work.
|
| |
|
|
|
|
| |
system
|
|
|
|
|
| |
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
|
|
|
|
| |
This will be required for advcarts
|
|
|
|
| |
One step towards advcarts compatibility
|
| |
|
| |
|
| |
|
|
|