From af6c471be94c1a15cdd0df1d4add917b7a686eaa Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 19 Dec 2020 05:10:04 +0100 Subject: [PATCH] Fix bottle fullness indicator in web client. --- rogue_chat.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rogue_chat.html b/rogue_chat.html index 4e5da8b..1847c09 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -1540,6 +1540,13 @@ let explorer = { if (t.installed) { info += "/installed"; } + if (t.type_ == 'Bottle') { + if (t.thing_char == '_') { + info += '/empty'; + } else if (t.thing_char == '~') { + info += '/full'; + } + } if (detailed) { const protection = t.protection; if (protection != '.') { -- 2.30.2