aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShocker <none@none>2010-09-21 03:51:14 +0300
committerShocker <none@none>2010-09-21 03:51:14 +0300
commit5ffaf0d84bb5e2f73f60321c1754d879f5297f0f (patch)
treea618492389348261d9c1f3c4579cc98ee8b183d0 /sql
parent7b3d573a16eec4010ffee1e40fc93ddd0cbd46ab (diff)
Core/Commands: Implement command for adding (completing) achievements
--HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql2
-rw-r--r--sql/updates/10023.world_command.sql4
2 files changed, 6 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index a503b591cbb..018ee3894b2 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -327,6 +327,8 @@ INSERT INTO `command` VALUES
('account set addon',3,'Syntax: .account set addon [$account] #addon\r\n\r\nSet user (possible targeted) expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.'),
('account set gmlevel',4,'Syntax: .account set gmlevel [$account] #level [#realmid]\r\n\r\nSet the security level for targeted player (can''t be used at self) or for account $name to a level of #level on the realm #realmID.\r\n\r\n#level may range from 0 to 3.\r\n\r\n#reamID may be -1 for all realms.'),
('account set password',4,'Syntax: .account set password $account $password $password\r\n\r\nSet password for account.'),
+('achievement',4,'Syntax: .achievement $subcommand\nType .achievement to see the list of possible subcommands or .help achievement $subcommand to see info on subcommands'),
+('achievement add',4,'Syntax: .achievement add $achievement\nAdd an achievement to the targeted player.\n$achievement: can be either achievement id or achievement link'),
('additem',3,'Syntax: .additem #itemid/[#itemname]/#shift-click-item-link #itemcount\r\n\r\nAdds the specified number of items of id #itemid (or exact (!) name $itemname in brackets, or link created by shift-click at item in inventory or recipe) to your or selected character inventory. If #itemcount is omitted, only one item will be added.\r\n.'),
('additemset',3,'Syntax: .additemset #itemsetid\r\n\r\nAdd items from itemset of id #itemsetid to your or selected character inventory. Will add by one example each item from itemset.'),
('announce',1,'Syntax: .announce $MessageToBroadcast\r\n\r\nSend a global message to all players online in chat log.'),
diff --git a/sql/updates/10023.world_command.sql b/sql/updates/10023.world_command.sql
new file mode 100644
index 00000000000..653d400c690
--- /dev/null
+++ b/sql/updates/10023.world_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('achievement add', 'achievement');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('achievement add',4,'Syntax: .achievement add $achievement\nAdd an achievement to the targeted player.\n$achievement: can be either achievement id or achievement link'),
+('achievement',4,'Syntax: .achievement $subcommand\nType .achievement to see the list of possible subcommands or .help achievement $subcommand to see info on subcommands'); \ No newline at end of file