You can install/mend guardioans during WoE

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9201 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lupus 2006-11-12 08:47:14 +00:00
parent 13b42f8089
commit 5446fe3c34
4 changed files with 523 additions and 100 deletions

View File

@ -33,6 +33,8 @@ KarLaeda
Date Added
======
11/12
* According to recent info you can re-install Guardians during WoE [Lupus]
11/11
* Fixed warp on timeout in swordman.txt [KarLaeda]
11/09

View File

@ -1,10 +1,9 @@
//===== eAthena Script =======================================
//= War of Emperium Guild Manager Function
//===== By: ==================================================
//= jAthena - kalen (1.0)
//= 1.1 by Akaru, ho|yAnge|X, and Valaris
//= jAthena - kalen (1.0) & eAthena Team
//===== Current Version: =====================================
//= 1.5
//= 1.6
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
@ -17,7 +16,7 @@
//= arg(1): name of guild castle.
//= arg(2): x1 coordinate for warp to treasure room
//= arg(3): y1 coordinate for warp to treasure room
//= arg(4): guild script suffix for kafra, gaurdian scripts etc.
//= arg(4): guild script suffix for kafra, Guardian scripts etc.
//===== Additional Comments: =================================
//= 1.31: Added support for Emsolute Develop [celest]
//= 1.2: All Guild manager scripts use this function. Optimized Comerce and Defense investment. [kobra_k88]
@ -28,6 +27,7 @@
//= 1.4 Remove surrender abbility (Was 100% custom as far as I can tell) [Kayla]
//= 1.41 Fixed possible Economy investment overflow with Emsolute Develop learnt [Lupus]
//= 1.5 Official Novice Castles Menu (u can't invest / hire guardians) [Lupus]
//= 1.6 According to recent info u can re-install Guardians during WoE [Lupus]
//============================================================
@ -36,28 +36,21 @@
function script F_GldManager {
set @GID, GetCastleData(getarg(1)+".gat",1);
if (strcharinfo(0) == getguildmaster(@GID)) goto L_Start;
if (@GID == 0) goto L_NotOwn;
if (getcharid(2) == @GID) goto L_Mem;
L_NotMem:
mes "[ "+getarg(0)+" ]";
mes "I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command! Hey! Your not even a part of the guild!!";
mes "Where are the guardians? Destroy these intruders!";
return 0;
if (@GID == 0){
mes "I am waiting for my master. Brave adventurer, follow your destiny!";
return 0;
}
if (getcharid(2) == @GID){
mes "You're not ^5533FF" + getguildmaster(@GID) + "^000000! I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command only";
return 0;
}
if (strcharinfo(0) != getguildmaster(@GID)){
mes "I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command! Hey! Your not even a part of the guild!!";
mes "Where are the guardians? Destroy these intruders!";
return 0;
}
L_NotOwn:
mes "[ "+getarg(0)+" ]";
mes "I am waiting for my master. Brave adventurer, follow your destiny!";
return 0;
L_Mem:
mes "[ "+getarg(0)+" ]";
mes "You're not ^5533FF" + getguildmaster(@GID) + "^000000! I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command only";
return 0;
L_Start:
mes "[ "+getarg(0)+" ]";
mes "Welcome Master ^5533FF" + getguildmaster(@GID) + "^000000 ! I will assist you in any way I can!";
next;
@ -66,7 +59,7 @@ L_Start:
menu "Kafra Service Employment / Dismissal",M_Kaf, "Enter Treasure Room",M_Treas, "Cancel",M_End;
//Common WoE Castles
menu "Guild Base Briefing",M_Base, "Commerce Investment",M_Comrc, "Defence Investment",M_Def, "Guardian Installation",M_Gaurd,
menu "Guild Base Briefing",M_Base, "Commerce Investment",M_Comrc, "Defence Investment",M_Def, "Guardian Installation",M_Guard,
"Kafra Service Employment / Dismissal",M_Kaf, "Enter Treasure Room",M_Treas, "Cancel",M_End;
//========================
@ -102,44 +95,44 @@ L_Start:
if(@Economy >= 88) set @eco_invest,5120000;
mes "[ "+getarg(0)+" ]";
if(@TriggerE == 2) goto L_MaxTimesC;
if(@Economy >= 100) goto L_MaxInvestC;
if(@TriggerE == 2){
mes "^ff0000You have already invested twice today, and that's the limit.^000000 I'm expecting to see our riches grow at a high level.";
return 0;
}
if(@Economy >= 100){
mes "^ff0000This Castle's commerce investment is already maxed at 100 points. You don't have to invest any further.^000000";
return 0;
}
mes "If you improve your Commerce Investment, the guild's productive power increases to produce more goods.";
mes "So an investment will be required if you're considering future growth.";
next;
mes "[ "+getarg(0)+" ]";
if(@TriggerE == 0) mes "You can invest up to two times a day, but the second time costs more";
if(@TriggerE == 0) mes "The needed investment amount is ^5533FF" + @eco_invest + "^000000 zeny.";
if(@TriggerE == 1) set @eco_invest,@eco_invest*4;
if(@TriggerE == 1) mes "You've already invested once today, but you can invest again at ^5533FF" + @eco_invest + "^000000 Zeny.";
if(@TriggerE == 0) {
mes "You can invest up to two times a day, but the second time costs more";
mes "The needed investment amount is ^5533FF" + @eco_invest + "^000000 zeny.";
} else {
set @eco_invest,@eco_invest*4;
mes "You've already invested once today, but you can invest again at ^5533FF" + @eco_invest + "^000000 Zeny.";
}
next;
mes "[ "+getarg(0)+" ]";
mes "Would you like to invest?";
next;
menu "Invest Commerce.",-,"Cancel.",M_End;
if(Zeny < @eco_invest) goto sL_NoZenyC;
mes "[ "+getarg(0)+" ]";
if(Zeny < @eco_invest){
mes "Master, you do not have enough money to invest. Investment has been cancelled.";
return 0;
}
set Zeny,Zeny-@eco_invest;
SetCastleData getarg(1)+".gat",4,@TriggerE+1;
// if we learnt Emsolute Develop there's 50% chance to get +1 investment again
SetCastleData getarg(1)+".gat",2,@Economy + 1 + (getgdskilllv(@GID,10014)>0 && rand(100)>50 && @Economy<99);
mes "[ "+getarg(0)+" ]";
mes "You have invested successfully.";
return 0;
sL_NoZenyC:
mes "[ "+getarg(0)+" ]";
mes "Master, you do not have enough money to invest. Investment has been cancelled.";
return 0;
L_MaxTimesC:
mes "^ff0000You have already invested twice today, and that's the limit.^000000 I'm expecting to see our riches grow at a high level.";
return 0;
L_MaxInvestC:
mes "[ "+getarg(0)+" ]";
mes " ";
mes "^ff0000This Castle's commerce investment is already maxed at 100 points. You don't have to invest any further.^000000";
return 0;
//=========================
M_Def:
//========
@ -157,23 +150,36 @@ L_Start:
if(@Defence >= 88) set @def_invest,10240000;
mes "[ "+getarg(0)+" ]";
if(@TriggerD == 2) goto L_MaxTimesD;
if(@Defence >= 100) goto L_MaxInvestD;
if(@TriggerD == 2){
mes "^ff0000You have already invested twice today, and that's the limit.^000000 I'm expecting to see our riches grow at a high level.";
return 0;
}
if(@Defence >= 100){
mes "^ff0000This Castle's Defence Investment is already maxed at 100 points. You don't have to invest any further.^000000";
return 0;
}
mes "If you improve investment of defence, the durability of our Guardians and the Emperium will increase.";
mes "So if you consider our future battles, an investment will be required.";
next;
mes "[ "+getarg(0)+" ]";
if(@TriggerD == 0) mes "You can invest up to two times a day, but the second time costs more";
if(@TriggerD == 0) mes "The needed investment amount is ^5533FF" + @def_invest + "^000000 zeny.";
if(@TriggerD == 1) set @def_invest,@def_invest*4;
if(@TriggerD == 1) mes "You've already invested once today, but you can invest again at ^5533FF" + @def_invest + "^000000 Zeny.";
if(@TriggerD == 0) {
mes "You can invest up to two times a day, but the second time costs more";
mes "The needed investment amount is ^5533FF" + @def_invest + "^000000 zeny.";
} else {
set @def_invest,@def_invest*4;
mes "You've already invested once today, but you can invest again at ^5533FF" + @def_invest + "^000000 Zeny.";
}
next;
mes "[ "+getarg(0)+" ]";
mes "Would you like to invest?";
next;
menu "Invest Defence.",-, "Cancel",M_End;
if(Zeny < @def_invest) goto sL_NoZenyD;
mes "[ "+getarg(0)+" ]";
if(Zeny < @def_invest){
mes "Master, you do not have enough money to invest in Defence. Defence investment has been cancelled.";
return 0;
}
set Zeny,Zeny-@def_invest;
SetCastleData getarg(1)+".gat",5,@TriggerD+1;
SetCastleData getarg(1)+".gat",3,@Defence+1;
@ -194,25 +200,19 @@ L_Start:
if (GetCastleData(getarg(1)+".gat",16) == 1) SetCastleData getarg(1)+".gat",24,@KGuardian;
if (GetCastleData(getarg(1)+".gat",17) == 1) SetCastleData getarg(1)+".gat",25,@KGuardian;
mes "[ "+getarg(0)+" ]";
mes "You have invested successfully.";
return 0;
sL_NoZenyD:
mes "[ "+getarg(0)+" ]";
mes "Master, you do not have enough money to invest in Defence. Defence investment has been cancelled.";
return 0;
L_MaxTimesD:
mes "^ff0000You have already invested twice today, and that's the limit.^000000 I'm expecting to see our riches grow at a high level.";
return 0;
L_MaxInvestD:
mes "^ff0000This Castle's Defence Investment is already maxed at 100 points. You don't have to invest any further.^000000";
return 0;
//=========================
M_Gaurd:
M_Guard:
//=========
if (getgdskilllv(@GID,10002) == 0) goto L_NoSkGuard;
mes "[ "+getarg(0)+" ]";
if (getgdskilllv(@GID,10002) == 0){
mes "I'm sorry Master but you cannot install any guardians right now. Your guild must learn the Guild skill ^5533FFGuardian Research^000000 first.";
mes "Guardian Installation has been cancelled.";
return 0;
}
set @Defence,GetCastleData(getarg(1)+".gat",3);
set @Guardian0,guardianinfo(0);
set @Guardian1,guardianinfo(1);
@ -229,8 +229,8 @@ L_Start:
//set @KGuardian,strmobinfo(4,1286) + (@Defence*2000);
//set @SGuardian,strmobinfo(4,1287) + (@Defence*2000);
mes "[ "+getarg(0)+" ]";
if(agitcheck(0) != 0) goto L_CantGuard;
//uncomment the following line to disable guardians Installation during WoE
//if(agitcheck(0) != 0) goto L_CantGuard;
mes "Would you like to install a guardian? Guardians will protect the guild base from enemies.";
mes "Please choose a guardian.";
next;
@ -297,21 +297,16 @@ L_Start:
next;
menu "Install",-, "Cancel",M_End;
if (Zeny < 10000) goto sL_NoZenyG;
if (Zeny < 10000){
mes "[ "+getarg(0)+" ]";
mes "I'm sorry Master, but you do not have enough zeny for a Guardian.";
return 0;
}
set Zeny,Zeny-10000;
SetCastleData getarg(1)+".gat",@GDnum,1;
SetCastleData getarg(1)+".gat",@GDnum2,@GuardianHP;
return 1;
sL_NoZenyG:
mes "[ "+getarg(0)+" ]";
mes "I'm sorry Master, but you do not have enough zeny for a Guardian.";
return 0;
L_NoSkGuard:
mes "[ "+getarg(0)+" ]";
mes "I'm sorry Master but you cannot install any guardians right now. Your guild must learn the Guild skill ^5533FFGuardian Research^000000 first.";
mes "Guardian Installation has been cancelled.";
return 0;
L_GotGuard:
mes "[ "+getarg(0)+" ]";
mes "Excuse me Master, but that guardian has already been installed.....";
@ -327,7 +322,11 @@ L_Start:
//======
mes "[ "+getarg(0)+" ]";
if (GetCastleData(getarg(1)+".gat",9) == 1) goto L_Dismiss;
if (getgdskilllv(@GID,10001) == 0) goto L_NoSkKaf;
if (getgdskilllv(@GID,10001) == 0){
mes "Master, you don't have a contract with the Kafra Service Company.";
mes "In order to hire a Kafra, you must first learn the Guild skill ^5533FFContract With Kafra^000000.";
return 0;
}
L_Hire:
mes "Would you like to employ the services of a Kafra? You will need ^5533FF10,000 Zeny^000000 to do so... ";
@ -335,7 +334,10 @@ L_Start:
menu "Employ Kafra.",-,"Cancel",sM_KafEnd;
mes "[ "+getarg(0)+" ]";
if (Zeny < 10000) goto sL_NoZenyK;
if (Zeny < 10000){
mes "Master, you do not have enough money to employ a Kafra. Employment has been cancelled.";
return 0;
}
set Zeny,Zeny-10000;
enablenpc "Kafra Service#"+getarg(4);
SetCastleData getarg(1)+".gat",9,1;
@ -351,9 +353,6 @@ L_Start:
mes "I think the Kafra Service will benefit our guild members.";
return 0;
sL_NoZenyK:
mes "Master, you do not have enough money to employ a Kafra. Employment has been cancelled.";
return 0;
sM_KafEnd:
mes "[ "+getarg(0)+" ]";
mes "As you wish Master. But I suggest we get a Kafra as soon as possible!";
@ -389,11 +388,6 @@ L_Start:
mes "Master, I think you should keep the current Kafra Service because she is already trying her best to serve us";
return 0;
L_NoSkKaf:
mes "Master, you don't have a contract with the Kafra Service Company.";
mes "In order to hire a Kafra, you must first learn the Guild skill ^5533FFContract With Kafra^000000.";
return 0;
//=========================
M_Treas:
//========

View File

@ -1,15 +1,24 @@
// by CallNix v.0.0
airplane.gat,236,63,4 script Hallen 55,{
if (fragmentauest==2) {
mes "[Hallen]";
if (fragmentauest>3) {
mes "[Hallen]";
mes "Nice weather, isnt it?";
close;
}
if (fragmentauest==2) {
if (girls==1) {
mes "[Hallen]";
mes "Have you finished that trip??";
close;
}
mes "[Hallen]";
mes "Oh, thx hero!Do you like my girls? She's reallybeatiful. Maybe you";
mes "shall become her boyfriend?";
next;
mes "[Hallen]";
mes " Its a joke ^_- Never mind.";
mes "And you know, there is one thing im really ineterested in....";
if (airshipquest != 0) {
next;
if (airshipquest != 5) {
mes "[Hallen]";
mes "You should better ask captain about the airship";
mes "You cant understand me if you dont do that...";
@ -18,7 +27,8 @@ airplane.gat,236,63,4 script Hallen 55,{
mes "You see its about the airship works. Heart of Ymir...";
mes "Very interesting thing i think...";
getitem 501,1;
next;
set girls,1;
next;
mes "[Hallen]";
mes "I really want to know something about it.. if somebody could help me...";
mes "pity I cant go to einbroch Laboratory...";
@ -42,11 +52,11 @@ airplane.gat,236,63,4 script Hallen 55,{
end;
}
mes "[Hallen]";
disablenpc "Ferlok";
mes "Hello, "+strcharinfo(0)+". Nice to see you on ship.";
mes "Hows your trips? I suppose you have lots of to tell";
mes "your children about";
next;
disablenpc "Ferlok";
next;
menu "Ye.. I have lots of tales..",-,"Nothing really interesting",l_inter,"Have any work for me?",l_work;
mes "[Hallen]";
mes "Ye.. I would like to listen to them too...";
@ -75,8 +85,9 @@ airplane.gat,236,63,4 script Hallen 55,{
close;
}
//=====================================================================
ein_in01,261,35,4 script reader 111,3,3,{
mes "[Code reader]";
ein_in01,261,37,4 script #reader 111,4,4,{
OnTouch:
mes "[Code reader]";
mes "Enter a valid 3 dig code to get information";
mes "You can do it 3 times only. Be careful";
next;
@ -109,4 +120,4 @@ ein_in01,255,33,4 script Ferlok 55,{
mes "[Hallen]";
mes "I have already told you to go to plane. Hurry!";
close;
}
s}

View File

@ -0,0 +1,416 @@
//===== eAthena Script =======================================
//= Lighthalzen, Shadow quest
//===== By: ==================================================
//= Gravity official script
//= ColNix
//===== Current Version: =====================================
//= Fixed
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
//= Lighthalzen
//===== Additional Comments: =================================
//=
//============================================================
lighthalzen.gat,141,162,4 script Old man 61,{
readparam(baselevel);
if (baselevel <= 70) {
mes "["+strcharinfo(0)+"]";
mes "It seems that i'm not as strong as i thought. Better i go to lvl.";
close;
}
if (quest_shadow==1) {
mes "[Kamenasai]";
mes "Have you already spoken to Kazien? ooh...";
mes "Hurry up and find him. He must be in Lighthalzen Castle.";
close;
}
if (quest_shadow>1) {
mes "[Kamenasai]";
mes "I have nothing to say to you now.";
mes "Leave me alone";
close;
}
mes "[Kamenasai]";
mes "Hello, "+strcharinfo(0)+". Nice to see you.";
mes "I've heard alot about you doings. And want to know, if you could help us.";
next;
menu "Hm.. Interesting. Wat's the problem?",-,"No, I'm not interested",l_not;
mes "[Kamenasai]";
mes "I knew that you should help. So. My friend Kazien is busy due to a lack of workers,";
mes "he has some work for you. Find him in Lighthalzen castle. Good luck";
set quest_shadow,1;
close;
l_not:
mes "[Kamenasai]";
mes "It's a pity. But i cant make you change your mind. GL&HF guy. Cya";
close;
}
//====================================================================================
lhz_in01,174,258,4 script Young man 59,{
if (quest_shadow==1) goto l_accept;
if (quest_shadow==3) goto l_nochance;
if (quest_shadow==4) goto l_part1;
if (quest_shadow==5) goto l_wtfisthat;
if (quest_shadow==8) goto l_zadolbal;
if (quest_shadow==10) goto l_nu;
mes "[Kazien]";
mes "What do you want? Don't you see that i'm busy now!. Leave me alone!";
close;
l_accept:
mes "[Kazien]";
mes "What do you want from me. Don't you see that i am busy?";
next;
menu "Well, i'm, from Kamenasai",-,"hm... Can i borow some money? ^_-",l_nothing;
mes "[Kazien]";
mes "Oh, sorry my friend. You come to help me, don't you.";
mes "Thanks alot. I'm too busy here and cant go myself, so i let my frind to help me";
mes "His choice is you... So. Can you keep a secret?";
next;
menu "Of course i can",-,"i'm not sure.",l_goaway;
mes "[Kazien]";
mes "Well then. Lets see. Go to Einbroch Research Facility and find Garins there.";
set quest_shadow,2;
close;
l_nothing:
mes "[Kazien]";
mes "Then, please leave me alone. I dont have any wish to speak to you.";
close;
l_goaway:
mes "[Kazien]";
mes "Its a pity... I think my friend was wrong sending you to me. Buy.";
close;
l_part1:
mes "[Kazien]";
mes "I see. You dont tell That guard about your quest, so i can rely on you. It was your first task.";
mes "Now i shall tell you all. I am trying to make some buisness. But i can't deliver goods by myself.";
mes "So i need somebody. And this somebody is you, "+strcharinfo(0)+".";
next;
mes "[Kazien]";
mes "Go and Find Lyozien near Airship. He will tell you more.";
close;
l_forget:
mes "[Kazien]";
mes "Oh my head. Who are you at last? Im very dull. Somebody tell the police about me";
mes "I am so bored...So...";
next;
goto l_accept;
close;
l_nochance:
if (rand(10)==9) goto l_forget;
mes "[Kazien]";
mes "You cant keep any secret! What do you want from me?";
mes "I dont want to see you anymore! Go somewhere else and never come here!";
close;
l_wtfisthat:
if (quest_shadow_misc==1) goto l_leftthis;
mes "[Kazien]";
mes "Hm... He is saying something interesting. I will give delivery scroll. Go to";
mes "Lyozien and speak to him...He is at the top of all this.";
getitem 1072,1;
getexp 110000,0;
set quest_shadow_mobs,1;
set quest_shadow_misc,1;
set quest_shadow,6;
close;
l_zadolbal:
if (quest_shadow_misc==2) goto l_leftthis;
mes "[Kazien]";
mes "Hm... He dont answer...You know thats strange. Something is wrong..";
mes "And this something can destroy our plans....";
next;
menu "Also bandits.. and goods",-,"In every way i'm leaving this",l_leftthis;
mes "[Kazien]";
mes "Hm.. So you dont still receive goods.. And you say that bandits atack you...";
mes "Now i understand. Go to Lyozien and be careful!";
monster "airplane_01.gat",96,48,"Rogue",1268,1,"Man::OnMyMobDeath";
getexp 150000,0;
set quest_shadow_misc,2;
set quest_shadow,9;
close;
l_leftthis:
mes "[Kazien]";
mes "Ye.. Its a pity i think. But its your choice. Remember,if you tell somebody";
mes "About this you shall be dead...See you later";
close;
l_nu:
if (quest_shadow_finish==1) goto l_leftthis;
mes "[Kazien]";
mes "How is our work? What about goods?";
next;
menu "Everything was really cool. I have lots of fun",-,"It was the wersest thing.",-;
mes "[Kazien]";
mes "Well... in everycase.^_^ I think you were really a good comrad";
mes "["+strcharinfo(0)+"]";
mes "I dont think so about you. Because i work for you and i must know what ware the goods";
next;
mes "[Kazien]";
mes "Don't you think that it was me who give you work, let me dicide what you must know";
mes "Afterall thx. Without you, this work wasn't done. You help me alot. I waiting forward hearing about your greatest doings.";
mes "See you,my hero";
getexp 150000,0;
set quest_shadow_finish,1;
close;
}
//===================================================================================
lhz_in01,156,248,4 script #Kazien -1,6,3{
OnTouch:
if (quest_shadow_finish==1) {
mes "[Remindes]";
mes "[Kazien]";
mes "How is our work? What about goods?";
mes "...................................";
mes "[Kazien]";
mes "Well... in everycase. I think you were really a good comrade";
mes "["+strcharinfo(0)+"]";
mes "I dont think so. Because i work for you and i must know what was there";
next;
mes "[Kazien]";
mes "Don't you think that it was me who give you work, let me dicide what you must know";
mes "Afterall thx. Without you, this work wasn't done. You help me alot. I waiting forward hearing about your greatest doings.";
mes "See you,my hero";
next;
mes "["+strcharinfo(0)+"]";
mes "Strange people are they... but i suppose that was really interesting journey...";
set quest_shadow_finish,0;
set quest_shadow,11;
close;
}
close;
}
//===================================================================================
airplane_01.gat,96,53,4 script #maner -1,6,3{
OnTouch:
if ((quest_shadow==6) && (quest_shadow_mobs==1)) {
monster "airplane_01.gat",96,53,"Rogue",1268,5;
set quest_shadow_mobs,0;
}
close;
}
//=======================================================================================
airplane_01.gat,85,47,4 script #maner01 -1,6,3{
OnTouch:
if ((quest_shadow==6) && (quest_shadow_mobs==1)) {
monster "airplane_01.gat",85,47,"Rogue",1268,5;
set quest_shadow_mobs,0;
}
close;
}
//=======================================================================================
lhz_in01,175,234,4 script #Kazien01 -1,6,3{
OnTouch:
if (quest_shadow_finish==1) {
mes "[Remindes]";
mes "[Kazien]";
mes "How is our work? What about goods?";
mes "...................................";
mes "[Kazien]";
mes "Well... in everycase. I think you were really a good comrade";
mes "["+strcharinfo(0)+"]";
mes "I dont think so. Because i work for you and i must know what was there";
next;
mes "[Kazien]";
mes "Don't you think that it was me who give you work, let me dicide what you must know";
mes "Afterall thx. Without you, this work wasn't done. You help me alot. I waiting forward hearing about your greatest doings.";
mes "See you,my hero";
next;
mes "["+strcharinfo(0)+"]";
mes "Strange people are they... but i suppose that was really interesting journey...";
set quest_shadow_finish,0;
set quest_shadow,11;
close;
}
close;
}
//=======================================================================================
einbroch.gat,54,52,4 script Guard 734,{
if (quest_shadow==2) goto l_done;
mes "[Guard]";
mes "This is restricted zone. Please leave this place.";
close;
l_done:
mes "[Guard]";
mes "Hey. Stop. What do you want here? Dont you know that this is restrickted zone?";
mes "Tell me why are you here?";
next;
menu "Well...I'm leaving now. I dont know that",-,"Hm... Kazien asked me to find Garins.",l_garins;
close2;
set quest_shadow,4;
end;
l_garins:
mes "[Guard]";
mes "You say Kazien.. From Lighthalzen....";
next;
npctalk "*writing something to the notepad*";
mes "[Guard]";
mes "Find Garins.... Ok. Thanks. Now you are free. Go home.";
set quest_shadow,3;
close;
}
//========================================================================================
airplane_01.gat,96,48,4 script Man 810,{
if (quest_shadow==4) goto l_allok;
if (quest_shadow==5) goto l_strange;
if (quest_shadow==6) goto l_next;
if (quest_shadow==7) goto l_talked;
if (quest_shadow==9) goto l_nuinah;
if (quest_shadow==10) goto l_wazaputaus;
mes "[Lyozien]";
mes "Greeting to you. Nice weather,isn't it?";
close;
l_strange:
mes "[Lyozien]";
mes "Hm.. strange. Kazien tell me nothing about it. I suppose you will better go to him";
mes "and ask about this";
close;
l_allok:
mes "[Lyozien]";
mes "Oki doki guy. You see, that this is restricted doing. But we must do it";
mes "For future of our country. So. That goods are really needed to our goverment, but";
mes "Some rogues want to robe it. We can't protect them ourselves because we are on kings work";
next;
mes "[Lyozien]";
mes "So its you, who will make it";
mes "Go to Izlude and found Ahman there. He will give you nececcery items";
mes "Good luck";
close;
l_next:
mes "[Lyozien]";
mes "So. What he says??";
next;
mes "["+strcharinfo(0)+"]";
mes "He say to come to you. Here is the Scroll of deliver that i must show you.";
next;
mes "[Lyozien]";
mes "I suppose you should better go to Ahman and show this... In cas, i have no goods to give you.";
close;
l_talked:
mes "[Lyozien]";
mes "Well... You say He dont answer... I suppose You better go to Kazien and tell him this.";
mes "It seemes to that it wasnt our plan.. i fear... Noway. Hurry up to Kazien";
set quest_shadow,8;
close;
l_nuinah:
if mobcount("airplane_01.gat","Man::OnMyMobDeath")==0 goto ondeath;
mes "[Lyozien]";
mes "Well.. I really dont know. But i will never tell you wat are the goods";
mes "hey, Bandit is there! LOOK!!!";
close;
OnDeath:
if looked==1 {
mes "[Lyozien]";
mes "I have already given you medicine. Hurry. Somebody";
mes "wants to stop us!";
close;
}
mes "[Lyozien]";
mes "Whooo... I was so frightened... Here is potion for you. Hurry up. Go to Ahman";
getitem 504,1;
next;
mes "Suddenly you see that some goods are broken...";
mes "You decided to examine them";
set looked,1;
close;
end;
l_wazaputaus:
Mes "[Lyozien]";
mes "Well Ahmer was right. You are ill. Better have a rest.";
mes "Go to Kazien. He will help you.";
close;
}
//========================================================================================
izlude.gat,186,57,4 script Scamp 85,{
if quest_shadow==4 goto l_gocheck;
if quest_shadow==6 goto l_done;
if quest_shadow==9 goto l_nah;
mes "[Ahman]";
mes "Ahmaaa... Ahnaaa... Ahmaaan....";
next;
mes "["+strcharinfo(0)+"]";
mes "????????";
next;
mes "[Ahman]";
mes "Ahmaaa... Ahnaaa... Ahmaaan....";
close;
l_gocheck:
mes "[Ahman]";
mes "Hello there. What do you want?";
menu "i want to deliver goods.",-,"nothing",l_close;
next;
mes "[Ahman]";
mes "what goods. What are you talking about? I know nothing about this.";
next;
mes "["+strcharinfo(0)+"]";
mes "Im here from Kazien, who send me to Lyozien who send me to you....";
next;
mes "[Ahman]";
mes "Even so. Goods are already delivered. Go back to Lyozien";
set quest_shadow,5;
close;
l_close:
mes "[Ahman]";
mes "You are very strange guy..";
close;
l_done:
mes "["+strcharinfo(0)+"]";
mes "hey!...";
next;
mes "You stay about 1 hour trying to speak to him. No answer";
next;
mes ".........";
mes "["+strcharinfo(0)+"]";
mes "Go i better to Lyozien. he is dead i think...";
set quest_shadow,7;
close;
l_nah:
mes "[Ahmar]";
mes "You look very ill. You know?";
next;
mes "["+strcharinfo(0)+"]";
mes "I dunno. Dont you know about atack on your goods? Some of them were broken. And i examine them..";
next;
mes "[Ahmer]";
mes "What?? You look at them?? Its bad. go to Lyozine. Hurry!";
set quest_shadow,10;
close;
}