SHOW:
|
|
- or go back to the newest paste.
1 | { | |
2 | -- colors for the game. Defaults for advance systems shown | |
3 | -- any unset value will default to the computer type's default | |
4 | color = { | |
5 | red = 'red', -- red's pieces | |
6 | redSelect = 'orange', -- red's selection background | |
7 | blue = 'blue', -- blue's pieces | |
8 | blueSelect = 'purple', -- blue's selection background | |
9 | textSelect = 'white', -- selection text color | |
10 | lake = 'lightBlue', -- lake waves | |
11 | lakeBg = 'blue', -- lake water | |
12 | pos = 'lime', -- light color of the checkerboard | |
13 | neg = 'green' -- dark color of the checkerboard | |
14 | } | |
15 | }, | |
16 | ||
17 | -- data to render the game. Defaults for standard computer shown | |
18 | -- any unset value will default to the computer type's default | |
19 | display = { | |
20 | ||
21 | -- screen border, with each line being equal to the witdh of the screen, and the total lines equaling the screen height | |
22 | write = { | |
23 | '+--------------------+----------+-----------------+', | |
24 | '| | | |', | |
25 | '| | Stratego | |', | |
26 | '| | | |', | |
27 | '| +----------+-----------------+', | |
28 | '| | |', | |
29 | '| | |', | |
30 | '| | |', | |
31 | '| | |', | |
32 | '| | |', | |
33 | '| | |', | |
34 | '| | |', | |
35 | '| | |', | |
36 | '| | |', | |
37 | '| | |', | |
38 | '| | |', | |
39 | '| | |', | |
40 | '+--------------------+ |', | |
41 | '+--------------------+ |' | |
42 | }, | |
43 | ||
44 | -- input box numbers. Defines { startX, startY, width }. Height is always 3 | |
45 | input = { 34, 2, 16 }, | |
46 | ||
47 | -- log box. Defines { startX, startY, width, height } | |
48 | log = { 23, 6, 28, 15 }, | |
49 | ||
50 | -- game board. Defines { startX, startY }. "large" makes the board spaces 2x2 and doubles the width and height (which are 10 and 8 on a small board respecively) | |
51 | board = { 2, 2, large = true } | |
52 | }, | |
53 | ||
54 | -- team and piece names | |
55 | names = { | |
56 | -- teams (defaults for advance systems shown) | |
57 | red = 'red', -- red | |
58 | blue = 'blue', -- blue | |
59 | ||
60 | -- pieces. Any piece that is unset will use the rank as the name | |
61 | -- to make a piece named by default use the rank, set to false | |
62 | ['*'] = 'bomb', -- bomb | |
63 | ['!'] = 10, -- rank ten | |
64 | S = 'spy', -- spy | |
65 | F = 'flag', -- flag | |
66 | [1] = 'spotter' -- spotter | |
67 | }, | |
68 | ||
69 | -- defines a file to load on startup. Useful for setting a default options file, not so useful for saved games | |
70 | file = nil, | |
71 | ||
72 | -- file extension to add to all stratego save files (on loading and saving), including the period (ex: ".stg") | |
73 | -- for those using my other program extensions | |
74 | ext = nil, | |
75 | } |