LUA API CHANGES in 2.0 break this completely.
" 577.622 Error MainLoop.cpp:1429: Exception at tick 1231792: The mod Shuttle Train Refresh (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event ShuttleTrainRefresh::on_lua_shortcut (ID 37)
LuaForce doesn't contain key get_trains.
stack traceback:
[C]: in function 'index'
__ShuttleTrainRefresh/script/find.lua:25: in function 'findShuttleTrainFor'
ShuttleTrainRefresh/control.lua:72: in function 'callShuttleTrain'
ShuttleTrainRefresh/script/events.lua:93: in function 'onCallShuttleTrain'
ShuttleTrainRefresh/script/events.lua:113: in function <ShuttleTrainRefresh/script/events.lua:105>
2.0 lua changes:
Added LuaTrainManager available through LuaGameScript::train_manager (read).
Added LuaTrainManager::get_trains. Removed LuaSurface::get_trains and LuaForce::get_trains.
Added LuaTrainManager::get_train_stops. Removed LuaSurface::get_train_stops, LuaForce::get_train_stops and LuaGameScript::get_train_stops.
This will need a rewrite to work.