From 1299d7f04f3e5768b0c4db0e5e0cfe6128aeafd7 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Mon, 11 Jun 2018 21:37:13 +0200 Subject: [PATCH] parse more hints --- parse/hint.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/parse/hint.js b/parse/hint.js index a2e09cd5..bbc5a04e 100644 --- a/parse/hint.js +++ b/parse/hint.js @@ -70,6 +70,16 @@ const hints = Object.assign(Object.create(null), { type: 'hint', code: 'air-conditioned', text: 'air-conditioned vehicle' + }, + r0: { + type: 'hint', + code: 'upward-escalator', + text: 'upward escalator' + }, + au: { + type: 'hint', + code: 'elevator', + text: 'elevator available' } }) @@ -121,7 +131,7 @@ const parseHint = (profile, h) => { if (h.type === 'U') { return { type: 'status', - code: null, // todo + code: h.code || null, text } }