Commit Graph

13 Commits

Author SHA1 Message Date
teknomunk
cc125d8eac Fix all luacheck findings except two empty if branches, two references to math.round and the *_physics variables from optional mods (each guarded by modpath checks) 2025-01-05 02:37:51 +01:00
teknomunk
b5754d63a2 Remove temporary description string, add assert to force description field to be present in rail definitions and fix descriptions for on variants of rail 2024-12-31 02:36:18 +01:00
teknomunk
fc38b6eea1 Add in working curved variants of special rails 2024-12-31 02:36:18 +01:00
teknomunk
f6f8c3e5bc Make powered rails always accelerate moving carts 2024-12-31 02:36:18 +01:00
teknomunk
fcbb4f6e34 Fix detector rail strangeness, prevent crash 2024-12-31 02:36:18 +01:00
teknomunk
295589f032 Allow functions for _rail_acceleration, make powered rail only accelerate carts when one side of the rail is a solid block or stairs 2024-12-31 02:36:18 +01:00
teknomunk
dcb534bf9a Move the various rails to their own files, code cleanup 2024-12-31 02:36:18 +01:00
teknomunk
40b62eea1d Reorganize 2024-12-31 02:36:18 +01:00
teknomunk
6a9080844e Change connection rules again to allow building parallel track, tees and crosses), start implementing rail rules callbacks 2024-12-31 02:36:18 +01:00
teknomunk
f3a4d928da Add sloped rail 2024-12-31 02:36:18 +01:00
teknomunk
b870fcebd0 Fix rail visuals, add switch operation 2024-12-31 02:36:18 +01:00
teknomunk
2151644b1c Implement initial rail connection logic (no vertical track yet), experiment with texture modifiers and gravel underlay for display (not working) 2024-12-31 02:36:18 +01:00
teknomunk
8fafb32a5c Start implementing new rail nodes 2024-12-31 02:36:18 +01:00