Biolab quest can have carying capitalizations on the first letters of each word in the inputs

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7104 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
evera 2006-06-12 15:41:37 +00:00
parent 3b13b070e1
commit c4d4161032
2 changed files with 17 additions and 14 deletions

View File

@ -37,6 +37,7 @@ Musashiden
Date Added Date Added
====== ======
06/12 06/12
* Changed Biolab quest so that case for the first letter of each input doesn't matter. [Evera]
* Fixed some typos in the new spawns [Playtester] * Fixed some typos in the new spawns [Playtester]
* Implemented Amatsu guides and changed/removed some Amatsu warps [MasterOfMuppets] * Implemented Amatsu guides and changed/removed some Amatsu warps [MasterOfMuppets]
06/11 06/11

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= Persian, Vicious_Pucca, Completed by aoa00 //= Persian, Vicious_Pucca, Completed by aoa00
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.8 //= 1.9
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena SVN //= eAthena SVN
//===== Description: ========================================= //===== Description: =========================================
@ -30,6 +30,8 @@
//= 1.6 Added Gywall's Pickpocket Quest //= 1.6 Added Gywall's Pickpocket Quest
//= 1.7 Implemented the Friendship quest [MasterOfMuppets] //= 1.7 Implemented the Friendship quest [MasterOfMuppets]
//= 1.8 Changed the name of the mobsters to Gangster, as it should be. [MasterOfMuppets] //= 1.8 Changed the name of the mobsters to Gangster, as it should be. [MasterOfMuppets]
//= 1.9 Added extra input check on Biolab so that the first letter of the word could be
//= capitalized or undercase. [Evera]
//============================================================ //============================================================
//= 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"
@ -627,7 +629,7 @@ lhz_cube.gat,237,183,0 script Barrel 111,{
next; next;
input @axe$; input @axe$;
if (@axe$ == "axe") goto L_1; if (@axe$ == "axe" || @axe$ == "Axe") goto L_1;
mes "There is no change."; mes "There is no change.";
close; close;
@ -689,7 +691,7 @@ lhz_cube.gat,242,201,0 script Drawer 111,{
L_1: L_1:
input @key$; input @key$;
if (@key$ == "red key") goto L_2; if (@key$ == "red key" || @key$ == "Red Key") goto L_2;
mes "The drawer is locked, you need some kind of key."; mes "The drawer is locked, you need some kind of key.";
close; close;
@ -773,7 +775,7 @@ L_2:
next; next;
input @bed$; input @bed$;
if (@bed$ == "long stick" && rod == 1) goto L2_1; if (@bed$ == "long stick" && rod == 1 || @bed$ == "Long Stick" && rod == 1) goto L2_1;
mes "It looks like you need some kind of long item to"; mes "It looks like you need some kind of long item to";
mes "Get the item out, you can't reach it!"; mes "Get the item out, you can't reach it!";
close; close;
@ -822,7 +824,7 @@ lhz_cube.gat,233,206,0 script Shelf 111,{
next; next;
input @lathe$; input @lathe$;
if (@lathe$ == "rusty key" && fkey == 1) goto L_1; if (fkey == 1 && @lathe$ == "rusty key" || fkey == 1 && @lathe$ == "Rusty Key") goto L_1;
mes "Nothing happened."; mes "Nothing happened.";
close; close;
@ -861,7 +863,7 @@ L_2:
next; next;
input @gkey$; input @gkey$;
if (@gkey$ == "green key") goto L_3; if (@gkey$ == "green key" || @gkey$ == "Green Key") goto L_3;
mes "There's nothing of any interest in this drawer."; mes "There's nothing of any interest in this drawer.";
close; close;
@ -942,7 +944,7 @@ L_1:
next; next;
input @knife$; input @knife$;
if (@knife$ == "small knife" && knife == 1) goto L1_1; if (knife == 1 && @knife$ == "small knife" ||knife == 1 && @knife$ == "Small Knife") goto L1_1;
mes "Nothing happened."; mes "Nothing happened.";
close; close;
@ -1024,7 +1026,7 @@ lhz_cube.gat,224,192,0 script Generator 111,{
next; next;
input @key$; input @key$;
if (@key$ == "yellow key" && ykey == 1) goto L_1; if (ykey == 1 && @key$ == "yellow key" || ykey == 1 && @key$ == "Yellow Key") goto L_1;
mes "There's nothing to do here."; mes "There's nothing to do here.";
close; close;
@ -1086,7 +1088,7 @@ L_1:
if (ellipse == 2) goto L1_2; if (ellipse == 2) goto L1_2;
input @ellipse$; input @ellipse$;
if (@ellipse$ == "ellipse model" && ellipse == 1) goto L1_1; if (ellipse == 1 && @ellipse$ == "ellipse model" ||ellipse == 1 && @ellipse$ == "Ellipse Model") goto L1_1;
mes "Nothing happened."; mes "Nothing happened.";
close; close;
@ -1104,7 +1106,7 @@ L_2:
if (quadrangle == 2) goto L2_2; if (quadrangle == 2) goto L2_2;
input @quadrangle$; input @quadrangle$;
if (@quadrangle$ == "cube model" && quadrangle == 1) goto L2_1; if (quadrangle == 1 && @quadrangle$ == "cube model" || quadrangle == 1 && @quadrangle$ == "Cube Model") goto L2_1;
mes "Nothing happened."; mes "Nothing happened.";
close; close;
@ -1122,7 +1124,7 @@ L_3:
if (polygon == 2) goto L3_2; if (polygon == 2) goto L3_2;
input @polygon$; input @polygon$;
if (@polygon$ == "polygon model" && polygon == 1) goto L3_1; if (polygon == 1 && @polygon$ == "polygon model" || polygon == 1 && @polygon$ == "Polygon Model") goto L3_1;
mes "Nothing happened."; mes "Nothing happened.";
close; close;
@ -1167,7 +1169,7 @@ lhz_cube.gat,224,197,0 script Test Tube 111,{
next; next;
input @key$; input @key$;
if (@key$ == "black key" && bkey == 1) goto L_1; if (bkey == 1 && @key$ == "black key" || bkey == 1 && @key$ == "Black Key") goto L_1;
mes "Nothing happened."; mes "Nothing happened.";
close; close;
@ -1191,7 +1193,7 @@ L_3:
next; next;
input @answer$; input @answer$;
if (@answer$ == "Laboratory Permit" || @answer$ == "permit") goto L_4; if (@answer$ == "Laboratory Permit" || @answer$ == "permit" || @answer$ == "laboratory permit" || @answer == "Permit") goto L_4;
mes "Nothing happened."; mes "Nothing happened.";
close; close;