diff options
| author | Rat <none@none> | 2010-09-26 20:48:25 +0200 |
|---|---|---|
| committer | Rat <none@none> | 2010-09-26 20:48:25 +0200 |
| commit | bbf86641a1c35fcc66de30d7a79175c31effde88 (patch) | |
| tree | 165aa4c561800bf54d7037eb5f1fd7cf5b0f8801 /sql | |
| parent | 133ab88f8c43edf6e987649c86ad4f7b684c2886 (diff) | |
Core/Scripts/SmartAI: removed test code
Core/CreatureTextMgr: added reload command
handle text from DB
handle grouped texts
handle repeatable/single texts based on probability
todo: sound/emote, code cleanup
--HG--
branch : trunk
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/base/world_database.sql | 1 | ||||
| -rw-r--r-- | sql/updates/10076_world_command.sql | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index e81d0c0df52..7dce5407797 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -643,6 +643,7 @@ INSERT INTO `command` VALUES ('reload creature_template','3','Syntax: .reload creature_template $entry\r\nReload the specified creature''s template.'), ('reload trinity_string',3,'Syntax: .reload trinity_string\nReload trinity_string table.'), ('reload waypoint_scripts',3,'Syntax: .reload waypoint_scripts\nReload waypoint_scripts table.'), +('reload creature_text',3,'Syntax: .reload creature_text\r\nReload creature_text table.'), ('repairitems',2,'Syntax: .repairitems\r\n\r\nRepair all selected player''s items.'), ('reset',3,'Syntax: .reset $subcommand\nType .reset to see the list of possible subcommands or .help reset $subcommand to see info on subcommands'), ('reset achievements',3,'Syntax: .reset achievements [$playername]\r\n\r\nReset achievements data for selected or named (online or offline) character. Achievements for persistance progress data like completed quests/etc re-filled at reset. Achievements for events like kills/casts/etc will lost.'), diff --git a/sql/updates/10076_world_command.sql b/sql/updates/10076_world_command.sql new file mode 100644 index 00000000000..c0d25296097 --- /dev/null +++ b/sql/updates/10076_world_command.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `name` LIKE 'reload creature_text'; +INSERT INTO `command` (`name`,`security`,`help`) VALUES +('reload creature_text',3,'Syntax: .reload creature_text\r\nReload creature_text table.'); |
