|
|
@@ -86,6 +86,7 @@ c.execute('''CREATE TABLE scores (gameID INTEGER NOT NULL,
|
|
|
# mini - 1 if a mini expanion, otherwise 0
|
|
|
# active - 1 if it can be played, otherwise 0
|
|
|
# tokens - additional tokens provided beyond the base game
|
|
|
+# scoretypes - additional classes of scoring enabled
|
|
|
# Ntiles - number of tiles added
|
|
|
# tiletypes - special scorable tiles added
|
|
|
c.execute('''CREATE TABLE expansions (expansionID INTEGER PRIMARY KEY,
|
|
|
@@ -93,6 +94,7 @@ c.execute('''CREATE TABLE expansions (expansionID INTEGER PRIMARY KEY,
|
|
|
mini INTEGER,
|
|
|
active INTEGER,
|
|
|
tokens TEXT,
|
|
|
+ scoretypes TEXT,
|
|
|
Ntiles INTEGER,
|
|
|
tiletypes TEXT)''')
|
|
|
# large expansions
|
|
|
@@ -103,6 +105,7 @@ c.execute('''INSERT INTO expansions values (1,
|
|
|
0,
|
|
|
1,
|
|
|
"BigMeeple",
|
|
|
+ "",
|
|
|
18,
|
|
|
"Cathedral,InnonLake")''')
|
|
|
c.execute('''INSERT INTO expansions values (2,
|
|
|
@@ -110,6 +113,7 @@ c.execute('''INSERT INTO expansions values (2,
|
|
|
0,
|
|
|
1,
|
|
|
"Pig,Builder",
|
|
|
+ "",
|
|
|
24,
|
|
|
"TradeGoods")''')
|
|
|
c.execute('''INSERT INTO expansions values (3,
|
|
|
@@ -117,6 +121,7 @@ c.execute('''INSERT INTO expansions values (3,
|
|
|
0,
|
|
|
0,
|
|
|
"",
|
|
|
+ "",
|
|
|
0,
|
|
|
"")''')
|
|
|
c.execute('''INSERT INTO expansions values (4,
|
|
|
@@ -124,6 +129,7 @@ c.execute('''INSERT INTO expansions values (4,
|
|
|
0,
|
|
|
0,
|
|
|
"",
|
|
|
+ "",
|
|
|
0,
|
|
|
"")''')
|
|
|
c.execute('''INSERT INTO expansions values (5,
|
|
|
@@ -131,6 +137,7 @@ c.execute('''INSERT INTO expansions values (5,
|
|
|
0,
|
|
|
1,
|
|
|
"Mayor,Wagon,Barn",
|
|
|
+ "",
|
|
|
12,
|
|
|
"Abbey")''')
|
|
|
c.execute('''INSERT INTO expansions values (6,
|
|
|
@@ -138,6 +145,7 @@ c.execute('''INSERT INTO expansions values (6,
|
|
|
0,
|
|
|
0,
|
|
|
"",
|
|
|
+ "",
|
|
|
0,
|
|
|
"")''')
|
|
|
c.execute('''INSERT INTO expansions values (7,
|
|
|
@@ -145,6 +153,7 @@ c.execute('''INSERT INTO expansions values (7,
|
|
|
0,
|
|
|
0,
|
|
|
"",
|
|
|
+ "",
|
|
|
0,
|
|
|
"")''')
|
|
|
c.execute('''INSERT INTO expansions values (8,
|
|
|
@@ -152,6 +161,7 @@ c.execute('''INSERT INTO expansions values (8,
|
|
|
0,
|
|
|
0,
|
|
|
"",
|
|
|
+ "",
|
|
|
0,
|
|
|
"")''')
|
|
|
c.execute('''INSERT INTO expansions values (9,
|
|
|
@@ -159,6 +169,7 @@ c.execute('''INSERT INTO expansions values (9,
|
|
|
0,
|
|
|
0,
|
|
|
"",
|
|
|
+ "",
|
|
|
0,
|
|
|
"")''')
|
|
|
c.execute('''INSERT INTO expansions values (10,
|
|
|
@@ -166,6 +177,7 @@ c.execute('''INSERT INTO expansions values (10,
|
|
|
0,
|
|
|
0,
|
|
|
"",
|
|
|
+ "",
|
|
|
0,
|
|
|
"")''')
|
|
|
#mini expansions
|
|
|
@@ -174,6 +186,7 @@ c.execute('''INSERT INTO expansions values(101,
|
|
|
1,
|
|
|
1,
|
|
|
"",
|
|
|
+ "",
|
|
|
12,
|
|
|
"")''')
|
|
|
c.execute('''INSERT INTO expansions values(102,
|
|
|
@@ -181,6 +194,7 @@ c.execute('''INSERT INTO expansions values(102,
|
|
|
1,
|
|
|
1,
|
|
|
"Abbott",
|
|
|
+ "Garden",
|
|
|
0,
|
|
|
"")''')
|
|
|
|