Commit Graph

34 Commits (master)

Author SHA1 Message Date
orwell96 75025b13ca Route Formspec: When cancelling route, disable ARS only temporarily, not permanently 2021-10-26 20:23:19 +02:00
Maverick2797 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.
2021-03-06 21:00:35 +01:00
orwell96 30076f5ce3 Add some missing craft recipes
- LuaATC remains non-craftable for now (elevated privs necessary anyway)
- Some crafts altered from dario's proposal

Co-authored-by: W3RQ01 <dario23@linux-forks.de>
2021-02-19 18:46:03 +01:00
orwell96 114b915518 Fix new green signals bug caused by old trav_lzbdata, and callback loop in signalling formspec 2021-02-10 16:36:24 +01:00
orwell96 3256c2778d Forbid track modification when train, IP or TCB is on it, better handle removing of TCBs (H#149) 2020-10-07 17:20:47 +02:00
Linus Jahn 00be2b5b5f tcb: Fix crash when player is nil 2020-09-01 15:20:15 +02:00
Blockhead c0c6fcf00b Apply minetest.formspec_escape() to prevent formspec injection (H#143) 2020-01-04 18:33:57 +01:00
orwell96 d867cd723f Don't allow to remove TCB when a signal is assigned 2019-08-26 20:46:08 +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 c90411b880 Fix cancelling "Unknown Route" when section is deleted. 2019-03-15 16:40:23 +01:00
orwell96 7891c7c342 Signalling form auto-update 2019-02-05 11:40:24 +01:00
orwell96 64e59b54f8 Prohibit removing/changing of TCBs and sections while routes or signals are set 2019-01-22 12:07:53 +01:00
orwell96 c180582f3d Can disable automatic working without cancelling route 2019-01-15 17:25:51 +01:00
orwell96 a751d1da9c Add Automatic Routesetting UI
Settings have no effect so far
2019-01-09 18:03:40 +01:00
orwell96 e2a844f5bf Permit basic signal aspect setting
(basically only usable with Ks signals, because they're the only signals supporting slow move and/or shunt move
2018-11-19 23:53:42 +01:00
orwell96 c4bac79bf0 Do not allow static signals for routesetting 2018-10-30 15:36:24 +01:00
orwell96 ef50505e95 Fix typo in signal assignment, causing crash 2018-10-29 20:11:22 +01:00
orwell96 68f047cc01 Miscellaneous routesetting fixes
- Move handling of "route_committed" to the routesetting function
- Put aspect in every TCBS on the way
- Add "route_origin" to TCBS fields to prevent subroute cancelling
- Cancel entire route when another train enters from the wrong TCB
2018-10-29 20:06:04 +01:00
orwell96 c1d5fb0e8c Add Interlocking Tool to inspect route locks 2018-10-26 19:44:16 +02:00
orwell96 012c01fcc7 Add "Reset track section" function 2018-10-26 19:05:57 +02:00
orwell96 8f8f009425 Make signal influence point (~halt point) specifiable
Also extend signal api necessarily
2018-10-09 12:07:23 +02:00
orwell96 5fad61e9c9 Fix various bugs found while testing 2018-08-13 11:27:38 +02:00
orwell96 224d5cbfd3 Add 'interlocking' privilege and add security checks 2018-08-12 17:23:52 +02:00
orwell96 a92ecbc26a Automatic working (re-set certain route on train pass) 2018-08-12 16:58:47 +02:00
orwell96 d7e2918009 fix digging unconfigured tcbs 2018-08-12 14:27:54 +02:00
orwell96 cb56b8b49a Signal aspect handling, make default signals compatible, fix signal digging 2018-08-12 14:25:38 +02:00
orwell96 6cdb47edd2 Add routesetting callbacks.
Now, only the signal aspect setting is still missing
2018-08-12 13:23:36 +02:00
orwell96 0d130bb262 Uncommitted route handling (update_route function) 2018-08-03 19:20:10 +02:00
orwell96 c34794e8a1 Implement routesetting
Missing things: signal aspect updating, waiting routes handling, management /info tool
2018-07-21 16:31:00 +02:00
orwell96 e3667b630c Basic route management from signalling formspec 2018-07-04 19:31:44 +02:00
orwell96 031aab4633 Signal assignment and route programming procedure 2018-07-04 17:48:33 +02:00
orwell96 820503ba81 Implement trains blocking sections 2018-06-29 16:16:55 +02:00
orwell96 1a64e96ae9 Complete Track Section handling, incl. removing tcb's and marker entities 2018-06-26 10:46:40 +02:00
orwell96 e1ebbff23c Add track section concept and rework TCB design, implement new linking behavior 2018-06-21 20:34:20 +02:00