summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/script_commands.txt19
-rw-r--r--src/map/script.c43
2 files changed, 0 insertions, 62 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 2165d8a8f..dcb64ffb8 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3933,25 +3933,6 @@ riding a dragon and 0 if they aren't.
---------------------------------------
-*setmadogear {<flag>};
-*checkmadogear()
-
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ /!\ 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 30th, 2014. Please consider
-using setmount and checkmount() instead.
-
-If <flag> is 0 this command will remove the mount from the character.
-Otherwise it gives the invoking character a Mado (if they are a Mechanic).
-
-The accompanying function will return 1 if the invoking character has a
-Mado and 0 if they don't.
-
----------------------------------------
-
*setcashmount;
*hascashmount()
diff --git a/src/map/script.c b/src/map/script.c
index 2f82a7f13..23b806d63 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8773,47 +8773,6 @@ BUILDIN(checkwug)
return true;
}
-/// Returns if the player is wearing MADO Gear.
-///
-/// checkmadogear() -> <bool>
-///
-BUILDIN(checkmadogear)
-{
- TBL_PC* sd;
-
- sd = script->rid2sd(st);
- if( sd == NULL )
- return true;// no player attached, report source
-
- if( pc_ismadogear(sd) )
- script_pushint(st, 1);
- else
- script_pushint(st, 0);
-
- return true;
-}
-
-/// Sets if the player is riding MADO Gear.
-/// <flag> defaults to 1
-///
-/// setmadogear <flag>;
-/// setmadogear;
-BUILDIN(setmadogear)
-{
- bool flag = true;
- TBL_PC* sd;
-
- sd = script->rid2sd(st);
- if (sd == NULL)
- return true;// no player attached, report source
-
- if (script_hasdata(st,2))
- flag = script_getnum(st,2) ? true : false;
- pc->setmadogear(sd, flag);
-
- return true;
-}
-
/// Sets the save point of the player.
///
/// save "<map name>",<x>,<y>
@@ -19338,8 +19297,6 @@ void script_parse_builtin(void) {
BUILDIN_DEF(setmount,"?"),
BUILDIN_DEF(checkmount,""),
BUILDIN_DEF(checkwug,""),
- BUILDIN_DEF_DEPRECATED(checkmadogear,""), // Deprecated 2014-10-30 [Haru]
- BUILDIN_DEF_DEPRECATED(setmadogear,"?"), // Deprecated 2014-10-30 [Haru]
BUILDIN_DEF2_DEPRECATED(savepoint,"save","sii"), // Deprecated 2014-11-02 [Haru]
BUILDIN_DEF(savepoint,"sii"),
BUILDIN_DEF(gettimetick,"i"),