mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Commands: Implement .neargraveyard (find nearest graveyard from dbc).
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
DELETE FROM `rbac_permissions` WHERE `id` = 841;
|
||||
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (841, 'Command: .debug neargraveyard');
|
||||
|
||||
DELETE FROM `rbac_linked_permissions` WHERE `id` = 196 AND `linkedId` = 841;
|
||||
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES (196, 841);
|
||||
@@ -0,0 +1,8 @@
|
||||
DELETE FROM `command` WHERE `name` = 'debug neargraveyard';
|
||||
INSERT INTO `command` (`name`, `permission`, `help`) VALUES
|
||||
('debug neargraveyard', 841, 'Syntax: .debug neargraveyard [linked]\nFind the nearest graveyard from dbc or db (if linked)');
|
||||
|
||||
DELETE FROM `trinity_string` WHERE `entry` IN (82, 83);
|
||||
INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc6`, `content_loc7`) VALUES
|
||||
(82, 'Nearest graveyard found: %u (%.3f %.3f %.3f)', 'Cementerio mas cercano encontrado: %u (%.3f %.3f %.3f)', 'Cementerio mas cercano encontrado: %u (%.3f %.3f %.3f)'),
|
||||
(83, 'There are no graveyards near', 'No se ha encontrado ningun cementerio cerca', 'No se ha encontrado ningun cementerio cerca');
|
||||
Reference in New Issue
Block a user