Marked command 'checkquest' as deprecated

Use questprogress instead.
- Note: The command will be completely removed after about a month.
  Custom, third party scripts will require updates, in case they were
  using this command.  It is recommended to use questprogress instead.
  Please see the checkquest documentation for more information.

Signed-off-by: Haru <haru@dotalux.com>
This commit is contained in:
Haru 2014-10-21 21:04:13 +02:00
parent bba3e690de
commit 3ad4a9d506
2 changed files with 8 additions and 2 deletions

View file

@ -8437,7 +8437,13 @@ Add quest of the <ID2> to the the quest log, and the state is "active".
*checkquest(<ID>{,PLAYTIME|HUNTING})
DEPRECATED - use questprogress instead.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ /!\ This command is deprecated @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
This command is deprecated and it should not be used in new scripts, as it
is scheduled to be removed on or after November 28th, 2014. Please consider
using questprogress() instead. Or, in special cases, questactive().
If no additional argument supplied, return the state of the quest:
-1 = Quest not started (not in quest log)

View file

@ -19479,7 +19479,7 @@ void script_parse_builtin(void) {
BUILDIN_DEF(setquest, "i"),
BUILDIN_DEF(erasequest, "i?"),
BUILDIN_DEF(completequest, "i?"),
BUILDIN_DEF(checkquest, "i?"),
BUILDIN_DEF_DEPRECATED(checkquest, "i?"), // Deprecated 2014-10-28 [Haru]
BUILDIN_DEF(questprogress, "i?"),
BUILDIN_DEF(questactive, "i"),
BUILDIN_DEF(changequest, "ii"),