aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorCarbenium <carbenium@outlook.com>2020-06-22 16:10:34 +0200
committerPeter Keresztes Schmidt <carbenium@outlook.com>2020-06-24 15:09:57 +0200
commitf7faf20254a120a90b8ee8eb55a284a6351aabc3 (patch)
tree1ca9e33c1b5dcc2837ef778d206861a9e4f2e69f /sql
parent7b3d691c0b17b1f164bb0d8e0d4a0d5e146d4d4e (diff)
Battlefields: Move BF scripts out of game
This commit introduces the usual script interface for battlefields.
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2020_06_xx_xx_world.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_06_xx_xx_world.sql b/sql/updates/world/3.3.5/2020_06_xx_xx_world.sql
new file mode 100644
index 00000000000..a34ebb739ea
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_06_xx_xx_world.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `battlefield_template`;
+CREATE TABLE `battlefield_template` (
+ `TypeId` tinyint unsigned not null,
+ `ScriptName` varchar(64) default '' not null,
+ `comment` text null
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+INSERT INTO `battlefield_template` (`TypeId`, `ScriptName`, `comment`) VALUES (1, 'battlefield_wg', null);