aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
Commit message (Collapse)AuthorAge
* Backport ndb format from cellworld to also store the cids in the ndb file; ↵orwell962021-01-12
| | | | integrate ndb in serialize_lib atomic system
* Make advtrains use serialize_lib (save version 4)orwell962021-01-12
| | | | Old save format will be gracefully migrated
* DUMP_DEBUG_SAVE also dumps interlocking dataorwell962021-01-12
|
* [BREAKING] Use client-side translations instead of intllib; add zh_CN ↵ywang2020-07-19
| | | | | | | | 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)
* Add workaround to unload wagons that are too far away from playersorwell962020-07-12
|
* Add "Fallback state" for freed routes, move p_mesecon_iface.lua to coreorwell962020-07-07
|
* Add autocouple modeGabriel Pérez-Cerezo2020-06-29
| | | | | | | The shunting mode no longer makes trains couple, since it was meant for other purposes. For autocoupling, the new autocoupling mode is used. If trains are in autocouple mode, they couple when they collide with another train.
* Workaround to handle split points (dt. aufgefahrene Weichen), fixing H#77orwell962020-06-10
|
* Draft copy toolBlockhead2020-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Relicense under AGPLv3 and update information in readme.txtorwell962020-02-15
|
* Use minetest.safe_file_write() to atomically save state [Breaks MT4 compat]orwell962020-01-10
|
* New version 3 save system.Gabriel Pérez-Cerezo2019-07-23
| | | | | This new save system exists to split up the save file into several smaller ones, to bypass lua limitations.
* Keep a backup file where stuff is written to when savingGabriel Pérez-Cerezo2019-07-16
| | | | This should prevent yet another train service disaster.
* Railway Time: Basic time counter and utility functionsorwell962019-06-19
|
* Move LZB system to core and unify approach callback mechanismorwell962019-04-16
|
* Ugly workaround for green signals bugorwell962019-03-15
|
* Basic functions of "stop rail", missing ARS rules and signal.orwell962019-01-24
| | | | For signal, need to think of a callback system for signals and moving atlatc queue to core?
* Possible fix for braking problems + debug outputsorwell962019-01-23
|
* Add "routingcode" propertyorwell962019-01-09
| | | | Used for ARS and stop points
* Shunt signals (not exactly Ks), along with fixes in other components that ↵orwell962018-12-08
| | | | those rely on
* Added on_train_approach callback, non-permanent external LZB brakepoints and ↵orwell962018-11-29
| | | | | | basis for "stop rails" Stop rails ATM use the aforementioned things to add a pointwise "2" speed restriction. Seems to work.
* Fix protection regarding tracks (track_builder and railway_operator) and ↵orwell962018-11-12
| | | | documentation on privileges
* Increase savefile version to 2orwell962018-11-10
| | | | (Master downgrade protection)
* Remove "couple locks" and apply protection to the actual coupling process, ↵orwell962018-11-10
| | | | and fix permissions on that
* atdump() to treat certain values specialorwell962018-10-29
|
* Properly handle speed restrictionsorwell962018-10-10
|
* Add signal safety control override, restructure control systemorwell962018-10-10
|
* Improve route programming:orwell962018-10-07
| | | | | | | - Formspec for TCBs instead of unhandy chatcommands - Ability to advance route over the next secction without punching end - Better visualization - Ability to route into dead-end sections
* Add interlocking guide/manual, silence debug outputsorwell962018-09-14
|
* Move passive API to the advtrains coreorwell962018-08-16
| | | | to remove dependency of interlocking on luaautomation
* Remove redundant digtron.lua fileGabriel Pérez-Cerezo2018-08-12
|
* Add routesetting callbacks.orwell962018-08-12
| | | | Now, only the signal aspect setting is still missing
* Implement trains blocking sectionsorwell962018-06-29
|
* Complete Track Section handling, incl. removing tcb's and marker entitiesorwell962018-06-26
|
* Add track section concept and rework TCB design, implement new linking behaviororwell962018-06-21
|
* Check for inventory existence before serializing, and do not create it again ↵orwell962018-06-19
| | | | if it already exists.
* Fix box wagon inventory serialization and make box wagons protected.orwell962018-06-14
|
* Fix bugs found while testingorwell962018-06-14
|
* Fix final bugs and to-do's (u.a.save/load system)orwell962018-06-14
|
* Fix yaw calculations, track placement orientation and speed up direction ↵orwell962018-06-14
| | | | lookup functions
* Implement collisions. (does not work yet, still code errors)orwell962018-06-14
|
* Fix path_dir to actually be an angle, path item deletion and orientation of ↵orwell962018-06-14
| | | | | | | | wagons The occupation system as it is now will change. For each position, I will save the index in the train's path, and implement a callback system. I need this because the occupation window system will not be enough to cover all use cases (e.g. to make a train stop with it's center or back at a certain position, I need 3 different brake distances, which doesn't fit into the scheme)
* Bugfixes part 1orwell962018-06-14
| | | | There's something wrong with the new paths, next time build a path validity checker to trace the issue
* Restructure path systemorwell962018-06-14
| | | | The changes to the path system have not yet been integrated...
* Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2018-06-10
|\
| * Rework the privilege system completelyorwell962018-03-14
| | | | | | | | See privilege_guide.txt for information
* | Merge https://github.com/orwell96/advtrains into logGabriel Pérez-Cerezo2018-02-22
|\|
| * Log certain events in a logfile in the world directoryGabriel Pérez-Cerezo2018-02-21
| | | | | | | | (also fix the output of /at_sync_ndb)
* | added separate logging for railway networksGabriel Pérez-Cerezo2018-02-18
|/
* Simplify /at_rerouteorwell962018-01-23
| | | | It is not necessary to reload the save files, because there already is a function to invalidate train routes e.g. when turnouts are switched