MySQL_data_for_ALCAZAR.sql

ALCAZAR/MySQL_data_for_ALCAZAR.sql · 15.2 KB

From the archive ALCAZAR.zip

Download the archive   « Back to the archive contents

-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version	5.0.24a-community-nt


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;


--
-- Create schema defined_database
--

CREATE DATABASE IF NOT EXISTS defined_database;
USE defined_database;

--
-- Definition of table `alcazar_cards`
--

DROP TABLE IF EXISTS `alcazar_cards`;
CREATE TABLE `alcazar_cards` (
  `CardID` int(7) default NULL,
  `Name` char(80) default NULL,
  `Description` char(120) default NULL,
  `Cost` int(7) default NULL,
  `CostType` int(7) default NULL,
  KEY `CardID` (`CardID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `alcazar_cards`
--

/*!40000 ALTER TABLE `alcazar_cards` DISABLE KEYS */;
INSERT INTO `alcazar_cards` (`CardID`,`Name`,`Description`,`Cost`,`CostType`) VALUES 
 (1,'Diamond','+15 tower',32,2),
 (2,'Shatterer','-1 magic, 9 damage to enemy tower',16,2),
 (3,'Quake','-1 all player\'s quarry',0,0),
 (4,'Big Wall','+6 wall',10,1),
 (5,'Foundations','If wall is 0, +6 wall, otherwise +3 wall',6,1),
 (6,'Reinforced Wall','+8 wall',16,1),
 (7,'Innovations','+1 all player\'s quarry, you gain 4 gems',4,1),
 (8,'Succubus','5 damage to enemy tower, enemy loses 8 creatures',28,3),
 (9,'Miners','+1 quarry',6,1),
 (10,'Husbandry','+1 zoo',6,3),
 (11,'Amethyst','+3 tower',4,2),
 (12,'Faerie','2 damage to enemy, play again',2,3),
 (13,'Rocinu Blessing','+20 wall, +8 tower',48,1),
 (14,'Fire Ruby','+6 tower, 4 damage to all enemy towers',26,2),
 (15,'Crystal Rocks','+7 wall, gain 7 gems',18,1),
 (16,'Tremors','All walls take 5 damage, play again',14,1),
 (17,'Mob','6 damage to enemy, you take 3 damage',6,3),
 (18,'Forced Labor','+9 wall, lose 5 creatures',14,1),
 (19,'Sapphire','+11 tower',20,2),
 (21,'Crystal Matrix','+1 magic, +3 tower, +1 all enemy towers',12,2);
INSERT INTO `alcazar_cards` (`CardID`,`Name`,`Description`,`Cost`,`CostType`) VALUES 
 (22,'Crumblestone','+7 tower, enemy loses 6 bricks',14,2),
 (23,'Ul-Garrian Archer','3 damage to enemy tower, you take 1 damage',8,3),
 (24,'Snipe','5 damage to enemy',6,3),
 (25,'Magical Inspiration','All player\'s magic becomes the highest magic among players',14,2),
 (26,'Creature Tamer','+2 zoo',14,3),
 (27,'Unicorn','If magic > enemy\'s magic, 12 damage to enemy, else 8 damage',18,3),
 (28,'Yefarian Archers','If wall > enemy\'s wall, 6 damage to tower, else 6 damage',20,3),
 (29,'Thump \'n Daze','5 damage to all enemy towers, play again',16,3),
 (30,'Power Burn','5 damage to your tower, +2 magic',6,2),
 (31,'Ul-Garrian Shield','+8 tower, +3 wall',24,2),
 (32,'Aznuff Grutte Charge','20 damage to enemy wall, 10 damage to enemy tower, enemy loses 10 creatures, -1 enemy zoo',80,3),
 (33,'Mother Load','If quarry < enemy\'s quarry, +2 quarry, else +1 quarry',8,1),
 (34,'Avoklityth Bite','6 damage to enemy',8,3),
 (35,'Quartz','+1 tower, play again',2,2);
INSERT INTO `alcazar_cards` (`CardID`,`Name`,`Description`,`Cost`,`CostType`) VALUES 
 (36,'Smokey Quartz','1 damage to enemy tower, play again',4,2),
 (37,'New Equipment','+2 quarry',12,1),
 (38,'Copy Cat','If quarry < enemy\'s quarry, quarry equals enemy\'s quarry',10,1),
 (39,'Tower Gremlin','2 damage to enemy, +4 wall, +2 tower',16,3),
 (40,'Little Snakes','4 damage to enemy tower',12,3),
 (41,'Lava Jewel','+12 tower, 6 damage to all enemies',34,2),
 (42,'Empathy Gem','+8 tower, +1 zoo',28,2),
 (43,'Strip Mine','-1 quarry, +10 wall, gain 5 gems',0,0),
 (44,'Stone Giant','10 damage to enemy, +4 wall',30,3),
 (45,'Great Wall','+15 wall',32,1),
 (46,'Flyche\'s Revenge','20 damage to enemy, enemy loses 10 gems, -1 enemy zoo',70,3),
 (47,'Focused Designs','+8 wall, +5 tower',30,1),
 (48,'Heavy Storms','4 damage to enemy, lose 3 gems',4,3),
 (49,'Basic Wall','+3 wall',4,1),
 (50,'Work Overtime','+5 wall, lose 6 gems',4,1),
 (51,'Slasher','6 damage to enemy',10,3),
 (52,'Quarry\'s Help','+7 tower, lose 10 bricks',8,2),
 (53,'Landslide','-1 enemy quarry',8,1);
INSERT INTO `alcazar_cards` (`CardID`,`Name`,`Description`,`Cost`,`CostType`) VALUES 
 (54,'Solar Flare','+2 tower, -2 enemy tower',12,2),
 (55,'Ruby','+5 tower',6,2),
 (56,'Pearl Of Wisdom','+5 tower, +1 magic',18,2),
 (57,'Nasty Sting','10 damage to enemy, enemy loses 5 creatures, -1 enemy zoo',34,3),
 (58,'Harmonic Ore','+6 wall, +3 tower',22,1),
 (59,'Harmonic Vibe','+1 magic, +3 tower, +3 wall',30,2),
 (60,'Holy Ground','+1 wall, play again',2,1),
 (61,'Protection\'s Pride','+11 tower, -11 wall',22,2),
 (62,'Gem Spear','5 damage to enemy tower',8,2),
 (63,'Spell Weavers','+1 magic',6,2),
 (64,'Brick Shortage','All players lose 8 bricks',0,0),
 (65,'Disease','All players lose 6 creatures',0,0),
 (66,'O\'ktavish Miners','+4 wall, +1 quarry',14,1),
 (67,'Sanctuary','+10 tower, +5 wall, gain 5 creatures',30,2),
 (68,'Olgic\'s Key','+20 tower',50,2),
 (69,'Full Moon','+1 all players\' zoo, you gain 3 creatures',0,0),
 (70,'Elemental Chaos','20 damage to all players, -2 quarry all players, -10 bricks all players',100,1),
 (71,'Lucky Cache','Gain 2 bricks, gain 2 gems, play again',0,0);
INSERT INTO `alcazar_cards` (`CardID`,`Name`,`Description`,`Cost`,`CostType`) VALUES 
 (72,'Rock Launcher','+6 wall, 10 damage to enemy',36,1),
 (73,'Mondo Wall','+12 wall',26,1),
 (74,'Sturdy Wall','+4 wall',6,1),
 (75,'Rabid Sheep','6 damage to enemy, enemy loses 3 creatures',12,3),
 (76,'Hidden Treasure','+1 magic, play again',16,2),
 (77,'Gemstone Flaw','3 damage to enemy tower',4,2),
 (81,'Stone Giant','10 damage to enemy, +4 wall',30,3),
 (82,'Heavy Storms','4 damage to enemy, lose 3 gems',4,3),
 (83,'Heavy Storms','4 damage to enemy, lose 3 gems',4,3),
 (84,'Flyche\'s Revenge','20 damage to enemy, enemy loses 10 gems, -1 enemy zoo',70,3),
 (85,'Avoklityth Bite','6 damage to enemy',8,3),
 (86,'Avoklityth Bite','6 damage to enemy',8,3),
 (87,'Avoklityth Bite','6 damage to enemy',8,3),
 (88,'Rabid Sheep','6 damage to enemy, enemy loses 3 creatures',12,3),
 (89,'Rabid Sheep','6 damage to enemy, enemy loses 3 creatures',12,3),
 (90,'Elemental Chaos','20 damage to all players, -2 quarry all players, -10 bricks all players',100,1),
 (91,'Rock Launcher','+6 wall, 10 damage to enemy',36,1);
INSERT INTO `alcazar_cards` (`CardID`,`Name`,`Description`,`Cost`,`CostType`) VALUES 
 (92,'Crumblestone','+7 tower, enemy loses 6 bricks',14,2),
 (93,'Ul-Garrian Archer','3 damage to enemy tower, you take 1 damage',8,3),
 (94,'Snipe','5 damage to enemy',6,3),
 (95,'Creature Tamer','+2 zoo',14,3),
 (96,'Unicorn','If magic > enemy\'s magic, 12 damage to enemy, else 8 damage',18,3),
 (97,'Yefarian Archers','If wall > enemy\'s wall, 6 damage to tower, else 6 damage',20,3),
 (98,'Thump \'n Daze','5 damage to all enemy towers, play again',16,3),
 (99,'Crumblestone','+7 tower, enemy loses 6 bricks',14,2),
 (100,'Ul-Garrian Archer','3 damage to enemy tower, you take 1 damage',8,3),
 (101,'Snipe','5 damage to enemy',6,3),
 (102,'Creature Tamer','+2 zoo',14,3),
 (103,'Unicorn','If magic > enemy\'s magic, 12 damage to enemy, else 8 damage',18,3),
 (104,'Yefarian Archers','If wall > enemy\'s wall, 6 damage to tower, else 6 damage',20,3),
 (105,'Thump \'n Daze','5 damage to all enemy towers, play again',16,3),
 (106,'Diamond','+15 tower',32,2);
INSERT INTO `alcazar_cards` (`CardID`,`Name`,`Description`,`Cost`,`CostType`) VALUES 
 (107,'Foundations','If wall is 0, +6 wall, otherwise +3 wall',6,1),
 (108,'Foundations','If wall is 0, +6 wall, otherwise +3 wall',6,1),
 (109,'Reinforced Wall','+8 wall',16,1),
 (110,'Forced Labor','+9 wall, lose 5 creatures',14,1),
 (111,'Crystal Rocks','+7 wall, gain 7 gems',18,1),
 (112,'Sapphire','+11 tower',20,2),
 (113,'Crystal Matrix','+1 magic, +3 tower, +1 all enemy towers',12,2),
 (114,'Power Burn','5 damage to your tower, +2 magic',6,2),
 (115,'Creature Tamer','+2 zoo',14,3),
 (116,'Husbandry','+1 zoo',6,3),
 (78,'Ul-Garrian\'s Wrath','25 damage to enemy tower if 50 or higher, play again',100,2),
 (79,'Crystal Construct','Gain 20 gems and 20 bricks, play again',100,3),
 (80,'Xiaix\'s Sorrow','Set all generator levels of all players to 2, play again',100,1),
 (20,'New Recruits','+1 quarry',20,3);
/*!40000 ALTER TABLE `alcazar_cards` ENABLE KEYS */;


--
-- Definition of table `alcazar_players`
--

DROP TABLE IF EXISTS `alcazar_players`;
CREATE TABLE `alcazar_players` (
  `GameID` int(9) default NULL,
  `PlayerID` int(7) default NULL,
  `PlayerName` char(30) default NULL,
  `OpponentName` char(30) default NULL,
  `CurrentTurn` tinyint(1) default NULL,
  `CurrentScore` int(9) unsigned default NULL,
  `Quarry` int(7) default NULL,
  `Bricks` int(7) default NULL,
  `Zoo` int(7) default NULL,
  `Creatures` int(7) default NULL,
  `Magic` int(7) default NULL,
  `Gems` int(7) default NULL,
  `Wall` int(7) default NULL,
  `Tower` int(7) default NULL,
  `Card1` int(7) default NULL,
  `Card2` int(7) default NULL,
  `Card3` int(7) default NULL,
  `Card4` int(7) default NULL,
  `Card5` int(7) default NULL,
  `Card6` int(7) default NULL,
  KEY `GameID` (`GameID`),
  KEY `PlayerID` (`PlayerID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `alcazar_players`
--

/*!40000 ALTER TABLE `alcazar_players` DISABLE KEYS */;
/*!40000 ALTER TABLE `alcazar_players` ENABLE KEYS */;


--
-- Definition of table `alcazar_scores`
--

DROP TABLE IF EXISTS `alcazar_scores`;
CREATE TABLE `alcazar_scores` (
  `PlayerID` int(7) unsigned default '0',
  `PlayerName` char(40) default NULL,
  `Score` int(9) unsigned default NULL,
  `Roster` tinyint(1) unsigned default NULL,
  KEY `Score` (`Score`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `alcazar_scores`
--

/*!40000 ALTER TABLE `alcazar_scores` DISABLE KEYS */;
/*!40000 ALTER TABLE `alcazar_scores` ENABLE KEYS */;


DROP TABLE IF EXISTS `xt_text_files`;
CREATE TABLE `xt_text_files` (
  `xf_id` int(4) unsigned default NULL,
  `xf_description` varchar(100) default 'Text Description',
  `xf_sql_text` text
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `xt_text_files`
--

/*!40000 ALTER TABLE `xt_text_files` DISABLE KEYS */;
INSERT INTO `xt_text_files` (`xf_id`,`xf_description`,`xf_sql_text`) VALUES 
 (51,'Alcazar Rules','\r\nALCAZAR RULES\r\n-------------\r\n\"Alcazar\" is a card game in which each player has a tower that they need to defend.  A tower has a rating between 0 to 100.  If a player has a tower that reaches 100 or more, that player automatically wins.  If a player\'s tower reaches 0, the player has lost.\r\n\r\nEach player also has a wall that protects their tower.  Walls have no limits on size.  Most damage is inflicted on the wall first and then any leftover damage is then applied to the player\'s tower.  For instance, if you have a wall of 3 and a tower of 15 and took 6 damage, your wall would then be 0 and your tower would be 12.  Some cards, however, can deal damage directly to a tower, completely bypassing a wall.\r\n\r\nCards themselves are arranged in a collection called a hand.  Each player\'s hand always contains 6 cards.  Cards may only be played during a player\'s turn.  Cards have varying effects, which are displayed by typing  PLAY SCORE  (you must be participating in an active Alcazar game to use this command).  To play a card, you must pay its \"cost\".  Each card has one of four costs:\r\n\r\n\r\n         FREE:      the card is free to play.  It requires nothing.\r\n         BRICKS:    the card requires a certain number of bricks to play.\r\n         GEMS:      the card requires a certain number of gems to play.\r\n         CREATURES: the card requires a certain number of creatures to play.\r\n         \r\n\r\nTo play the cards, each player has a number of resources called \"bricks\", \"gems\", and \"creatures\".  At the beginning of every turn, each player gains bricks from his/her quarry (a generator for bricks), gems from his/her magic, and creatures from his/her zoo.  For instance, if you have a quarry of 2, a magic of 1, and a zoo of 4, then at the beginning of every turn (your opponent\'s turn included), you will gain 2 bricks, 1 gem, and 4 creatures.  You can use these resources to play cards.  Optionally, you can automatically win the game by having an exceptionally high resource.\r\n\r\nAdditional costs: some cards have effects that cause you to lose resources, wall, or generators.  For example, a card may say \"deals 5 damage to enemy, lose 2 gems\" and cast 2 bricks to play.  You will lose the 2 bricks for sure, but if you have less than 2 gems, you can still play this card.  You won\'t wind up with negative gems.  Use this to your advantage to avoid paying some of these costs.\r\n\r\nPlaying again: some cards let you play them and then play again immediately.  You will draw a new card and get to play again. Yes, this does count as the beginning of another turn, so you (and your opponent) will gain resources from the generators again.\r\n\r\nOther play options: you may forfeit at any time to immediately lose.  You may also pass your turn by playing nothing or by discarding a card.  See  PLAY for more details.\r\n\r\nWinning conditions:  you win if (a) your opponent\'s tower is 0, (b) your tower reaches 100, or (c) any of your resources are at or above 500 at the end of your turn.\r\n\r\nThe game has no timer on it.  This may change in future versions of Alcazar.\r\n\r\nALCAZAR COMMANDS:\r\n¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\r\nPLAY HELP                           -- Displays these rules.\r\nPLAY NEWGAME WITH <opponent name>   -- Starts a new game with your opponent.\r\nPLAY SCORE                          -- Displays your current cards and all their details.\r\n                                       Also displays you and your opponents score, tower,\r\n                                       wall, quarry, bricks, magic, gems, zoo, creatures,\r\n                                       and who\'s turn it is.\r\nPLAY QUIT                           -- You\'ll automatically be taken out of the game, leaving your opponent as the winner.\r\nPLAY CARD <card #>                  -- Executes the card of your choice into play.\r\nPLAY PASS                           -- Passes your turn to your opponent.  No cards are exchanged or lost.\r\nPLAY DISCARD <card #>               -- Same as PLAY PASS, but exchanges the card of your choice for a new card from the deck.\r\n\r\nALCAZAR ROSTER                      -- Shows you who\'s on the top 20 Alcazar score list.\r\nALCAZAR ROSTER SHOW                 -- Shows you on the top 20 Alcazar score list. (If you\'re in the top 20).\r\nALCAZAR ROSTER HIDE                 -- Hides you from the top 20 Alcazar score list. (If you\'re in the top 20).\r\n');
/*!40000 ALTER TABLE `xt_text_files` ENABLE KEYS */;


/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

Site Stats

Snippets: 1791
Codebases: 571