Commit Graph

  • 2b21817b4f On_Joinplayer: fix train ID check for attachment update Previously, statement was always false because train_id is no longer in the luaentity master orwell96 2022-06-13 14:17:24 +0200
  • 744aee2cdd Minor change to README Antonia 2022-03-02 23:56:59 +0100
  • 8beacdc508 Fix new wagon positioning when wheel positions are asymmetric, and remove leftover train.debug orwell96 2022-02-24 22:04:39 +0100
  • 3cb21a80dc Wagons: Add two-pos wheel positioning logic for more realistic look of long wagons Adds field "wheel_positions" in wagon definition orwell96 2022-02-09 22:40:29 +0100
  • ef8391a60d atc_reset(): Removed unused string parameter and also clear ATC autocouple flag (Cpl) Fixes H#189 and H#190 orwell96 2021-12-31 16:04:04 +0100
  • 78e0c650e3 Load/Unload Track FC Integration Maverick2797 2021-08-28 19:57:58 +0800
  • 7db61e9890 Automatically group wagons and locomotives based on definition values Maverick2797 2021-08-18 18:10:41 +0800
  • 23d524df71 Luaautomation: add section_occupancy() Maverick2797 2021-07-04 16:34:04 +0800
  • 5912f778e1 Fix speed sign allowing v>max_speed Y. Wang 2021-12-04 18:51:06 +0100
  • 0b9441c289 Add C&C Servers into the testing server list, since we are using the latest commit Emojigit 2021-11-26 19:05:27 +0800
  • f27640ee27 Trivial fixup for train decoupling regression ywang 2021-11-19 21:41:15 +0100
  • 358bff47b2 Interlocking: Correct duplicate influence points semi-automatically Searches and deletes duplicate influence points for the same signal when "Influence Point" formspec is opened. orwell96 2021-11-14 17:31:04 +0100
  • 546ae49167 rewrite readme in markdown, add more information Gabriel Pérez-Cerezo 2021-11-10 16:35:42 +0100
  • 02687c11ee Remove non-deterministic test Gabriel Pérez-Cerezo 2021-11-10 11:48:27 +0100
  • 890369090e Activate serialize_lib unit tests Gabriel Pérez-Cerezo 2021-11-10 11:39:54 +0100
  • 3561a7bfa2 Add more unit tests, fix broken unit test Gabriel Pérez-Cerezo 2021-11-09 21:56:41 +0100
  • 9ec9db0ca9 configure build.yml to run the unit tests Gabriel Pérez-Cerezo 2021-11-09 21:51:33 +0100
  • 43c85ab8cf readme atc_set_ars_disable typo Maverick2797 2021-10-31 11:42:31 +0800
  • 00d12120b9 add sourcehut build file Gabriel Pérez-Cerezo 2021-11-09 17:29:17 +0100
  • 4cf9e5283b split_at_index where index=1 Maverick2797 2021-11-08 20:36:01 +0800
  • 45e18326e3 New-Ks: minor additions/corrections to ywang's work: - 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) orwell96 2021-11-08 22:47:29 +0100
  • 3f6cef7308 Add documentation on signal aspects ywang 2021-11-07 19:01:45 +0100
  • 3c92fa597c Make train HUD check for existing speed restrictions ywang 2021-11-07 14:06:50 +0100
  • d46f4b9f67 Rework textures and models; add new signal signs ywang 2021-11-06 17:13:27 +0100
  • be2f37a067 Support different types of speed restrictions; add documentation ywang 2021-11-03 18:55:31 +0100
  • 2299470523 round speed limit if needed ywang 2021-05-30 12:16:09 +0200
  • 8793c8bd48 make distant signal aspect dropdown labels consistent with the ones for the main aspect ywang 2021-05-30 14:57:48 +0200
  • fb632f170a Do not allow adjusting Ks signals with trackworkers ywang 2021-05-28 21:45:38 +0200
  • 44119ecbf5 Re-add Zs 3(v) indicators; swap green and yellow lights for realism ywang 2021-05-28 17:47:17 +0200
  • e683401450 Use realistic Ra 10 signal sign ywang 2021-05-27 14:20:24 +0200
  • 8a9f1389a5 On-Track Collision system: Fix train teleportation when using 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. orwell96 2021-11-04 20:14:20 +0100
  • f046cfc2d3 LuaATC: remove accidental mesecons hard-dependency orwell96 2021-11-04 20:10:55 +0100
  • 5e27bbdcfe LuaATC: Fix position of error label, use consistent name "LuaATC" instead of "LuaAutomation" orwell96 2021-11-02 23:22:30 +0100
  • ae152bf5bb LuaATC: Add Mesecons LuaATC Controller (similar to Mesecons Luacontroller) orwell96 2021-11-02 23:15:16 +0100
  • 35d5106a21 LuaATC PCNaming: Allow naming active components using the tool orwell96 2021-11-02 23:14:28 +0100
  • 75025b13ca Route Formspec: When cancelling route, disable ARS only temporarily, not permanently orwell96 2021-10-26 20:23:19 +0200
  • 4e80866ca6 Coupler types: Better output when there are no couplers on a wagon orwell96 2021-10-25 21:19:01 +0200
  • 5f5d28af1b Coupling: Add concept of coupler types, allow coupling only when coupler types match orwell96 2021-10-25 21:08:42 +0200
  • e7d0a5fac2 Train Coupling: Change behavior so that train direction of initiating train is kept, add ATC Cpl command orwell96 2021-10-25 19:54:58 +0200
  • 4989da3663 Disable position-based collision and coupling system for very short trains (such as single minecarts) to solve #155 orwell96 2021-07-07 22:58:10 +0200
  • 1f3a4c3bfc Rework train same-track collision system and deterministic coupling - 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 orwell96 2021-07-07 22:14:20 +0200
  • c623a33860 Shutdown callback: don't save advtrains save files when MT crashed within advtrains's main step orwell96 2021-07-07 18:10:53 +0200
  • 30f4e342fd Make the collision mode configurable Gabriel Pérez-Cerezo 2021-06-30 23:46:00 +0200
  • 9b0ec771d7 Train-World collisions: Collide only with 'normal'-drawtype nodes. 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. orwell96 2021-06-29 16:12:29 +0200
  • 0efe7ef1f3 Entity Damage: Correct sign entity name Reported by VanessaE orwell96 2021-06-29 15:57:55 +0200
  • e5b053c0d8 Trains splitting: retain important properties (door state, line, texts etc) orwell96 2021-05-22 19:42:15 +0200
  • e506086011 Serialization: strip trailing \r also in nodedb callback orwell96 2021-05-07 10:19:49 +0200
  • 81cd305aa0 Merge commit 'd4593491efbcab47efd918d7918b97b4621828b3' orwell96 2021-05-03 22:06:02 +0200
  • d4593491ef Strip trailing \r's also for first and last line orwell96 2021-05-03 22:05:30 +0200
  • 28bc9ef07f Make strict loading the default orwell96 2021-05-03 21:58:50 +0200
  • 07f4e83ded Strip trailing \r from lines (possibly fixes windows migration) orwell96 2021-05-03 21:47:53 +0200
  • 5aa700c3ab Deregister player from train on death in all cases (fixes #119) orwell96 2021-04-25 22:13:24 +0200
  • 571a5cd19b Prevent splitting trains when they're off track (fixes #178) orwell96 2021-04-25 22:07:44 +0200
  • 09bba2c57f Hopefully fix #177 orwell96 2021-04-25 21:59:02 +0200
  • 112e3ff255 Fix undeclared globals warnings (#176) Reported by Vanessa Dannenberg orwell96 2021-04-25 21:53:41 +0200
  • e04c21be78 Add check for box inventory Gabriel Pérez-Cerezo 2021-04-11 12:45:17 +0200
  • 9dd0313b71 Add /at_whereis command to check the position of a train. Gabriel Pérez-Cerezo 2021-04-10 12:26:47 +0200
  • 5ee8c0e39b Update serialize_lib orwell96 2021-04-04 19:57:43 +0200
  • edcc0d0917 Open files in binary mode; also serialize carriage return Bumps serialization version as CR escape would not be read correctly in older version orwell96 2021-04-04 19:50:04 +0200
  • 3dc6426e86 Remove sounds = default.sound_stone_defaults() as default is no longer a dependency orwell96 2021-04-04 19:48:35 +0200
  • 99e619a2e5 Make mesecons_switch a proper optional dependency (H#175) Blockhead 2021-03-30 10:16:43 +0200
  • f5689e9e91 Add documentation and license orwell96 2021-03-22 13:28:21 +0100
  • 2e281b134b Fix init.lua functions to do what is documented on error orwell96 2021-03-22 12:13:19 +0100
  • 5d372b1cf1 Increase size of LuaATC code input forms to 15x12 units 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 orwell96 2021-03-22 11:23:42 +0100
  • 4fcc552770 Remove "Last punched" from LuaATC init code fs hlqkj 2021-03-09 10:03:44 +0100
  • ace8ca0fda Rework route ui formspec layout hlqkj 2021-03-09 10:03:43 +0100
  • b9c824db00 Rework active_common formspec layout hlqkj 2021-03-09 10:03:42 +0100
  • 75474ec07e Rework envsetup formspec layout hlqkj 2021-03-09 10:03:41 +0100
  • 5f2e40a08f Use mono font to ATC rail command fields hlqkj 2021-03-09 10:03:40 +0100
  • 07b1231f75 Rework stoprail formspec layout and add mono style hlqkj 2021-03-09 10:03:39 +0100
  • 5b4f5491d2 Do not return early after setting station info on stop rail Blockhead 2021-03-22 11:00:37 +0100
  • 7e94650b8d Do not crash when operating signals without interlocking Blockhead 2021-03-22 10:46:31 +0100
  • a224027b16 Add 'serialize_lib/' from commit 'a6e8b8b4353863ad563a4d5187f40fea702ea2de' orwell96 2021-03-13 11:29:44 +0100
  • b82e10051d Remove serialize_lib in order to re-add it as subtree orwell96 2021-03-13 11:29:17 +0100
  • a6e8b8b435 mod.conf: Add more information about the mod, not just the name orwell96 2021-03-13 11:16:05 +0100
  • 682ff59906 Replace deprecated depends.txt's by mod.conf and organize dependencies consistently, add modpack.conf orwell96 2021-03-13 11:11:12 +0100
  • b2d7bbb2c5 Signal influence points: Make sure to clear on removal of signal, clear orphaned when digging rail orwell96 2021-03-12 17:56:07 +0100
  • 2dcf60dec6 Track can-dig check: also notify user when digging is not allowed orwell96 2021-03-12 17:30:50 +0100
  • 0c7beca20e Split out all train mods as basic_trains and remove them from main repo orwell96 2021-03-12 10:58:20 +0100
  • e38f215faa Added alternative recipes, falling back on the default: items as they seem to be in the rest of the mod. May need rebalancing though. Maverick2797 2021-02-24 20:16:55 +0800
  • 6135f8a23b LuaATC: add sending atc command to train by ID, and getters for in/out text (solves #124 and #166) orwell96 2021-03-02 19:51:56 +0100
  • db9e4429d7 Fix protection of TSR rail orwell96 2021-02-19 22:46:21 +0100
  • 30076f5ce3 Add some missing craft recipes - LuaATC remains non-craftable for now (elevated privs necessary anyway) - Some crafts altered from dario's proposal orwell96 2021-02-19 18:46:03 +0100
  • 04c78373f1 LuaATC: add interrupt_safe() and clear_interrupts(), fix queue mainloop orwell96 2021-02-17 19:45:52 +0100
  • 1e4156d0a4 LuaATC: Improve error/print logging, log only to subscribed players orwell96 2021-02-17 19:10:40 +0100
  • d13a610c2e Clean up structure of atlatc README.md after rebase orwell96 2021-02-17 18:13:20 +0100
  • 27a1474963 Updated atlac readme to consistently use Markdown formatting Maverick2797 2021-02-07 19:49:24 +0800
  • 0bffd6ca64 Make DTIME_LIMIT and SAVE_INTERVAL globally accessible orwell96 2021-02-15 19:41:13 +0100
  • 5569849401 Restore LuaATC autocouple interface accidentally lost in 74a2199 During rebase, this part of the autocouple feature must have been accidentally lost orwell96 2021-02-15 16:52:54 +0100
  • 737eb4987f LZB: Look ahead before movement, not after orwell96 2021-02-12 11:55:57 +0100
  • b65d99aa2c Don't try to invalidate_ahead when path has been regularily invalidated before orwell96 2021-02-10 21:41:05 +0100
  • 0a9cb548d7 Prevent calling approach callbacks during routesetting interlocking.set_route() was updating the signal aspect, which caused LZB's invalidate_ahead callback to run, although the route isn't yet fully set. Don't look ahead at this point, but instead in the next train step. orwell96 2021-02-10 20:55:20 +0100
  • 1e0ae9fcc5 fix legacy signal aspect converter orwell96 2021-02-10 18:28:50 +0100
  • 96bb7d5e7e LZB: don't look ahead past red signal orwell96 2021-02-10 18:27:09 +0100
  • 0859e50c6e Fix manual train control orwell96 2021-02-10 18:26:53 +0100
  • 17e29a2511 Make anti-LZB-flicker system work after rebase onto hud redesign orwell96 2021-02-10 17:07:38 +0100
  • fad6f88bab Fix hud and trainlogic to work together orwell96 2021-01-14 10:27:42 +0100
  • 556e0782f7 Replace deprecated object:getxxx()/setxxx() by get_xxx()/set_xxx() orwell96 2021-01-14 11:19:15 +0100
  • 1b8a3dfaf2 Add save interval setting, fix accidental global variable, at_sync_ndb on server priv not limited, timetaking for restore_all orwell96 2021-01-14 11:08:16 +0100
  • 4d13b15842 luaatc: Train event: also remember arrow connection in enter callback, remove obsolete code orwell96 2021-01-02 21:21:37 +0100