home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Open in-terminal links in separate window.
[plomrogue2]
/
rogue_chat.html
diff --git
a/rogue_chat.html
b/rogue_chat.html
index 665bc3d2b5cdce8a597db8be54ddd4360280b8de..a8b6ba70338b400e94929ee5504e1cc7bbe055f7 100644
(file)
--- a/
rogue_chat.html
+++ b/
rogue_chat.html
@@
-253,7
+253,7
@@
let terminal = {
let start_x = 0;
for (let span of tui.links[y]) {
chunks.push(escapeHTML(line.slice(start_x, span[0])));
let start_x = 0;
for (let span of tui.links[y]) {
chunks.push(escapeHTML(line.slice(start_x, span[0])));
- chunks.push('<a href="');
+ chunks.push('<a
target="_blank"
href="');
chunks.push(escapeHTML(span[2]));
chunks.push('">');
chunks.push(escapeHTML(line.slice(span[0], span[1])));
chunks.push(escapeHTML(span[2]));
chunks.push('">');
chunks.push(escapeHTML(line.slice(span[0], span[1])));
@@
-968,6
+968,9
@@
let tui = {
content += '\n';
} else if (this.mode.name == 'edit') {
content += "Available actions:\n";
content += '\n';
} else if (this.mode.name == 'edit') {
content += "Available actions:\n";
+ if (game.tasks.includes('MOVE')) {
+ content += "[" + movement_keys_desc + "] – move player\n";
+ }
if (game.tasks.includes('FLATTEN_SURROUNDINGS')) {
content += "[" + tui.keys.flatten + "] – flatten surroundings\n";
}
if (game.tasks.includes('FLATTEN_SURROUNDINGS')) {
content += "[" + tui.keys.flatten + "] – flatten surroundings\n";
}