diff options
Diffstat (limited to 'npc/custom/Lance')
-rw-r--r-- | npc/custom/Lance/FR_HallOfFame.txt (renamed from npc/custom/Lance/FR_HallOfFame.c) | 21 | ||||
-rw-r--r-- | npc/custom/Lance/FR_MailSystem.txt (renamed from npc/custom/Lance/FR_MailSystem.c) | 43 | ||||
-rw-r--r-- | npc/custom/Lance/FR_WeatherController.c | 403 | ||||
-rw-r--r-- | npc/custom/Lance/FR_WeatherController.txt | 415 |
4 files changed, 436 insertions, 446 deletions
diff --git a/npc/custom/Lance/FR_HallOfFame.c b/npc/custom/Lance/FR_HallOfFame.txt index 18f8361dc..1c8b2c79f 100644 --- a/npc/custom/Lance/FR_HallOfFame.c +++ b/npc/custom/Lance/FR_HallOfFame.txt @@ -1,14 +1,12 @@ -//===== eAthena Script ====================================== +//===== rAthena Script ======================================= //= Hall of Fame -//=========================================================== -//===== By ================================================== -//= [Lance] -//= Idea from emilylee78 -//===== Version ============================================= +//===== By: ================================================== +//= Lance (idea from emilylee78) +//===== Current Version: ===================================== //= 2.4 FINAL -//===== Compatible With ===================================== -//= eAthena SVN and Freya SVN -//===== Description ========================================= +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= //= A Hall of Fame framework. Will update the list on every //= login and logout in a safe manner. //= @@ -17,7 +15,7 @@ //= 0 - Display the current rankings. //= 1 - Display last week's rankings. //= Note : Remember to put a close; after calling it. -//===== Comments ============================================ +//===== Additional Comments: ================================= //= 1.0 - Initial beta release [Lance] //= 1.1 - Fixed typos. Optimized a teeny bit. [Lance] //= 1.2 - Bug fixes. [Lance] @@ -32,7 +30,7 @@ //= 2.2 - Minor updates and added Jury [Lance] //= 2.3 - Utilizing eAthena's new scripting engine [Lance] //= 2.4 - Minor bug fix with event script label (bugport:722) [Samura22] -//=========================================================== +//============================================================ prontera,0,0,0 script OnPCLoginEvent -1,{ OnPCLoginEvent: @@ -298,5 +296,4 @@ L_QUIT: mes "[Jury]"; mes "Have a nice day then."; close; - } diff --git a/npc/custom/Lance/FR_MailSystem.c b/npc/custom/Lance/FR_MailSystem.txt index 26f9d90b1..e6b931167 100644 --- a/npc/custom/Lance/FR_MailSystem.c +++ b/npc/custom/Lance/FR_MailSystem.txt @@ -1,35 +1,17 @@ -//(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=) -//( (c)2005 RagMods Modification Team presents ) -//( ______ __ __ ) -//( /\ _ \/\ \__/\ \ v 1.00.00 ) -//( __\ \ \_\ \ \ ,_\ \ \___ __ ___ __ ) -//( /'__`\ \ __ \ \ \/\ \ _ `\ /'__`\/' _ `\ /'__`\ ) -//( /\ __/\ \ \/\ \ \ \_\ \ \ \ \/\ __//\ \/\ \/\ \_\.\_ ) -//( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ ) -//( \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ ) -//( ) -//( -- [s] [c] [r] [i] [p] [t] [s] -- ) -//( _ _ _ _ _ _ _ _ _ _ _ _ _ ) -//( / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ ) -//( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) ) -//( \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ ) -//( ) -//( Advanced Fusion Maps (c) 2003-2005 The Fusion Project ) -//(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=) -//===== eAthena Script ====================================== -//= Mail System (using built in mail function) -//=========================================================== -//===== By ================================================== -//= [Lance] -//===== Version ============================================= +//===== rAthena Script ======================================= +//= Custom Mail System +//===== By: ================================================== +//= Lance +//===== Current Version: ===================================== //= 1.0 -//===== Compatible With ===================================== -//= Any flavours of Athena SQL -//===== Description ========================================= +//===== Compatible With: ===================================== +//= rAthena SVN; prior to new Mail System +//===== Description: ========================================= //= Allows players to send and receive mails without GM lvl. -//===== Comments ============================================ +//===== Additional Comments: ================================= //= 1.0 - Initial release [Lance] -//=========================================================== +//============================================================ + prontera,143,171,3 script Messenger 738,1,1,{ mes "[Messenger Deviruchi]"; mes "Hiya! I'm the fastest messenger in Rune Midgard!"; @@ -106,7 +88,6 @@ DELMAIL: atcommand strcharinfo(0) + ":@deletemail " + @msgnum; mes "[Messenger Deviruchi]"; mes "All done!"; - emotion e_no1; menu "Delete another mail", DELMAIL, "Back", MENUSYS; close; @@ -115,4 +96,4 @@ OnTouch: npctalk "Relax.. I'm no bad guy.."; emotion e_heh; end; -}
\ No newline at end of file +} diff --git a/npc/custom/Lance/FR_WeatherController.c b/npc/custom/Lance/FR_WeatherController.c deleted file mode 100644 index 506f6d41f..000000000 --- a/npc/custom/Lance/FR_WeatherController.c +++ /dev/null @@ -1,403 +0,0 @@ -- script dayNight -1,{ - end; - -OnInit: - if(gettime(3) > 7 && gettime(3) < 19) { - goto L_Day; - } else { - goto L_Night; - } - -L_Day: - day; - callfunc "RcloudFlag"; - end; - -L_Night: - night; - callfunc "cloudFlag"; - end; - -OnClock1900: - goto L_Night; - -OnClock0700: - goto L_Day; -} - -function script cloudFlag { -setmapflag "alb2trea",mf_clouds; -setmapflag "alberta",mf_clouds; -setmapflag "aldebaran",mf_clouds; -setmapflag "gef_fild00",mf_clouds; -setmapflag "gef_fild01",mf_clouds; -setmapflag "gef_fild02",mf_clouds; -setmapflag "gef_fild03",mf_clouds; -setmapflag "gef_fild04",mf_clouds; -setmapflag "gef_fild05",mf_clouds; -setmapflag "gef_fild06",mf_clouds; -setmapflag "gef_fild07",mf_clouds; -setmapflag "gef_fild08",mf_clouds; -setmapflag "gef_fild09",mf_clouds; -setmapflag "gef_fild10",mf_clouds; -setmapflag "gef_fild11",mf_clouds; -setmapflag "geffen",mf_clouds; -setmapflag "gl_church",mf_clouds; -setmapflag "gl_chyard",mf_clouds; -setmapflag "gl_knt01",mf_clouds; -setmapflag "gl_knt02",mf_clouds; -setmapflag "gl_step",mf_clouds; -setmapflag "glast_01",mf_clouds; -//setmapflag "hunter_1-1",mf_clouds; -//setmapflag "hunter_2-1",mf_clouds; -//setmapflag "hunter_3-1",mf_clouds; -setmapflag "izlude",mf_clouds; -setmapflag "job_thief1",mf_clouds; -//setmapflag "knight_1-1",mf_clouds; -//setmapflag "knight_2-1",mf_clouds; -//setmapflag "knight_3-1",mf_clouds; -setmapflag "mjolnir_01",mf_clouds; -setmapflag "mjolnir_02",mf_clouds; -setmapflag "mjolnir_03",mf_clouds; -setmapflag "mjolnir_04",mf_clouds; -setmapflag "mjolnir_05",mf_clouds; -setmapflag "mjolnir_06",mf_clouds; -setmapflag "mjolnir_07",mf_clouds; -setmapflag "mjolnir_08",mf_clouds; -setmapflag "mjolnir_09",mf_clouds; -setmapflag "mjolnir_10",mf_clouds; -setmapflag "mjolnir_11",mf_clouds; -setmapflag "mjolnir_12",mf_clouds; -setmapflag "moc_fild01",mf_clouds; -setmapflag "moc_fild02",mf_clouds; -setmapflag "moc_fild03",mf_clouds; -setmapflag "moc_fild04",mf_clouds; -setmapflag "moc_fild05",mf_clouds; -setmapflag "moc_fild06",mf_clouds; -setmapflag "moc_fild07",mf_clouds; -setmapflag "moc_fild08",mf_clouds; -setmapflag "moc_fild09",mf_clouds; -setmapflag "moc_fild10",mf_clouds; -setmapflag "moc_fild11",mf_clouds; -setmapflag "moc_fild12",mf_clouds; -setmapflag "moc_fild13",mf_clouds; -setmapflag "moc_fild14",mf_clouds; -setmapflag "moc_fild15",mf_clouds; -setmapflag "moc_fild16",mf_clouds; -setmapflag "moc_fild17",mf_clouds; -setmapflag "moc_fild18",mf_clouds; -setmapflag "moc_fild19",mf_clouds; -setmapflag "moc_pryd01",mf_clouds; -setmapflag "moc_pryd02",mf_clouds; -setmapflag "moc_pryd03",mf_clouds; -setmapflag "moc_pryd04",mf_clouds; -setmapflag "moc_pryd05",mf_clouds; -setmapflag "moc_pryd06",mf_clouds; -setmapflag "moc_prydb1",mf_clouds; -setmapflag "moc_ruins",mf_clouds; -setmapflag "morocc",mf_clouds; -//setmapflag "new_1-1",mf_clouds; -//setmapflag "new_1-2",mf_clouds; -//setmapflag "new_1-3",mf_clouds; -//setmapflag "new_1-4",mf_clouds; -setmapflag "pay_arche",mf_clouds; -setmapflag "pay_fild01",mf_clouds; -setmapflag "pay_fild02",mf_clouds; -setmapflag "pay_fild03",mf_clouds; -setmapflag "pay_fild04",mf_clouds; -setmapflag "pay_fild05",mf_clouds; -setmapflag "pay_fild06",mf_clouds; -setmapflag "pay_fild07",mf_clouds; -setmapflag "pay_fild08",mf_clouds; -setmapflag "pay_fild09",mf_clouds; -setmapflag "pay_fild10",mf_clouds; -setmapflag "pay_fild11",mf_clouds; -//setmapflag "priest_1-1",mf_clouds; -//setmapflag "priest_2-1",mf_clouds; -//setmapflag "priest_3-1",mf_clouds; -setmapflag "prontera",mf_clouds; -setmapflag "prt_are01",mf_clouds; -setmapflag "prt_fild00",mf_clouds; -setmapflag "prt_fild01",mf_clouds; -setmapflag "prt_fild02",mf_clouds; -setmapflag "prt_fild03",mf_clouds; -setmapflag "prt_fild04",mf_clouds; -setmapflag "prt_fild05",mf_clouds; -setmapflag "prt_fild06",mf_clouds; -setmapflag "prt_fild07",mf_clouds; -setmapflag "prt_fild08",mf_clouds; -setmapflag "prt_fild09",mf_clouds; -setmapflag "prt_fild10",mf_clouds; -setmapflag "prt_fild11",mf_clouds; -setmapflag "prt_maze01",mf_clouds; -setmapflag "prt_maze02",mf_clouds; -setmapflag "prt_maze03",mf_clouds; -setmapflag "prt_monk",mf_clouds; -setmapflag "cmd_fild01",mf_clouds; -setmapflag "cmd_fild02",mf_clouds; -setmapflag "cmd_fild03",mf_clouds; -setmapflag "cmd_fild04",mf_clouds; -setmapflag "cmd_fild05",mf_clouds; -setmapflag "cmd_fild06",mf_clouds; -setmapflag "cmd_fild07",mf_clouds; -setmapflag "cmd_fild08",mf_clouds; -setmapflag "cmd_fild09",mf_clouds; -setmapflag "cmd_in01",mf_clouds; -setmapflag "cmd_in02",mf_clouds; -setmapflag "gef_fild12",mf_clouds; -setmapflag "gef_fild13",mf_clouds; -setmapflag "gef_fild14",mf_clouds; -setmapflag "alde_gld",mf_clouds; -setmapflag "pay_gld",mf_clouds; -setmapflag "prt_gld",mf_clouds; -setmapflag "alde_alche",mf_clouds; -setmapflag "yuno",mf_clouds; -setmapflag "yuno_fild01",mf_clouds; -setmapflag "yuno_fild02",mf_clouds; -setmapflag "yuno_fild03",mf_clouds; -setmapflag "yuno_fild04",mf_clouds; -setmapflag "ama_fild01",mf_clouds; -setmapflag "ama_test",mf_clouds; -setmapflag "amatsu",mf_clouds; -setmapflag "gon_fild01",mf_clouds; -setmapflag "gon_test",mf_clouds; -setmapflag "gonryun",mf_clouds; -setmapflag "umbala",mf_clouds; -setmapflag "um_fild01",mf_clouds; -setmapflag "um_fild02",mf_clouds; -setmapflag "um_fild03",mf_clouds; -setmapflag "um_fild04",mf_clouds; -setmapflag "niflheim",mf_clouds; -setmapflag "nif_fild01",mf_clouds; -setmapflag "nif_fild02",mf_clouds; -setmapflag "nif_in",mf_clouds; -setmapflag "yggdrasil01",mf_clouds; -setmapflag "valkyrie",mf_clouds; -setmapflag "lou_fild01",mf_clouds; -setmapflag "louyang",mf_clouds; -setmapflag "nguild_gef",mf_clouds; -setmapflag "nguild_prt",mf_clouds; -setmapflag "nguild_pay",mf_clouds; -setmapflag "nguild_alde",mf_clouds; -setmapflag "jawaii",mf_clouds; -setmapflag "jawaii_in",mf_clouds; -setmapflag "gefenia01",mf_clouds; -setmapflag "gefenia02",mf_clouds; -setmapflag "gefenia03",mf_clouds; -setmapflag "gefenia04",mf_clouds; -setmapflag "payon",mf_clouds; -setmapflag "ayothaya",mf_clouds; -setmapflag "ayo_in01",mf_clouds; -setmapflag "ayo_in02",mf_clouds; -setmapflag "ayo_fild01",mf_clouds; -setmapflag "ayo_fild02",mf_clouds; -setmapflag "que_god01",mf_clouds; -setmapflag "que_god02",mf_clouds; -setmapflag "yuno_fild05",mf_clouds; -setmapflag "yuno_fild07",mf_clouds; -setmapflag "yuno_fild08",mf_clouds; -setmapflag "yuno_fild09",mf_clouds; -setmapflag "yuno_fild11",mf_clouds; -setmapflag "yuno_fild12",mf_clouds; -setmapflag "alde_tt02",mf_clouds; -setmapflag "einbech",mf_clouds; -setmapflag "einbroch",mf_clouds; -setmapflag "ein_fild06",mf_clouds; -setmapflag "ein_fild07",mf_clouds; -setmapflag "ein_fild08",mf_clouds; -setmapflag "ein_fild09",mf_clouds; -setmapflag "ein_fild10",mf_clouds; -setmapflag "que_sign01",mf_clouds; -setmapflag "ein_fild03",mf_clouds; -setmapflag "ein_fild04",mf_clouds; -setmapflag "lhz_fild02",mf_clouds; -setmapflag "lhz_fild03",mf_clouds; -return; -} - -function script RcloudFlag { -removemapflag "alb2trea",mf_clouds; -removemapflag "alberta",mf_clouds; -removemapflag "aldebaran",mf_clouds; -removemapflag "gef_fild00",mf_clouds; -removemapflag "gef_fild01",mf_clouds; -removemapflag "gef_fild02",mf_clouds; -removemapflag "gef_fild03",mf_clouds; -removemapflag "gef_fild04",mf_clouds; -removemapflag "gef_fild05",mf_clouds; -removemapflag "gef_fild06",mf_clouds; -removemapflag "gef_fild07",mf_clouds; -removemapflag "gef_fild08",mf_clouds; -removemapflag "gef_fild09",mf_clouds; -removemapflag "gef_fild10",mf_clouds; -removemapflag "gef_fild11",mf_clouds; -removemapflag "geffen",mf_clouds; -removemapflag "gl_church",mf_clouds; -removemapflag "gl_chyard",mf_clouds; -removemapflag "gl_knt01",mf_clouds; -removemapflag "gl_knt02",mf_clouds; -removemapflag "gl_step",mf_clouds; -removemapflag "glast_01",mf_clouds; -removemapflag "hunter_1-1",mf_clouds; -removemapflag "hunter_2-1",mf_clouds; -removemapflag "hunter_3-1",mf_clouds; -removemapflag "izlude",mf_clouds; -removemapflag "mjolnir_01",mf_clouds; -removemapflag "mjolnir_02",mf_clouds; -removemapflag "mjolnir_03",mf_clouds; -removemapflag "mjolnir_04",mf_clouds; -removemapflag "mjolnir_05",mf_clouds; -removemapflag "mjolnir_06",mf_clouds; -removemapflag "mjolnir_07",mf_clouds; -removemapflag "mjolnir_08",mf_clouds; -removemapflag "mjolnir_09",mf_clouds; -removemapflag "mjolnir_10",mf_clouds; -removemapflag "mjolnir_11",mf_clouds; -removemapflag "mjolnir_12",mf_clouds; -removemapflag "moc_fild01",mf_clouds; -removemapflag "moc_fild02",mf_clouds; -removemapflag "moc_fild03",mf_clouds; -removemapflag "moc_fild04",mf_clouds; -removemapflag "moc_fild05",mf_clouds; -removemapflag "moc_fild06",mf_clouds; -removemapflag "moc_fild07",mf_clouds; -removemapflag "moc_fild08",mf_clouds; -removemapflag "moc_fild09",mf_clouds; -removemapflag "moc_fild10",mf_clouds; -removemapflag "moc_fild11",mf_clouds; -removemapflag "moc_fild12",mf_clouds; -removemapflag "moc_fild13",mf_clouds; -removemapflag "moc_fild14",mf_clouds; -removemapflag "moc_fild15",mf_clouds; -removemapflag "moc_fild16",mf_clouds; -removemapflag "moc_fild17",mf_clouds; -removemapflag "moc_fild18",mf_clouds; -removemapflag "moc_fild19",mf_clouds; -removemapflag "moc_pryd01",mf_clouds; -removemapflag "moc_pryd02",mf_clouds; -removemapflag "moc_pryd03",mf_clouds; -removemapflag "moc_pryd04",mf_clouds; -removemapflag "moc_pryd05",mf_clouds; -removemapflag "moc_pryd06",mf_clouds; -removemapflag "moc_prydb1",mf_clouds; -removemapflag "moc_ruins",mf_clouds; -removemapflag "morocc",mf_clouds; -removemapflag "new_1-1",mf_clouds; -removemapflag "new_1-2",mf_clouds; -removemapflag "new_1-3",mf_clouds; -removemapflag "new_1-4",mf_clouds; -removemapflag "pay_arche",mf_clouds; -removemapflag "pay_fild01",mf_clouds; -removemapflag "pay_fild02",mf_clouds; -removemapflag "pay_fild03",mf_clouds; -removemapflag "pay_fild04",mf_clouds; -removemapflag "pay_fild05",mf_clouds; -removemapflag "pay_fild06",mf_clouds; -removemapflag "pay_fild07",mf_clouds; -removemapflag "pay_fild08",mf_clouds; -removemapflag "pay_fild09",mf_clouds; -removemapflag "pay_fild10",mf_clouds; -removemapflag "pay_fild11",mf_clouds; -removemapflag "priest_1-1",mf_clouds; -removemapflag "priest_2-1",mf_clouds; -removemapflag "priest_3-1",mf_clouds; -removemapflag "prontera",mf_clouds; -removemapflag "prt_are01",mf_clouds; -removemapflag "prt_fild00",mf_clouds; -removemapflag "prt_fild01",mf_clouds; -removemapflag "prt_fild02",mf_clouds; -removemapflag "prt_fild03",mf_clouds; -removemapflag "prt_fild04",mf_clouds; -removemapflag "prt_fild05",mf_clouds; -removemapflag "prt_fild06",mf_clouds; -removemapflag "prt_fild07",mf_clouds; -removemapflag "prt_fild08",mf_clouds; -removemapflag "prt_fild09",mf_clouds; -removemapflag "prt_fild10",mf_clouds; -removemapflag "prt_fild11",mf_clouds; -removemapflag "prt_maze01",mf_clouds; -removemapflag "prt_maze02",mf_clouds; -removemapflag "prt_maze03",mf_clouds; -removemapflag "prt_monk",mf_clouds; -removemapflag "cmd_fild01",mf_clouds; -removemapflag "cmd_fild02",mf_clouds; -removemapflag "cmd_fild03",mf_clouds; -removemapflag "cmd_fild04",mf_clouds; -removemapflag "cmd_fild05",mf_clouds; -removemapflag "cmd_fild06",mf_clouds; -removemapflag "cmd_fild07",mf_clouds; -removemapflag "cmd_fild08",mf_clouds; -removemapflag "cmd_fild09",mf_clouds; -removemapflag "gef_fild12",mf_clouds; -removemapflag "gef_fild13",mf_clouds; -removemapflag "gef_fild14",mf_clouds; -removemapflag "alde_gld",mf_clouds; -removemapflag "pay_gld",mf_clouds; -removemapflag "prt_gld",mf_clouds; -removemapflag "alde_alche",mf_clouds; -removemapflag "yuno",mf_clouds; -removemapflag "yuno_fild01",mf_clouds; -removemapflag "yuno_fild02",mf_clouds; -removemapflag "yuno_fild03",mf_clouds; -removemapflag "yuno_fild04",mf_clouds; -removemapflag "ama_fild01",mf_clouds; -removemapflag "ama_test",mf_clouds; -removemapflag "amatsu",mf_clouds; -removemapflag "gon_fild01",mf_clouds; -removemapflag "gon_in",mf_clouds; -removemapflag "gon_test",mf_clouds; -removemapflag "gonryun",mf_clouds; -removemapflag "umbala",mf_clouds; -removemapflag "um_fild01",mf_clouds; -removemapflag "um_fild02",mf_clouds; -removemapflag "um_fild03",mf_clouds; -removemapflag "um_fild04",mf_clouds; -removemapflag "niflheim",mf_clouds; -removemapflag "nif_fild01",mf_clouds; -removemapflag "nif_fild02",mf_clouds; -removemapflag "nif_in",mf_clouds; -removemapflag "yggdrasil01",mf_clouds; -removemapflag "valkyrie",mf_clouds; -removemapflag "lou_fild01",mf_clouds; -removemapflag "louyang",mf_clouds; -removemapflag "nguild_gef",mf_clouds; -removemapflag "nguild_prt",mf_clouds; -removemapflag "nguild_pay",mf_clouds; -removemapflag "nguild_alde",mf_clouds; -removemapflag "jawaii",mf_clouds; -removemapflag "jawaii_in",mf_clouds; -removemapflag "gefenia01",mf_clouds; -removemapflag "gefenia02",mf_clouds; -removemapflag "gefenia03",mf_clouds; -removemapflag "gefenia04",mf_clouds; -removemapflag "payon",mf_clouds; -removemapflag "ayothaya",mf_clouds; -removemapflag "ayo_in01",mf_clouds; -removemapflag "ayo_in02",mf_clouds; -removemapflag "ayo_fild01",mf_clouds; -removemapflag "ayo_fild02",mf_clouds; -removemapflag "que_god01",mf_clouds; -removemapflag "que_god02",mf_clouds; -removemapflag "yuno_fild05",mf_clouds; -removemapflag "yuno_fild07",mf_clouds; -removemapflag "yuno_fild08",mf_clouds; -removemapflag "yuno_fild09",mf_clouds; -removemapflag "yuno_fild11",mf_clouds; -removemapflag "yuno_fild12",mf_clouds; -removemapflag "alde_tt02",mf_clouds; -removemapflag "einbech",mf_clouds; -removemapflag "einbroch",mf_clouds; -removemapflag "ein_fild06",mf_clouds; -removemapflag "ein_fild07",mf_clouds; -removemapflag "ein_fild08",mf_clouds; -removemapflag "ein_fild09",mf_clouds; -removemapflag "ein_fild10",mf_clouds; -removemapflag "que_sign01",mf_clouds; -removemapflag "ein_fild03",mf_clouds; -removemapflag "ein_fild04",mf_clouds; -removemapflag "lhz_fild02",mf_clouds; -removemapflag "lhz_fild03",mf_clouds; -return; -} - - diff --git a/npc/custom/Lance/FR_WeatherController.txt b/npc/custom/Lance/FR_WeatherController.txt new file mode 100644 index 000000000..b71a3062b --- /dev/null +++ b/npc/custom/Lance/FR_WeatherController.txt @@ -0,0 +1,415 @@ +//===== rAthena Script ======================================= +//= Weather Controller +//===== By: ================================================== +//= Lance +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= controls the weather +//===== Additional Comments: ================================= +//= +//============================================================ + +- script dayNight -1,{ + end; + +OnInit: + if(gettime(3) > 7 && gettime(3) < 19) { + goto L_Day; + } else { + goto L_Night; + } + +L_Day: + day; + callfunc "RcloudFlag"; + end; + +L_Night: + night; + callfunc "cloudFlag"; + end; + +OnClock1900: + goto L_Night; + +OnClock0700: + goto L_Day; +} + +function script cloudFlag { + setmapflag "alb2trea",mf_clouds; + setmapflag "alberta",mf_clouds; + setmapflag "aldebaran",mf_clouds; + setmapflag "gef_fild00",mf_clouds; + setmapflag "gef_fild01",mf_clouds; + setmapflag "gef_fild02",mf_clouds; + setmapflag "gef_fild03",mf_clouds; + setmapflag "gef_fild04",mf_clouds; + setmapflag "gef_fild05",mf_clouds; + setmapflag "gef_fild06",mf_clouds; + setmapflag "gef_fild07",mf_clouds; + setmapflag "gef_fild08",mf_clouds; + setmapflag "gef_fild09",mf_clouds; + setmapflag "gef_fild10",mf_clouds; + setmapflag "gef_fild11",mf_clouds; + setmapflag "geffen",mf_clouds; + setmapflag "gl_church",mf_clouds; + setmapflag "gl_chyard",mf_clouds; + setmapflag "gl_knt01",mf_clouds; + setmapflag "gl_knt02",mf_clouds; + setmapflag "gl_step",mf_clouds; + setmapflag "glast_01",mf_clouds; + //setmapflag "hunter_1-1",mf_clouds; + //setmapflag "hunter_2-1",mf_clouds; + //setmapflag "hunter_3-1",mf_clouds; + setmapflag "izlude",mf_clouds; + setmapflag "job_thief1",mf_clouds; + //setmapflag "knight_1-1",mf_clouds; + //setmapflag "knight_2-1",mf_clouds; + //setmapflag "knight_3-1",mf_clouds; + setmapflag "mjolnir_01",mf_clouds; + setmapflag "mjolnir_02",mf_clouds; + setmapflag "mjolnir_03",mf_clouds; + setmapflag "mjolnir_04",mf_clouds; + setmapflag "mjolnir_05",mf_clouds; + setmapflag "mjolnir_06",mf_clouds; + setmapflag "mjolnir_07",mf_clouds; + setmapflag "mjolnir_08",mf_clouds; + setmapflag "mjolnir_09",mf_clouds; + setmapflag "mjolnir_10",mf_clouds; + setmapflag "mjolnir_11",mf_clouds; + setmapflag "mjolnir_12",mf_clouds; + setmapflag "moc_fild01",mf_clouds; + setmapflag "moc_fild02",mf_clouds; + setmapflag "moc_fild03",mf_clouds; + setmapflag "moc_fild04",mf_clouds; + setmapflag "moc_fild05",mf_clouds; + setmapflag "moc_fild06",mf_clouds; + setmapflag "moc_fild07",mf_clouds; + setmapflag "moc_fild08",mf_clouds; + setmapflag "moc_fild09",mf_clouds; + setmapflag "moc_fild10",mf_clouds; + setmapflag "moc_fild11",mf_clouds; + setmapflag "moc_fild12",mf_clouds; + setmapflag "moc_fild13",mf_clouds; + setmapflag "moc_fild14",mf_clouds; + setmapflag "moc_fild15",mf_clouds; + setmapflag "moc_fild16",mf_clouds; + setmapflag "moc_fild17",mf_clouds; + setmapflag "moc_fild18",mf_clouds; + setmapflag "moc_fild19",mf_clouds; + setmapflag "moc_pryd01",mf_clouds; + setmapflag "moc_pryd02",mf_clouds; + setmapflag "moc_pryd03",mf_clouds; + setmapflag "moc_pryd04",mf_clouds; + setmapflag "moc_pryd05",mf_clouds; + setmapflag "moc_pryd06",mf_clouds; + setmapflag "moc_prydb1",mf_clouds; + setmapflag "moc_ruins",mf_clouds; + setmapflag "morocc",mf_clouds; + //setmapflag "new_1-1",mf_clouds; + //setmapflag "new_1-2",mf_clouds; + //setmapflag "new_1-3",mf_clouds; + //setmapflag "new_1-4",mf_clouds; + setmapflag "pay_arche",mf_clouds; + setmapflag "pay_fild01",mf_clouds; + setmapflag "pay_fild02",mf_clouds; + setmapflag "pay_fild03",mf_clouds; + setmapflag "pay_fild04",mf_clouds; + setmapflag "pay_fild05",mf_clouds; + setmapflag "pay_fild06",mf_clouds; + setmapflag "pay_fild07",mf_clouds; + setmapflag "pay_fild08",mf_clouds; + setmapflag "pay_fild09",mf_clouds; + setmapflag "pay_fild10",mf_clouds; + setmapflag "pay_fild11",mf_clouds; + //setmapflag "priest_1-1",mf_clouds; + //setmapflag "priest_2-1",mf_clouds; + //setmapflag "priest_3-1",mf_clouds; + setmapflag "prontera",mf_clouds; + setmapflag "prt_are01",mf_clouds; + setmapflag "prt_fild00",mf_clouds; + setmapflag "prt_fild01",mf_clouds; + setmapflag "prt_fild02",mf_clouds; + setmapflag "prt_fild03",mf_clouds; + setmapflag "prt_fild04",mf_clouds; + setmapflag "prt_fild05",mf_clouds; + setmapflag "prt_fild06",mf_clouds; + setmapflag "prt_fild07",mf_clouds; + setmapflag "prt_fild08",mf_clouds; + setmapflag "prt_fild09",mf_clouds; + setmapflag "prt_fild10",mf_clouds; + setmapflag "prt_fild11",mf_clouds; + setmapflag "prt_maze01",mf_clouds; + setmapflag "prt_maze02",mf_clouds; + setmapflag "prt_maze03",mf_clouds; + setmapflag "prt_monk",mf_clouds; + setmapflag "cmd_fild01",mf_clouds; + setmapflag "cmd_fild02",mf_clouds; + setmapflag "cmd_fild03",mf_clouds; + setmapflag "cmd_fild04",mf_clouds; + setmapflag "cmd_fild05",mf_clouds; + setmapflag "cmd_fild06",mf_clouds; + setmapflag "cmd_fild07",mf_clouds; + setmapflag "cmd_fild08",mf_clouds; + setmapflag "cmd_fild09",mf_clouds; + setmapflag "cmd_in01",mf_clouds; + setmapflag "cmd_in02",mf_clouds; + setmapflag "gef_fild12",mf_clouds; + setmapflag "gef_fild13",mf_clouds; + setmapflag "gef_fild14",mf_clouds; + setmapflag "alde_gld",mf_clouds; + setmapflag "pay_gld",mf_clouds; + setmapflag "prt_gld",mf_clouds; + setmapflag "alde_alche",mf_clouds; + setmapflag "yuno",mf_clouds; + setmapflag "yuno_fild01",mf_clouds; + setmapflag "yuno_fild02",mf_clouds; + setmapflag "yuno_fild03",mf_clouds; + setmapflag "yuno_fild04",mf_clouds; + setmapflag "ama_fild01",mf_clouds; + setmapflag "ama_test",mf_clouds; + setmapflag "amatsu",mf_clouds; + setmapflag "gon_fild01",mf_clouds; + setmapflag "gon_test",mf_clouds; + setmapflag "gonryun",mf_clouds; + setmapflag "umbala",mf_clouds; + setmapflag "um_fild01",mf_clouds; + setmapflag "um_fild02",mf_clouds; + setmapflag "um_fild03",mf_clouds; + setmapflag "um_fild04",mf_clouds; + setmapflag "niflheim",mf_clouds; + setmapflag "nif_fild01",mf_clouds; + setmapflag "nif_fild02",mf_clouds; + setmapflag "nif_in",mf_clouds; + setmapflag "yggdrasil01",mf_clouds; + setmapflag "valkyrie",mf_clouds; + setmapflag "lou_fild01",mf_clouds; + setmapflag "louyang",mf_clouds; + setmapflag "nguild_gef",mf_clouds; + setmapflag "nguild_prt",mf_clouds; + setmapflag "nguild_pay",mf_clouds; + setmapflag "nguild_alde",mf_clouds; + setmapflag "jawaii",mf_clouds; + setmapflag "jawaii_in",mf_clouds; + setmapflag "gefenia01",mf_clouds; + setmapflag "gefenia02",mf_clouds; + setmapflag "gefenia03",mf_clouds; + setmapflag "gefenia04",mf_clouds; + setmapflag "payon",mf_clouds; + setmapflag "ayothaya",mf_clouds; + setmapflag "ayo_in01",mf_clouds; + setmapflag "ayo_in02",mf_clouds; + setmapflag "ayo_fild01",mf_clouds; + setmapflag "ayo_fild02",mf_clouds; + setmapflag "que_god01",mf_clouds; + setmapflag "que_god02",mf_clouds; + setmapflag "yuno_fild05",mf_clouds; + setmapflag "yuno_fild07",mf_clouds; + setmapflag "yuno_fild08",mf_clouds; + setmapflag "yuno_fild09",mf_clouds; + setmapflag "yuno_fild11",mf_clouds; + setmapflag "yuno_fild12",mf_clouds; + setmapflag "alde_tt02",mf_clouds; + setmapflag "einbech",mf_clouds; + setmapflag "einbroch",mf_clouds; + setmapflag "ein_fild06",mf_clouds; + setmapflag "ein_fild07",mf_clouds; + setmapflag "ein_fild08",mf_clouds; + setmapflag "ein_fild09",mf_clouds; + setmapflag "ein_fild10",mf_clouds; + setmapflag "que_sign01",mf_clouds; + setmapflag "ein_fild03",mf_clouds; + setmapflag "ein_fild04",mf_clouds; + setmapflag "lhz_fild02",mf_clouds; + setmapflag "lhz_fild03",mf_clouds; + return; +} + +function script RcloudFlag { + removemapflag "alb2trea",mf_clouds; + removemapflag "alberta",mf_clouds; + removemapflag "aldebaran",mf_clouds; + removemapflag "gef_fild00",mf_clouds; + removemapflag "gef_fild01",mf_clouds; + removemapflag "gef_fild02",mf_clouds; + removemapflag "gef_fild03",mf_clouds; + removemapflag "gef_fild04",mf_clouds; + removemapflag "gef_fild05",mf_clouds; + removemapflag "gef_fild06",mf_clouds; + removemapflag "gef_fild07",mf_clouds; + removemapflag "gef_fild08",mf_clouds; + removemapflag "gef_fild09",mf_clouds; + removemapflag "gef_fild10",mf_clouds; + removemapflag "gef_fild11",mf_clouds; + removemapflag "geffen",mf_clouds; + removemapflag "gl_church",mf_clouds; + removemapflag "gl_chyard",mf_clouds; + removemapflag "gl_knt01",mf_clouds; + removemapflag "gl_knt02",mf_clouds; + removemapflag "gl_step",mf_clouds; + removemapflag "glast_01",mf_clouds; + removemapflag "hunter_1-1",mf_clouds; + removemapflag "hunter_2-1",mf_clouds; + removemapflag "hunter_3-1",mf_clouds; + removemapflag "izlude",mf_clouds; + removemapflag "mjolnir_01",mf_clouds; + removemapflag "mjolnir_02",mf_clouds; + removemapflag "mjolnir_03",mf_clouds; + removemapflag "mjolnir_04",mf_clouds; + removemapflag "mjolnir_05",mf_clouds; + removemapflag "mjolnir_06",mf_clouds; + removemapflag "mjolnir_07",mf_clouds; + removemapflag "mjolnir_08",mf_clouds; + removemapflag "mjolnir_09",mf_clouds; + removemapflag "mjolnir_10",mf_clouds; + removemapflag "mjolnir_11",mf_clouds; + removemapflag "mjolnir_12",mf_clouds; + removemapflag "moc_fild01",mf_clouds; + removemapflag "moc_fild02",mf_clouds; + removemapflag "moc_fild03",mf_clouds; + removemapflag "moc_fild04",mf_clouds; + removemapflag "moc_fild05",mf_clouds; + removemapflag "moc_fild06",mf_clouds; + removemapflag "moc_fild07",mf_clouds; + removemapflag "moc_fild08",mf_clouds; + removemapflag "moc_fild09",mf_clouds; + removemapflag "moc_fild10",mf_clouds; + removemapflag "moc_fild11",mf_clouds; + removemapflag "moc_fild12",mf_clouds; + removemapflag "moc_fild13",mf_clouds; + removemapflag "moc_fild14",mf_clouds; + removemapflag "moc_fild15",mf_clouds; + removemapflag "moc_fild16",mf_clouds; + removemapflag "moc_fild17",mf_clouds; + removemapflag "moc_fild18",mf_clouds; + removemapflag "moc_fild19",mf_clouds; + removemapflag "moc_pryd01",mf_clouds; + removemapflag "moc_pryd02",mf_clouds; + removemapflag "moc_pryd03",mf_clouds; + removemapflag "moc_pryd04",mf_clouds; + removemapflag "moc_pryd05",mf_clouds; + removemapflag "moc_pryd06",mf_clouds; + removemapflag "moc_prydb1",mf_clouds; + removemapflag "moc_ruins",mf_clouds; + removemapflag "morocc",mf_clouds; + removemapflag "new_1-1",mf_clouds; + removemapflag "new_1-2",mf_clouds; + removemapflag "new_1-3",mf_clouds; + removemapflag "new_1-4",mf_clouds; + removemapflag "pay_arche",mf_clouds; + removemapflag "pay_fild01",mf_clouds; + removemapflag "pay_fild02",mf_clouds; + removemapflag "pay_fild03",mf_clouds; + removemapflag "pay_fild04",mf_clouds; + removemapflag "pay_fild05",mf_clouds; + removemapflag "pay_fild06",mf_clouds; + removemapflag "pay_fild07",mf_clouds; + removemapflag "pay_fild08",mf_clouds; + removemapflag "pay_fild09",mf_clouds; + removemapflag "pay_fild10",mf_clouds; + removemapflag "pay_fild11",mf_clouds; + removemapflag "priest_1-1",mf_clouds; + removemapflag "priest_2-1",mf_clouds; + removemapflag "priest_3-1",mf_clouds; + removemapflag "prontera",mf_clouds; + removemapflag "prt_are01",mf_clouds; + removemapflag "prt_fild00",mf_clouds; + removemapflag "prt_fild01",mf_clouds; + removemapflag "prt_fild02",mf_clouds; + removemapflag "prt_fild03",mf_clouds; + removemapflag "prt_fild04",mf_clouds; + removemapflag "prt_fild05",mf_clouds; + removemapflag "prt_fild06",mf_clouds; + removemapflag "prt_fild07",mf_clouds; + removemapflag "prt_fild08",mf_clouds; + removemapflag "prt_fild09",mf_clouds; + removemapflag "prt_fild10",mf_clouds; + removemapflag "prt_fild11",mf_clouds; + removemapflag "prt_maze01",mf_clouds; + removemapflag "prt_maze02",mf_clouds; + removemapflag "prt_maze03",mf_clouds; + removemapflag "prt_monk",mf_clouds; + removemapflag "cmd_fild01",mf_clouds; + removemapflag "cmd_fild02",mf_clouds; + removemapflag "cmd_fild03",mf_clouds; + removemapflag "cmd_fild04",mf_clouds; + removemapflag "cmd_fild05",mf_clouds; + removemapflag "cmd_fild06",mf_clouds; + removemapflag "cmd_fild07",mf_clouds; + removemapflag "cmd_fild08",mf_clouds; + removemapflag "cmd_fild09",mf_clouds; + removemapflag "gef_fild12",mf_clouds; + removemapflag "gef_fild13",mf_clouds; + removemapflag "gef_fild14",mf_clouds; + removemapflag "alde_gld",mf_clouds; + removemapflag "pay_gld",mf_clouds; + removemapflag "prt_gld",mf_clouds; + removemapflag "alde_alche",mf_clouds; + removemapflag "yuno",mf_clouds; + removemapflag "yuno_fild01",mf_clouds; + removemapflag "yuno_fild02",mf_clouds; + removemapflag "yuno_fild03",mf_clouds; + removemapflag "yuno_fild04",mf_clouds; + removemapflag "ama_fild01",mf_clouds; + removemapflag "ama_test",mf_clouds; + removemapflag "amatsu",mf_clouds; + removemapflag "gon_fild01",mf_clouds; + removemapflag "gon_in",mf_clouds; + removemapflag "gon_test",mf_clouds; + removemapflag "gonryun",mf_clouds; + removemapflag "umbala",mf_clouds; + removemapflag "um_fild01",mf_clouds; + removemapflag "um_fild02",mf_clouds; + removemapflag "um_fild03",mf_clouds; + removemapflag "um_fild04",mf_clouds; + removemapflag "niflheim",mf_clouds; + removemapflag "nif_fild01",mf_clouds; + removemapflag "nif_fild02",mf_clouds; + removemapflag "nif_in",mf_clouds; + removemapflag "yggdrasil01",mf_clouds; + removemapflag "valkyrie",mf_clouds; + removemapflag "lou_fild01",mf_clouds; + removemapflag "louyang",mf_clouds; + removemapflag "nguild_gef",mf_clouds; + removemapflag "nguild_prt",mf_clouds; + removemapflag "nguild_pay",mf_clouds; + removemapflag "nguild_alde",mf_clouds; + removemapflag "jawaii",mf_clouds; + removemapflag "jawaii_in",mf_clouds; + removemapflag "gefenia01",mf_clouds; + removemapflag "gefenia02",mf_clouds; + removemapflag "gefenia03",mf_clouds; + removemapflag "gefenia04",mf_clouds; + removemapflag "payon",mf_clouds; + removemapflag "ayothaya",mf_clouds; + removemapflag "ayo_in01",mf_clouds; + removemapflag "ayo_in02",mf_clouds; + removemapflag "ayo_fild01",mf_clouds; + removemapflag "ayo_fild02",mf_clouds; + removemapflag "que_god01",mf_clouds; + removemapflag "que_god02",mf_clouds; + removemapflag "yuno_fild05",mf_clouds; + removemapflag "yuno_fild07",mf_clouds; + removemapflag "yuno_fild08",mf_clouds; + removemapflag "yuno_fild09",mf_clouds; + removemapflag "yuno_fild11",mf_clouds; + removemapflag "yuno_fild12",mf_clouds; + removemapflag "alde_tt02",mf_clouds; + removemapflag "einbech",mf_clouds; + removemapflag "einbroch",mf_clouds; + removemapflag "ein_fild06",mf_clouds; + removemapflag "ein_fild07",mf_clouds; + removemapflag "ein_fild08",mf_clouds; + removemapflag "ein_fild09",mf_clouds; + removemapflag "ein_fild10",mf_clouds; + removemapflag "que_sign01",mf_clouds; + removemapflag "ein_fild03",mf_clouds; + removemapflag "ein_fild04",mf_clouds; + removemapflag "lhz_fild02",mf_clouds; + removemapflag "lhz_fild03",mf_clouds; + return; +} |