aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
Commit message (Collapse)AuthorAge
* 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
* Add bord computer to trainsorwell962018-01-09
| | | | | | | | Features: - couple/decouple trains from a driver stand - new couple lock system (owner based, overridable by 'train_remove' privilege) - all train operators can now change the inside/outside text, allows for multilines Accessible via right-click menu or by pressing Sneak+Jump keys
* Change controls for trains (again)orwell962018-01-07
|
* Decrease the amount of garbage saved in save filesorwell962018-01-07
|
* Rewrite rail connection system...orwell962017-12-18
| | | | | | | | | ...to support an arbitrary number of connections for rails, which leads to these new features: - switches now get recognized by the trackworker correctly - ability to add real rail crosses During this, I also rewrote the rail registering system and the conway function (important part of path prediction) Note, developers: the track preset format changed, you might need to rewrite them according to the presets in tracks.lua if you wrote your own (possibly breaks advcarts)
* Move train_load() function into advtrains_train_trackorwell962017-12-18
|
* Add modifiable wagon extentsorwell962017-11-23
| | | | This will be required for advcarts
* Replace many math.floor(x+0.5) calls (or math.floor calls that should be ↵orwell962017-10-25
| | | | those) by custom atround() function
* Fix coupling and collisions in certain casesorwell962017-10-25
| | | | | | If a train moved towards another train, and the other train's step was executed after the first one's, the trains did eventually not collide. Fix by moving the enter_node and collision check to step_b Also change some couple behavior
* Fix error cascade due to inexistent drb_dump when debugging is disabledorwell962017-10-11
|
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
|
* Restructure mod directoryorwell962017-01-04
|
* Do not duplicate definitions of 'print' in every fileorwell962017-01-02
|
* Turning mod into a modpack and separating the trains from the core modorwell962016-12-20