From: Stefano Rivera Date: Sat, 17 May 2014 20:46:17 +0000 (+0200) Subject: Shorter hints, which mean more space for actions in the tutorial X-Git-Tag: 0.1~20 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=a1c561e26fae79ce8a9570c9404975a8a0367d65;p=naja.git Shorter hints, which mean more space for actions in the tutorial --- diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index 0c5bd0a..5697b19 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -20,12 +20,12 @@ from naja.widgets.text import TextBoxWidget, TextWidget HINTS = { - ACT: ("Choose an action using the Up/Down keys.\n" - "Press Enter to execute the action."), - EXAMINE: "Select a tile to examine using the arrow keys.", + ACT: "Choose an action using {NORTH,SOUTH} keys.\n" + "Press {RETURN} to execute it.", + EXAMINE: "Browse the tiles with {NORTH,SOUTH,EAST,WEST} keys.", } -HINT_LEGAL_MOVE = "\nPress Return to move to this tile." +HINT_LEGAL_MOVE = "\nPress {RETURN} to move to this tile." TITLES = { ACT: "Choose an Action", diff --git a/naja/widgets/text.py b/naja/widgets/text.py index 1cf15d0..de77a60 100644 --- a/naja/widgets/text.py +++ b/naja/widgets/text.py @@ -13,6 +13,7 @@ MARKUP_MAP = { 'SOUTH': ('glyphs/arrow_down.png', None), 'EAST': ('glyphs/arrow_right.png', None), 'WEST': ('glyphs/arrow_left.png', None), + 'RETURN': ('glyphs/arrow_left.png', None), 'HEALTH': ('glyphs/health.png', PALETTE.DARK_RED), 'WINTOKEN': ('glyphs/win.png', PALETTE.DARK_OLIVE), 'KEY': ('glyphs/key.png', None),