aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Activate serialize_lib unit testsGabriel Pérez-Cerezo2021-11-10
|
* Add more unit tests, fix broken unit testGabriel Pérez-Cerezo2021-11-09
|
* configure build.yml to run the unit testsGabriel Pérez-Cerezo2021-11-09
|
* readme atc_set_ars_disable typoMaverick27972021-11-09
|
* add sourcehut build fileGabriel Pérez-Cerezo2021-11-09
|
* split_at_index where index=1Maverick27972021-11-08
| | | | | Splitting at index=1 results in multiple empty trains being created. Can be prevented by an atc_speed > 0 check by the user, but easier just to return false and do nothing.
* New-Ks: minor additions/corrections to ywang's work:orwell962021-11-08
| | | | | | - Add sign for line speed 20 (else no way to return to max line speed once set) - When no distant signal info available (default), Ks displays green light (2 sections free) - Normal and wall signals again signal maximum speed (persistent restriction can be given via line speed nouw)
* Add documentation on signal aspectsywang2021-11-07
|
* Make train HUD check for existing speed restrictionsywang2021-11-07
|
* Rework textures and models; add new signal signsywang2021-11-07
|
* Support different types of speed restrictions; add documentationywang2021-11-07
|
* round speed limit if neededywang2021-11-05
|
* make distant signal aspect dropdown labels consistent with the ones for the ↵ywang2021-11-05
| | | | main aspect
* Do not allow adjusting Ks signals with trackworkersywang2021-11-05
|
* Re-add Zs 3(v) indicators; swap green and yellow lights for realismywang2021-11-05
|
* Use realistic Ra 10 signal signywang2021-11-05
|
* On-Track Collision system: Fix train teleportation when using ↵orwell962021-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.
* LuaATC: remove accidental mesecons hard-dependencyorwell962021-11-04
|
* LuaATC: Fix position of error label, use consistent name "LuaATC" instead of ↵orwell962021-11-02
| | | | "LuaAutomation"
* LuaATC: Add Mesecons LuaATC Controller (similar to Mesecons Luacontroller)orwell962021-11-02
|
* LuaATC PCNaming: Allow naming active components using the toolorwell962021-11-02
|
* Route Formspec: When cancelling route, disable ARS only temporarily, not ↵orwell962021-10-26
| | | | permanently
* Coupler types: Better output when there are no couplers on a wagonorwell962021-10-25
|
* Coupling: Add concept of coupler types, allow coupling only when coupler ↵orwell962021-10-25
| | | | types match
* Train Coupling: Change behavior so that train direction of initiating train ↵orwell962021-10-25
| | | | is kept, add ATC Cpl command
* Disable position-based collision and coupling system for very short trains ↵orwell962021-07-07
| | | | (such as single minecarts) to solve #155
* Rework train same-track collision system and deterministic couplingorwell962021-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
* Shutdown callback: don't save advtrains save files when MT crashed within ↵orwell962021-07-07
| | | | advtrains's main step
* Make the collision mode configurableGabriel Pérez-Cerezo2021-06-30
| | | | | | | | If the advtrains_forgiving_collision setting is set to true, then the train only collides with nodes that do not have normal drawtype. Otherwise the old behavior is restored. This change is being made because there were users and mods relying on the old behavior, such as the railroad_paraphernalia mod's track blocker.
* Train-World collisions: Collide only with 'normal'-drawtype nodes.orwell962021-06-29
| | | | | | | As per discussion on the forum (https://forum.minetest.net/viewtopic.php?p=396745#p396745), changes the train-world collision logic to make trains only collide with nodes that are solid cubes. This allows for more creative freedom, but shifts the responsibility of building realistic railways to the players. In the future, a more sophisticated environment collision system might be invented, but this is low-priority and should be optional to save CPU.
* Entity Damage: Correct sign entity nameorwell962021-06-29
| | | | Reported by VanessaE
* Trains splitting: retain important properties (door state, line, texts etc)orwell962021-05-22
|
* Serialization: strip trailing \r also in nodedb callbackrelease-2.3.1orwell962021-05-07
|
* Merge commit 'd4593491efbcab47efd918d7918b97b4621828b3'orwell962021-05-03
|\
| * Strip trailing \r's also for first and last lineorwell962021-05-03
| |
| * Make strict loading the defaultorwell962021-05-03
| |
| * Strip trailing \r from lines (possibly fixes windows migration)orwell962021-05-03
| |
* | Deregister player from train on death in all cases (fixes #119)release-2.3.0orwell962021-04-25
| |
* | Prevent splitting trains when they're off track (fixes #178)orwell962021-04-25
| |
* | Hopefully fix #177orwell962021-04-25
| |
* | Fix undeclared globals warnings (#176)orwell962021-04-25
| | | | | | | | Reported by Vanessa Dannenberg
* | Add check for box inventoryGabriel Pérez-Cerezo2021-04-11
| | | | | | | | | | this fixes a crash when the new technic train battery wagon passes over a loading / unloading track.
* | Add /at_whereis command to check the position of a train.Gabriel Pérez-Cerezo2021-04-10
| |
* | Update serialize_liborwell962021-04-04
|\|
| * Open files in binary mode; also serialize carriage returnorwell962021-04-04
| | | | | | | | Bumps serialization version as CR escape would not be read correctly in older version
| * Add documentation and licenseorwell962021-03-22
| |
| * Fix init.lua functions to do what is documented on errororwell962021-03-22
| |
* | Remove sounds = default.sound_stone_defaults() as default is no longer a ↵orwell962021-04-04
| | | | | | | | dependency
* | Make mesecons_switch a proper optional dependency (H#175)Blockhead2021-03-31
| |
* | Increase size of LuaATC code input forms to 15x12 unitsorwell962021-03-22
| | | | | | | | | | The current size of the code form is rather limiting as it fills only a small part of the screen. Also adds global constant in init.lua so this can easily adapted in the future