X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=rogue_chat.html;h=0bb8c43413e495fbf3d9f01eac52121c934bc882;hb=a595b17ad67ad065a35e14f66773c2eaace0fa8c;hp=ba49e868e16dcf77f7856e757d100e0338af2157;hpb=075ed2b9529e52ab8a5075d56d77e09d2191d9c7;p=plomrogue2
diff --git a/rogue_chat.html b/rogue_chat.html
index ba49e86..0bb8c43 100644
--- a/rogue_chat.html
+++ b/rogue_chat.html
@@ -772,7 +772,7 @@ let tui = {
function fail(msg, return_mode) {
tui.log_msg('? ' + msg);
terminal.blink_screen();
- this.switch_mode(return_mode);
+ tui.switch_mode(return_mode);
}
if (this.mode && this.mode.name == 'control_tile_draw') {
@@ -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) + ' |');