aboutsummaryrefslogtreecommitdiff
path: root/advtrains
Commit message (Collapse)AuthorAge
...
| * Add road numbers to wagon properties, bordcomBlockhead2020-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A road number is used to allow users to set their own wagon numbers other than the internal IDs assigned by advtrains. A railway company would typically keep a roster of what rollingstock it has in road numbers. The road number can be set on the wagon properties formspec. It is displayed above the wagon's inventory icon in the onboard computer as a button, which will then open the wagon properties on that wagon. Road numbers might be displayable as additional text entities on the wagon like signs. Currently opening the wagon properties (and sometimes onboard computer) formspecs can be quite unreliable (at least on windows), so I hope that closing the wagon 'main menu' before opening other formspecs helps that reliability. It seems to be an upstream bug.
| * Show the wagon properties button only to the ownerBlockhead2020-03-18
| |
| * Use a standard wagon inventory formspecBlockhead2020-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.
* | Fix trains flipping when autocouplingGabriel Pérez-Cerezo2020-06-08
|/
* Merge branch 'diagonal_platforms' of https://github.com/Montandalar/advtrainsrelease-2.1.2Gabriel Pérez-Cerezo2020-03-15
|\
| * Reduce the profile of the platforms by 0.1Blockhead2020-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 meshBlockhead2020-03-15
| |
* | Delete train if it ends up off track, show a warningBlockhead2020-03-03
| |
* | Save clipboard on item metadataBlockhead2020-03-03
| | | | | | | | Also a minor user feedback text cleanup
* | Remove debugging print statementsBlockhead2020-03-03
| |
* | 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
|
* Apply minetest.formspec_escape() to prevent formspec injection (H#143)MT0.4Blockhead2020-01-04
|
* Simplify and optimize path_get_index_by_offset (cherrypicked)orwell962019-12-09
|
* Fix repeated log file opening/closing (H#136)orwell962019-12-04
|
* use group:wood in bumper recipe (H#120)orwell962019-12-04
|
* Tentative fix for #31Gabriel Pérez-Cerezo2019-12-03
| | | | | This might fix #31 by clearing the HUD entry for the player when joining
* Allow painting coupled wagonsGabriel Pérez-Cerezo2019-12-01
|
* Merge branch 'master' of https://git.bananach.space/advtrainsGabriel Pérez-Cerezo2019-12-01
|\
| * Simplify formula for brake distance calculationywang2019-11-27
| |
| * Don't spawn couple entities when not loadedorwell962019-11-26
| |
| * remove obsolete code/commentsorwell962019-11-26
| |
| * Fix trains not stopping when colliding with environment H#122orwell962019-11-26
| |
* | Add experimental liveries featureGabriel Pérez-Cerezo2019-12-01
|/ | | | | Please do not use this in your train mods yet, this may be subject to changes!
* Add wagon_width attributeGabriel Pérez-Cerezo2019-11-22
| | | | | This allows for wider vehicles than trains, such as boats to discharge the passengers onto the platforms.
* Changes for linetrackGabriel Pérez-Cerezo2019-10-21
| | | | Allows defining a suitable substrate for tracks, and liquid pointable tracks
* Shunting mode now couples trains on collision.Gabriel Pérez-Cerezo2019-08-11
| | | | Trains now get coupled when one of them is in coupling mode.
* Add decoupling to luaatcGabriel Pérez-Cerezo2019-08-11
|
* Change API to return the id of a newly created train when discouplingGabriel Pérez-Cerezo2019-08-09
|
* 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.
* No longer require server priv for /at_sync_ndbGabriel Pérez-Cerezo2019-07-17
| | | | | The check for server priv was hidden where no one would have expected it.
* Various small fixesGabriel Pérez-Cerezo2019-07-16
| | | | | | - Also do atomic operations on nodedb - no longer require Worldedit for at_sync_ndb - "overrun LZB 0 restriction" should now show where it happened.
* 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
|
* Run entity overrun checking only in loaded areasorwell962019-06-05
|
* Fix occurences of old lzb_invalidateorwell962019-04-23
|
* Fix remote routesettingorwell962019-04-16
|
* Move LZB system to core and unify approach callback mechanismorwell962019-04-16
|
* Set wagon pitch on slopesPedro Gimeno2019-04-06
|
* Ugly workaround for green signals bugorwell962019-03-15
|
* Add setting for death behavior and implement damage checks betterorwell962019-03-09
|
* Configurable interval for get_off setpos and door pos fix for japanese trainorwell962019-03-09
|
* Restore old door status display behaviororwell962019-03-09
|
* Prioritize LZB callback (possible bugfix for H#100)orwell962019-02-19
|
* Fix stop rails sometimes not sending stop commandorwell962019-02-16
|
* No crash when train does not exist on check_collision()orwell962019-02-06
|
* Fix slope placer protectionorwell962019-02-05
|
* Force LZB Halt settingorwell962019-02-05
|
* Fix sending empty ATC commandsorwell962019-02-05
|