Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use a standard wagon inventory formspec | Blockhead | 2020-03-18 |
| | | | | | | | | | | | | | | 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. | ||
* | Merge branch 'diagonal_platforms' of https://github.com/Montandalar/advtrainsrelease-2.1.2 | Gabriel Pérez-Cerezo | 2020-03-15 |
|\ | |||
| * | Reduce the profile of the platforms by 0.1 | Blockhead | 2020-03-15 |
| | | | | | | | | | | | | Currently some trains clip the platform (especially E231 modpack), but they won't after the platform edge is moved back slightly. | ||
| * | Add 45 degree diagonal platforms with a mesh | Blockhead | 2020-03-15 |
| | | |||
* | | Get rid of the "Subway Train" item (was an ugly hack anyways, and is ↵ | orwell96 | 2020-03-08 |
| | | | | | | | | obsolete now) | ||
* | | Delete train if it ends up off track, show a warning | Blockhead | 2020-03-03 |
| | | |||
* | | Save clipboard on item metadata | Blockhead | 2020-03-03 |
| | | | | | | | | Also a minor user feedback text cleanup | ||
* | | Remove debugging print statements | Blockhead | 2020-03-03 |
| | | |||
* | | Draft copy tool | Blockhead | 2020-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.txt | orwell96 | 2020-02-15 |
| | |||
* | Use minetest.safe_file_write() to atomically save state [Breaks MT4 compat] | orwell96 | 2020-01-10 |
| | |||
* | Merge branch 'mt5-fixes' | orwell96 | 2020-01-04 |
|\ | |||
| * | Move attachment positions down 1 node | orwell96 | 2019-12-05 |
| | | |||
* | | Apply minetest.formspec_escape() to prevent formspec injection (H#143)MT0.4 | Blockhead | 2020-01-04 |
| | | |||
* | | Remove fullbright (H#140) | orwell96 | 2019-12-18 |
| | | |||
* | | Fix RWT initialization when creating new world (H#142) | orwell96 | 2019-12-18 |
| | | |||
* | | Do not set infotext on Ks signal aspect change | orwell96 | 2019-12-14 |
| | | | | | | | | Possible migitation for Linuxworks RAM explosion | ||
* | | Simplify and optimize path_get_index_by_offset (cherrypicked) | orwell96 | 2019-12-09 |
|/ | |||
* | Add inverse ARS rules | Gabriel Pérez-Cerezo | 2019-12-05 |
| | | | | | | | | !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. | ||
* | Fix repeated log file opening/closing (H#136) | orwell96 | 2019-12-04 |
| | |||
* | use group:wood in bumper recipe (H#120) | orwell96 | 2019-12-04 |
| | |||
* | Tentative fix for #31 | Gabriel Pérez-Cerezo | 2019-12-03 |
| | | | | | This might fix #31 by clearing the HUD entry for the player when joining | ||
* | Allow painting coupled wagons | Gabriel Pérez-Cerezo | 2019-12-01 |
| | |||
* | Merge branch 'master' of https://git.bananach.space/advtrains | Gabriel Pérez-Cerezo | 2019-12-01 |
|\ | |||
| * | Simplify formula for brake distance calculation | ywang | 2019-11-27 |
| | | |||
| * | Fix steam engine sound playing forever (H#121) | ywang | 2019-11-27 |
| | | |||
| * | Don't spawn couple entities when not loaded | orwell96 | 2019-11-26 |
| | | |||
| * | remove obsolete code/comments | orwell96 | 2019-11-26 |
| | | |||
| * | Fix trains not stopping when colliding with environment H#122 | orwell96 | 2019-11-26 |
| | | |||
* | | Add experimental liveries feature | Gabriel Pérez-Cerezo | 2019-12-01 |
|/ | | | | | Please do not use this in your train mods yet, this may be subject to changes! | ||
* | Add wagon_width attribute | Gabriel Pérez-Cerezo | 2019-11-22 |
| | | | | | This allows for wider vehicles than trains, such as boats to discharge the passengers onto the platforms. | ||
* | Fix the "red signals" bug that appeared when clicking a green signal | orwell96 | 2019-11-21 |
| | |||
* | Fix scheduler crash (H#133) | orwell96 | 2019-11-21 |
| | | | | for loops don't work with manipulating i | ||
* | Add "discard all" function to scheduler events and use it to clear schedules ↵ | orwell96 | 2019-11-06 |
| | | | | in luaatc rails | ||
* | lines: fix very dumb typo breaking the "add" and "diff" function | orwell96 | 2019-11-06 |
| | |||
* | lines: Add rwt adapt mode to adapt to real time | orwell96 | 2019-11-06 |
| | |||
* | lines: document scheduler better | orwell96 | 2019-11-06 |
| | |||
* | atlatc: fix operation panel not in ndb, add warning when node is not found ↵ | orwell96 | 2019-11-06 |
| | | | | on queue run | ||
* | Merge branch 'master' of https://git.bananach.space/advtrains | Gabriel Pérez-Cerezo | 2019-10-21 |
|\ | |||
| * | Secure inputs to scheduler so that they don't get recognised when executing ↵ | orwell96 | 2019-08-29 |
| | | | | | | | | the schedule | ||
| * | Do not throw error when sync_tcb_neighbors fails | orwell96 | 2019-08-29 |
| | | |||
| * | Add lines scheduler for reliable railway-time scheduling(which is also safer ↵ | orwell96 | 2019-08-26 |
| | | | | | | | | than the atlatc scheduler) and document new atlatc functions | ||
| * | Don't allow to remove TCB when a signal is assigned | orwell96 | 2019-08-26 |
| | | |||
* | | Changes for linetrack | Gabriel Pérez-Cerezo | 2019-10-21 |
|/ | | | | Allows defining a suitable substrate for tracks, and liquid pointable tracks | ||
* | Shunting mode now couples trains on collision. | Gabriel Pérez-Cerezo | 2019-08-11 |
| | | | | Trains now get coupled when one of them is in coupling mode. | ||
* | Document luaatc decoupling | Gabriel Pérez-Cerezo | 2019-08-11 |
| | |||
* | Add decoupling to luaatc | Gabriel Pérez-Cerezo | 2019-08-11 |
| | |||
* | Change API to return the id of a newly created train when discoupling | Gabriel Pérez-Cerezo | 2019-08-09 |
| | |||
* | New version 3 save system. | Gabriel Pérez-Cerezo | 2019-07-23 |
| | | | | | This new save system exists to split up the save file into several smaller ones, to bypass lua limitations. | ||
* | math.floor triggers error if it gets something nil | Gabriel Pérez-Cerezo | 2019-07-20 |
| |