diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-01-11 21:47:00 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-01-11 21:47:00 +0300 |
| commit | af527adaa847b0c8373348e5931f9f01d82d355b (patch) | |
| tree | c9c8b6b01d39e9a734c3baea5d8908e60a6d5760 | |
| parent | switch to react (diff) | |
| download | lphub-af527adaa847b0c8373348e5931f9f01d82d355b.tar.gz lphub-af527adaa847b0c8373348e5931f9f01d82d355b.tar.bz2 lphub-af527adaa847b0c8373348e5931f9f01d82d355b.zip | |
map data prepared (#22)
| -rw-r--r-- | backend/database/init.sql | 1 | ||||
| -rw-r--r-- | backend/database/maps.sql | 131 |
2 files changed, 132 insertions, 0 deletions
diff --git a/backend/database/init.sql b/backend/database/init.sql index 1585e33..4f68e0d 100644 --- a/backend/database/init.sql +++ b/backend/database/init.sql | |||
| @@ -19,6 +19,7 @@ CREATE TABLE maps ( | |||
| 19 | map_name TEXT NOT NULL, | 19 | map_name TEXT NOT NULL, |
| 20 | wr_score SMALLINT NOT NULL, | 20 | wr_score SMALLINT NOT NULL, |
| 21 | is_coop BOOLEAN NOT NULL, | 21 | is_coop BOOLEAN NOT NULL, |
| 22 | is_disabled BOOLEAN NOT NULL DEFAULT false, | ||
| 22 | PRIMARY KEY (id) | 23 | PRIMARY KEY (id) |
| 23 | ); | 24 | ); |
| 24 | 25 | ||
diff --git a/backend/database/maps.sql b/backend/database/maps.sql new file mode 100644 index 0000000..f71d92f --- /dev/null +++ b/backend/database/maps.sql | |||
| @@ -0,0 +1,131 @@ | |||
| 1 | DELETE FROM maps; | ||
| 2 | INSERT INTO maps (map_name, wr_score, is_coop, is_disabled) VALUES | ||
| 3 | -- Singleplayer | ||
| 4 | -- 1 | ||
| 5 | ('Container Ride',0,false,true), | ||
| 6 | ('Portal Carousel',0,false,true), | ||
| 7 | ('Portal Gun',0,false,false), | ||
| 8 | ('Smooth Jazz',0,false,false), | ||
| 9 | ('Cube Momentum',1,false,false), | ||
| 10 | ('Future Starter',2,false,false), | ||
| 11 | ('Secret Panel',0,false,false), | ||
| 12 | ('Wakeup',0,false,true), | ||
| 13 | ('Incinerator',0,false,false), | ||
| 14 | -- 2 | ||
| 15 | ('Laser Intro',0,false,false), | ||
| 16 | ('Laser Stairs',0,false,false), | ||
| 17 | ('Dual Lasers',2,false,false), | ||
| 18 | ('Laser Over Goo',0,false,false), | ||
| 19 | ('Catapult Intro',0,false,true), | ||
| 20 | ('Trust Fling',2,false,false), | ||
| 21 | ('Pit Flings',0,false,false), | ||
| 22 | ('Fizzler Intro',2,false,false), | ||
| 23 | -- 3 | ||
| 24 | ('Ceiling Catapult',0,false,false), | ||
| 25 | ('Ricochet',2,false,false), | ||
| 26 | ('Bridge Intro',2,false,false), | ||
| 27 | ('Bridge The Gap',0,false,false), | ||
| 28 | ('Turret Intro',0,false,false), | ||
| 29 | ('Laser Relays',0,false,false), | ||
| 30 | ('Turret Blocker',0,false,false), | ||
| 31 | ('Laser vs Turret',0,false,false), | ||
| 32 | ('Pull The Rug',0,false,false), | ||
| 33 | -- 4 | ||
| 34 | ('Column Blocker',0,false,false), | ||
| 35 | ('Laser Chaining',0,false,false), | ||
| 36 | ('Triple Laser',0,false,false), | ||
| 37 | ('Jail Break',2,false,false), | ||
| 38 | ('Escape',0,false,false), | ||
| 39 | -- 5 | ||
| 40 | ('Turret Factory',5,false,false), | ||
| 41 | ('Turret Sabotage',4,false,false), | ||
| 42 | ('Neurotoxin Sabotage',0,false,false), | ||
| 43 | ('Tube Ride',0,false,true), | ||
| 44 | ('Core',2,false,false), | ||
| 45 | -- 6 | ||
| 46 | ('Long Fall',0,false,true), | ||
| 47 | ('Underground',4,false,false), | ||
| 48 | ('Cave Johnson',4,false,false), | ||
| 49 | ('Repulsion Intro',0,false,false), | ||
| 50 | ('Bomb Flings',3,false,false), | ||
| 51 | ('Crazy Box',0,false,false), | ||
| 52 | ('PotatOS',5,false,false), | ||
| 53 | -- 7 | ||
| 54 | ('Propulsion Intro',2,false,false), | ||
| 55 | ('Propulsion Flings',0,false,false), | ||
| 56 | ('Conversion Intro',9,false,false), | ||
| 57 | ('Three Gels',4,false,false), | ||
| 58 | -- 8 | ||
| 59 | ('Test',2,false,false), | ||
| 60 | ('Funnel Intro',0,false,false), | ||
| 61 | ('Ceiling Button',0,false,false), | ||
| 62 | ('Wall Button',0,false,false), | ||
| 63 | ('Polarity',0,false,false), | ||
| 64 | ('Funnel Catch',2,false,false), | ||
| 65 | ('Stop The Box',0,false,false), | ||
| 66 | ('Laser Catapult',0,false,false), | ||
| 67 | ('Laser Platform',3,false,false), | ||
| 68 | ('Propulsion Catch',0,false,false), | ||
| 69 | ('Repulsion Polarity',2,false,false), | ||
| 70 | -- 9 | ||
| 71 | ('Finale 1',0,false,false), | ||
| 72 | ('Finale 2',2,false,false), | ||
| 73 | ('Finale 3',6,false,false), | ||
| 74 | ('Finale 4',6,false,false), | ||
| 75 | -- Coop | ||
| 76 | -- 1 | ||
| 77 | ('Calibration',4,true,false), | ||
| 78 | ('Hub',0,false,true), | ||
| 79 | ('Doors',0,true,false), | ||
| 80 | ('Buttons',2,true,false), | ||
| 81 | ('Lasers',3,true,false), | ||
| 82 | ('Rat Maze',2,true,false), | ||
| 83 | ('Laser Crusher',0,true,false), | ||
| 84 | ('Behind The Scenes',0,true,false), | ||
| 85 | -- 2 | ||
| 86 | ('Flings',4,true,false), | ||
| 87 | ('Infinifling',0,true,false), | ||
| 88 | ('Team Retrieval',0,true,false), | ||
| 89 | ('Vertical Flings',2,true,false), | ||
| 90 | ('Catapults',4,true,false), | ||
| 91 | ('Multifling',2,true,false), | ||
| 92 | ('Fling Crushers',0,true,false), | ||
| 93 | ('Industrial Fan',0,true,false), | ||
| 94 | -- 3 | ||
| 95 | ('Cooperative Bridges',3,true,false), | ||
| 96 | ('Bridge Swap',2,true,false), | ||
| 97 | ('Fling Block',2,true,false), | ||
| 98 | ('Catapult Block',4,true,false), | ||
| 99 | ('Bridge Fling',4,true,false), | ||
| 100 | ('Turret Walls',4,true,false), | ||
| 101 | ('Turret Assasin',0,true,false), | ||
| 102 | ('Bridge Testing',0,true,false), | ||
| 103 | -- 4 | ||
| 104 | ('Cooperative Funnels',0,true,false), | ||
| 105 | ('Funnel Drill',0,true,false), | ||
| 106 | ('Funnel Catch',0,true,false), | ||
| 107 | ('Funnel Laser',0,true,false), | ||
| 108 | ('Cooperative Polarity',0,true,false), | ||
| 109 | ('Funnel Hop',0,true,false), | ||
| 110 | ('Advanced Polarity',0,true,false), | ||
| 111 | ('Funnel Maze',0,true,false), | ||
| 112 | ('Turret Warehouse',0,true,false), | ||
| 113 | -- 5 | ||
| 114 | ('Repulsion Jumps',0,true,false), | ||
| 115 | ('Double Bounce',2,true,false), | ||
| 116 | ('Bridge Repulsion',2,true,false), | ||
| 117 | ('Wall Repulsion',2,true,false), | ||
| 118 | ('Propulsion Crushers',0,true,false), | ||
| 119 | ('Turret Ninja',0,true,false), | ||
| 120 | ('Propulsion Retrieval',0,true,false), | ||
| 121 | ('Vault Entrance',0,true,false), | ||
| 122 | -- 6 | ||
| 123 | ('Seperation',0,true,false), | ||
| 124 | ('Triple Axis',0,true,false), | ||
| 125 | ('Catapult Catch',0,true,false), | ||
| 126 | ('Bridge Gels',2,true,false), | ||
| 127 | ('Maintenance',0,true,false), | ||
| 128 | ('Bridge Catch',0,true,false), | ||
| 129 | ('Double Lift',0,true,false), | ||
| 130 | ('Gel Maze',0,true,false), | ||
| 131 | ('Crazier Box',0,true,false); \ No newline at end of file | ||