| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A road number is used to allow users to set their own wagon numbers
other than the internal IDs assigned by advtrains. A railway company
would typically keep a roster of what rollingstock it has in road
numbers.
The road number can be set on the wagon properties formspec. It is
displayed above the wagon's inventory icon in the onboard computer as a
button, which will then open the wagon properties on that wagon.
Road numbers might be displayable as additional text entities on the
wagon like signs.
Currently opening the wagon properties (and sometimes onboard computer)
formspecs can be quite unreliable (at least on windows), so I hope that
closing the wagon 'main menu' before opening other formspecs helps that
reliability. It seems to be an upstream bug.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|/
|
|
| |
ARS->update_route->update_signal_aspect->invalidate_path
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Currently some trains clip the platform (especially E231
modpack), but they won't after the platform edge is moved
back slightly.
|
| | |
|
| |
| |
| |
| | |
obsolete now)
|
| | |
|
| |
| |
| |
| | |
Also a minor user feedback text cleanup
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The copy tool copies a train to a global clipboard. It copies
the Line number, Routing code, inside text and outside text.
It copies the kinds of wagons in the train and whether they
are flipped around.
Pasting with the copy tool will conditionally flip the train
such that 'your front' of the train, rather than the absolute
front of the train, is what is output. The new train is
oriented to travel forward with the placing player's view.
Conditons are:
- Multi-unit/push-pull train (= has locomotives on both ends):
Never flipped
- Locomotive-hauled train (= has one end with a locomotive):
Flipped so that the locomotive is always at the front. If the
locomotive points long hood forward, it will still point long
hood forward.
- Rake of wagons (= has no locomotives on ends):
Flipped according to which end of the train the player copies
from. If the player is towards the back (wagon out of train
divded by total wagons > 0.5), then the back becomes the new
front. If the player is towards the front, no change.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Possible migitation for Linuxworks RAM explosion
|
|/ |
|
|
|
|
|
|
|
|
| |
!RC foo
!LN bar
will match all trains except those matching RC foo or LN bar. This can
be useful to exclude one specific service from a component.
|
| |
|
| |
|
|
|
|
|
| |
This might fix #31 by clearing the HUD entry for the player when
joining
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
Please do not use this in your train mods yet, this may be subject to
changes!
|
|
|
|
|
| |
This allows for wider vehicles than trains, such as boats to discharge
the passengers onto the platforms.
|
| |
|
|
|
|
| |
for loops don't work with manipulating i
|
|
|
|
| |
in luaatc rails
|
| |
|
| |
|
| |
|
|
|
|
| |
on queue run
|
|\ |
|
| |
| |
| |
| | |
the schedule
|
| | |
|
| |
| |
| |
| | |
than the atlatc scheduler) and document new atlatc functions
|
| | |
|
|/
|
|
| |
Allows defining a suitable substrate for tracks, and liquid pointable tracks
|
|
|
|
| |
Trains now get coupled when one of them is in coupling mode.
|