fixed cube quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5199 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7d088e2cf9
commit
1f22a73af9
@ -29,6 +29,7 @@ Date Added
|
|||||||
======
|
======
|
||||||
|
|
||||||
02/05
|
02/05
|
||||||
|
* Lighthalzen cube quest: Fixed password bug, fixed endless item exploit, some typos [Lupus]
|
||||||
* Added yuno_in02 into noteleport/nomemo, etc map flags. It spoils the quest [Lupus]
|
* Added yuno_in02 into noteleport/nomemo, etc map flags. It spoils the quest [Lupus]
|
||||||
There's 1 missing mapflag: 'noreturn' (you may use butterfly wings to escape)
|
There's 1 missing mapflag: 'noreturn' (you may use butterfly wings to escape)
|
||||||
02/03
|
02/03
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= Persian, Vicious_Pucca, Completed by aoa00
|
//= Persian, Vicious_Pucca, Completed by aoa00
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.2a
|
//= 1.3
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= eAthena SVN
|
//= eAthena SVN
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -21,6 +21,7 @@
|
|||||||
//= 1.2 Added the cube room quest by DeNy, translated by vicious_pucca. [MasterOfMuppets]
|
//= 1.2 Added the cube room quest by DeNy, translated by vicious_pucca. [MasterOfMuppets]
|
||||||
//= Thanks to Linuxwolf for a grammar check as well =).
|
//= Thanks to Linuxwolf for a grammar check as well =).
|
||||||
//= 1.2a Moved Biolab entrance to lhz_dun warps. [Vicious]
|
//= 1.2a Moved Biolab entrance to lhz_dun warps. [Vicious]
|
||||||
|
//= 1.3 Fixed password bug, fixed endless item exploit, some typos [Lupus]
|
||||||
//============================================================
|
//============================================================
|
||||||
//= aoa's comment
|
//= aoa's comment
|
||||||
//= In future, Need for new monsters. No-Drop, No-Exp, Weak "Mobster","VENOMOUS","NOXIOUS"
|
//= In future, Need for new monsters. No-Drop, No-Exp, Weak "Mobster","VENOMOUS","NOXIOUS"
|
||||||
@ -104,7 +105,7 @@ ChkEnd:
|
|||||||
|
|
||||||
lighthalzen.gat,267,200,3 script Security Guard 868,{
|
lighthalzen.gat,267,200,3 script Security Guard 868,{
|
||||||
|
|
||||||
if(countitem(7350)>=1) goto Lhzpass1;
|
if(countitem(7350)>0) goto Lhzpass1;
|
||||||
if($@lhz_alert == 1) goto Lhzstop;
|
if($@lhz_alert == 1) goto Lhzstop;
|
||||||
if((gettime(2)>00 && gettime(2)<10)) goto LhzTalk2;
|
if((gettime(2)>00 && gettime(2)<10)) goto LhzTalk2;
|
||||||
if((gettime(2)>30 && gettime(2)<40)) goto LhzTalk2;
|
if((gettime(2)>30 && gettime(2)<40)) goto LhzTalk2;
|
||||||
@ -161,7 +162,7 @@ Lhzstop:
|
|||||||
|
|
||||||
lighthalzen.gat,294,223,7 script Security Guard 868,{
|
lighthalzen.gat,294,223,7 script Security Guard 868,{
|
||||||
|
|
||||||
if(countitem(7350)==1) goto Lhzpass1;
|
if(countitem(7350)>0) goto Lhzpass1;
|
||||||
if($@lhz_alert == 1) goto Lhzstop;
|
if($@lhz_alert == 1) goto Lhzstop;
|
||||||
if((gettime(2)>00 && gettime(2)<10)) goto LhzTalk2;
|
if((gettime(2)>00 && gettime(2)<10)) goto LhzTalk2;
|
||||||
if((gettime(2)>30 && gettime(2)<40)) goto LhzTalk2;
|
if((gettime(2)>30 && gettime(2)<40)) goto LhzTalk2;
|
||||||
@ -482,6 +483,7 @@ L7_1:
|
|||||||
close;
|
close;
|
||||||
|
|
||||||
L_8:
|
L_8:
|
||||||
|
delitem 909,20;
|
||||||
mes "[Piciburn]";
|
mes "[Piciburn]";
|
||||||
mes "Hmm. You're more reliable than i thought.";
|
mes "Hmm. You're more reliable than i thought.";
|
||||||
mes "Taking this errand into consideration,";
|
mes "Taking this errand into consideration,";
|
||||||
@ -518,7 +520,6 @@ L_8:
|
|||||||
mes "[Piciburn]";
|
mes "[Piciburn]";
|
||||||
mes "Well, when you've made your mind up,";
|
mes "Well, when you've made your mind up,";
|
||||||
mes "come back and talk to me. Okay?";
|
mes "come back and talk to me. Okay?";
|
||||||
delitem 909,20;
|
|
||||||
set piciburn,piciburn+1;
|
set piciburn,piciburn+1;
|
||||||
close;
|
close;
|
||||||
|
|
||||||
@ -633,6 +634,7 @@ L_1:
|
|||||||
L_2:
|
L_2:
|
||||||
mes "There is a box with numbers 1~9 on it's surface.";
|
mes "There is a box with numbers 1~9 on it's surface.";
|
||||||
next;
|
next;
|
||||||
|
set @agree,0;
|
||||||
input @1number;
|
input @1number;
|
||||||
if (num6 == @1number) set @agree,@agree+1;
|
if (num6 == @1number) set @agree,@agree+1;
|
||||||
input @2number;
|
input @2number;
|
||||||
@ -1066,7 +1068,7 @@ L_3:
|
|||||||
//--------------------------Box--------------------------
|
//--------------------------Box--------------------------
|
||||||
|
|
||||||
lhz_cube.gat,248,193,0 script Box 111,{
|
lhz_cube.gat,248,193,0 script Box 111,{
|
||||||
if (countitem(2657) == 1) goto L_5;
|
if (countitem(2657) > 0 || @gotkey || hzdun) goto L_5;
|
||||||
mes "There is a box with three holes.";
|
mes "There is a box with three holes.";
|
||||||
next;
|
next;
|
||||||
if (ellipse == 2 && quadrangle == 2 && polygon == 2) goto L_4;
|
if (ellipse == 2 && quadrangle == 2 && polygon == 2) goto L_4;
|
||||||
@ -1087,7 +1089,7 @@ L1_1:
|
|||||||
close;
|
close;
|
||||||
|
|
||||||
L1_2:
|
L1_2:
|
||||||
mes "You've already inserted the 'ellipse model.'";
|
mes "You've already inserted the 'ellipse model'.";
|
||||||
close;
|
close;
|
||||||
|
|
||||||
L_2:
|
L_2:
|
||||||
@ -1105,7 +1107,7 @@ L2_1:
|
|||||||
close;
|
close;
|
||||||
|
|
||||||
L2_2:
|
L2_2:
|
||||||
mes "You already inserted the 'square model.'";
|
mes "You already inserted the 'square model'.";
|
||||||
close;
|
close;
|
||||||
|
|
||||||
L_3:
|
L_3:
|
||||||
@ -1123,7 +1125,7 @@ L3_1:
|
|||||||
close;
|
close;
|
||||||
|
|
||||||
L3_2:
|
L3_2:
|
||||||
mes "You've already inserted the 'polygon model.'";
|
mes "You've already inserted the 'polygon model'.";
|
||||||
close;
|
close;
|
||||||
|
|
||||||
L_4:
|
L_4:
|
||||||
@ -1136,6 +1138,7 @@ L4_1:
|
|||||||
mes "There is a small card inside of it.";
|
mes "There is a small card inside of it.";
|
||||||
next;
|
next;
|
||||||
mes "You acquired the 'Laboratory Key'.";
|
mes "You acquired the 'Laboratory Key'.";
|
||||||
|
set @gotkey,1;
|
||||||
getitem 2657,1;
|
getitem 2657,1;
|
||||||
close;
|
close;
|
||||||
|
|
||||||
@ -1148,7 +1151,7 @@ L_5:
|
|||||||
//--------------------------Test tube--------------------------
|
//--------------------------Test tube--------------------------
|
||||||
|
|
||||||
lhz_cube.gat,224,197,0 script Test Tube 111,{
|
lhz_cube.gat,224,197,0 script Test Tube 111,{
|
||||||
if (countitem(2657) == 1) goto L_3;
|
if (countitem(2657) > 0) goto L_3;
|
||||||
if (ellipse >= 1) goto L_2;
|
if (ellipse >= 1) goto L_2;
|
||||||
mes "There is a weird test tube.";
|
mes "There is a weird test tube.";
|
||||||
mes "It seems like there is something inside.";
|
mes "It seems like there is something inside.";
|
||||||
@ -1180,7 +1183,7 @@ L_3:
|
|||||||
next;
|
next;
|
||||||
input @answer$;
|
input @answer$;
|
||||||
|
|
||||||
if (@answer$ == "Laboratory Keycard") goto L_4;
|
if (@answer$ == "Laboratory Keycard" || @answer$ == "keycard") goto L_4;
|
||||||
mes "Nothing happened.";
|
mes "Nothing happened.";
|
||||||
close;
|
close;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user