diff options
Diffstat (limited to 'Crossroads/nodes')
-rw-r--r-- | Crossroads/nodes/(2260,5,893).lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Crossroads/nodes/(2260,5,893).lua b/Crossroads/nodes/(2260,5,893).lua index 2149070..0b22fc6 100644 --- a/Crossroads/nodes/(2260,5,893).lua +++ b/Crossroads/nodes/(2260,5,893).lua @@ -1,8 +1,13 @@ if event.type == "train" then + local exp = "2" + local rec = get_line() or "" + local res = exp==rec and "PASS" or ("FAIL | %s"):format(rec) + digiline_send("lcd", res) atc_send("OCBBWI+R;") end if event.type == "ext_int" then if atc_id then + digiline_send("lcd", "...") set_line("1") atc_set_text_outside("LINE 1") atc_send("S4") |