diff options
-rw-r--r-- | doc/script_commands.txt | 8 | ||||
-rw-r--r-- | src/map/script.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 596c8b61c..7e00e50dc 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -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) diff --git a/src/map/script.c b/src/map/script.c index 2c4defc25..26117530a 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -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"), |