Commit Graph

586 Commits (8d794525b3232dbe326043ee3d219ecabee04636)

Author SHA1 Message Date
orwell96 8d794525b3 Fix repeated log file opening/closing (H#136) 2019-12-04 10:09:19 +01:00
orwell96 e0662b2971 use group:wood in bumper recipe (H#120) 2019-12-04 10:09:19 +01:00
Gabriel Pérez-Cerezo 3db3f24857 Tentative fix for #31
This might fix #31 by clearing the HUD entry for the player when
joining
2019-12-03 21:35:42 +01:00
Gabriel Pérez-Cerezo 25a335203f Allow painting coupled wagons 2019-12-01 12:25:06 +01:00
Gabriel Pérez-Cerezo 0518fbbf3a Merge branch 'master' of https://git.bananach.space/advtrains 2019-12-01 12:09:04 +01:00
Gabriel Pérez-Cerezo b71c72b4ab Add experimental liveries feature
Please do not use this in your train mods yet, this may be subject to
changes!
2019-12-01 12:08:28 +01:00
ywang 2157a7ef36 Simplify formula for brake distance calculation 2019-11-27 10:37:25 +01:00
ywang 35a6f14561 Fix steam engine sound playing forever (H#121) 2019-11-27 10:23:05 +01:00
orwell96 7082038f75 Don't spawn couple entities when not loaded 2019-11-26 16:43:47 +01:00
orwell96 cf2179dea5 remove obsolete code/comments 2019-11-26 16:01:51 +01:00
orwell96 4ff8e05755 Fix trains not stopping when colliding with environment H#122 2019-11-26 15:49:36 +01:00
Gabriel Pérez-Cerezo ca4d65050c Add wagon_width attribute
This allows for wider vehicles than trains, such as boats to discharge
the passengers onto the platforms.
2019-11-22 20:29:57 +01:00
orwell96 0252768c16 Fix the "red signals" bug that appeared when clicking a green signal 2019-11-21 16:09:47 +01:00
orwell96 576365627a Fix scheduler crash (H#133)
for loops don't work with manipulating i
2019-11-21 16:02:32 +01:00
orwell96 8c55442076 Add "discard all" function to scheduler events and use it to clear schedules in luaatc rails 2019-11-06 22:07:10 +01:00
orwell96 43b4d863ec lines: fix very dumb typo breaking the "add" and "diff" function 2019-11-06 22:06:46 +01:00
orwell96 7f4f8c606d lines: Add rwt adapt mode to adapt to real time 2019-11-06 21:22:33 +01:00
orwell96 a3c468058a lines: document scheduler better 2019-11-06 21:22:18 +01:00
orwell96 a4efdc196c atlatc: fix operation panel not in ndb, add warning when node is not found on queue run 2019-11-06 21:20:26 +01:00
Gabriel Pérez-Cerezo 74f7233d21 Merge branch 'master' of https://git.bananach.space/advtrains 2019-10-21 16:39:54 +02:00
Gabriel Pérez-Cerezo 7977776b4a Changes for linetrack
Allows defining a suitable substrate for tracks, and liquid pointable tracks
2019-10-21 16:36:35 +02:00
orwell96 27f85f2e22 Secure inputs to scheduler so that they don't get recognised when executing the schedule 2019-08-29 22:30:43 +02:00
orwell96 986c8fcf92 Do not throw error when sync_tcb_neighbors fails 2019-08-29 21:11:27 +02:00
orwell96 7b488f40d9 Add lines scheduler for reliable railway-time scheduling(which is also safer than the atlatc scheduler) and document new atlatc functions 2019-08-26 23:08:02 +02:00
orwell96 d867cd723f Don't allow to remove TCB when a signal is assigned 2019-08-26 20:46:08 +02:00
Gabriel Pérez-Cerezo 2d8c13885a Shunting mode now couples trains on collision.
Trains now get coupled when one of them is in coupling mode.
2019-08-11 20:16:11 +02:00
Gabriel Pérez-Cerezo ef50610f67 Document luaatc decoupling 2019-08-11 17:47:39 +02:00
Gabriel Pérez-Cerezo 1f6038c75a Add decoupling to luaatc 2019-08-11 17:42:30 +02:00
Gabriel Pérez-Cerezo d074d3223a Change API to return the id of a newly created train when discoupling 2019-08-09 19:11:26 +02:00
Gabriel Pérez-Cerezo 95fb122eca New version 3 save system.
This new save system exists to split up the save file into several
smaller ones, to bypass lua limitations.
2019-07-23 20:15:37 +02:00
Gabriel Pérez-Cerezo b5e8068a99 math.floor triggers error if it gets something nil 2019-07-20 19:43:38 +02:00
Gabriel Pérez-Cerezo 896baf8e05 Prevent injection of floating-point delays, that wreck advtrains 2019-07-20 19:26:55 +02:00
Gabriel Pérez-Cerezo d6de12ded6 Added option to modify departure speed and door delay
The door delay is the time between when the doors start closing and
the train departs.
2019-07-20 18:41:40 +02:00
Gabriel Pérez-Cerezo 91bb555bc2 No longer require server priv for /at_sync_ndb
The check for server priv was hidden where no one would have expected
it.
2019-07-17 14:44:36 +02:00
Gabriel Pérez-Cerezo daba00b6a2 Various small fixes
- Also do atomic operations on nodedb
- no longer require Worldedit for at_sync_ndb
- "overrun LZB 0 restriction" should now show where it happened.
2019-07-16 17:26:53 +02:00
Gabriel Pérez-Cerezo 7a6740eb8c Keep a backup file where stuff is written to when saving
This should prevent yet another train service disaster.
2019-07-16 17:17:18 +02:00
orwell96 053fd91fe0 RWTs can be specified in any form, unify converters, repeating time handling 2019-06-19 15:14:04 +02:00
orwell96 8c91f64c2b Omit cycle in to_String 2019-06-19 10:37:00 +02:00
orwell96 d569863434 Railway Time: atlatc interface, improve util functions 2019-06-19 10:29:02 +02:00
orwell96 24e56dbfc2 Railway Time: Basic time counter and utility functions 2019-06-19 09:56:30 +02:00
orwell96 d6cfa7dbf6 Run entity overrun checking only in loaded areas 2019-06-05 15:49:53 +02:00
orwell96 ff94129761 Fix occurences of old lzb_invalidate 2019-04-23 22:30:33 +02:00
orwell96 b56cda8695 Fix remote routesetting 2019-04-16 12:59:17 +02:00
orwell96 ea33ad9de0 Move LZB system to core and unify approach callback mechanism 2019-04-16 09:16:44 +02:00
Pedro Gimeno c50224e05c Set wagon pitch on slopes 2019-04-06 13:38:00 +02:00
orwell96 5738ab46aa Disable-ARS switch in signal and set this when cancelling an ARS route 2019-03-15 18:17:18 +01:00
orwell96 1227456d46 Ugly workaround for green signals bug 2019-03-15 17:39:31 +01:00
orwell96 c90411b880 Fix cancelling "Unknown Route" when section is deleted. 2019-03-15 16:40:23 +01:00
orwell96 7149137990 Add setting for death behavior and implement damage checks better 2019-03-09 11:29:22 +01:00
orwell96 bc31f205cd Configurable interval for get_off setpos and door pos fix for japanese train 2019-03-09 11:17:14 +01:00