| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
| |
(this caused the lzb approach to be called on nodes that have just received an enter event, which is not intended)
|
| |
|
|
|
|
| |
digiline_send(), move on_updated_from_nodedb to advtrains table
|
|
|
|
|
|
| |
distance-based approach or minetest.is_block_active() if available
See also https://github.com/minetest/minetest/pull/10897
|
| |
|
| |
|
|
|
|
|
|
| |
- Move DUMP_DEBUG_SAVE block before the actual saving so it can be used to trace serializer errors
- Don't crash on functions in data, ignore them silently
- Increase the save interval
|
|
|
|
| |
integrate ndb in serialize_lib atomic system
|
|
|
|
| |
Old save format will be gracefully migrated
|
| |
|
|
|
|
| |
Thanks, Maverick2797
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The speed indicator is now shown on 4 lines:
Line 1: ATC target speed (blue arrow pointing down)
Line 2: Train velocity (black line)
Line 3: Speed limit (if any) (red line)
Line 4: Next speed limit (red arrow pointing up)
|
|
|
|
| |
mode, and doors
|
|
|
|
| |
Some train HUD elements _might_ be replaced in the future.
|
| |
|
|
|
|
| |
Fixes issues with using mesecon switches as route locks
|
|
|
|
| |
Needed for linetrack boat sound bug
|
| |
|
|
|
|
|
| |
Work around the entity flood bug caused by improper engine handling of
static_save=false
|
| |
|
|
|
|
|
| |
The remaining patch to make advtrains master stable: we can't have any conns
entries without a 'c' member, so make all ["3"] entries into just ["c"] entries.
|
|
|
|
| |
removing of TCBs (H#149)
|
| |
|
|
|
|
| |
Note: it does not simply add os.delete() but reverts to the "old" behavior of directly overwriting the file, because this did work before.
|
| |
|
|
|
|
|
|
|
| |
The code I wrote worked only for my y-turnout and 3-way variants because
it assumed the variant name == the switching state, which is obviously
wrong for the default sw(l|r)(st|cr) variants. I have added a
'switchprefix' property to address this.
|
|
|
|
|
|
|
| |
I chose to make three-way turnouts have 5 conns (last one is not used) so
that they can be distinguished from crossings easily without refactoring the
code. Three-ways should have their last entry with {["3"]=0} instead as a sort
of internal mark.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is done with a task that runs once when the nodedb is loaded. A new
field of advtrains_ndb will keep a version integer to indicate migration
versions. This introduces verson 1, no version being equivalent to 0.
An LBM is also registered to replace the tracks in the world.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add two new sets of diamond crossings in addition to the current set
of perpendicular crossings. Also cleans up the inside edges on the
perpendicular set models. All of these varieties have their mirror
images, which was previously a problem with the 45/90 crossing.
The naming convention for all of these rail types is this: when facing
east and param2=0, the angle and direction of the two crossing rails is
indicated. So 30l45r means 30 degrees left and 45 degrees right. The
mirror image of that would be 30r45l.
There is a recipe for each set of crossing types and the trackworker can
change geometry within types with left cick, and rotate between two 90
degree rotations with right-click. When left-clicking, the angles move
in an intuitive fashion like rotating rails.
* The perpendicular set (already existing) has rails that cross at 90
degrees.
* The 90+x set has 90 degree (straight, node aligned) rails plus a rail
intersecting that at 30, 45 or 60 degrees.
* The diagonal set has both rails not axis-aligned, for example 30r-45l,
60l60r. The latter is quite useful for scissors crossovers.
|
| |
|
| |
|
| |
|