aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorSevi <gonzo1247@yahoo.de>2020-12-28 16:27:44 +0100
committerShauren <shauren.trinity@gmail.com>2020-12-31 14:13:29 +0100
commitc7b10d3c5fd082faf6c2835239e340babc3dfc76 (patch)
tree498fd11394f450a91b9d2b9e81f1e42a423917b1 /sql/updates
parentd94f0d23b3cbf0944576cfd77fb199453234817b (diff)
Core/Vehicles: add a way to delay the Vehicle despawn Time if its needed.
* New database table `vehicle_template` holds info for despawn delay with option to extend it in the future
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/master/2020_12_31_00_world.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_12_31_00_world.sql b/sql/updates/world/master/2020_12_31_00_world.sql
new file mode 100644
index 00000000000..15be0e0e2a7
--- /dev/null
+++ b/sql/updates/world/master/2020_12_31_00_world.sql
@@ -0,0 +1,9 @@
+--
+-- Table structure for table `vehicle_template`
+--
+DROP TABLE IF EXISTS `vehicle_template`;
+CREATE TABLE `vehicle_template` (
+ `creatureId` int(10) unsigned NOT NULL,
+ `despawnDelayMs` int(11) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`creatureId`)
+) ENGINE=MyISAM;