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
This commit is contained in:
Sevi
2020-12-28 16:27:44 +01:00
committed by Shauren
parent d94f0d23b3
commit c7b10d3c5f
8 changed files with 72 additions and 1 deletions

View File

@@ -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;