Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move the Train ID information to a textarea[] without a name attribute so it ↵ | erstazi | 2024-09-02 |
| | | | | remains transparent and the player can copy the Train ID. | ||
* | Add Wagon Properties Tool | Maverick2797 | 2024-08-09 |
| | | | | Also added the Wagon ID to the Wagon Properties formspec | ||
* | Fix boardcom train id display, add command to teleport to train by id | gpcf | 2024-08-08 |
| | |||
* | Adding Train ID to Onboard Computer formspec so we know what the Train ID is ↵ | erstazi | 2024-08-08 |
| | | | | without LuaATC | ||
* | advtrains_techage: Liquid infotext display needs to be added in corerelease-2.4.3 | orwell96 | 2023-07-20 |
| | |||
* | Add function to get wagon in train from index | orwell96 | 2023-05-27 |
| | | | | | Can be used to determine which wagon is at a certain world position Testing: use debugitems.lua | ||
* | Fix new wagon positioning when wheel positions are asymmetric, and remove ↵ | orwell96 | 2022-02-24 |
| | | | | leftover train.debug | ||
* | Wagons: Add two-pos wheel positioning logic for more realistic look of long ↵ | orwell96 | 2022-02-09 |
| | | | | | | wagons Adds field "wheel_positions" in wagon definition | ||
* | Automatically group wagons and locomotives based on definition values | Maverick2797 | 2021-12-29 |
| | | | | | | | | | Based on the advtrains wiki groups: Type Group Classifier - Locomotives: group:at_loco is_locomotive = true - Controllable: group:at_control seat_groups.dstand - Passengers: group:at_pax seat_groups.pass - Freight: group:at_freight has_inventory = true | ||
* | 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 |
| | |||
* | Add global slowdown factor instead of hard dtime limiting | orwell96 | 2021-02-10 |
| | |||
* | Add IGNORE_WORLD mode to test using only the advtrains save data | orwell96 | 2021-02-10 |
| | |||
* | Fix HUD position and Remote Routesetting button | orwell96 | 2021-02-10 |
| | |||
* | Fix lots of things around new LZB | orwell96 | 2021-02-10 |
| | |||
* | Remove pcall wrappers completely, add command to disable advtrains mainloop | orwell96 | 2021-02-10 |
| | |||
* | Implement a LZB speed lookup table for the path and rewrite velocity controls | orwell96 | 2021-02-10 |
| | |||
* | Disable ARS train flag and surrounding uses | 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 | ||
* | Add ATC "K" command | Gabriel Pérez-Cerezo | 2021-01-07 |
| | | | | | | | This command kicks out all passengers when the train is stopped and its doors are open. In addtion, a wagon:is_driver_stand(seat) function was added to allow finding out easily if a seat is the driver stand of the wagon. | ||
* | Workaround to destroy looping sounds | Blockhead | 2020-11-02 |
| | | | | Needed for linetrack boat sound bug | ||
* | 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 last files with CR-LF line endings. | Gabriel Pérez-Cerezo | 2020-10-11 |
| | |||
* | Don't allow wagons with non-empty inventories to be destroyed (H#164) | orwell96 | 2020-10-07 |
| | |||
* | localize split function to prevent conflicts with the builtin one | Gabriel Pérez-Cerezo | 2020-09-04 |
| | |||
* | Escape fields in wagon properties (H#158) | orwell96 | 2020-09-04 |
| | |||
* | Fix seating_from_key_helper: use pname instead of player:get_player_name() | Relatio | 2020-08-27 |
| | |||
* | Add function to step through freight codes | Gabriel Pérez-Cerezo | 2020-07-26 |
| | |||
* | add split_train_at_fc luaatc command | Gabriel Pérez-Cerezo | 2020-07-26 |
| | | | | | | This command splits the train at the second non-empty FC it encounters, taking with it the first few freight cars that all go to the same destination. | ||
* | add Freightcodes to wagon properties formspec | Gabriel Pérez-Cerezo | 2020-07-26 |
| | |||
* | Do not unload wagons when a player that is logged in sits in itrelease-2.1.3 | orwell96 | 2020-07-26 |
| | |||
* | Fix error in workaround causing train entities to despawn. | Gabriel Pérez-Cerezo | 2020-07-19 |
| | |||
* | Add workaround to unload wagons that are too far away from players | orwell96 | 2020-07-12 |
| | |||
* | Fix access control to wagon properties | Blockhead | 2020-06-29 |
| | | | | | | | Previously, players were able to open the wagon properties of any wagon at all through the wagon properties button on the inventory formspec and through the wagon buttons on the onboard computer. Add a check for ownership before allowing players to open wagon properties. | ||
* | Merge branch 'wagon_prop_formspec' of https://github.com/Montandalar/advtrains | Gabriel Pérez-Cerezo | 2020-06-08 |
|\ | |||
| * | Remove debugging print statement | Blockhead | 2020-04-12 |
| | | |||
| * | Add road numbers to wagon properties, bordcom | Blockhead | 2020-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 owner | Blockhead | 2020-03-18 |
| | | |||
| * | 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. | ||
* | | Fix trains flipping when autocoupling | Gabriel Pérez-Cerezo | 2020-06-08 |
|/ | |||
* | Apply minetest.formspec_escape() to prevent formspec injection (H#143)MT0.4 | Blockhead | 2020-01-04 |
| | |||
* | 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 |
|\ | |||
| * | 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 occurences of old lzb_invalidate | orwell96 | 2019-04-23 |
| | |||
* | Fix remote routesetting | orwell96 | 2019-04-16 |
| | |||
* | Move LZB system to core and unify approach callback mechanism | orwell96 | 2019-04-16 |
| |