X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance2?a=blobdiff_plain;f=new2%2Frogue_chat_nocanvas_monochrome.html;h=92ac22a55f405ee806d6df317039092fb96a3cf1;hb=9f4d671ee2c3813a6d437af361ac8d61624d8faa;hp=37930ce44ceeee0b03f7b7afa0829f24e21f6253;hpb=81554cf96856befe1392d86efcebb25e997e3497;p=plomrogue2-experiments diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 37930ce..92ac22a 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -350,7 +350,7 @@ let tui = { }, log_msg: function(msg) { this.log.push(msg); - while (this.log.length > terminal.rows * 4) { + while (this.log.length > 100) { this.log.shift(); }; this.full_refresh(); @@ -528,12 +528,14 @@ let explorer = { }, get_info: function() { let info = ""; + let position_i = this.position[0] * game.map_size[1] + this.position[1]; + info += "TERRAIN: " + game.map[position_i] + "\n"; for (let t_id in game.things) { let t = game.things[t_id]; if (t.position[0] == this.position[0] && t.position[1] == this.position[1]) { - info += "PLAYER"; + info += "PLAYER @"; if (t.name_) { - info += " " + t.name_; + info += ": " + t.name_; } info += "\n"; }