Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- -- colors for the game. Defaults for advance systems shown
- -- any unset value will default to the computer type's default
- color = {
- red = 'red', -- red's pieces
- redSelect = 'orange', -- red's selection background
- blue = 'blue', -- blue's pieces
- blueSelect = 'purple', -- blue's selection background
- textSelect = 'white', -- selection text color
- lake = 'lightBlue', -- lake waves
- lakeBg = 'blue', -- lake water
- pos = 'lime', -- light color of the checkerboard
- neg = 'green' -- dark color of the checkerboard
- }
- },
- -- data to render the game. Defaults for standard computer shown
- -- any unset value will default to the computer type's default
- display = {
- -- screen border, with each line being equal to the witdh of the screen, and the total lines equaling the screen height
- write = {
- '+--------------------+----------+-----------------+',
- '| | | |',
- '| | Stratego | |',
- '| | | |',
- '| +----------+-----------------+',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '| | |',
- '+--------------------+ |',
- '+--------------------+ |'
- },
- -- input box numbers. Defines { startX, startY, width }. Height is always 3
- input = { 34, 2, 16 },
- -- log box. Defines { startX, startY, width, height }
- log = { 23, 6, 28, 15 },
- -- 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)
- board = { 2, 2, large = true }
- },
- -- team and piece names
- names = {
- -- teams (defaults for advance systems shown)
- red = 'red', -- red
- blue = 'blue', -- blue
- -- pieces. Any piece that is unset will use the rank as the name
- -- to make a piece named by default use the rank, set to false
- ['*'] = 'bomb', -- bomb
- ['!'] = 10, -- rank ten
- S = 'spy', -- spy
- F = 'flag', -- flag
- [1] = 'spotter' -- spotter
- },
- -- defines a file to load on startup. Useful for setting a default options file, not so useful for saved games
- file = nil,
- -- file extension to add to all stratego save files (on loading and saving), including the period (ex: ".stg")
- -- for those using my other program extensions
- ext = nil,
- }
Add Comment
Please, Sign In to add comment