aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-09-20 03:31:54 +0200
committerTreeston <treeston.mmoc@gmail.com>2020-09-20 03:31:54 +0200
commit991dc8e050777b5e33ff22b008ab2125bae22437 (patch)
tree4bc988c6b4c4e38c08e44c6b676b83a8911bb25b /sql
parent1eca51b417678b9a48b28552925d5694105f82bb (diff)
1eca51b follow-up, nuke `command`.`permission` from orbit; it was only duplicating data already stored in the core.
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2020_09_20_01_world.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_09_20_01_world.sql b/sql/updates/world/3.3.5/2020_09_20_01_world.sql
new file mode 100644
index 00000000000..989f603c547
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_09_20_01_world.sql
@@ -0,0 +1,11 @@
+--
+ALTER TABLE `command` DROP COLUMN `permission`;
+DELETE FROM `command` WHERE `name` IN ('reload command', 'gm', 'gm off', 'gm on');
+INSERT INTO `command` (`name`,`help`) VALUES
+('gm on', 'Syntax: .gm on
+
+Enables in-game GM mode. This makes you exempt from most game mechanics.
+Among other things, it makes creatures unable to attack you, and makes you untargetable by most spells. It also makes creatures in all phases, as well as invisible creatures, visible to you.'),
+('gm off', 'Syntax: .gm off
+
+Disables in-game GM mode.');