Join the forums now, and start posting to receive access to our Scripts Vault!
CREATE TABLE ena_buildings ( id_building int(50) NOT NULL auto_increment, building_name varchar(50) NOT NULL default '', building_level int(50) NOT NULL default '0', build_cost_gold int(15) NOT NULL default '0', build_cost_wood int(10) NOT NULL default '0', build_cost_stone int(10) NOT NULL default '0', build_cost_food int(10) NOT NULL default '0', build_cost_iron int(10) NOT NULL default '0', Build_needed_slaves int(10) NOT NULL default '0', PRIMARY KEY (number)) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
INSERT INTO (building_name, building_level, build_cost_gold, build_cost_wood, build_cost_stone, build_cost_food, build_cost_iron, build_needed_slaves) ('l?nghus', 0, 0, 100, 0, 0, 0, 0),('l?nghus', 1, 0, 150, 50, 0, 50, 2),('l?nghus', 2, 0, 200, 75, 5, 75, 2),('l?nghus', 3, 0, 300, 100, 25, 100, 3),('l?nghus', 4, 0, 400, 150, 100, 150, 4),('l?nghus', 5, 100, 1000, 300, 300, 300, 8),