aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorRat <none@none>2010-10-01 00:07:14 +0200
committerRat <none@none>2010-10-01 00:07:14 +0200
commit395df76860061939651d696b93d94060590d7a45 (patch)
treeb00c3b44eb9db99f4885dfb5ac3ae2f00b9b831f /sql
parent0857c18af8d189c953295dbc1cb481eb00b70232 (diff)
Core/Commands: added .debug areatriggers
-if turned on it will print the trigger id to chat if you get near it --HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/10132_world_command.sql3
-rw-r--r--sql/updates/10132_world_trinity_string.sql5
2 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/10132_world_command.sql b/sql/updates/10132_world_command.sql
new file mode 100644
index 00000000000..f4532d65a6e
--- /dev/null
+++ b/sql/updates/10132_world_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` IN ('debug areatriggers');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('debug areatriggers',1,'Syntax: .debug areatriggers\nToggle debug mode for areatriggers. In debug mode GM will be notified if reaching an areatrigger'); \ No newline at end of file
diff --git a/sql/updates/10132_world_trinity_string.sql b/sql/updates/10132_world_trinity_string.sql
new file mode 100644
index 00000000000..c9a540a26b9
--- /dev/null
+++ b/sql/updates/10132_world_trinity_string.sql
@@ -0,0 +1,5 @@
+DELETE FROM `trinity_string` WHERE `entry` IN (1202,1203,1204);
+INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
+(1202, 'Areatrigger debugging turned on.'),
+(1203, 'Areatrigger debugging turned off.'),
+(1204, 'You have reached areatrigger %u.');