home · contact · privacy
Show player symbol in face pop-up.
[plomrogue2] / rogue_chat.html
index 23d1a574679c804582021ef1d53b4fe6997e3cfa..0bb8c43413e495fbf3d9f01eac52121c934bc882 100644 (file)
@@ -1139,8 +1139,12 @@ let tui = {
           return;
       }
       const start_x = tui.window_width - 10;
+      let t_char = ' ';
+      if (t.thing_char) {
+          t_char = t.thing_char;
+      }
       function draw_body_part(body_part, end_y) {
-          terminal.write(end_y - 4, start_x, ' ________ ');
+          terminal.write(end_y - 4, start_x, ' _[ @' + t_char + ' ]_ ');
           terminal.write(end_y - 3, start_x, '|        |');
           terminal.write(end_y - 2, start_x, '| ' + body_part.slice(0, 6) + ' |');
           terminal.write(end_y - 1, start_x, '| ' + body_part.slice(6, 12) + ' |');