summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt3
-rw-r--r--npc/kafras/cool_event_corp.txt147
-rw-r--r--npc/merchants/inn.txt42
3 files changed, 186 insertions, 6 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 042b52390..4c90193e0 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -1,7 +1,8 @@
Date Added
======
2007/09/25
- * Rev. 11299 Added Veins guide first version. [L0ne_W0lf]
+ * Rev. 11303 Added Veins Cool Event Corp. Rep. and Inn master. [L0ne_W0lf
+ * Rev. 11302 Added Veins guide first version. [L0ne_W0lf]
* Rev. 11298 Added Veins shops to shops.txt. [L0ne_W0lf]
* Rev. 11296 Fixed a small bug in a Comodo NPC. (close -> close2) [L0ne_W0lf]
2007/09/24
diff --git a/npc/kafras/cool_event_corp.txt b/npc/kafras/cool_event_corp.txt
index 6266fb022..2a54e39d0 100644
--- a/npc/kafras/cool_event_corp.txt
+++ b/npc/kafras/cool_event_corp.txt
@@ -3,19 +3,20 @@
//===== By: ==================================================
//= Gepard
//===== Current Version: =====================================
-//= 1.3
+//= 1.4
//===== Compatible With: =====================================
//= eAthena
//===== Description: =========================================
//= Cool Event Corp. Staff (Save, Storage & Pushcart Service)
-//= in Hugel
+//= in Arunafeltz Region.
//===== Additional Comments: =================================
//= 1.0 First version, iRO Sakray X.4 [Gepard]
//= 1.1 Optimized, fixed a conditional bug [Lupus]
//= 1.1a Redo back. It wasn't a bug [Lupus]
//= 1.2 Added Rachel Cool Event Corp. Staff [Playtester]
//= 1.3 Added cutins, closed Kafra Password exploit
-//= until we got a client/packet based password support [Lupus]
+//= until we got a client/packet based password support [Lupus]
+//= 1.4 Added Veins Cool Event Corp. Staff. [L0ne_W0lf]
//============================================================
hugel,88,168,4 script Cool Event Corp. Staff::CoolEventCorpStaffHugel 874,{
@@ -299,3 +300,143 @@ rachel,109,138,5 script Cool Event Corp. Staff::CoolEventCorpStaffRachel 874,{
end;
}
}
+
+veins,208,128,5 script Cool Event Corp. Staff::CoolEventCorpStaffVeins 874,{
+
+ cutin "zonda_01",2;
+ mes "[Cool Event Corp. Staff]";
+ mes "Welcome to Cool Event Corp.";
+ mes "Our staff is always working";
+ mes "to surpass your expactations";
+ mes "for quality service. So how";
+ mes "may I assist you today?";
+ next;
+
+ switch(select("Save:Use Storage:Rent a Pushcart:Storage Password Service:Cancel")){
+ case 1:
+ mes "[Cool Event Corp. Staff]";
+ mes "Your Respawn Point";
+ mes "has been saved here";
+ mes "in the town of Veins.";
+ mes "Thank you for using the";
+ mes "Cool Event Corp. service~";
+ emotion e_thx;
+ savepoint "veins",204,103;
+ close2;
+ cutin "", 255;
+ end;
+ case 2:
+ mes "[Cool Event Corp. Staff]";
+ if(basicskillcheck() && getskilllv(1) < 6){
+ mes "I'm sorry, but you";
+ mes "need the Novice's";
+ mes "Basic Skill Level 6 to";
+ mes "use the Storage Service.";
+ emotion e_sry;
+ close2;
+ cutin "", 255;
+ end;
+ }
+ if(Zeny < 40){
+ mes "I'm sorry, but you don't";
+ mes "have enough Zeny to use";
+ mes "the Storage Service. Our";
+ mes "Storage access fee is 40 Zeny.";
+ emotion e_cash;
+ close2;
+ cutin "", 255;
+ end;
+ }
+ set Zeny, Zeny - 40;
+ set RESRVPTS, RESRVPTS + 4;
+ mes "Let me open your personal";
+ mes "storage for you right away.";
+ mes "Thanks for supporting Cool";
+ mes "Event Corp. by using our";
+ mes "services. Have a good day~";
+ callfunc("F_CheckKafCode"); //check your storage password, if set
+ close2;
+ openstorage;
+ cutin "", 255;
+ end;
+ case 3:
+ mes "[Cool Event Corp. Staff]";
+ if(BaseClass != Job_Merchant){
+ mes "I'm sorry, but the";
+ mes "Pushcart rental service";
+ mes "is only available to Merchants,";
+ mes "Blacksmiths, White Smiths,";
+ mes "Alchemists and Creators.";
+ emotion e_sry;
+ close2;
+ cutin "", 255;
+ end;
+ }
+ if(getskilllv(39) == 0){
+ mes "You can only rent a cart after";
+ mes "learning the Pushcart Skill.";
+ close2;
+ cutin "", 255;
+ end;
+ }
+ if(checkcart() == 1){
+ 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)){
+ delitem 7061,1;
+ setcart;
+ close2;
+ cutin "", 255;
+ end;
+ }
+ mes "The Pushcart rental";
+ mes "fee is 800 Zeny. Would";
+ mes "you like to rent a Pushcart?";
+ next;
+ if(select("Rent a Pushcart:Cancel") == 1){
+ if(Zeny < 800){
+ mes "[Cool Event Corp. Staff]";
+ mes "I'm sorry, but you";
+ mes "don't have enough";
+ mes "Zeny to pay the Pushcart";
+ mes "rental fee of 800 Zeny.";
+ emotion e_cash;
+ close2;
+ cutin "", 255;
+ end;
+ } else {
+ set Zeny, Zeny - 800;
+ set RESRVPTS, RESRVPTS + 80;
+ setcart;
+ close2;
+ cutin "", 255;
+ end;
+ }
+ }
+ close2;
+ cutin "", 255;
+ end;
+ case 4:
+ callfunc("F_SetKafCode","[Cool Event Corp. Staff]","Cool Event Corp.");
+ //the function closes msg and remoes cutins
+ case 5:
+ default:
+ mes "[Cool Event Corp. Staff]";
+ mes "Cool Event Corp. is always";
+ mes "striving to provide the best";
+ mes "services for our customers.";
+ mes "Help us become the best by";
+ mes "providing us with your opinions";
+ mes "and honest feedback. Thank you.";
+ close2;
+ cutin "", 255;
+ end;
+ }
+}
diff --git a/npc/merchants/inn.txt b/npc/merchants/inn.txt
index 7f8f3c2c9..7f81138f9 100644
--- a/npc/merchants/inn.txt
+++ b/npc/merchants/inn.txt
@@ -4,7 +4,7 @@
//= Darkchild (1.1)
//= Playtester (1.2)
//===== Current Version: =====================================
-//= 1.9
+//= 2.0
//===== Compatible With: =====================================
//= eAthena 1.0+
//===== Description: =========================================
@@ -32,7 +32,8 @@
//= - Corrected Morroc NPCs. [L0ne_W0lf]
//= 1.7 Corrected Payon NPC. [L0ne_W0lf]
//= 1.8 Corrected Geffen NPC. [L0ne_W0lf]
-//= 1.9 Added the Inn for Al De baran [L0ne_W0lf]
+//= 1.9 Added the Inn for Al De baran. [L0ne_W0lf]
+//= 2.0 Added Inn for the Town of Veins. [L0ne_W0lf]
//============================================================
@@ -114,6 +115,43 @@ hu_in01,246,107,3 script Inn Maid::Receptionist 53,{
warp "hu_in01",267,5; end;
}
+//======================== Veins ====================================
+ve_in,157,219,5 script Inn Master::Receptionist 709,{
+ mes "[Inn Master]";
+ mes "Good say~";
+ mes "Welcome to the";
+ mes "most comfortable";
+ mes "inn here in Veins~";
+ next;
+ menu "Save",Msave, "Take a Rest -> 5000 zeny",Mrent, "Cancel",Mend;
+
+ Msave:
+ mes "[Inn Master]";
+ mes "Your respawn point";
+ mes "has been saved in Veins.";
+ mes "Enjoy your stay in town~";
+ savepoint "ve_in",157,209;
+ close;
+ Mrent:
+ mes "[Inn Master]";
+ if(Zeny < 5000){
+ mes "I'm sorry, but the service charge";
+ mes "is 5,000 zeny. Please make sure";
+ mes "that you have enough money to check";
+ mes "in next time, okay?";
+ close;
+ }
+ mes "Enjoy your stay~";
+ close2;
+ set Zeny,Zeny - 5000;
+ percentheal 100,100;
+ warp "ve_in",184,228;
+
+ Mend:
+ close;
+}
+
+
//======================= Inn Function ==============================
function script F_InnMaid {
mes getarg(0);