diff options
author | Haru <haru@dotalux.com> | 2014-11-02 02:46:55 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 02:46:55 +0100 |
commit | e914ab9088250b64c81953aa4e35435aabb26055 (patch) | |
tree | 77783ef59db88ad4e96710957d7fb9dd03290f05 | |
parent | 5722534bc46f9f1c6314e93a28f1a759e993f902 (diff) | |
download | hercules-e914ab9088250b64c81953aa4e35435aabb26055.tar.gz hercules-e914ab9088250b64c81953aa4e35435aabb26055.tar.bz2 hercules-e914ab9088250b64c81953aa4e35435aabb26055.tar.xz hercules-e914ab9088250b64c81953aa4e35435aabb26055.zip |
Marked command 'save' as deprecated.
- 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. Please see the 'save' documentation.
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | doc/script_commands.txt | 11 | ||||
-rw-r--r-- | src/map/script.c | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 4e28b5b71..1c34a09b5 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4275,7 +4275,6 @@ character is not married, or if there's no invoking character (no RID). --------------------------------------- *savepoint "<map name>",<x>,<y>; -*save "<map name>",<x>,<y>; This command saves where the invoking character will return to upon 'return to save point', if dead or in some other cases. The two versions @@ -4285,6 +4284,16 @@ character respawn where no teleportation is otherwise possible. savepoint "place",350,75; +*save "<map name>",<x>,<y>; + + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @ /!\ 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 December 2nd, 2014. Please consider +using savepoint() instead. + --------------------------------------- *heal <hp>,<sp>; diff --git a/src/map/script.c b/src/map/script.c index 006f275eb..35fa6a0a8 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -19114,7 +19114,7 @@ void script_parse_builtin(void) { BUILDIN_DEF(checkwug,""), BUILDIN_DEF_DEPRECATED(checkmadogear,""), // Deprecated 2014-10-30 [Haru] BUILDIN_DEF_DEPRECATED(setmadogear,"?"), // Deprecated 2014-10-30 [Haru] - BUILDIN_DEF2(savepoint,"save","sii"), + BUILDIN_DEF2_DEPRECATED(savepoint,"save","sii"), // Deprecated 2014-11-02 [Haru] BUILDIN_DEF(savepoint,"sii"), BUILDIN_DEF(gettimetick,"i"), BUILDIN_DEF(gettime,"i"), |