aboutsummaryrefslogtreecommitdiff
path: root/config/test_data/invalid_menus.yaml
blob: 49a321e5f8a0600ac3043f1aefc13d1a4e3b4212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
App:
  WorkingDirectory: var/
  MaxUsers: 512
  AllowRegistration: true
  MaxNickLen: 15
  MenuMaxIdleTime: 600
  PostLoginCommands:
    - mkdir %w/userdata/%u
    - mkdir %w/userdata/%u/dumplog
    - mkdir %w/userdata/%u/ttyrec

Menus:
  anonymous:
    Banner: 'Shell Game Launcher - Anonymous access%n======================================'
    XOffset: 5
    YOffset: 2
    MenuEntries:
      - Key: l
        Label: login
        Action: login
      - Key: r
        Label: register
        Action: register
      - Key: w
        Label: watch
        Action: watch_menu
      - Key: q
        Label: quit
        Action: quit
  logged_in:
    Banner: 'Shell Game Launcher%n==================='
    XOffset: 5
    YOffset: 2
    MenuEntries:
      - Key: p
        Label: play Nethack 3.7
        Action: play nethack3.7
      - Key: o
        Label: edit game options
        Action: menu options
      - Key: w
        Label: watch
        Action: watch
      - Key: r
        Label: replay
        Action: replay
      - Key: c
        Label: change password
        Action: passwd
      - Key: m
        Label: change email
        Action: chmail
      - Key: q
        Label: quit
        Action: quit
  test:
    Banner: 'Shell Game Launcher%n==================='
    XOffset: -1