struct terrain_rec terrains[24] = {
{ "Desert", 1, 2, 0, 1, 0, 1, 14 },
{ "Plains", 1, 2, 1, 1, 0, 1, 6 },
{ "Grassland", 1, 2, 2, 1, 0, 1, 10 },
{ "Forest", 2, 3, 1, 2, 0, 2, 2 },
{ "Hills", 2, 4, 1, 0, 0, 2, 12 },
{ "Mountains", 3, 6, 0, 1, 0, 3, 13 },
{ "Tundra", 1, 2, 1, 0, 0, 0, 7 },
{ "Arctic", 2, 2, 0, 0, 0, 0, 15 },
{ "Swamp", 2, 3, 1, 0, 0, 0, 3 },
{ "Jungle", 2, 3, 1, 0, 0, 0, 11 },
{ "Ocean", 1, 2, 1, 0, 2, 0, 1 },
{ "River", 1, 3, 2, 1, 1, 2, 9 },
{ "Oasis", 1, 2, 3, 1, 0, 1, 14 },
{ "Horses", 1, 2, 1, 3, 0, 1, 6 },
{ "Grassland", 1, 2, 2, 1, 0, 1, 10 },
{ "Game", 2, 3, 3, 2, 0, 2, 2 },
{ "Coal", 2, 4, 1, 2, 0, 2, 12 },
{ "Gold", 3, 6, 0, 1, 6, 3, 13 },
{ "Game", 1, 2, 3, 0, 0, 0, 7 },
{ "Seals", 2, 2, 2, 0, 0, 0, 15 },
{ "Oil", 2, 3, 1, 4, 0, 0, 3 },
{ "Gems", 2, 3, 1, 0, 4, 0, 11 },
{ "Fish", 1, 2, 3, 0, 2, 0, 1 },
{ "River", 1, 3, 2, 1, 1, 2, 9 },
};
struct word_rec work_rules[18] = {
{ -2, 5, -2, 5 },
{ 0, 0, -2, 5 },
{ 2, 15, 1, 1 },
{ -2, 5, 2, 10 },
{ 0, 1, 6, 5 },
{ -1, 5, 0, 0 },
{ -2, 10, -4, 10 },
{ 1, 1, -1, 0 },
{ -2, 10, 0, 0 },
{ -1, 0, -1, 0 },
{ 0, 0, -1, 0 },
{ -1, 0, 0, 0 },
{ 10, 15, 2, 15 },
{ 0, 0, 10, 15 },
{ 2, 15, 0, 0 },
{ -1, 0, -1, 0 },
{ 0, 0, -2, 5 },
{ -1, 0, 0, 1 },
};
struct advance advances[72] = {
{ "Alphabet", -1, -1 },
{ "Code of Laws", 0, -1 },
{ "Currency", 17, -1 },
{ "Atomic Theory", 51, 11 },
{ "Democracy", 28, 30 },
{ "Monarchy", 25, 1 },
{ "Astronomy", 26, 9 },
{ "MapMaking", 0, -1 },
{ "Navigation", 7, 6 },
{ "Mathematics", 0, 16 },
{ "Medicine", 28, 24 },
{ "Physics", 9, 8 },
{ "Engineering", 33, 45 },
{ "University", 9, 28 },
{ "Magnetism", 8, 11 },
{ "Electronics", 12, 54 },
{ "Masonry", -1, -1 },
{ "Bronze Working", -1, -1 },
{ "Iron Working", 17, -1 },
{ "Bridge Building", 18, 45 },
{ "Invention", 12, 30 },
{ "Computers", 9, 15 },
{ "Writing", 0, -1 },
{ "Steam Engine", 11, 20 },
{ "Trade", 2, 1 },
{ "Ceremonial Burial", -1, -1 },
{ "Mysticism", 25, -1 },
{ "Nuclear Fission", 41, 3 },
{ "Philosophy", 26, 30 },
{ "Religion", 28, 22 },
{ "Literacy", 22, 1 },
{ "Horseback Riding", -1, -1 },
{ "Feudalism", 16, 5 },
{ "The Wheel", -1, -1 },
{ "Gunpowder", 20, 18 },
{ "Industrialization", 49, 53 },
{ "Chemistry", 13, 10 },
{ "Combustion", 55, 56 },
{ "Flight", 37, 11 },
{ "Advanced Flight", 38, 54 },
{ "Space Flight", 21, 46 },
{ "Mass Production", 58, 47 },
{ "Pottery", -1, -1 },
{ "Communism", 28, 35 },
{ "The Republic", 1, 30 },
{ "Construction", 16, 2 },
{ "Rocketry", 39, 15 },
{ "The Corporation", 53, 35 },
{ "Metallurgy", 34, 13 },
{ "RailRoad", 23, 19 },
{ "Nuclear Power", 27, 15 },
{ "Theory of Gravity", 6, 13 },
{ "Steel", 48, 35 },
{ "Banking", 24, 44 },
{ "Electricity", 48, 14 },
{ "Refining", 36, 47 },
{ "Explosives", 34, 36 },
{ "SuperConductor", 60, 41 },
{ "Automobile", 37, 52 },
{ "Genetic Engineering", 10, 47 },
{ "Plastics", 55, 40 },
{ "Recycling", 41, 4 },
{ "Chivalry", 32, 31 },
{ "Robotics", 60, 21 },
{ "Conscription", 44, 56 },
{ "Labor Union", 41, 43 },
{ "Fusion Power", 50, 57 },
{ "1", 127, 127 },
{ "2", 127, 127 },
{ "3", 127, 127 },
{ "4", 127, 127 },
{ "Future Tech.", 127, 127 }
};
struct advance_attr advance_attrs[72] = {
{ 5, 0 },
{ 4, 1 },
{ 4, 1 },
{ 4, 0 },
{ 3, 2 },
{ 6, 1 },
{ 4, 0 },
{ 6, -1 },
{ 6, -1 },
{ 6, -1 },
{ 4, 0 },
{ 3, 0 },
{ 4, 0 },
{ 3, 1 },
{ 3, -2 },
{ 3, 0 },
{ 3, 1 },
{ 6, -1 },
{ 5, -2 },
{ 3, 0 },
{ 4, 0 },
{ 3, 0 },
{ 3, 1 },
{ 4, -1 },
{ 4, 1 },
{ 5, 0 },
{ 4, 0 },
{ 8, -2 },
{ 3, 1 },
{ 3, 2 },
{ 3, 2 },
{ 4, -1 },
{ 5, -1 },
{ 4, -2 },
{ 8, -2 },
{ 5, -1 },
{ 5, -1 },
{ 6, -1 },
{ 4, -1 },
{ 5, -1 },
{ 4, 1 },
{ 6, 0 },
{ 6, 1 },
{ 2, 0 },
{ 5, 1 },
{ 4, 0 },
{ 6, -2 },
{ 4, 0 },
{ 6, -2 },
{ 4, 0 },
{ 3, 0 },
{ 3, 1 },
{ 4, -1 },
{ 4, 1 },
{ 3, 1 },
{ 4, 0 },
{ 5, -1 },
{ 2, 1 },
{ 8, -1 },
{ 2, 2 },
{ 4, 1 },
{ 2, 1 },
{ 5, -2 },
{ 5, -1 },
{ 6, -1 },
{ 4, -1 },
{ 3, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
{ 0, 0 },
};
struct improvement improvements[46] = {
{ "NONE", 8, 0, -1 },
{ "Palace", 20, 5, 16 },
{ "Barracks", 4, 0, -1 },
{ "Granary", 6, 1, 42 },
{ "Temple", 4, 1, 25 },
{ "MarketPlace", 8, 1, 2 },
{ "Library", 8, 1, 22 },
{ "Courthouse", 8, 1, 1 },
{ "City Walls", 12, 2, 16 },
{ "Aqueduct", 12, 2, 45 },
{ "Bank", 12, 3, 53 },
{ "Cathedral", 16, 3, 29 },
{ "University", 16, 3, 13 },
{ "Mass Transit", 16, 4, 41 },
{ "Colosseum", 10, 4, 45 },
{ "Factory", 20, 4, 35 },
{ "Mfg. Plant", 32, 6, 63 },
{ "SDI Defense", 20, 4, 57 },
{ "Recycling Cntr.", 20, 2, 61 },
{ "Power Plant", 16, 4, 55 },
{ "Hydro Plant", 24, 4, 15 },
{ "Nuclear Plant", 16, 2, 50 },
{ "SS Structural", 8, 0, 40 },
{ "SS Component", 16, 0, 60 },
{ "SS Module", 32, 0, 63 },
{ "Pyramids", 30, 0, 16 },
{ "Hanging Gardens", 30, 0, 42 },
{ "Colossus", 20, 0, 17 },
{ "Lighthouse", 20, 0, 7 },
{ "Great Library", 30, 0, 30 },
{ "Oracle", 30, 0, 26 },
{ "Great Wall", 30, 0, 16 },
{ "Magellan's Expedition", 40, 0, 8 },
{ "Michelangelo's Chapel", 30, 0, 29 },
{ "Copernicus' Observatory", 30, 0, 6 },
{ "Shakespeare's Theatre", 40, 0, 10 },
{ "Isaac Newton's College", 40, 0, 51 },
{ "J.S.Bach's Cathedral", 40, 0, 29 },
{ "Darwin's Voyage", 30, 0, 49 },
{ "Hoover Dam", 60, 0, 15 },
{ "Women's Suffrage", 60, 0, 35 },
{ "Manhattan Project", 60, 0, 27 },
{ "United Nations", 60, 0, 43 },
{ "Apollo Program", 60, 0, 40 },
{ "SETI Program", 60, 0, 21 },
{ "Cure for Cancer", 60, 0, 59 }
};
int improvement_words[22] = {
-1, 43, 20, 54, 14, 13, 29, 34, 127, 43, 127, 15, 27, 127, 127, 127, 127, 127, 127, 127, 127, 127
};