Advertisement
KnightMiner

[CC cfg] stratego options

Nov 12th, 2015
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.16 KB | None | 0 0
  1. {
  2.   options = {
  3.     -- locations of lakes, in x and y coordinates. It illetrates through the x table, so make sure the y table has enough values
  4.     lakes = {
  5.       x = { 3, 4, 7, 8, 3, 4, 7, 8 },
  6.       y = { 4, 4, 4, 4, 5, 5, 5, 5 }
  7.     },
  8.    
  9.     -- set the amount of rows players can use when setting up their pieces. Maximum is 4, or 5 if "rotate" is true
  10.     rows = 3,
  11.    
  12.     -- if true, play on the short sides rather than the long sides. The spotter and default max pieces are adjusted accordingly
  13.     rotate = false,
  14.    
  15.     -- determines how many pieces are required. Defaults and maxs to rows * 10 (or columns * 8 if "rotate" is true)
  16.     requiredPieces = 30,
  17.    
  18.     -- number of flags required. Set to 0 to require no flags (meaning victory is only by opponent's forfeit)
  19.     requiredFlags = 1,
  20.    
  21.     -- maximum pieces of each type allowed. If a type is unset, the maximum will be 0
  22.     maxPieces = {
  23.       S = 1, F = 1, ['!'] = 1, [9] = 1, [8] = 1, [7] = 1,
  24.       [6] = 2, [5] = 2, [4] = 2, [1] = 2,
  25.       [3] = 5, [2] = 5,
  26.       ['*'] = 6
  27.     },
  28.    
  29.     -- if true, blue (or the guest) gets to go first
  30.     blueFirst = false,
  31.   }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement