diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-01-03 03:24:24 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-01-03 03:24:24 (GMT) |
commit | b7a1a59933e591d852785af9c4c4c396a73ebc38 (patch) | |
tree | ad672d9b970701307826a37b24c538ca96123de9 | |
parent | 82308270eb49dbd7fcf7fad898383e11ac44f0bc (diff) |
further simplify keyboard input macro
-rw-r--r-- | TurtleArt/taconstants.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py index ca957f6..0eb382d 100644 --- a/TurtleArt/taconstants.py +++ b/TurtleArt/taconstants.py @@ -228,15 +228,13 @@ VOICES = {'af': 'afrikaans', 'cy': 'welsh-test', 'el': 'greek', # MACROS = { 'kbinput': - [[0, 'kbinput', 0, 0, [None, 1]], - [1, 'vspace', 0, 0, [0, 2]], - [2, 'until', 0, 0, [1, 3, 6, None]], - [3, 'greater2', 0, 0, [2, 4, 5, None]], - [4, 'keyboard', 0, 0, [3, None]], - [5, ['number', '0'], 0, 0, [3, None]], - [6, 'wait', 0, 0, [2, 7, 8]], - [7, ['number', '0.1'], 0, 0, [6, None]], - [8, 'kbinput', 0, 0, [6, None]]], + [[0, 'until', 0, 0, [None, 1, 4, None]], + [1, 'greater2', 0, 0, [0, 2, 3, None]], + [2, 'keyboard', 0, 0, [1, None]], + [3, ['number', '0'], 0, 0, [1, None]], + [4, 'wait', 0, 0, [0, 5, 6]], + [5, ['number', '0.1'], 0, 0, [4, None]], + [6, 'kbinput', 0, 0, [4, None]]], 'picturelist': [[0, 'sandwichtop_no_label', 0, 0, [None, 1]], [1, 'penup', 0, 0, [0, 2]], |