Desk Accessories - Add trainstop to schedule

by adamius

Convenience mod to allow you to add a trainstop to a train schedule using copy and paste. Adds a condition depending on trainstop name for Wait-Until-Full, Wait-Until-Empty or a default catchall of Wait-Until-Inactivity.

Utilities
4 years ago
0.17 - 0.18
7

b [fixed 0.02] It doesn't like me trying to copy paste filter settings for train cars.

4 years ago

10124.361 Error MainLoop.cpp:1195: Exception at tick 32467033: The mod Desktop Accessories - Add trainstop to schedule caused a non-recoverable error.
Please report this error to the mod author.

Error while running event da-add-trainstop-to-schedule::on_entity_settings_pasted (ID 31)
da-add-trainstop-to-schedule/control.lua:31: bad argument #1 of 3 to 'find' (string expected, got nil)
stack traceback:
[C]: in function 'find'
da-add-trainstop-to-schedule/control.lua:31: in function 'match_any_on_prefix_list'
da-add-trainstop-to-schedule/control.lua:57: in function <da-add-trainstop-to-schedule/control.lua:40>

4 years ago

Bug. I'll release when ready. Thanks for report.

4 years ago

Fixed in 0.0.2

New response