From 32169c383f2658192b6b8cb02d7f818a361dda03 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 20 Oct 2014 04:20:29 +0200 Subject: Removed use of 'checkquest' from scripts (common folder) Signed-off-by: Haru --- npc/battleground/tierra/tierra_enter.txt | 292 ++++++++++++++----------------- 1 file changed, 132 insertions(+), 160 deletions(-) (limited to 'npc/battleground/tierra/tierra_enter.txt') diff --git a/npc/battleground/tierra/tierra_enter.txt b/npc/battleground/tierra/tierra_enter.txt index e68058247..19ceb732e 100644 --- a/npc/battleground/tierra/tierra_enter.txt +++ b/npc/battleground/tierra/tierra_enter.txt @@ -31,48 +31,41 @@ bat_room,124,178,5 script Tierra Gorge Officer#01a 4_M_KY_KNT,{ if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) { mes "[Guillaume Army Officer]"; mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - else { - if (BaseLevel < 80) { - mes "[Guillaume Army Officer]"; - mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; - } - else { - set .@chk_urtime,checkquest(2069,PLAYTIME); - if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) { - mes "[Guillaume Army Officer]"; - mes "You seem to have just returned from the battlefield."; - mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; - } - else { - if (.@chk_urtime == 2) - erasequest 2069; - set .@mapcount,getmapusers("bat_a01"); - if (.@mapcount > 0) { - mes "[Guillaume Army Officer]"; - mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - if ($@TierraBG1) { - mes "[Guillaume Army Officer]"; - mes "An elite corps is already standing by to be dispatched to the battlefield."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - mes "[Guillaume Army Officer]"; - mes "You definitely seem to be ready for battle!"; - mes "Go show the Croixs what fear truly means!"; - mes "Today, our cry of victory shall echo all over the battlefield!"; - close2; - warp "bat_room",57,223; - end; - } - } - } - } + if (BaseLevel < 80) { + mes "[Guillaume Army Officer]"; + mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - break; + .@chk_urtime = questprogress(2069,PLAYTIME); + if (.@chk_urtime == 1) { + mes "[Guillaume Army Officer]"; + mes "You seem to have just returned from the battlefield."; + mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; + break; + } + if (.@chk_urtime == 2) + erasequest 2069; + if (getmapusers("bat_a01") > 0) { + mes "[Guillaume Army Officer]"; + mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + if ($@TierraBG1) { + mes "[Guillaume Army Officer]"; + mes "An elite corps is already standing by to be dispatched to the battlefield."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + mes "[Guillaume Army Officer]"; + mes "You definitely seem to be ready for battle!"; + mes "Go show the Croixs what fear truly means!"; + mes "Today, our cry of victory shall echo all over the battlefield!"; + close2; + warp "bat_room",57,223; + end; case 2: mes "[Guillaume Army Officer]"; mes "Today, we shall be victorious!"; @@ -98,48 +91,41 @@ bat_room,140,178,5 script Tierra Gorge Officer#02a 4_M_KY_KNT,{ if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) { mes "[Guillaume Army Officer]"; mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - else { - if (BaseLevel < 80) { - mes "[Guillaume Army Officer]"; - mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; - } - else { - set .@chk_urtime,checkquest(2069,PLAYTIME); - if (.@chk_urtime == 1) { - mes "[Guillaume Army Officer]"; - mes "You seem to have just returned from the battlefield."; - mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; - } - else { - if (.@chk_urtime == 2) - erasequest 2069; - set .@mapcount,getmapusers("bat_a02"); - if (.@mapcount > 0) { - mes "[Guillaume Army Officer]"; - mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - if ($@TierraBG2) { - mes "[Guillaume Army Officer]"; - mes "An elite corps is already standing by to be dispatched to the battlefield."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - mes "[Guillaume Army Officer]"; - mes "You definitely seem to be ready for battle!"; - mes "Go show the Croixs what fear truly means!"; - mes "Today, our cry of victory shall echo all over the battlefield!"; - close2; - warp "bat_room",114,223; - end; - } - } - } - } + if (BaseLevel < 80) { + mes "[Guillaume Army Officer]"; + mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - break; + .@chk_urtime = questprogress(2069,PLAYTIME); + if (.@chk_urtime == 1) { + mes "[Guillaume Army Officer]"; + mes "You seem to have just returned from the battlefield."; + mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; + break; + } + if (.@chk_urtime == 2) + erasequest 2069; + if (getmapusers("bat_a02") > 0) { + mes "[Guillaume Army Officer]"; + mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + if ($@TierraBG2) { + mes "[Guillaume Army Officer]"; + mes "An elite corps is already standing by to be dispatched to the battlefield."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + mes "[Guillaume Army Officer]"; + mes "You definitely seem to be ready for battle!"; + mes "Go show the Croixs what fear truly means!"; + mes "Today, our cry of victory shall echo all over the battlefield!"; + close2; + warp "bat_room",114,223; + end; case 2: mes "[Guillaume Army Officer]"; mes "Today, we shall be victorious!"; @@ -263,48 +249,41 @@ bat_room,125,121,1 script Tierra Gorge Officer#01b 4_M_CRU_KNT,{ if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) { mes "[Croix Army Officer]"; mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - else { - if (BaseLevel < 80) { - mes "[Croix Army Officer]"; - mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; - } - else { - set .@chk_urtime,checkquest(2069,PLAYTIME); - if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) { - mes "[Croix Army Officer]"; - mes "You seem to have just returned from the battlefield."; - mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; - } - else { - if (.@chk_urtime == 2) - erasequest 2069; - set .@mapcount,getmapusers("bat_a02"); - if (.@mapcount > 0) { - mes "[Croix Army Officer]"; - mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - if ($@TierraBG1) { - mes "[Croix Army Officer]"; - mes "An elite corps is already standing by to be dispatched to the battlefield."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - mes "[Croix Army Officer]"; - mes "You definitely seem to be ready for battle!"; - mes "Go show the Guillaumes what fear truly means!"; - mes "Today, our cry of victory shall echo all over the battlefield!"; - close2; - warp "bat_room",57,207; - end; - } - } - } - } + if (BaseLevel < 80) { + mes "[Croix Army Officer]"; + mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - break; + .@chk_urtime = questprogress(2069,PLAYTIME); + if (.@chk_urtime == 1) { + mes "[Croix Army Officer]"; + mes "You seem to have just returned from the battlefield."; + mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; + break; + } + if (.@chk_urtime == 2) + erasequest 2069; + if (getmapusers("bat_a02") > 0) { + mes "[Croix Army Officer]"; + mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + if ($@TierraBG1) { + mes "[Croix Army Officer]"; + mes "An elite corps is already standing by to be dispatched to the battlefield."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + mes "[Croix Army Officer]"; + mes "You definitely seem to be ready for battle!"; + mes "Go show the Guillaumes what fear truly means!"; + mes "Today, our cry of victory shall echo all over the battlefield!"; + close2; + warp "bat_room",57,207; + end; case 2: mes "[Croix Army Officer]"; mes "Today, we shall be victorious!"; @@ -330,48 +309,41 @@ bat_room,140,121,1 script Tierra Gorge Officer#02b 4_M_CRU_KNT,{ if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) { mes "[Croix Army Officer]"; mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - else { - if (BaseLevel < 80) { - mes "[Croix Army Officer]"; - mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; - } - else { - set .@chk_urtime,checkquest(2069,PLAYTIME); - if (.@chk_urtime == 1) { - mes "[Croix Army Officer]"; - mes "You seem to have just returned from the battlefield."; - mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; - } - else { - if (.@chk_urtime == 2) - erasequest 2069; - set .@mapcount,getmapusers("bat_a02"); - if (.@mapcount > 0) { - mes "[Croix Army Officer]"; - mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - if ($@TierraBG2) { - mes "[Croix Army Officer]"; - mes "An elite corps is already standing by to be dispatched to the battlefield."; - mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; - } - else { - mes "[Croix Army Officer]"; - mes "You definitely seem to be ready for battle!"; - mes "Go show the Guillaumes what fear truly means!"; - mes "Today, our cry of victory shall echo all over the battlefield!"; - close2; - warp "bat_room",114,207; - end; - } - } - } - } + if (BaseLevel < 80) { + mes "[Croix Army Officer]"; + mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; + break; } - break; + .@chk_urtime = questprogress(2069,PLAYTIME); + if (.@chk_urtime == 1) { + mes "[Croix Army Officer]"; + mes "You seem to have just returned from the battlefield."; + mes "It's too early for you to go back. Go rest, and leave the enemies to us!"; + break; + } + if (.@chk_urtime == 2) + erasequest 2069; + if (getmapusers("bat_a02") > 0) { + mes "[Croix Army Officer]"; + mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + if ($@TierraBG2) { + mes "[Croix Army Officer]"; + mes "An elite corps is already standing by to be dispatched to the battlefield."; + mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then."; + break; + } + mes "[Croix Army Officer]"; + mes "You definitely seem to be ready for battle!"; + mes "Go show the Guillaumes what fear truly means!"; + mes "Today, our cry of victory shall echo all over the battlefield!"; + close2; + warp "bat_room",114,207; + end; case 2: mes "[Croix Army Officer]"; mes "Today, we shall be victorious!"; -- cgit v1.2.3-70-g09d2