Commit Graph

14 Commits (fdfb3dba5fe46dfa799ed2471acc01830541f6ba)

Author SHA1 Message Date
Blockhead c0c6fcf00b Apply minetest.formspec_escape() to prevent formspec injection (H#143) 2020-01-04 18:33:57 +01: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
orwell96 ea33ad9de0 Move LZB system to core and unify approach callback mechanism 2019-04-16 09:16:44 +02:00
orwell96 f2c2aad329 Add ARS rules for stop rails 2019-02-19 21:54:17 +01:00
orwell96 0684c6edd7 Move "Reverse" command in stoprail to directly before departure 2019-02-19 15:56:04 +01:00
orwell96 84f1c3d8a5 Fix stop rails sometimes not sending stop command 2019-02-16 21:51:14 +01:00
orwell96 4112476bc9 Small stoprail fixes 2019-02-11 21:41:10 +01:00
orwell96 be09acf5e2 Minor Bugfixes 2019-02-03 16:37:03 +01:00
orwell96 9da148347d Basic functions of "stop rail", missing ARS rules and signal.
For signal, need to think of a callback system for signals and moving atlatc queue to core?
2019-01-24 17:50:26 +01:00
orwell96 7a970dd4fa Signs (static signals) 2018-12-08 18:23:34 +01:00
orwell96 dd0c52d9aa no debugpring 2018-11-29 17:56:16 +01:00
orwell96 ec68eaa229 Added on_train_approach callback, non-permanent external LZB brakepoints and basis for "stop rails"
Stop rails ATM use the aforementioned things to add a pointwise "2" speed restriction. Seems to work.
2018-11-29 17:52:56 +01:00