From 513059cad7510c20f44e1a19f731efbe2f28dbec Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 8 May 2015 16:19:35 +0200 Subject: Removed deprecated command isday - Follow-up to b1b1b1aa8edc866a83029081e93d3e7d0f138189 Signed-off-by: Haru --- doc/script_commands.txt | 9 --------- src/map/script.c | 6 ------ 2 files changed, 15 deletions(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 40457d8cf..3a8ec4fc0 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3973,15 +3973,6 @@ night mode or day mode: if (!isnight()) mes "I only prowl in the night."; -*isday() - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ - @ /!\ This command is deprecated @ - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ - -This command is deprecated and it should not be used in new scripts, as it -is likely to be removed at a later time. Please consider using !isnight() -instead. - --------------------------------------- *checkre() diff --git a/src/map/script.c b/src/map/script.c index 0bef11160..ecffeffd8 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -14255,11 +14255,6 @@ BUILDIN(isnight) { return true; } -BUILDIN(isday) { - script_pushint(st,(map->night_flag == 0)); - return true; -} - /*================================================ * Check how many items/cards in the list are * equipped - used for 2/15's cards patch [celest] @@ -20012,7 +20007,6 @@ void script_parse_builtin(void) { BUILDIN_DEF(logmes,"s"), //this command actls as MES but rints info into LOG file either SQL/TXT [Lupus] BUILDIN_DEF(summon,"si??"), // summons a slave monster [Celest] BUILDIN_DEF(isnight,""), // check whether it is night time [Celest] - BUILDIN_DEF_DEPRECATED(isday,""), // check whether it is day time [Celest] // DEPRECATED 2015-01-21 [Haru] BUILDIN_DEF(isequipped,"i*"), // check whether another item/card has been equipped [Celest] BUILDIN_DEF(isequippedcnt,"i*"), // check how many items/cards are being equipped [Celest] BUILDIN_DEF(cardscnt,"i*"), // check how many items/cards are being equipped in the same arm [Lupus] -- cgit v1.2.3-70-g09d2