home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c64f625
)
Fix curses client movement help.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 6 Nov 2020 01:57:02 +0000
(
02:57
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 6 Nov 2020 01:57:02 +0000
(
02:57
+0100)
new2/rogue_chat_curses.py
patch
|
blob
|
history
diff --git
a/new2/rogue_chat_curses.py
b/new2/rogue_chat_curses.py
index a41ac73f8fae97012430ccc9ff002e78779ac49f..4d994bef5ca0cc33e94de0355e2b69c9c843eea9 100755
(executable)
--- a/
new2/rogue_chat_curses.py
+++ b/
new2/rogue_chat_curses.py
@@
-225,7
+225,10
@@
class TUI:
self.log_msg(" :P or :play - switch to play mode");
self.log_msg(" :? or :study - switch to study mode");
self.log_msg("commands common to study and play mode:");
self.log_msg(" :P or :play - switch to play mode");
self.log_msg(" :? or :study - switch to study mode");
self.log_msg("commands common to study and play mode:");
- self.log_msg(" w,a,s,d - move");
+ if type(self.game.map_geometry) == MapGeometrySquare:
+ self.log_msg(" w,a,s,d - move");
+ elif type(self.game.map_geometry) == MapGeometryHex:
+ self.log_msg(" e,d,c,x,s,w - move");
self.log_msg(" C - switch to chat mode");
self.log_msg("commands specific to play mode:");
self.log_msg(" E - write following ASCII character");
self.log_msg(" C - switch to chat mode");
self.log_msg("commands specific to play mode:");
self.log_msg(" E - write following ASCII character");