Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Occupation system: store multiple indices for the same train, introduce ↵ | orwell96 | 2023-06-24 |
| | | | | reverse_lookup_sel() to select appropriate index out of multiple based on a heuristic | ||
* | On-Track Collision system: Fix train teleportation when using ↵ | orwell96 | 2021-11-04 |
| | | | | | | split_at_index() from LuaATC Issue was that train thought it would collide with the newly added back portion although it was already long past this train. Added additional check that current train index is not further than the collision point. | ||
* | Coupler types: Better output when there are no couplers on a wagon | orwell96 | 2021-10-25 |
| | |||
* | Coupling: Add concept of coupler types, allow coupling only when coupler ↵ | orwell96 | 2021-10-25 |
| | | | | types match | ||
* | Train Coupling: Change behavior so that train direction of initiating train ↵ | orwell96 | 2021-10-25 |
| | | | | is kept, add ATC Cpl command | ||
* | Rework train same-track collision system and deterministic coupling | orwell96 | 2021-07-07 |
| | | | | | | | - Adds a separate collision system for trains sharing a path - Moved some coupling-related code to couple.lua and refactor it - Handle coupling in a way that the initiating train always keeps its ID - As a side effect, engine has its direction reversed after coupling | ||
* | Fix undeclared globals warnings (#176) | orwell96 | 2021-04-25 |
| | | | | Reported by Vanessa Dannenberg | ||
* | Replace deprecated object:getxxx()/setxxx() by get_xxx()/set_xxx() | orwell96 | 2021-02-10 |
| | |||
* | Remove pcall wrappers completely, add command to disable advtrains mainloop | orwell96 | 2021-02-10 |
| | |||
* | Discard get_node_or_nil() for area-loaded check and use either a ↵ | orwell96 | 2021-02-03 |
| | | | | | | distance-based approach or minetest.is_block_active() if available See also https://github.com/minetest/minetest/pull/10897 | ||
* | Remove couple entities when out of range from players | Gabriel Pérez-Cerezo | 2020-10-12 |
| | | | | | Work around the entity flood bug caused by improper engine handling of static_save=false | ||
* | Remove "couple locks" and apply protection to the actual coupling process, ↵ | orwell96 | 2018-11-10 |
| | | | | and fix permissions on that | ||
* | No static_save for discouple entities | orwell96 | 2018-10-30 |
| | |||
* | Handle the case that a train is not initialized (train_ensure_init returns ↵ | orwell96 | 2018-10-29 |
| | | | | | | nil/false) Fixes H#72 | ||
* | Fix final bugs and to-do's (u.a.save/load system) | orwell96 | 2018-06-14 |
| | |||
* | Mainly make collisions and coupling work | orwell96 | 2018-06-14 |
| | | | | Missing: ATC stuff, yaw problems | ||
* | Implement collisions. (does not work yet, still code errors) | orwell96 | 2018-06-14 |
| | |||
* | Correct discouple position | orwell96 | 2018-01-22 |
| | | | | | Discouple entity was falsely placed at the position of the wagon instead of at its end | ||
* | Fix crash | orwell96 | 2018-01-17 |
| | | | IDK why this happens, but it's not important. | ||
* | Add bord computer to trains | orwell96 | 2018-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 | ||
* | Add modifiable wagon extents | orwell96 | 2017-11-23 |
| | | | | This will be required for advcarts | ||
* | Fix occasional crash in discouple on_punch | orwell96 | 2017-11-14 |
| | | | I think the issue is caused by the new animal damage code... | ||
* | Fix coupling and collisions in certain cases | orwell96 | 2017-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 | ||
* | Remove zip release files, move mod to root, exclude assets from Makefile (#92) | rubenwardy | 2017-09-20 |
| | |||
* | Restructure mod directory | orwell96 | 2017-01-04 |
| | |||
* | fix discouple not disappearing and a logical mistake with owners | orwell96 | 2017-01-02 |
| | |||
* | Do not duplicate definitions of 'print' in every file | orwell96 | 2017-01-02 |
| | |||
* | spawn couple on train collision | orwell96 | 2016-12-31 |
| | | | | also fix empty trains hanging around for too long | ||
* | Turning mod into a modpack and separating the trains from the core mod | orwell96 | 2016-12-20 |