diff options
-rw-r--r-- | conf/motd.txt | 1 | ||||
-rwxr-xr-x | db/item_db.txt | 31 | ||||
-rw-r--r-- | db/mob_db.txt | 18 | ||||
-rw-r--r-- | npc/heal.txt | 59 | ||||
-rw-r--r-- | npc/nekkio.txt | 88 | ||||
-rw-r--r-- | npc/slot_machine.txt | 116 | ||||
-rw-r--r-- | npc/spekko.txt | 100 | ||||
-rw-r--r-- | npc/tip_announcer.txt | 90 | ||||
-rw-r--r-- | npc/tulimshar/children.txt | 96 | ||||
-rw-r--r-- | npc/tulimshar/guards.txt | 57 | ||||
-rw-r--r-- | npc/tulimshar/monsters.txt | 16 |
11 files changed, 628 insertions, 44 deletions
diff --git a/conf/motd.txt b/conf/motd.txt new file mode 100644 index 00000000..f570494c --- /dev/null +++ b/conf/motd.txt @@ -0,0 +1 @@ +Welcome to The Mana World! (running on eAthena) diff --git a/db/item_db.txt b/db/item_db.txt index d76c485d..7baa83b3 100755 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -1,7 +1,4 @@ -// File created using Spamrat's Athena Database Editor v1.4.4 -// //ID,Name,Jname,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Gender,Loc,wLV,eLV,View,{UseScript},{EquipScript} -// カンマの数をきちんと合わせるべし // 501,Cactus_Drink,Cactus Drink,0,50,25,70,,,,,10477567,2,,,,,{ itemheal 10,0; },{} 502,Cactus_Potion,Cactus Potion,0,60,30,70,,,,,10477567,2,,,,,{ itemheal 15,10; },{} @@ -23,22 +20,22 @@ 518,Bug_leg,Bug leg,3,60,20,1,,,,,,,,,,,{},{} 519,CherryCake,Cherry cake,0,100,50,1,,,,,10477567,2,,,,,{ itemheal 40,0; },{} 520,Easter_egg,Easter egg,0,200,100,1,,,,,10477567,2,,,,,{ itemheal 100,0; },{} -521,Dagger,Dagger,4,1000,500,100,15,,1,0,554329694207,2,2,1,1,1,{},{},,,,,, -522,Sharp_Knife,Sharp knife,4,100,50,100,10,,1,0,554329694207,2,2,1,1,1,{},{},,,,,, -523,Leather_Shirt,Leather Shirt,5,8000,8000,100,,2,,0,35046926835711,2,16,,0,0,{},{} +521,Dagger,Dagger,4,1000,500,100,15,,1,0,10477567,2,2,1,1,1,{},{} +522,Sharp_Knife,Sharp knife,4,100,50,100,10,,1,0,10477567,2,2,1,1,1,{},{} +523,Leather_Shirt,Leather Shirt,5,10,5,100,,1,,0,10477567,2,16,,0,0,{},{} 524,Fancy_Hat,Fancy Hat,5,800,400,200,,2,,0,10477567,2,256,,0,0,{},{} 525,Miner_Hat,Miner Hat,5,800,400,200,,4,,0,10477567,2,256,,0,0,{},{} 526,Coins_Bag,Coins Bag,3,100,50,5,,,,,,,,,,,{},{} 527,Milk,Milk,0,300,150,5,,,,,10477567,2,,,,,{ itemheal 150,0; },{} 528,Boots,Boots,5,8000,1000,200,,2,,0,10477567,2,64,,0,0,{},{} -529,Iron_Arrow,Iron Arrow,10,3,0,1,50,,,,35046926835711,2,32768,,1,,{},{},,,,,,,,,,,,,, -530,Short_Bow,Short Bow,4,3000,500,200,50,,5,0,10477567,2,34,1,4,11,{},{},,, -531,Miner_Gloves,Miner Gloves,5,3000,1000,20,,1,,0,10477567,2,4,,0,0,{},{} -532,Leather_Gloves,Leather Gloves,5,6000,2000,30,,2,,0,10477567,2,4,,0,0,{},{} -533,Roasted_Maggot,Roasted Maggot,0,400,170,5,,,,,10477567,2,,,,,{ itemheal 150,0; },{} -534,Orange_Cupcake,Orange Cupcake,0,200,50,5,,,,,10477567,2,,,,,{ itemheal 60,0; },{} -535,Apple,Apple,0,20,10,1,,,,,10477567,2,,,,,{ itemheal 20,0; },{} -1199,Arrow,Arrow,10,1,0,1,25,,,,35046926835711,2,32768,,1,,{},{},,,,,,,,,,,,,, -1200,Bow,Bow,4,1000,500,200,15,,5,0,10477567,2,34,1,4,11,{},{},,, -1201,Knife,Knife,4,50,25,100,5,,1,0,554329694207,2,2,1,1,1,{},{},,,,,, -1202,Cotton_Shirt,Cotton Shirt,5,10,5,100,,1,,0,10477567,2,16,,0,0,{},{} +529,Iron_Arrow,Iron Arrow,10,2,0,1,25,,,,35046926835711,2,32768,,1,,{},{} +530,Short_Bow,Short Bow,4,1000,500,200,10,,5,0,10477567,2,34,1,4,11,{},{} +531,Miner_Gloves,Miner Gloves,5,3000,1000,20,,2,,0,10477567,2,4,,0,0,{},{} +532,Leather_Gloves,Leather Gloves,5,6000,2000,30,,1,,0,10477567,2,4,,0,0,{},{} +533,RoastedMaggot,Roasted_Maggot,0,100,55,5,,,,,10477567,2,,,,,{ itemheal 150,0; },{} +534,Orange_Cupcake,Orange_Cupcake,0,80,45,5,,,,,10477567,2,,,,,{ itemheal 100,10; },{} +535,Apple,Apple,0,10,5,5,,,,,10477567,2,,,,,{ itemheal 50,0; },{} +1199,Arrow,Arrow,10,1,0,1,15,,,,35046926835711,2,32768,,1,,{},{ bonus bSplashRange,3; } +1200,Bow,Bow,4,1000,500,200,25,,10,0,10477567,2,34,1,4,11,{},{} +1201,Knife,Knife,4,50,25,100,5,,1,0,554329694207,2,2,1,1,1,{},{} +1202,Cotton_Shirt,Cotton Shirt,5,1000,500,100,,1,,0,10477567,2,16,,0,0,{},{} diff --git a/db/mob_db.txt b/db/mob_db.txt new file mode 100644 index 00000000..d6ae29a8 --- /dev/null +++ b/db/mob_db.txt @@ -0,0 +1,18 @@ +//ID,Name,JName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,ADelay,aMotion,dMotion,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Item1,Item2,MEXP,ExpPer,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per +// +1002,Maggot,Maggot,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1003,Scorpion,Scorpion,5,115,0,7,4,1,7,17,0,5,1,1,1,0,15,30,10,12,1,3,21,129,2000,1872,672,480,507,700,510,100,509,50,518,700,909,0,909,0,909,0,0,0,0,0,0,0,,,,,, +1004,RedScorpion,Red Scorpion,15,1415,0,225,145,1,50,60,4,6,10,10,10,10,30,10,10,12,1,0,20,129,1000,1872,672,480,517,800,509,100,518,500,1200,10,1199,760,1201,540,524,5,0,0,0,0,0,0,,,,,, +1005,GreenSlime,Green Slime,1,334,0,14,8,1,25,37,2,7,1,30,1,0,30,30,10,12,1,0,20,131,1500,1872,672,480,502,200,513,100,501,100,521,100,522,190,526,10,503,500,535,750,0,0,0,0,,,,,, +1006,GiantMaggot,Giant Maggot,1,671,0,28,16,1,45,67,2,7,10,8,2,1,22,1,10,12,1,0,20,129,2000,1872,672,480,1199,900,519,100,518,750,501,110,502,110,503,11,526,10,0,0,0,0,0,0,,,,,, +1007,Yellow_slime,Yellow Slime,1,80,0,5,2,1,4,15,2,7,10,8,2,1,34,1,10,12,1,0,20,131,1400,1800,672,480,509,0,519,100,501,110,502,110,522,10,909,0,909,0,535,750,0,0,0,0,,,,,, +1008,Red_slime,Red Slime,1,895,0,112,56,1,30,50,2,7,15,10,2,1,25,1,10,12,1,0,20,135,1300,1500,672,480,1201,100,509,110,521,11,523,10,525,10,535,750,528,20,531,20,0,0,0,0,,,,,, +1009,BlackScorpion,Black Scorpion,1,954,0,172,70,1,75,80,4,6,20,20,10,10,35,10,10,12,1,0,20,133,1000,1500,672,480,523,70,509,100,518,800,909,0,909,0,909,0,909,0,0,0,0,0,0,0,,,,,, +1010,Maggot,Maggot,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1011,Maggot,Maggot,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1101,Resident,Resident,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1102,Resident,Resident,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1103,Resident,Resident,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1104,Resident,Resident,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1105,Resident,Resident,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, +1106,Resident,Resident,1,50,0,3,2,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,129,800,1872,672,480,505,800,501,150,518,800,502,150,521,70,522,1,909,0,0,0,0,0,0,0,,,,,, diff --git a/npc/heal.txt b/npc/heal.txt new file mode 100644 index 00000000..02e38cd0 --- /dev/null +++ b/npc/heal.txt @@ -0,0 +1,59 @@ +//Heal NPC costs 100 money +new_3-1.gat,40,66,0 script Elanore 108,{ + set @TEMP,rand(3); + if(@TEMP == 0) goto Heal1; + if(@TEMP == 1) goto Heal2; + if(@TEMP == 2) goto Heal3; + if(@TEMP == 3) goto Heal4; +Heal1: + mes "[Elanore]"; + mes "You don't look too well, let me treat your wounds."; + next; + goto Heal_L; + +Heal2: + mes "[Elanore]"; + mes "I will make quick work of your wounds."; + next; + goto Heal_L; + +Heal3: + mes "[Elanore]"; + mes "Need a healing?."; + next; + goto Heal_L; + +Heal4: + mes "[Elanore]"; + mes "Sometimes you just need to run from battle."; + next; + goto Heal_L; + +Heal_L: + if(@TEMP == 0) goto Heal_1; + if(@TEMP == 1) goto Heal_2; + if(@TEMP == 2) goto Heal_3; + if(@TEMP == 3) goto Heal_4; +Heal_1: + mes "[Elanore]"; + mes "Here you go!"; + heal 10000,10000; + close; + +Heal_2: + mes "[Elanore]"; + mes "Painless wasnt it?"; + mes "Here you go!"; + heal 10000,10000; + close; +Heal_3: + mes "[Elanore]"; + mes "You should be more careful."; + heal 10000,10000; + close; +Heal_4: + mes "[Elanore]"; + mes "Much better right?!"; + heal 10000,10000; + close; +} diff --git a/npc/nekkio.txt b/npc/nekkio.txt new file mode 100644 index 00000000..ccd6e393 --- /dev/null +++ b/npc/nekkio.txt @@ -0,0 +1,88 @@ +new_3-1.gat,49,69,0 script Nekkio 108,{ + if(Scorp == 2) goto done; + if(Scorp == 1) goto reas; + set @TEMP,rand(3); + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + if(@TEMP == 0) goto L_4; + +L_1: + mes "[Nekkio]"; + mes "In the outskirts of Tulimshir, there lies a Red scorpion. I need a favor if anyone can give me one."; + next; + goto red; +L_2: + mes "[Nekkio]"; + mes "When you venture to the outskirts of Tulimshir, you will spot a Red Scorpion. Will you help me get one?"; + next; + goto red; +L_3: + mes "[Nekkio]"; + mes "The red scorpions stinger carries many properties used in herbs."; + next; + goto red; +L_4: + mes "[Nekkio]"; + mes "You look sturdy enough, will you help me get something?"; + next; + goto red; + +red: + menu "Yes",L_kl,"No",L_N; + +L_kl: + if(@TEMP == 1) goto K_1; + if(@TEMP == 2) goto K_2; + if(@TEMP == 3) goto K_3; + if(@TEMP == 0) goto K_1; +K_1: + mes "[Nekkio]"; + mes "I need you to slaughter the Red Scorpion found outside of Tulimshir and bring me 5 [Red Stingers]"; + next; + goto set1; +K_2: + mes "[Nekkio]"; + mes "I heard a while ago that the Stinger of the Red scorpion can be used for medical purposes. I need you to help me get 5 [Red Stingers]"; + next; + goto set1; +K_3: + mes "[Nekkio]"; + mes "Bring me 5 [Red Stingers] and i will reward you greatly"; + next; + goto set1; + +set1: + set Scorp,1; + mes "[Nekkio]"; + mes "Please bring them to me!"; + close; + +reas: + if(countitem(517) >= 5) goto have; + mes "[Nekkio]"; + mes "Please hurry and bring me 5 [Red Stingers]"; + close; + +have: + mes "[Nekkio]"; + mes "Excelent!, you have brought me 5 [Scorpion Stingers]!"; + delitem 517,5; + next; + mes "[Nekkio]"; + mes "Here you go, heres your reward!"; + mes "+Got Bow"; + mes "+Got Arrows 100"; + getitem 1200,1; + getitem 1199,100; + set Scorp,2; + close; + +done: + mes "[Nekkio]"; + mes "Thankyou for all of your help!"; + close; + +L_N: + close; +} diff --git a/npc/slot_machine.txt b/npc/slot_machine.txt new file mode 100644 index 00000000..f3ee4bce --- /dev/null +++ b/npc/slot_machine.txt @@ -0,0 +1,116 @@ +//slots! +new_3-1.gat,47,47,0 script Elanorere 108,{ + mes "How Much would you like to insert?"; + next; + menu "1 Coin",L_1,"5 Coins",L_5,"10 Coins",L_10,"20 Coins",L_20; +L_1: + if(countitem(503) < 1) goto Coins; + delitem 503,1; + mes "Insert Coin and pull handle."; + next; + set @Temp1,rand(7); + set @Temp2,rand(7); + set @Temp3,rand(7); + mes "Numbers"+ @Temp1 +"/"+ @Temp2 +"/"+ @Temp3 +""; + next; + if(@Temp1 == @Temp2) goto L_12; + mes "Lose"; + close; +L_12: + if(@Temp2 == @Temp3) goto L_13; + mes "Lose"; + close; +L_13: + if(@Temp3 == @Temp1) goto win1; + mes "Lose"; + close; +win1: + mes "You won"; + mes "2 Coins added to inventory"; + getitem 503,2; + close; + +L_5: + if(countitem(503) < 5) goto Coins; + delitem 503,5; + mes "Insert Coin and pull handle."; + next; + set @Temp1,rand(7); + set @Temp2,rand(7); + set @Temp3,rand(7); + mes "Numbers"+ @Temp1 +"/"+ @Temp2 +"/"+ @Temp3 +""; + next; + if(@Temp1 == @Temp2) goto L_14; + mes "Lose"; + close; +L_14: + if(@Temp2 == @Temp3) goto L_15; + mes "Lose"; + close; +L_15: + if(@Temp3 == @Temp1) goto win5; + mes "Lose"; + close; +win5: + mes "You won"; + mes "5 Coins added to inventory"; + getitem 503,10; + close; +L_10: + if(countitem(503) < 10) goto Coins; + delitem 503,10; + mes "Insert Coin and pull handle."; + next; + set @Temp1,rand(7); + set @Temp2,rand(7); + set @Temp3,rand(7); + mes "Numbers"+ @Temp1 +"/"+ @Temp2 +"/"+ @Temp3 +""; + next; + if(@Temp1 == @Temp2) goto L_120; + mes "Lose"; + close; + +L_120: + if(@Temp2 == @Temp3) goto L_130; + mes "Lose"; + close; +L_130: + if(@Temp3 == @Temp1) goto win10; + mes "Lose"; + close; +win10: + mes "You won"; + mes "20 Coins added to inventory"; + getitem 503,20; + close; +L_20: + if(countitem(503) < 20) goto Coins; + delitem 503,20; + mes "Insert Coin and pull handle."; + next; + set @Temp1,rand(7); + set @Temp2,rand(7); + set @Temp3,rand(7); + mes "Numbers"+ @Temp1 +"/"+ @Temp2 +"/"+ @Temp3 +""; + next; + if(@Temp1 == @Temp2) goto L_1200; + mes "Lose"; + close; + +L_1200: + if(@Temp2 == @Temp3) goto L_1300; + mes "Lose"; + close; +L_1300: + if(@Temp3 == @Temp1) goto win100; + mes "Lose"; + close; +win100: + mes "You won"; + mes "40 Coins added to inventory"; + getitem 503,40; + close; +Coins: + mes "Sorry, you dont have enough coins!"; + close; +} diff --git a/npc/spekko.txt b/npc/spekko.txt new file mode 100644 index 00000000..293326c7 --- /dev/null +++ b/npc/spekko.txt @@ -0,0 +1,100 @@ +new_3-1.gat,66,68,0 script Spekko 108,{ + if(Bugleg == 1) goto reas; + if(Bugleg == 2) goto done; + set @TEMP,rand(3); + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + if(@TEMP == 0) goto L_4; + +L_1: + mes "[Spekko]"; + mes "I just need 30 more [Bug Leg] to finish my action figure!"; + next; + goto main1; +L_2: + mes "[Spekko]"; + mes "This Maggot action figure is awesome! I just need to attach [30 Part A{Bug Leg}]"; + next; + goto main1; +L_3: + mes "[Spekko]"; + mes "This is a great Action Figure!, a must have!, all i need is a few parts..."; + goto main1; +L_4: + mes "[Spekko]"; + mes "Can you get me 30 [Bug Legs]? i need them to replace the action figure parts."; + next; + goto main1; + +main1: + mes "[Spekko]"; + mes "Will you help me find 30 [Bug Legs]?"; + next; + menu "Yes",B_1,"No",B_2; +B_1: + set Bugleg,1; + set @TEMP,rand(3); + if(@TEMP == 1) goto J_1; + if(@TEMP == 2) goto J_2; + if(@TEMP == 3) goto J_3; + if(@TEMP == 0) goto J_4; +J_1: + mes "[Spekko]"; + mes "Thank you!"; + next; + goto main2; +J_2: + mes "[Spekko]"; + mes "I dont know how to thank you enough!"; + next; + goto main2; +J_3: + mes "[Spekko]"; + mes "I will thank you when i get them!"; + next; + goto main2; +J_4: + mes "[Spekko]"; + mes "Im sure i will give a small reward :D"; + next; + goto main2; +main2: + mes "[Spekko]"; + mes "Now please go get me 30 [Bug Legs]"; + close; +reas: + if(countitem(518) >= 30) goto have; + mes "[Spekko]"; + mes "Please help me collect 30 [Bug Legs]!"; + close; +have: + mes "[Spekko]"; + mes "Excellent!, Finally i can complete the Model!!"; + delitem 518,30; + next; + mes "[Spekko]"; + mes "Here you go, heres a little of my Appreciation!"; + next; + mes "Got 1000 GP"; + set zeny,zeny+1000; + set Bugleg,2; + close; +done: + mes "[Spekko]"; + mes "Thanks yor your help!"; + close; +B_2: + close; +} + +new_3-1.gat,30,42,0 script North Guard 104,{ + if(joblevel > 8) goto change; + mes "Hi there"; + close; +change: + mes "[Person]"; + mes "Since your higher than Job Level 10, i will change you to give you advancements in stats"; + jobchange 1; +close; +} diff --git a/npc/tip_announcer.txt b/npc/tip_announcer.txt new file mode 100644 index 00000000..584b8242 --- /dev/null +++ b/npc/tip_announcer.txt @@ -0,0 +1,90 @@ +new_3-1.gat,152,200,5 script Tip -1,{ +OnTimer80000: + setnpctimer 0; +Lariatalk: + set $ariatalk,rand(15); + if($ariatalk == 0) goto Lquote0; + if($ariatalk == 1) goto Lquote1; + if($ariatalk == 2) goto Lquote2; + if($ariatalk == 3) goto Lquote3; + if($ariatalk == 4) goto Lquote4; + if($ariatalk == 5) goto Lquote5; + if($ariatalk == 6) goto Lquote6; + if($ariatalk == 7) goto Lquote7; + if($ariatalk == 8) goto Lquote8; + if($ariatalk == 9) goto Lquote9; + if($ariatalk == 10) goto Lquote10; + if($ariatalk == 11) goto Lquote11; + if($ariatalk == 12) goto Lquote12; + if($ariatalk == 13) goto Lquote13; + if($ariatalk == 14) goto Lquote14; + if($ariatalk == 15) goto Lquote15; + goto Lariatalk; +Lquote0: + announce "This is NOT an official server!.",8; + setnpctimer 0; + break; +Lquote1: + announce "Elanore can be found in the town, She can heal your wounds.",8; + setnpctimer 0; + break; +Lquote2: + announce "Strength raises attack with melee weapons.",8; + setnpctimer 0; + break; +Lquote3: + announce "Agility raises you attack speed and your dodge.",8; + setnpctimer 0; + break; +Lquote4: + announce "Dexterity raises you Bow damage and your accuracy rate",8; + setnpctimer 0; + break; +Lquote5: + announce "Vitality raises max HP and defense.",8; + setnpctimer 0; + break; +Lquote6: + announce "Luck raises max lucky dodge and higher item drops.",8; + setnpctimer 0; + break; +Lquote7: + announce "There are basic shop NPCs in town.",8; + setnpctimer 0; + break; +Lquote8: + announce "There is a quest provided for your enjoyment(Spekko).",8; + setnpctimer 0; + break; +Lquote9: + announce "There is a quest provided for your enjoyment(Nekkio).",8; + setnpctimer 0; + break; +Lquote10: + announce "some items can be consumed for health.",8; + setnpctimer 0; + break; +Lquote11: + announce "By killing monsters, you gain EXPERIENCE.",8; + setnpctimer 0; + break; +Lquote12: + announce "You can sit with the F5 Key.",8; + setnpctimer 0; + break; +Lquote13: + announce "You can view your skills with alt+k and vier items with alt+i.",8; + setnpctimer 0; + break; +Lquote14: + announce "This game is still in alpha phase, so be patient.",8; + setnpctimer 0; + break; +Lquote15: + announce "Enjoying the server?",8; + setnpctimer 0; + break; +OnInit: + initnpctimer; + break; +}
\ No newline at end of file diff --git a/npc/tulimshar/children.txt b/npc/tulimshar/children.txt index 9157be4c..10fb18f9 100644 --- a/npc/tulimshar/children.txt +++ b/npc/tulimshar/children.txt @@ -1,13 +1,93 @@ new_3-1.gat,57,70,0 script Child1 108,{ -mes "[Child]"; -mes "Maggots are soo slimey "; -close; + set @TEMP,rand(7); + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + if(@TEMP == 4) goto L_4; + if(@TEMP == 5) goto L_5; + if(@TEMP == 6) goto L_6; + if(@TEMP == 7) goto L_7; + if(@TEMP == 0) goto L_1; + +L_1: + mes "[Child]"; + mes "Maggots are soo slimey!"; + close; + +L_2: + mes "[Child]"; + mes "Want to play ball with me?"; + close; + +L_3: + mes "[Child]"; + mes "Monsters roam the land, i hate scorpions!"; + close; + +L_4: + mes "[Child]"; + mes "When i grow up, I want to be strong enough to kill a scorpion!"; + close; + +L_5: + mes "[Child]"; + mes "Items dropped by monsters can be sold for *Currency name here*"; + close; + +L_6: + mes "[Child]"; + mes "Items such as foods, can be eaten to regain Health Points."; + close; + +L_7: + mes "[Child]"; + mes "I want to be a Doctor when i grow up!"; + 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; + set @TEMP,rand(7); + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + if(@TEMP == 4) goto L_4; + if(@TEMP == 5) goto L_5; + if(@TEMP == 6) goto L_6; + if(@TEMP == 7) goto L_7; + if(@TEMP == 0) goto L_1; + +L_1: + mes "[Child]"; + mes "If i learned anything from school, Grenxen founded Tulimshar."; + close; + +L_2: + mes "[Child]"; + mes "When i was picking rocks from the field, i saw a red scorpion."; + close; + +L_3: + mes "[Child]"; + mes "Its polite to state your name before talking to anyone."; + close; + +L_4: + mes "[Child]"; + mes "I have a Scorpion Doll!"; + close; + +L_5: + mes "[Child]"; + mes "I carry spare Cactus Juices while on the field."; + close; + +L_6: + mes "[Child]"; + mes "Items such as foods, can be eaten to regain Health Points."; + close; + +L_7: + mes "[Child]"; + mes "Grenxen is the Demon that founded Tulimshar."; + close; } diff --git a/npc/tulimshar/guards.txt b/npc/tulimshar/guards.txt index 375199eb..ce020e48 100644 --- a/npc/tulimshar/guards.txt +++ b/npc/tulimshar/guards.txt @@ -1,20 +1,47 @@ new_3-1.gat,48,79,0 script Guard 104,{ - mes "[Soldier]"; - mes "Protecting this place is my job. Be careful if you walk outside, there are monsters harder than anything you find here."; + mes "[Guard]"; + mes "Protecting Tulimshar is my job."; next; - menu - "What kind of monsters?",L_Exp, - "Nevermind",L_Nev; + "Can you give me any tips?",L_Tip, + "Information",L_Info,; -L_Exp: - mes "Actually, in my whole career, I've only seen maggots and scorpions. So please don't ask me about monsters."; - next; - mes "This place is actually pretty safe."; +L_Tip: + set @TEMP,rand(5); + if(@TEMP == 0) goto L_0; + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + if(@TEMP == 4) goto L_4; + if(@TEMP == 5) goto L_5; +L_1: + mes "[Guard]"; + mes "Try to carry spare potion when on fields or in dungeons, they will come in handy."; close; - -L_Nev: - mes "Careful!"; +L_2: + mes "[Guard]"; + mes "Always carry a map of where you are, ask the Guides in most towns to get one."; + close; +L_3: + mes "[Guard]"; + mes "When in a dungeon, monsters are more aggressive than if they were outside."; + close; +L_4: + mes "[Guard]"; + mes "When gambling for money in casino's, make sure you have enough emergency money."; + close; +L_5: + mes "[Guard]"; + mes "Never underestimate the enemy."; + close; +L_0: + mes "[Guard]"; + mes "Let me think of a few... Oh! Do NOT attack Red scorpions unless you can kill it for sure!"; + close; + +L_Info: + mes "[Guard]"; + mes "Sorry I have no information for you, try asking for a tip."; close; } @@ -22,6 +49,8 @@ new_3-1.gat,40,79,0 script SGuard 104,{ mes "[Soldier]"; mes "ZzzZzzZ..."; next; - mes "Heh, what? I wasn't sleeping, I just had my eyes closed!"; - close; + mes "[Soldier]"; + mes "Heh, what?"; + mes "I wasn't sleeping, I was just resting my eyes!"; +close; } diff --git a/npc/tulimshar/monsters.txt b/npc/tulimshar/monsters.txt index e838c1e2..0a03319c 100644 --- a/npc/tulimshar/monsters.txt +++ b/npc/tulimshar/monsters.txt @@ -1,7 +1,13 @@ -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_3-1.gat,0,0,0,0 monster Maggot[Lv1] 1002,30,0,0,0 +new_3-1.gat,0,0,0,0 monster Scorpion[Lv5] 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 +new_1-1.gat,0,0,0,0 monster GreenSlime[Lv15] 1005,50,0,0,0 +new_1-1.gat,0,0,0,0 monster GiantMaggot[Lv20] 1006,30,0,0,0 +new_1-1.gat,0,0,0,0 monster RedScorpio[Lv35] 1004,1,0,0,0 +new_3-1.gat,0,0,0,0 monster Yslime[Lv5] 1007,25,0,0,0 +new_3-1.gat,0,0,0,0 monster Resident[Lv1] 1102,3,0,0,0 +new_3-1.gat,0,0,0,0 monster Resident[Lv1] 1103,2,0,0,0 +new_3-1.gat,0,0,0,0 monster Resident[Lv1] 1104,4,0,0,0 +new_3-1.gat,0,0,0,0 monster Resident[Lv1] 1105,5,0,0,0 +new_3-1.gat,0,0,0,0 monster Resident[Lv1] 1106,3,0,0,0 |