From 053fd91fe02899deb82e93120a26c44a2535f188 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Wed, 19 Jun 2019 15:14:04 +0200 Subject: RWTs can be specified in any form, unify converters, repeating time handling --- advtrains_luaautomation/environment.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'advtrains_luaautomation') diff --git a/advtrains_luaautomation/environment.lua b/advtrains_luaautomation/environment.lua index 21e86ff..3e7787b 100644 --- a/advtrains_luaautomation/environment.lua +++ b/advtrains_luaautomation/environment.lua @@ -230,10 +230,10 @@ if advtrains.lines then now = atlrwt.now, new = atlrwt.new, copy = atlrwt.copy, - from_sec = atlrwt.from_sec, - to_sec = atlrwt.to_sec, + to_table = atlrwt.to_table, + to_secs = atlrwt.to_secs, + to_string = atlrwt.to_string, add = atlrwt.add, - add_secs = atlrwt.add_secs, diff = atlrwt.diff, sub = atlrwt.sub, adj_diff = atlrwt.adj_diff, @@ -241,6 +241,10 @@ if advtrains.lines then adjust = atlrwt.adjust, to_string = atlrwt.to_string, get_time_until = atlrwt.get_time_until, + next_rpt = atlrwt.next_rpt, + last_rpt = atlrwt.last_rpt, + time_from_last_rpt = atlrwt.time_from_last_rpt, + time_to_next_rpt = atlrwt.time_to_next_rpt, } end -- cgit v1.2.3