X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7B%20card_id%20%7D%7D/static/git-favicon.png?a=blobdiff_plain;f=rogue_chat.html;h=d86eec5ee65d4c3e06f43b55ac351a22cb13f225;hb=0d5dbd69d9e0fb1460a7663b24a6fba8f958ced5;hp=26322e94a31c3e797a07924704bfb4e3963e983c;hpb=0ae5c165fbce33fcdc60f92cceb18109124aabde;p=plomrogue2 diff --git a/rogue_chat.html b/rogue_chat.html index 26322e9..d86eec5 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -953,6 +953,10 @@ let tui = { if (t && t.protection) { this.inputEl.value = t.protection; } + } else if (this.mode.name == 'enter_face' && game.player.face) { + this.inputEl.value = game.player.face; + } else if (this.mode.name == 'enter_hat' && game.player.hat) { + this.inputEl.value = game.player.hat; } }, recalc_input_lines: function() {