From 0d5752d71038747263ff56c43d75c8e2e42d777c Mon Sep 17 00:00:00 2001 From: Kisuka Date: Wed, 21 Jan 2009 02:35:38 +0000 Subject: - Moscovia NPCs. (All the generic, kafra, and guide NPCs.) (Moscovia quest npcs still have horrible english, so that's why they aren't being committed yet.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13466 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/cities/moscovia.txt | 327 +++++++++++++++++++++++++++++++++++++++++++++ npc/guides/guides_mosk.txt | 91 +++++++++++++ npc/kafras/kafras_mosk.txt | 153 +++++++++++++++++++++ npc/merchants/inn.txt | 50 ++++--- npc/merchants/shops.txt | 4 +- npc/scripts_athena.conf | 3 + 6 files changed, 599 insertions(+), 29 deletions(-) create mode 100644 npc/cities/moscovia.txt create mode 100644 npc/guides/guides_mosk.txt create mode 100644 npc/kafras/kafras_mosk.txt diff --git a/npc/cities/moscovia.txt b/npc/cities/moscovia.txt new file mode 100644 index 000000000..73a19bce8 --- /dev/null +++ b/npc/cities/moscovia.txt @@ -0,0 +1,327 @@ +//===== eAthena Script ======================================= +//= Moscovia Town +//===== By: ================================================== +//= Kisuka +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= Moscovia Town Script +//===== Additional Comments: ================================= +//= 1.0 First Version. [Kisuka] +//============================================================ + +// Moscovia Transportation +//============================================================ +alberta,245,66,4 script Moscovia P.R. Officer#1 960,{ + mes "[Moscovia P.R. Officer]"; + mes "Moscovia! Do you know Moscovia?"; + mes "the paradise spreading on the endless seas..."; + mes "Welcome to Moscovia"; + mes "It's adventurous and mystic."; + next; + switch(select("About Moscovia...:Go to Moscovia.:Cancel")) { + case 1: + mes "[Moscovia P.R. Officer]"; + mes "Moscovia is a beautiful kingdom"; + mes "on an island located north of Rune"; + mes "Midgarts."; + next; + mes "[Moscovia P.R. Officer]"; + mes "I'm sure that you will be"; + mes "absolutely fascinated"; + mes "by Moscovia's beautiful scenery"; + mes "and gorgeous palace."; + next; + mes "[Moscovia P.R. Officer]"; + mes "Now that our long winter has"; + mes "passed,"; + mes "I'm happy that I can now show you"; + mes "our gorgeous hometown."; + next; + mes "[Moscovia P.R. Officer]"; + mes "If you feel like visiting Moscovia"; + mes "take the chance now!"; + mes "I'll help you to have a nice trip"; + mes "to Moscovia!"; + close; + + case 2: + mes "[Moscovia P.R. Officer]"; + mes "Ok then, let us start now."; + mes "You should pay me 10,000 zeny"; + mes "to go to Moscovia."; + mes "But when you come back,"; + mes "you don't have to pay."; + next; + mes "[Moscovia P.R. Officer]"; + mes "Can we leave now?"; + next; + if (select("Let's go!:Cancel") == 2) { + mes "[Moscovia P.R. Officer]"; + mes "If you're too busy now,"; + mes "please tell me again whenever you want."; + mes "I'm always ready to guide anyone to Moscovia."; + close; + } + if (Zeny < 10000) { + mes "[Moscovia P.R. Officer]"; + mes "I'm sorry but you don't have"; + mes "enough zeny now"; + mes "You need 10,000 zeny"; + mes "to go to Moscovia"; + mes "Thank you."; + close; + }else{ + mes "[Moscovia P.R. Officer]"; + mes "Ok then, we're leaving now."; + close2; + set Zeny,Zeny - 10000; + warp "moscovia",163,55; + end; + } + case 3: + mes "[Moscovia P.R. Officer]"; + mes "If you're too busy now,"; + mes "please tell me again whenever you want."; + mes "I'm always ready to guide anyone to Moscovia."; + close; + } +} + +moscovia,166,53,4 script Moscovia P.R. Officer#2 960,{ + mes "[Moscovia P.R. Officer]"; + mes "How was your trip?"; + mes "Do you have good memories from Moscovia?"; + mes "A ship is now leaving"; + mes "for Rune Midgarts."; + next; + if (select("Return to Alberta:Cancel") == 2) { + mes "[Moscovia P.R. Officer]"; + mes "If you want to see more"; + mes "please take your time."; + close; + } + mes "[Moscovia P.R. Officer]"; + mes "Please come and visit soon."; + mes "Ok then, Let's get going."; + close2; + warp "alberta",243,67; + end; +} + +// Generic Moscovia NPCs +//============================================================ +moscovia,149,112,4 script A man#mosk1 964,{ + mes "[Lev]"; + mes "I was once like you."; + mes "with hot heart and cool reason"; + mes "adventuring everywhere and"; + mes "coping with all the troubles..."; + close; +} + +moscovia,167,97,4 script A lady#mosk1 961,{ + mes "[Roza]"; + mes "Naughty boys are too excited in the warm days."; + next; + mes "[Roza]"; + mes "Where is the sun?"; + mes "Where is it hiding?"; + close; +} + +moscovia,168,135,4 script A lady#mosk2 961,{ + mes "[Kyra]"; + mes "I've seen many people"; + mes "from other provinces recently."; + next; + mes "[Kyra]"; + mes "This is not"; + mes "a tourist town."; + mes "What happened...?"; + close; +} + +moscovia,192,80,4 script A lady#mosk3 959,{ + mes "[Sabina]"; + mes "Sunflowers are squeezed for oil and"; + mes "their bodies are used for medicinal purposes"; + mes "They are very useful."; + close; +} + +moscovia,196,71,4 script A young man#mosk1 968,{ + mes "[Fredek]"; + mes "The men here grow up"; + mes "after going through though waves in"; + mes "the vast sea."; + next; + mes "[Fredek]"; + mes "Do you like"; + mes "sailing?"; + close; +} + +moscovia,228,80,4 script A little boy#mosk1 962,{ + mes "[Rurik]"; + mes "It's hard to look up at you."; + mes "Come lower so I can see your eyes."; + next; + mes "[Rurik]"; + mes "Hmm, that's better."; + mes "Children are the future."; + mes "I won't have a future if I fall"; + mes "back and hurt my neck"; + mes "while looking up at you."; + close; +} + +moscovia,202,102,4 script A little boy#mosk2 962,{ + mes "[Feliks]"; + mes "This is the story"; + mes "about a terrible dragon."; + next; + mes "[Feliks]"; + mes "It is sleeping"; + mes "in its lair,"; + mes "but, it destroys everything"; + mes "around it when it awakes."; + next; + mes "[Feliks]"; + mes "This came from my grandma's"; + mes "grandma's grandma's"; + mes "grandma's grandma's"; + mes "grandma's grandma."; + close; +} + +moscovia,211,215,5 script A young man#mosk2 967,{ + mes "[Izlof]"; + mes "There is a old saying,"; + mes "'an opportunity is a chance.'"; + next; + mes "[Izlof]"; + mes "It is best time to confess"; + mes "to ladies in the warm winter,"; + mes "when their minds wander"; + mes "right now!"; + close; +} + + +moscovia,204,188,5 script A maid#mosk1 959,{ + mes "[Katya]"; + mes "The spring has come~"; + next; + mes "[Katya]"; + mes "A million sunflowers are blooming~"; + close; +} + +moscovia,220,172,4 script A young man#mosk3 968,{ + mes "[Ilyav]"; + mes "I am going to adventure"; + mes "to experience new worlds"; + mes "as you do."; + close; +} + +moscovia,234,168,5 script A man#mosk2 964,{ + mes "[Gavrel]"; + mes "Don't you think that the castle is magnificent?"; + mes "It was built by my great great grandfather."; + close; +} + +moscovia,219,229,5 script A middle aged man#mosk1 964,{ + mes "[Viktor]"; + mes "Our people are very, very"; + mes "proud of their strength and"; + mes "invincible spirits."; + next; + mes "[Viktor]"; + mes "It doesn't matter to us"; + mes "how cold the winter is!"; + close; +} + +moscovia,233,204,4 script A young man#mosk4 968,{ + mes "[Fedor]"; + mes "Finally, Winter is over."; + mes "Spring is coming"; + mes "to my mind..."; + close; +} + +moscovia,253,175,4 script A man#mosk3 964,{ + mes "[Orek]"; + mes "The present Csar is a bit strict and"; + mes "terrible, but"; + mes "he actually loves"; + mes "his people."; + close; +} + +moscovia,253,166,4 script Soldier#mosk1 966,{ + mes "[Soldier]"; + mes "Our dear Czar Alexsay III is in the palace."; + mes "He rules over Moscovia."; + mes "Please be careful not to cause him any trouble."; + close; +} + +moscovia,252,203,5 script A little girl#mosk1 958,{ + mes "[Yosefina]"; + mes "Babayaga, the Horrible Cannibal"; + mes "is living outside the town."; + next; + mes "[Yosefina]"; + mes "My mom tole me."; + mes "that wat is real."; + close; +} + +moscovia,255,203,4 script A little boy#mosk3 962,{ + mes "[Vasili]"; + if (sex) + mes "Wow, he is"; + else { + mes "Wow, she is"; + } + mes "an adventurer, an adventurer!!"; + next; + mes "[Vasili]"; + mes "Tell me your exciting story."; + mes "Have you fought a dragon?"; + mes "Where is your gold-shining"; + mes "sword and shield...?"; + mes "Where?"; + close; +} + +// Inside Moscovia +//============================================================ +mosk_in,141,212,4 script Pub Owner#mosk 964,{ + mes "[Pub Owner]"; + mes "Welcome to our pub."; + mes "I'm Alexandre of ^0000FF'Stream Pub'^000000 But,"; + mes "everyone calls me 'Sasha'."; + mes "It's a fine day today. I feel like"; + mes "going out."; + close; +} + +// Moscovia Palace +//============================================================ +- script Soldier::MoscSoldier 966,{ + mes "[Soldier]"; + mes "Please be silent or the Czar will be angry."; + close; +} + +mosk_in,118,66,5 duplicate(MoscSoldier) Soldier#mosk02 966 +mosk_in,133,110,3 duplicate(MoscSoldier) Soldier#mosk03 966 +mosk_in,133,73,3 duplicate(MoscSoldier) Soldier#mosk04 966 +mosk_in,113,124,5 duplicate(MoscSoldier) Soldier#mosk05 966 \ No newline at end of file diff --git a/npc/guides/guides_mosk.txt b/npc/guides/guides_mosk.txt new file mode 100644 index 000000000..92d246d09 --- /dev/null +++ b/npc/guides/guides_mosk.txt @@ -0,0 +1,91 @@ +//===== eAthena Script ======================================= +//= Moscovia Guides +//===== By: ================================================== +//= Kisuka +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= Guides for the town of Moscovia. +//===== Additional Comments: ================================= +//= 1.0 First Version. [Kisuka] +//============================================================ + +moscovia,161,76,4 script Moscovia Guide#mosk 959,{ + mes "[Moscovia Guide]"; + mes "Welcome to Moscovia"; + mes "Here is the paradise spreading on"; + mes "the endless seas"; + mes "You'll be happy with the beautiful"; + mes "scenery and the sunlight!"; + next; + mes "[Moscovia Guide]"; + mes "I was sent from Moscovia Palace"; + mes "to guide tourists and to give them"; + mes "information on this town."; + mes "If you have some questions, please ask me."; + next; + switch(select("Ask where you can go.:Delete all the marks on the mini-map.:Cancel.")) { + case 1: + mes "[Moscovia Guide]"; + mes "Where would you like to go?"; + next; + switch(select("The Palace:Armor Shop:Tool Shop:An Inn:Cancel")) { + case 1: + mes "[Moscovia Guide]"; + mes "The Palace can be found ^ff0000+^000000 at the"; + mes "end of the North sea from"; + mes "Rune-Midgarts."; + mes "There resides our Lord the Czar of"; + mes "Moscovia and his retainers."; + close2; + viewpoint 1,257,138,1,0xFF0000; + end; + case 2: + viewpoint 1,185,187,2,0x00FF00; + mes "[Moscovia Guide]"; + mes "The Armor Shop is located at the"; + mes "southwest corner of town.."; + mes "You can buy armor made by the best"; + mes "craftsmen of Moscovia there."; + close; + case 3: + mes "[Moscovia Guide]"; + mes "The Tool Shop is located just south"; + mes "from the center of town."; + mes "You can find all sorts of things"; + mes "you need for your travels."; + close2; + viewpoint 1,223,174,3,0x00FF00; + end; + case 4: + mes "[Moscovia Guide]"; + mes "The Inn 'Sticky Herb Tree' is just"; + mes "north from the center of town."; + mes "If you need to rest, there is no"; + mes "better place to stay."; + close2; + viewpoint 1,229,208,4,0x3355FF; + end; + case 5: + close; + } + case 2: + mes "[Moscovia Guide]"; + mes "I've deleted all marks on the mini-map."; + mes "Whenever you'd like to put marks"; + mes "there, you can ask me."; + viewpoint 2,257,138,1,0xFF0000; + viewpoint 2,185,187,2,0x00FF00; + viewpoint 2,223,174,3,0x00FF00; + viewpoint 2,229,208,4,0x3355FF; + close; + + case 3: + mes "[Moscovia Guide]"; + mes "It'd be great to walk about alone."; + mes "Take care."; + close; + } +} \ No newline at end of file diff --git a/npc/kafras/kafras_mosk.txt b/npc/kafras/kafras_mosk.txt new file mode 100644 index 000000000..5d4710087 --- /dev/null +++ b/npc/kafras/kafras_mosk.txt @@ -0,0 +1,153 @@ +//===== eAthena Script ======================================= +//= Moscovia Kafras +//===== By: ================================================== +//= Kisuka +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= Kafras for the town of Moscovia. +//===== Additional Comments: ================================= +//= 1.0 First Version. [Kisuka] +//============================================================ + +moscovia,223,191,4 script Kafra Staff#mosk 114,{ + cutin "kafra_04",2; + mes "[Kafra Staff]"; + mes "Welcome to the"; + mes "Kafra Corporation."; + mes "The Kafra services"; + mes "are always on your side."; + mes "How may I assist you?"; + next; + switch(select("Save:Use Storage:Rent a Pushcart:Check Other Information:Cancel")) { + case 1: + mes "[Kafra Staff]"; + mes "Your Respawn Point has"; + mes "been saved in the city of"; + mes "Moscovia. Thank you for"; + mes "using the Kafra Service."; + savepoint "moscovia",221,194; + close2; + cutin "", 255; + end; + case 2: + if(basicskillcheck() && getskilllv("NV_BASIC") < 6){ + mes "[Kafra Staff]"; + mes "I'm sorry, but you"; + mes "need the Novice's"; + mes "Basic Skill Level 6 to"; + mes "use the Storage Service."; + close2; + cutin "", 255; + end; + } + if(countitem(7059)) delitem 7059,1; + else { + if(Zeny<80){ + mes "[Kafra Staff]"; + mes "I'm sorry, but you don't"; + mes "have enough zeny to use"; + mes "the Storage Service. Our"; + mes "Storage access fee is 80 zeny."; + close2; + cutin "", 255; + end; + } + set Zeny, Zeny-80; + set RESRVPTS, RESRVPTS + (80/5); + } + mes "[Kafra Staff]"; + mes "Here, let me open"; + mes "your Storage for you."; + mes "Thank you for using"; + mes "the Kafra Service."; + + callfunc("F_CheckKafCode"); //check your storage password, if set + + close2; + openstorage; + cutin "", 255; + end; + case 3: + if(baseClass != Job_Merchant){ + mes "[Kafra Staff]"; + mes "I'm sorry, but the"; + mes "Pushcart rental service"; + mes "is only available to Merchants,"; + mes "Blacksmiths, Master Smiths,"; + mes "Alchemists and Biochemists."; + close2; + cutin "", 255; + end; + } + + else if(checkcart() == 1){ + mes "[Kafra Staff]"; + mes "You already have"; + mes "a Pushcart equipped."; + mes "Unfortunately, we can't"; + mes "rent more than one to"; + mes "each customer at a time."; + close2; + cutin "", 255; + end; + } + + if(countitem(7061) > 0) delitem 7061,1; + else { + mes "[Kafra Staff]"; + mes "The Pushcart rental"; + mes "fee is 700 zeny. Would"; + mes "you like to rent a Pushcart?"; + next; + if(select("Rent a Pushcart.:Cancel.") == 1) { + if(Zeny<700){ + mes "[Kafra Staff]"; + mes "I'm sorry, but you"; + mes "don't have enough"; + mes "zeny to pay the Pushcart"; + mes "rental fee of 700 zeny."; + close2; + cutin "", 255; + end; + } + set Zeny,Zeny-700; + set RESRVPTS, RESRVPTS + 48; + }else{ + close2; + cutin "", 255; + end; + } + } + setcart; + close2; + cutin "", 255; + end; + case 4: + if(select("Check Special Reserve Points.:Cancel") == 2) { + cutin "", 255; + close; + } + mes "[Kafra Staff]"; + mes strcharinfo(0) + ", you have a total of"; + mes RESRVPTS+ " Special Reserve Points."; + next; + mes "[Kafra Staff]"; + mes "You can exchange your"; + mes "Special Reserve Points for"; + mes "rewards at the Kafra Main Office in Al De Baran. Please use our"; + mes "convenient services to see the benefits of our rewards program."; + close2; + cutin "", 255; + end; + case 5: + mes "[Kafra Staff]"; + mes "We, here at Kafra Corporation,"; + mes "are always endeavoring to provide you with the best services. We hope that we meet your adventuring needs and standards of excellence."; + close2; + cutin "", 255; + end; + } +} \ No newline at end of file diff --git a/npc/merchants/inn.txt b/npc/merchants/inn.txt index 3dfb0ad09..135f8f74d 100644 --- a/npc/merchants/inn.txt +++ b/npc/merchants/inn.txt @@ -201,37 +201,33 @@ ve_in,157,219,5 script Inn Master#Receptionist 709,{ } //======================== Moscovia ==================================== -mosk_in,135,191,5 script Hotel Inn#Receptionist 961,{ - mes "[Hotel Inn]"; - mes "Good day~"; - mes "Welcome to the"; - mes "most comfortable"; - mes "inn here in Moscovia~"; +mosk_in,135,191,5 script Landlord#mosk 961,{ + mes "[Landlord]"; + mes "Oh, welcome to the Inn 'Sticky Herb Tree'."; + mes "It is the most comfortable and"; + mes "calmest place in all of Moscovia."; next; - menu "Save",Msave, "Take a Rest -> 5000 zeny",Mrent, "Cancel",Mend; - - Msave: - mes "[Hotel Inn]"; + if (select("Save:Stay the night - 5000z") == 1) { + mes "[Landlord]"; mes "Your respawn point"; - mes "has been saved in Moscovia."; - mes "Enjoy your stay in town~"; - savepoint "mosk_in",142,189; + mes "has been saved."; + mes "Hope we can see you again next time hoho."; + savepoint "mosk_in",141,188; close; - Mrent: - mes "[Hotel Inn]"; - if(Zeny < 5000){ - mes "I'm sorry, but you don't have enough money to check in."; - mes "The service charge is 5,000 zeny."; - close; - } - mes "Enjoy your stay~"; - close2; - set Zeny,Zeny - 5000; - percentheal 100,100; - warp "mosk_in",215,181; - - Mend: + } + mes "[Landlord]"; + if(Zeny < 5000) { + mes "The service charge is 5000z."; + mes "Please make sure you have enough"; + mes "money for the service."; close; + } + mes "Please be comfortable."; + close2; + set Zeny,Zeny - 5000; + percentheal 100,100; + warp "mosk_in",215,181; + end; } //======================= Inn Function ============================== diff --git a/npc/merchants/shops.txt b/npc/merchants/shops.txt index 5216d7489..b1ee5b111 100644 --- a/npc/merchants/shops.txt +++ b/npc/merchants/shops.txt @@ -296,8 +296,8 @@ ve_in,252,313,0 shop Magical Item Seller#ve 942,717:-1,1601:-1,1604:-1,1607:-1,1 mosk_in,21,254,5 shop Tool Dealer#mosk 968,611:-1,501:-1,502:-1,503:-1,504:-1,506:-1,645:-1,656:-1,601:-1,602:-1,1065:-1,1750:-1 mosk_in,31,180,3 shop Weapon Dealer#mosk 968,1207:-1,1216:-1,1107:-1,1122:-1,1116:-1,1154:-1,1407:-1,1457:-1,1354:-1,1519:-1 mosk_in,79,177,1 shop Armor Dealer#mosk 961,2211:-1,2401:-1,2403:-3,2501:-1,2503:-1,2101:-1,2103:-1,2305:-1,2321:-1,2332:-1,2328:-1,2627:-1 -moscovia,152,71,4 shop Fruit Gardener#mosc 968,512:-1,513:-1,515:-1,516:-1 -moscovia,199,110,3 shop Milk#mosc 959,519:-1 +moscovia,152,71,4 shop Fruit Gardener#mosk 968,512:-1,513:-1,515:-1,516:-1 +moscovia,199,110,3 shop Vendor from Milk Ranch#m 959,519:-1 //======================================================= // Cooking Addition diff --git a/npc/scripts_athena.conf b/npc/scripts_athena.conf index ec1a6fca2..9eefa6ce4 100644 --- a/npc/scripts_athena.conf +++ b/npc/scripts_athena.conf @@ -20,6 +20,7 @@ npc: npc/cities/lighthalzen.txt npc: npc/cities/louyang.txt npc: npc/cities/lutie.txt npc: npc/cities/morocc.txt +npc: npc/cities/moscovia.txt npc: npc/cities/niflheim.txt npc: npc/cities/payon.txt npc: npc/cities/prontera.txt @@ -155,6 +156,7 @@ npc: npc/guides/guides_juno.txt npc: npc/guides/guides_louyang.txt npc: npc/guides/guides_lhz.txt npc: npc/guides/guides_moc.txt +npc: npc/guides/guides_mosk.txt npc: npc/guides/guides_nif.txt npc: npc/guides/guides_pay.txt npc: npc/guides/guides_pron.txt @@ -172,6 +174,7 @@ npc: npc/kafras/kafras_dungeons.txt npc: npc/kafras/kafras_gef.txt npc: npc/kafras/kafras_izl.txt npc: npc/kafras/kafras_mor.txt +npc: npc/kafras/kafras_mosk.txt npc: npc/kafras/kafras_pay.txt npc: npc/kafras/kafras_pron.txt npc: npc/kafras/kafras_yun.txt -- cgit v1.2.3-70-g09d2