From: Christian Heller Date: Sat, 19 Dec 2020 04:10:04 +0000 (+0100) Subject: Fix bottle fullness indicator in web client. X-Git-Url: https://plomlompom.com/repos/task?a=commitdiff_plain;h=af6c471be94c1a15cdd0df1d4add917b7a686eaa;p=plomrogue2 Fix bottle fullness indicator in web client. --- 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 != '.') {