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) + ' |');
return
start_x = self.window_width - 10
+ t_char = ' '
+ if hasattr(t, 'thing_char'):
+ t_char = t.thing_char
def draw_body_part(body_part, end_y):
- safe_addstr(end_y - 4, start_x, ' ________ ')
+ safe_addstr(end_y - 4, start_x, ' _[ @' + t_char + ' ]_ ')
safe_addstr(end_y - 3, start_x, '| |')
safe_addstr(end_y - 2, start_x, '| ' + body_part[0:6] + ' |')
safe_addstr(end_y - 1, start_x, '| ' + body_part[6:12] + ' |')