diff options
-rwxr-xr-x | conf/map_athena.conf | 69 | ||||
-rw-r--r-- | data/new_1-1.wlk | bin | 0 -> 40004 bytes | |||
-rw-r--r-- | data/new_2-1.wlk | bin | 0 -> 16388 bytes | |||
-rw-r--r-- | data/new_3-1.wlk | bin | 0 -> 40004 bytes | |||
-rw-r--r-- | npc/potos.txt | 12 | ||||
-rw-r--r-- | npc/tulimshar/bank.txt | 16 | ||||
-rw-r--r-- | npc/tulimshar/barber.txt | 53 | ||||
-rw-r--r-- | npc/tulimshar/children.txt | 13 | ||||
-rw-r--r-- | npc/tulimshar/guards.txt | 27 | ||||
-rw-r--r-- | npc/tulimshar/monster_guide.txt | 68 | ||||
-rw-r--r-- | npc/tulimshar/monsters.txt | 7 | ||||
-rw-r--r-- | npc/tulimshar/ptsrewards.txt | 179 | ||||
-rw-r--r-- | npc/tulimshar/shop.txt | 1 | ||||
-rw-r--r-- | npc/tulimshar/villagers.txt | 18 | ||||
-rw-r--r-- | npc/tulimshar/warps.txt | 2 | ||||
-rw-r--r-- | npc/xmas.txt | 44 |
16 files changed, 509 insertions, 0 deletions
diff --git a/conf/map_athena.conf b/conf/map_athena.conf new file mode 100755 index 00000000..bbacbbd6 --- /dev/null +++ b/conf/map_athena.conf @@ -0,0 +1,69 @@ +// ______ __ __ +// /\ _ \/\ \__/\ \ +// __\ \ \L\ \ \ ,_\ \ \___ __ ___ __ +// /'__`\ \ __ \ \ \/\ \ _ `\ /'__`\/' _ `\ /'__`\ +///\ __/\ \ \/\ \ \ \_\ \ \ \ \/\ __//\ \/\ \/\ \L\.\_ +//\ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ +// \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ +// _ _ _ _ _ _ _ _ _ _ _ _ _ +// / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ +//( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) +// \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ +// +//-------------------------------------------------------------- +//eAthena Map-Server Configuration File +//-------------------------------------------------------------- + + +//-------------------------------------------------------------- +// Configuration Info +//-------------------------------------------------------------- +// Interserver communication passwords, set in account.txt (or equiv.) +userid: s1 +passwd: p1 + +// Character Server IP +char_ip:127.0.0.1 +// Character Server Port +char_port: 6122 + +// Map Server IP +map_ip:217.172.177.27 +// Map Server Port +map_port: 5122 + +// Database autosave time, in seconds. +autosave_time: 60 + +// Message of the day file, when a character logs on, this message is displayed. +motd_txt: conf/motd.txt + +// When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands. +help_txt: conf/help.txt + +mapreg_txt: save/mapreg.txt + +import: conf/import/map_conf.txt + +// Maps + +map: new_3-1.gat +map: new_2-1.gat +map: new_1-1.gat + +// NPCs + +npc: npc/tulimshar/monsters.txt +npc: npc/tulimshar/barber.txt +npc: npc/tulimshar/monster_guide.txt +npc: npc/tulimshar/ptsrewards.txt +npc: npc/tulimshar/bank.txt +npc: npc/tulimshar/children.txt +npc: npc/tulimshar/guards.txt +npc: npc/tulimshar/villagers.txt +npc: npc/tulimshar/warps.txt +npc: npc/tulimshar/shop.txt + +npc: npc/tonori/cave.txt +npc: npc/tonori/miners.txt +npc: npc/tonori/warps.txt diff --git a/data/new_1-1.wlk b/data/new_1-1.wlk Binary files differnew file mode 100644 index 00000000..bdbc3bcf --- /dev/null +++ b/data/new_1-1.wlk diff --git a/data/new_2-1.wlk b/data/new_2-1.wlk Binary files differnew file mode 100644 index 00000000..961e6e47 --- /dev/null +++ b/data/new_2-1.wlk diff --git a/data/new_3-1.wlk b/data/new_3-1.wlk Binary files differnew file mode 100644 index 00000000..b7d006d9 --- /dev/null +++ b/data/new_3-1.wlk diff --git a/npc/potos.txt b/npc/potos.txt new file mode 100644 index 00000000..061cf54c --- /dev/null +++ b/npc/potos.txt @@ -0,0 +1,12 @@ +// Potos for Athena by ElvenProgrammer + +new_3-1.gat,112,33,0 script North Guard 104,{ + mes "[North Guard]"; + mes "The road is closed because it's too dangerous to go outside"; + close; +} + +new_3-1.gat,50,50,0 shop Neko 101,501:70,502:140,1201:3500,1202:10000 + + + diff --git a/npc/tulimshar/bank.txt b/npc/tulimshar/bank.txt new file mode 100644 index 00000000..88ebe394 --- /dev/null +++ b/npc/tulimshar/bank.txt @@ -0,0 +1,16 @@ +new_3-1.gat,27,73,0 script Banker 107,{ +mes "[Banker]"; +mes "Welcome to the bank!"; +mes "How can I help you?"; +next; +menu "Deposite",L_Dep,"Withdraw",L_With,"Nevermind that",L_Nev; +L_Dep: + mes "Sorry, but were still moving inventory!"; + close; +L_With: + mes "Sorry, but were still moving inventory!"; + close; +L_Nev: + mes "Goodbye then"; + close; +} diff --git a/npc/tulimshar/barber.txt b/npc/tulimshar/barber.txt new file mode 100644 index 00000000..cfa8e7c3 --- /dev/null +++ b/npc/tulimshar/barber.txt @@ -0,0 +1,53 @@ +new_3-1.gat,102,31,0 script Barber 100,{ + mes "[Barber]"; + mes "I'm the greatest barber in the whole mana world!"; + mes "What color do you like?"; + next; + + menu + "black",black, + "purple",purple, + "green",green, + "blue",blue, + "red",red, + "blonde",blonde, + "light blue",lightblue, + "gray",gray, + "brown",brown, + "white",white, + "no hair",nohair; + +black: + setlook 6,1; + close; +purple: + setlook 6,2; + close; +green: + setlook 6,3; + close; +blue: + setlook 6,4; + close; +red: + setlook 6,5; + close; +blonde: + setlook 6,6; + close; +lightblue: + setlook 6,7; + close; +gray: + setlook 6,8; + close; +brown: + setlook 6,9; + close; +white: + setlook 6,10; + close; +nohair: + setlook 6,11; + close; +} diff --git a/npc/tulimshar/children.txt b/npc/tulimshar/children.txt new file mode 100644 index 00000000..9157be4c --- /dev/null +++ b/npc/tulimshar/children.txt @@ -0,0 +1,13 @@ +new_3-1.gat,57,70,0 script Child1 108,{ +mes "[Child]"; +mes "Maggots are soo slimey "; +close; +} + +new_3-1.gat,120,33,0 script Child2 103,{ +mes "[Child]"; +mes "Ever been pinched by a scorpion?"; +next; +mes "It Hurts..."; +close; +} diff --git a/npc/tulimshar/guards.txt b/npc/tulimshar/guards.txt new file mode 100644 index 00000000..5c349e5c --- /dev/null +++ b/npc/tulimshar/guards.txt @@ -0,0 +1,27 @@ +new_3-1.gat,48,79,0 script Guard 104,{ +mes "[Soldier]"; +mes "Protecting this place is my job."; +mes "If you walk outside, there are" ; +mes "monsters harder than anyhting in here."; +next; +menu "What kind of monsters have you seen?",L_Exp,"Nevermind that",L_Nev; +L_Exp: + mes "Well, in my whole carrier, I've only seen Maggots and Scorpions."; + next; + mes "So please don't ask me about monsters."; + next; + mes "This place is actualy pretty safe"; + close; +L_Nev: + mes "Be careful..."; + close; +} + +new_3-1.gat,40,79,0 script SGuard 104,{ +mes "[Soldier]"; +mes "ZzzZzzZ..."; +next; +mes "Heh, what?"; +mes "I wasn't sleeping, I just had my eyes closed!"; +close; +} diff --git a/npc/tulimshar/monster_guide.txt b/npc/tulimshar/monster_guide.txt new file mode 100644 index 00000000..088efbb3 --- /dev/null +++ b/npc/tulimshar/monster_guide.txt @@ -0,0 +1,68 @@ +new_3-1.gat,53,185,0 script ConquestMob0 -1,{ +OnInit: +areamonster "new_3-1.gat",51,50,244,247,"Maggot",1002, 15,"ConquestMob1::OnGuardianDied10"; +areamonster "new_3-1.gat",51,50,244,247,"Scorpion",1003, 5,"ConquestMob2::OnGuardianDied11"; +break; +} +new_3-1.gat,53,185,0 script ConquestMob1 -1,{ +OnGuardianDied10: +if (MPQUEST == 0) goto spawn; + // event when mob dies + set Mobpt,Mobpt+1; + areamonster "new_3-1.gat",51,50,244,247,"Maggot",1002,1,"ConquestMob1::OnGuardianDied10"; + break; +spawn: + areamonster "new_3-1.gat",51,50,244,247,"Maggot",1002,1,"ConquestMob1::OnGuardianDied10"; + break; + +} +new_3-1.gat,53,185,0 script ConquestMob2 -1,{ +OnGuardianDied11: +if (MPQUEST == 0) goto spawn; + // event when mob dies + set Mobpt,Mobpt+2; + areamonster "new_3-1.gat",51,50,244,247,"Scorpion",1003,1,"ConquestMob2::OnGuardianDied11"; + break; +spawn: + areamonster "new_3-1.gat",51,50,244,247,"Maggot",1002,1,"ConquestMob1::OnGuardianDied10"; + break; + +} +new_3-1.gat,46,66,0 script MonsterGuide 102,{ +if(MPQUEST == 0) goto Register; + mes "[Monster Guide]"; + mes "you currently have " +Mobpt+ " Monster Points"; + mes "These points are acuired while killing monsters"; + close; +Register: + mes "[Monster Guide]"; + mes "Oh my, you dont seem to be registered as a Quest Participant, would you like to register?"; + next; + menu "Register",L_R,"Skip",L_N,"Information",L_I; + L_R: + mes "[Monster Guide]"; + mes "Give me a second to look over your paperwork."; + next; + mes "[Monster Guide]"; + mes "Well, looks like you qualify!"; + mes "Welcome to the questing world!"; + set MPQUEST,1; + close; + L_N: + mes "[Monster Guide]"; + mes "Very well, you dont know what your missing."; + close; + L_I: + mes "[Monster Guide]"; + mes "Here in The Mana World, there are certain rewards for your vanquishing of foes."; + mes "For example, there are Monster Points, every monster you kill has a certain amount of points that get added to your account."; + mes "The more points you have, the more expensive things you can buy using them."; + next; + mes "[Monster Guide]"; + mes "So whaddya say, sign up wont u?"; + close; + + +} + + diff --git a/npc/tulimshar/monsters.txt b/npc/tulimshar/monsters.txt new file mode 100644 index 00000000..e838c1e2 --- /dev/null +++ b/npc/tulimshar/monsters.txt @@ -0,0 +1,7 @@ +new_3-1.gat,0,0,0,0 monster Maggot 1002,20,0,0,0 +new_3-1.gat,0,0,0,0 monster Scorpion 1003,5,0,0,0 + +new_1-1.gat,0,0,0,0 monster GreenSlime 1005,50,0,0,0 +new_1-1.gat,0,0,0,0 monster GiantMaggot 1006,30,0,0,0 +new_1-1.gat,0,0,0,0 monster RedScorpion 1004,1,0,0,0 + diff --git a/npc/tulimshar/ptsrewards.txt b/npc/tulimshar/ptsrewards.txt new file mode 100644 index 00000000..955737a0 --- /dev/null +++ b/npc/tulimshar/ptsrewards.txt @@ -0,0 +1,179 @@ +new_3-1.gat,55,51,0 script Rewards 106,{ + mes "[Rewards Master]"; + mes "Welcome"; + mes "Would you like to exchange some points for items?"; + next; + menu "Yes",Y1,"No Thanks",LEAVE; + next; + +Y1: + mes "[Rewards Master]"; + mes "Ok lets check those points."; + if (tvis == 0) set tvis,1; + if (Mobpt < tvis) goto NotEnough; + set Mobpt,Mobpt-tvis; + set tvis,tvis+1; + next; + set @TEMP,rand(1); + if(@TEMP ==0) goto R_1; + if(@TEMP ==1) goto R_2; +R_1: + set @TEMP,rand(19); + if(@TEMP ==0) goto R1_1; + if(@TEMP ==1) goto R1_2; + if(@TEMP ==2) goto R1_3; + if(@TEMP ==3) goto R1_4; + if(@TEMP ==4) goto R1_5; + if(@TEMP ==5) goto R1_6; + if(@TEMP ==6) goto R1_7; + if(@TEMP ==7) goto R1_8; + if(@TEMP ==8) goto R1_9; + if(@TEMP ==9) goto R1_10; + if(@TEMP ==10) goto R1_11; + if(@TEMP ==11) goto R1_12; + if(@TEMP ==12) goto R1_13; + if(@TEMP ==13) goto R1_14; + if(@TEMP ==14) goto R1_15; + if(@TEMP ==15) goto R1_16; + if(@TEMP ==16) goto R1_17; + if(@TEMP ==17) goto R1_18; + if(@TEMP ==18) goto R1_19; + if(@TEMP ==19) goto R1_20; + +R1_1: + mes "[Rewards Master]"; + mes "You got Cactus Drink."; + getitem 501,1; + goto Q; +R1_2: + mes "[Rewards Master]"; + mes "You got Cactus Potion."; + getitem 502,1; + goto Q; +R1_3: + mes "[Rewards Master]"; + mes "You got Casino Coins."; + getitem 503,1; + goto Q; +R1_4: + mes "[Rewards Master]"; + mes "You got Decor Candy Cane."; + getitem 504,1; + goto Q; +R1_5: + mes "[Rewards Master]"; + mes "You got Maggot Slime."; + getitem 505,1; + goto Q; +R1_6: + mes "[Rewards Master]"; + mes "You got Candy Cane."; + getitem 506,1; + goto Q; +R1_7: + mes "[Rewards Master]"; + mes "You got Scorpion Stinger."; + getitem 507,1; + goto Q; +R1_8: + mes "[Rewards Master]"; + mes "You got Xmas Cake."; + getitem 508,1; + goto Q; +R1_9: + mes "[Rewards Master]"; + mes "You got Chocolate Bar."; + getitem 509,1; + goto Q; +R1_10: + mes "[Rewards Master]"; + mes "You got Candy."; + getitem 510,1; + goto Q; +R1_11: + mes "[Rewards Master]"; + mes "You got Santa Hat."; + getitem 511,1; + goto Q; +R1_12: + mes "[Rewards Master]"; + mes "You got Ginger Bread Man."; + getitem 512,1; + goto Q; +R1_13: + mes "[Rewards Master]"; + mes "You got Cake."; + getitem 513,1; + goto Q; +R1_14: + mes "[Rewards Master]"; + mes "You got Candy Cane."; + getitem 514,1; + goto Q; +R1_15: + mes "[Rewards Master]"; + mes "You got Purple Present."; + getitem 515,1; + goto Q; +R1_16: + mes "[Rewards Master]"; + mes "You got Yellow Present."; + getitem 516,1; + goto Q; +R1_17: + mes "[Rewards Master]"; + mes "You got Red Scorpion Stinger."; + getitem 517,1; + goto Q; +R1_18: + mes "[Rewards Master]"; + mes "You got Bug Leg."; + getitem 518,1; + goto Q; +R1_19: + mes "[Rewards Master]"; + mes "You got Cherry Cake."; + getitem 519,1; + goto Q; +R1_20: + mes "[Rewards Master]"; + mes "You got Easter Egg."; + getitem 520,1; + goto Q; + +R_2: + set @TEMP,rand(3); + if(@TEMP ==0) goto R2_1; + if(@TEMP ==1) goto R2_2; + if(@TEMP ==2) goto R2_3; + if(@TEMP ==3) goto R2_4; + +R2_1: + mes "[Rewards Master]"; + mes "You got an Arrow."; + getitem 1199,1; + goto Q; +R2_2: + mes "[Rewards Master]"; + mes "You got a Bow."; + getitem 1200,1; + goto Q; +R2_3: + mes "[Rewards Master]"; + mes "You got a Knife."; + getitem 1201,1; + goto Q; +R2_4: + mes "[Rewards Master]"; + mes "You got an Cotton Shirt."; + getitem 1202,1; + goto Q; + +NotEnough: + next; + mes "[Rewards Master]"; + mes "Kill some more monsters first."; + close; +LEAVE: + close; +} diff --git a/npc/tulimshar/shop.txt b/npc/tulimshar/shop.txt new file mode 100644 index 00000000..75070c7d --- /dev/null +++ b/npc/tulimshar/shop.txt @@ -0,0 +1 @@ +new_3-1.gat,54,45,0 shop Neko 101,501:50,502:60,1201:100,1202:1000,522:300,521:1000,523:8000 diff --git a/npc/tulimshar/villagers.txt b/npc/tulimshar/villagers.txt new file mode 100644 index 00000000..dfe68a96 --- /dev/null +++ b/npc/tulimshar/villagers.txt @@ -0,0 +1,18 @@ +new_3-1.gat,114,43,0 script Guard 102,{ +mes "[Man]"; +mes "Ouch! it hurts, this wound I got from battle"; +next; +menu "Tell me more",L_Exp,"Nevermind that",L_Nev; +L_Exp: + mes "I was fighting scorpions for experience and I bumped into a RED"; + mes "one. I have NEVER seen it before!"; + next; + mes "Luckily i had a camera with me! Here's a picture of it..."; + mes " Let me find it. I in my pocket sumwhere"; + next; + mes "Oh gawd! my pockets been ripped clean off!"; + close; +L_Nev: + mes "Hmpf!"; + close; +} diff --git a/npc/tulimshar/warps.txt b/npc/tulimshar/warps.txt new file mode 100644 index 00000000..afecf42e --- /dev/null +++ b/npc/tulimshar/warps.txt @@ -0,0 +1,2 @@ +new_1-1.gat,56,12 warp totown 5,1,new_3-1.gat,44,80 +new_3-1.gat,42,88 warp tofield 5,2,new_1-1.gat,58,17 diff --git a/npc/xmas.txt b/npc/xmas.txt new file mode 100644 index 00000000..4a764836 --- /dev/null +++ b/npc/xmas.txt @@ -0,0 +1,44 @@ +new_3-1.gat,67,42,0 script Santa 105,{ +if( ChristmasQuest == 1) goto done; +mes "[Fake Santa]"; +mes "Why hello there young'n"; +mes "Now how would you like yourself a Christmas hat?"; +next; +L_M: +menu "Yes",L_Y,"No",L_N,"Requirements?",L_R; + L_Y: + mes "[Fake Santa]"; + mes "Hmm, let me check your supplies, I myself dont have enough to make 1."; + next; + if(countitem(504)<10) goto NoItem; + if(countitem(506)<25) goto NoItem; + if(countitem(508)<5) goto NoItem; + mes "Here you go, enjoy your new hat!"; + delitem 504,10; + delitem 506,25; + delitem 508,5; + getitem 511,1; + set ChristmasQuest,1; + close; + L_R: + mes "[Fake Santa]"; + mes "For this special hat, i need a pint of magic and a little help"; + mes ",Just kidding, i need"; + mes "25 Candy Canes"; + mes "10 Decor Candy"; + mes "5 Xmas Cakes"; + next; + goto L_M; + L_N: + mes "[Fake Santa]"; + mes "Well, thats too bad, but make sure to have the holiday spirit!"; + close; + NoItem: + mes "[Fake Santa]"; + mes "Oh my, you dont seem to have the items needed for the Hat."; + close; + done: + mes "[Fake Santa]"; + mes "well, seems you already did this quest."; + close; +}
\ No newline at end of file |