optimized some quests vars
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6839 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
b192d414c5
commit
50112ece84
@ -31,6 +31,10 @@ Evera
|
|||||||
|
|
||||||
Date Added
|
Date Added
|
||||||
======
|
======
|
||||||
|
05/30
|
||||||
|
* Re-made some quest to use 1 variable instead of 2 or 3... [Lupus]
|
||||||
|
- Juice Maker, Morgenstein+Alchemist Job Quest, Tempestra
|
||||||
|
Make a habbit to clean your global_reg_value table from event vars & old garbage
|
||||||
05/29
|
05/29
|
||||||
* Changed DTS warper vote count to use 1 variable. [Evera]
|
* Changed DTS warper vote count to use 1 variable. [Evera]
|
||||||
05/27
|
05/27
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
//= nestor_zulueta (Fusion)
|
//= nestor_zulueta (Fusion)
|
||||||
//= converted by Darkchild
|
//= converted by Darkchild
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 2.0
|
//= 2.1
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= eAthena 1.0 +
|
//= eAthena 1.0 +
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -23,6 +23,7 @@
|
|||||||
//= to go. [Lupus]
|
//= to go. [Lupus]
|
||||||
//= 1.6a fixed some wrong answers, thanks to zlider for info [Lupus]
|
//= 1.6a fixed some wrong answers, thanks to zlider for info [Lupus]
|
||||||
//= 2.0 Changed numbers to constants. [Vicious]
|
//= 2.0 Changed numbers to constants. [Vicious]
|
||||||
|
//= 2.1 Got rid of 'al_morgen' var [Lupus]
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|
||||||
@ -774,7 +775,7 @@ L_Start:
|
|||||||
mes "If you dont have business here just go away. Ok!!!";
|
mes "If you dont have business here just go away. Ok!!!";
|
||||||
close;
|
close;
|
||||||
L_Check:
|
L_Check:
|
||||||
if(al_morgen != 1) goto L_NotRdy;
|
if(MORGEN != 3) goto L_NotRdy;
|
||||||
mes "Yes, cut the Tentacle..";
|
mes "Yes, cut the Tentacle..";
|
||||||
mes "and mix some Sticku Mucus,";
|
mes "and mix some Sticku Mucus,";
|
||||||
mes "Jellopy solution in the test tube Darn, where did the Medicine Bowl go...";
|
mes "Jellopy solution in the test tube Darn, where did the Medicine Bowl go...";
|
||||||
|
@ -47,7 +47,7 @@ function script F_ClearJobVar {
|
|||||||
set WIZ_Q,0; set WIZ_Q2,0;
|
set WIZ_Q,0; set WIZ_Q2,0;
|
||||||
// 2-2 Jobs ------------------------------
|
// 2-2 Jobs ------------------------------
|
||||||
set ROGUE_Q,0; set ROGUE_Q2,0;
|
set ROGUE_Q,0; set ROGUE_Q2,0;
|
||||||
set ALCH_Q,0; set ALCH_Q2,0; set al_morgen,0;
|
set ALCH_Q,0; set ALCH_Q2,0;
|
||||||
set CRUS_Q,0;
|
set CRUS_Q,0;
|
||||||
set MONK_Q,0; set JOB_MONK_C,0;
|
set MONK_Q,0; set JOB_MONK_C,0;
|
||||||
set SAGE_Q,0; set SAGE_Q2,0;
|
set SAGE_Q,0; set SAGE_Q2,0;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
//= kobra_k88
|
//= kobra_k88
|
||||||
//= added some dialogs for Morgenstein by Komurka
|
//= added some dialogs for Morgenstein by Komurka
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.7
|
//= 1.8
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= eAthena 7.15 +
|
//= eAthena 7.15 +
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -18,6 +18,7 @@
|
|||||||
//= 1.5 Fixed Spelling mistakes. [Nexon]
|
//= 1.5 Fixed Spelling mistakes. [Nexon]
|
||||||
//= 1.6 Fixed some bugs, also related to Alch Job quest [Lupus]
|
//= 1.6 Fixed some bugs, also related to Alch Job quest [Lupus]
|
||||||
//= 1,7 Fixed exploit [Lupus]
|
//= 1,7 Fixed exploit [Lupus]
|
||||||
|
//= 1.8 Got rid of 'al_morgen' var [Lupus]
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|
||||||
@ -163,7 +164,6 @@ M_Menu:
|
|||||||
mes "I can make one for you right now,if you want?? Ahhh... Talking about my experiments and research makes me.... 'excited'.......";
|
mes "I can make one for you right now,if you want?? Ahhh... Talking about my experiments and research makes me.... 'excited'.......";
|
||||||
mes "You too can feel my 'excitement' if you wish..... Ahhhhh.... I can make you feel...";
|
mes "You too can feel my 'excitement' if you wish..... Ahhhhh.... I can make you feel...";
|
||||||
set MORGEN,3;
|
set MORGEN,3;
|
||||||
if(ALCH_Q == 4) set al_morgen,1;
|
|
||||||
close;
|
close;
|
||||||
|
|
||||||
L_1:
|
L_1:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= kobra_k88
|
//= kobra_k88
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.6
|
//= 1.7
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= eAthena 7.15 +
|
//= eAthena 7.15 +
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -17,14 +17,15 @@
|
|||||||
//= subfunc. Changed fruit amount needed to 1.[kobra_k88]
|
//= subfunc. Changed fruit amount needed to 1.[kobra_k88]
|
||||||
//= Fixed exploits [Lupus]
|
//= Fixed exploits [Lupus]
|
||||||
//= 1.6 fixed typo (where did @ipnut came from?) [Lance]
|
//= 1.6 fixed typo (where did @ipnut came from?) [Lance]
|
||||||
|
//= 1.7 got rid of 2 vars: 'MEAT',"MARIANNE" [Lupus]
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|
||||||
// Morrison ------------------------------------------------
|
// Morrison ------------------------------------------------
|
||||||
prt_in.gat,47,173,2 script Morrison 97,{
|
prt_in.gat,47,173,2 script Morrison 97,{
|
||||||
mes "[Little Morrison]";
|
mes "[Little Morrison]";
|
||||||
if(MEAT > 10) goto L_Candy;
|
if(MORRISON > 10) goto L_GoAway;
|
||||||
if(MARIANNE == 1) goto L_GoAway;
|
if(MORRISON == 10) goto L_Candy;
|
||||||
|
|
||||||
mes "Wahhhhh!!! Wahh... NO more! NO more!";
|
mes "Wahhhhh!!! Wahh... NO more! NO more!";
|
||||||
mes "I won't... eat anymore stupid ^0000ffFruit^000000 things!!";
|
mes "I won't... eat anymore stupid ^0000ffFruit^000000 things!!";
|
||||||
@ -33,7 +34,7 @@ prt_in.gat,47,173,2 script Morrison 97,{
|
|||||||
menu "Talk",M_Talk,"Cancel",M_End;
|
menu "Talk",M_Talk,"Cancel",M_End;
|
||||||
|
|
||||||
M_Talk:
|
M_Talk:
|
||||||
if(countitem(517) > 0) goto L_Meat; //Meat
|
if(countitem(517)) goto L_Meat; //Meat
|
||||||
|
|
||||||
mes "[Little Morrison]";
|
mes "[Little Morrison]";
|
||||||
mes "Arhhggg!! I'VE HAD ENOUGH!!! I can't eat anymore ^0000ffFruits^000000! They";
|
mes "Arhhggg!! I'VE HAD ENOUGH!!! I can't eat anymore ^0000ffFruits^000000! They";
|
||||||
@ -65,8 +66,7 @@ prt_in.gat,47,173,2 script Morrison 97,{
|
|||||||
sM_Give:
|
sM_Give:
|
||||||
if(countitem(517) == 0) goto L_GoAway; //Meat
|
if(countitem(517) == 0) goto L_GoAway; //Meat
|
||||||
delitem 517,1; //Meat
|
delitem 517,1; //Meat
|
||||||
set MORRISON,1;
|
set MORRISON,MORRISON+1;
|
||||||
set MEAT,MEAT + 1;
|
|
||||||
mes "[Little Morrison]";
|
mes "[Little Morrison]";
|
||||||
mes "Whoah~!!! It's real Meat, Meat!";
|
mes "Whoah~!!! It's real Meat, Meat!";
|
||||||
mes "Mmmm! It makes my mouth water.";
|
mes "Mmmm! It makes my mouth water.";
|
||||||
@ -75,7 +75,7 @@ prt_in.gat,47,173,2 script Morrison 97,{
|
|||||||
close;
|
close;
|
||||||
|
|
||||||
sM_Ignore:
|
sM_Ignore:
|
||||||
set MORRISON,2;
|
set MORRISON,11;
|
||||||
mes "[Little Morrison]";
|
mes "[Little Morrison]";
|
||||||
mes "Boo...";
|
mes "Boo...";
|
||||||
mes "Boo... Fine... Alright, Alright~!!! Selfish meanie!";
|
mes "Boo... Fine... Alright, Alright~!!! Selfish meanie!";
|
||||||
@ -103,7 +103,7 @@ L_Candy:
|
|||||||
next;
|
next;
|
||||||
getitem 529,3;
|
getitem 529,3;
|
||||||
getitem 530,1;
|
getitem 530,1;
|
||||||
set MEAT,0;
|
set MORRISON,0;
|
||||||
mes "[Little Morrison]";
|
mes "[Little Morrison]";
|
||||||
mes "It is from my secret stash of Candy that I hide from my Mom. Since";
|
mes "It is from my secret stash of Candy that I hide from my Mom. Since";
|
||||||
mes "you gave me some Meat, I will give you some candy." ;
|
mes "you gave me some Meat, I will give you some candy." ;
|
||||||
@ -114,8 +114,8 @@ L_Candy:
|
|||||||
// Housewife Marianne ---------------------------------------------------
|
// Housewife Marianne ---------------------------------------------------
|
||||||
prt_in.gat,49,172,2 script Housewife Marianne 53,{
|
prt_in.gat,49,172,2 script Housewife Marianne 53,{
|
||||||
mes "[Housewife Marianne]";
|
mes "[Housewife Marianne]";
|
||||||
if(MORRISON == 1) goto L_GaveMeat;
|
if(MORRISON > 10) goto L_Juice;
|
||||||
if(MORRISON == 2) goto L_Juice;
|
if(MORRISON) goto L_GaveMeat;
|
||||||
|
|
||||||
mes "Morrison!! Please eat some fruit will ya? Fruit~!";
|
mes "Morrison!! Please eat some fruit will ya? Fruit~!";
|
||||||
mes "*Sob*~!! Like father like son...";
|
mes "*Sob*~!! Like father like son...";
|
||||||
@ -159,8 +159,7 @@ L_GaveMeat:
|
|||||||
close;
|
close;
|
||||||
|
|
||||||
L_Juice:
|
L_Juice:
|
||||||
set MORRISON,0;
|
set MORRISON,20;
|
||||||
set MARIANNE,1;
|
|
||||||
mes "Thank you for not giving my son any meat. I'm trying to feed him";
|
mes "Thank you for not giving my son any meat. I'm trying to feed him";
|
||||||
mes "^0000ffFruits^000000 and vegetables, but this child doesn't want to eat";
|
mes "^0000ffFruits^000000 and vegetables, but this child doesn't want to eat";
|
||||||
mes "anything except Meat...";
|
mes "anything except Meat...";
|
||||||
@ -186,7 +185,7 @@ L_Juice:
|
|||||||
// Juicer Marx Hansen ---------------------------------------------------------
|
// Juicer Marx Hansen ---------------------------------------------------------
|
||||||
payon_in03.gat,188,146,5 script Juicer Marx Hansen 86,{
|
payon_in03.gat,188,146,5 script Juicer Marx Hansen 86,{
|
||||||
mes "[Juicer Marx Hansen]";
|
mes "[Juicer Marx Hansen]";
|
||||||
if(MARIANNE == 1) goto L_Juice;
|
if(MORRISON == 20) goto L_Juice;
|
||||||
mes "Welcome to my shop. What brings you here?";
|
mes "Welcome to my shop. What brings you here?";
|
||||||
next;
|
next;
|
||||||
menu "Conversation",-,"I am just looking around",M_End;
|
menu "Conversation",-,"I am just looking around",M_End;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= kobra_k88
|
//= kobra_k88
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.4
|
//= 1.5
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= eAthena 1.0
|
//= eAthena 1.0
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -17,6 +17,7 @@
|
|||||||
//= 1.1 Fixed Spore Doll exploit [Lupus], 1.2 Gramp's Tiger skin label bug
|
//= 1.1 Fixed Spore Doll exploit [Lupus], 1.2 Gramp's Tiger skin label bug
|
||||||
//= 1.3 Fixed item ID 7031 -> 7013
|
//= 1.3 Fixed item ID 7031 -> 7013
|
||||||
//= 1.4 Fixed a bug, Fixed Exploits, Optimized [Lupus]
|
//= 1.4 Fixed a bug, Fixed Exploits, Optimized [Lupus]
|
||||||
|
//= 1.5 Turned TEMPESTRA -> @TEMPESTRA, fixed a typo [Lupus]
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|
||||||
@ -26,8 +27,11 @@
|
|||||||
//=======================================================================================================//
|
//=======================================================================================================//
|
||||||
alberta.gat,117,134,8 script Elin 96,{
|
alberta.gat,117,134,8 script Elin 96,{
|
||||||
mes "[Elin]";
|
mes "[Elin]";
|
||||||
if(Sex == 0) mes "Hello, miss. Since you're a girl, you must like dolls, don't you?";
|
if(Sex){
|
||||||
if(Sex == 1) mes "Hello, mister. Hmm, since you're a boy, you don't like dolls, do you?";
|
mes "Hello, mister. Hmm, since you're a boy, you don't like dolls, do you?";
|
||||||
|
}else{
|
||||||
|
mes "Hello, miss. Since you're a girl, you must like dolls, don't you?";
|
||||||
|
}
|
||||||
next;
|
next;
|
||||||
mes "[Elin]";
|
mes "[Elin]";
|
||||||
mes "I LOVE dolls!!";
|
mes "I LOVE dolls!!";
|
||||||
@ -500,7 +504,7 @@ alberta.gat,135,79,3 script Tempestra 71,{
|
|||||||
mes "[Tempestra]";
|
mes "[Tempestra]";
|
||||||
mes "Ah...... Such a cool breeze. It's good to be next to the sea. I think it was the right choice for me to take a break from my business and come here.";
|
mes "Ah...... Such a cool breeze. It's good to be next to the sea. I think it was the right choice for me to take a break from my business and come here.";
|
||||||
emotion e_ho;
|
emotion e_ho;
|
||||||
if(TEMPESTRA == 1) goto sM_Menu;
|
if(@TEMPESTRA) goto sM_Menu;
|
||||||
next;
|
next;
|
||||||
mes "[Tempestra]";
|
mes "[Tempestra]";
|
||||||
mes "Oh the sun is so bright today. I'm glad I brought my hat. If my skin is exposed to the sun like this everyday, I'm sure to get a sunburn.";
|
mes "Oh the sun is so bright today. I'm glad I brought my hat. If my skin is exposed to the sun like this everyday, I'm sure to get a sunburn.";
|
||||||
@ -512,7 +516,7 @@ alberta.gat,135,79,3 script Tempestra 71,{
|
|||||||
|
|
||||||
if(countitem(503) < 1) goto L_NoPot;
|
if(countitem(503) < 1) goto L_NoPot;
|
||||||
delitem 503, 1;
|
delitem 503, 1;
|
||||||
set TEMPESTRA, 1;
|
set @TEMPESTRA, 1;
|
||||||
mes "[Tempestra]";
|
mes "[Tempestra]";
|
||||||
mes "Oooh! Thank you so much. I'm so glad to meet such a friendly person here....";
|
mes "Oooh! Thank you so much. I'm so glad to meet such a friendly person here....";
|
||||||
emotion e_thx;
|
emotion e_thx;
|
||||||
@ -623,7 +627,7 @@ alberta.gat,135,79,3 script Tempestra 71,{
|
|||||||
next;
|
next;
|
||||||
mes "[Tempestra]";
|
mes "[Tempestra]";
|
||||||
mes "Hmm... If you have:";
|
mes "Hmm... If you have:";
|
||||||
mes "^5555FF1 Amblem of the Sun God";
|
mes "^5555FF1 Emblem of the Sun God";
|
||||||
mes "10 Gold";
|
mes "10 Gold";
|
||||||
mes "40 Steel";
|
mes "40 Steel";
|
||||||
mes "50 Coal";
|
mes "50 Coal";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user