From c7b10d3c5fd082faf6c2835239e340babc3dfc76 Mon Sep 17 00:00:00 2001 From: Sevi Date: Mon, 28 Dec 2020 16:27:44 +0100 Subject: 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 --- sql/updates/world/master/2020_12_31_00_world.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sql/updates/world/master/2020_12_31_00_world.sql (limited to 'sql') 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; -- cgit v1.2.3