2 CREATE TABLE IF NOT EXISTS "accounts" (
4 "username" text UNIQUE,
8 CREATE TABLE IF NOT EXISTS "cities" (
23 "soldiers" int after population,
26 "special_attacker_trainer" int,
27 "special_defender_trainer" int,
30 CREATE TABLE IF NOT EXISTS "locations" (
32 "city_id" text unique,
36 CREATE TABLE IF NOT EXISTS "ticks" (
40 CREATE TABLE IF NOT EXISTS "sessions" (
45 CREATE TABLE IF NOT EXISTS "build_queues" (
54 CREATE TABLE IF NOT EXISTS "unit_training_queue" (
63 CREATE TABLE IF NOT EXISTS "buildings" (
65 "display" text UNIQUE,
73 CREATE TABLE IF NOT EXISTS "units" (
86 CREATE TABLE IF NOT EXISTS "army_queue" (
100 CREATE TABLE IF NOT EXISTS "mail" (
111 INSERT INTO "accounts" VALUES ('-','Advisor','xos');
112 INSERT INTO "locations" VALUES (1, '-', -1, -1);
113 INSERT INTO "buildings" VALUES ('farms','Farms',20,0,40,1,14);
114 INSERT INTO "buildings" VALUES ('barracks','Barracks',40,10,60,1,16);
115 INSERT INTO "buildings" VALUES ('special_attacker_trainer','Sp. Attacker Trainer',80,40,100,2,20);
116 INSERT INTO "buildings" VALUES ('special_defender_trainer','Sp. Defender Trainer',100,60,80,2,20);
117 INSERT INTO "units" VALUES ('soldiers','Soldiers',2,1,1,0,0,0,2,2.1,1);
118 INSERT INTO "units" VALUES ('attackers','Attackers',5,2,0,1,0,0,3,4,1);
119 INSERT INTO "units" VALUES ('defenders','Defenders',4,2,0,1,0,0,5,1,4);
120 INSERT INTO "units" VALUES ('sp_attackers','Sp. Attacker',9,4,0,0,1,0,7,7,3);
121 INSERT INTO "units" VALUES ('sp_defenders','Sp. Defender',11,5,0,0,0,1,10,2,9);