aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2020-06-22 16:10:34 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-07 00:20:57 +0100
commit49523a74a4c28e5ae17f9a8352aa8224b765b7d8 (patch)
tree829e998508b4320f305bc9e4891ec7116c4005fd /sql
parenta26cc135fa34e0e4aa0c244c4c4b4bec4c25d709 (diff)
Battlefields: Move BF scripts out of game
This commit introduces the usual script interface for battlefields. (cherry picked from commit f7faf20254a120a90b8ee8eb55a284a6351aabc3)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_01_06_75_world_2020_06_24_00_world.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_06_75_world_2020_06_24_00_world.sql b/sql/updates/world/master/2022_01_06_75_world_2020_06_24_00_world.sql
new file mode 100644
index 00000000000..df7d800621b
--- /dev/null
+++ b/sql/updates/world/master/2022_01_06_75_world_2020_06_24_00_world.sql
@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS `battlefield_template`;
+CREATE TABLE `battlefield_template` (
+ `TypeId` tinyint(3) unsigned NOT NULL,
+ `ScriptName` varchar(64) NOT NULL,
+ `comment` text,
+ PRIMARY KEY(`TypeId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+
+INSERT INTO `battlefield_template` (`TypeId`, `ScriptName`, `comment`) VALUES
+(1, 'battlefield_wg', NULL),
+(2, 'battlefield_tb', NULL);