summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-05 02:42:20 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-05 02:42:20 +0000
commit4e6774e4173eccff9d0b51b45fe2af07e682e67d (patch)
tree9f2d1c6e3c28343f601247bb9db557a45317fb3c /npc
parente7a4ce6eb8222a4abba8ee44d318c1d803c79797 (diff)
downloadhercules-4e6774e4173eccff9d0b51b45fe2af07e682e67d.tar.gz
hercules-4e6774e4173eccff9d0b51b45fe2af07e682e67d.tar.bz2
hercules-4e6774e4173eccff9d0b51b45fe2af07e682e67d.tar.xz
hercules-4e6774e4173eccff9d0b51b45fe2af07e682e67d.zip
* Follow-up r16742, revised quest sample (doc\sample\npc_test_quest.txt) and whisper system documentation (doc\whisper_sys.txt)
* Follow-up r16745, fixed a few typos in atcommand documentation (doc\atcommands.txt) * Minor cleaning - spacing, tabulation, comments, dividers git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16746 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/cities/lutie.txt1
-rw-r--r--npc/cities/prontera.txt4
-rw-r--r--npc/cities/umbala.txt1
-rw-r--r--npc/events/MemorialDay_2008.txt17
-rw-r--r--npc/events/children_week.txt58
-rw-r--r--npc/events/halloween_2009.txt6
-rw-r--r--npc/events/idul_fitri.txt22
-rw-r--r--npc/events/valentinesday.txt9
-rw-r--r--npc/jobs/1-1e/taekwon.txt1
-rw-r--r--npc/jobs/2-2/bard.txt47
-rw-r--r--npc/jobs/2-2/crusader.txt4
-rw-r--r--npc/jobs/2-2/monk.txt4
-rw-r--r--npc/jobs/2-2/rogue.txt4
-rw-r--r--npc/jobs/2-2/sage.txt4
-rw-r--r--npc/other/books.txt3
-rw-r--r--npc/quests/gunslinger_quests.txt3
-rw-r--r--npc/re/merchants/inn.txt4
-rw-r--r--npc/re/merchants/renters.txt4
18 files changed, 86 insertions, 110 deletions
diff --git a/npc/cities/lutie.txt b/npc/cities/lutie.txt
index 603450fb8..2596e0a4f 100644
--- a/npc/cities/lutie.txt
+++ b/npc/cities/lutie.txt
@@ -68,7 +68,6 @@ aldebaran,223,222,4 script Mr. Claus 718,{
}
}
-
// Inside Lutie
//============================================================
xmas_in,100,96,4 script Santa Claus 718,{
diff --git a/npc/cities/prontera.txt b/npc/cities/prontera.txt
index 38de54920..8dac3d078 100644
--- a/npc/cities/prontera.txt
+++ b/npc/cities/prontera.txt
@@ -30,14 +30,10 @@ prontera,160,330,0 script Guard#pront::prtguard 105,{
mes "Welcome to Prontera.";
close;
}
-
prontera,223,99,1 duplicate(prtguard) Guard#2pront 105
-
prontera,229,104,5 duplicate(prtguard) Guard#3pront 105
-
prontera,47,339,5 duplicate(prtguard) Guard#4pront 105
-
prontera,101,288,3 script Shuger#pront 98,{
mes "[Shuger]";
mes "Outside the safety of the city, there is a pink beast known as ^000077Poring^000000.";
diff --git a/npc/cities/umbala.txt b/npc/cities/umbala.txt
index 57ffafd2d..74fc5b6ea 100644
--- a/npc/cities/umbala.txt
+++ b/npc/cities/umbala.txt
@@ -26,7 +26,6 @@
comodo,170,137,7 script La Ed#um 84,{
end;
-
}
comodo,171,137,1 script Haith#um 92,{
diff --git a/npc/events/MemorialDay_2008.txt b/npc/events/MemorialDay_2008.txt
index d6dae7d78..4073092f3 100644
--- a/npc/events/MemorialDay_2008.txt
+++ b/npc/events/MemorialDay_2008.txt
@@ -1,5 +1,5 @@
//===== rAthena Script =======================================
-//= In Memory of Heroes (iRO Memorial Day 2008)
+//= In Memory of Heroes
//===== By: ==================================================
//= Kisuka
//===== Current Version: =====================================
@@ -7,15 +7,15 @@
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
-//
+//= iRO Memorial Day (2008)
//===== Additional Comments: =================================
//= 1.0 First version. [Kisuka]
//= 1.1 Many Many Fixes. [Kisuka]
//= 1.2 Some changes. [Kisuka]
//============================================================
-// ================== Lauds ======================
-// ===============================================
+// Lauds
+//============================================================
prontera,182,214,4 script Lauds#Memorial 58,{
if(Memorial08 < 1) {
mes "[Mad Sago Lauds]";
@@ -194,8 +194,8 @@ prontera,182,214,4 script Lauds#Memorial 58,{
}
}
-// ============== Memorial Plaque ================
-// ===============================================
+// Memorial Plaque
+//============================================================
prontera,153,286,4 script Memorial Plaque#Memorial 857,{
if(Memorial08 < 8) {
mes "[" + strcharinfo(0) + "]";
@@ -251,9 +251,8 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{
close;
}
-
-// ==================== Grast ====================
-// ===============================================
+// Grast
+//============================================================
prontera,150,270,4 script Grast#Memorial 900,{
if(Memorial08 < 3) {
mes "[Grast]";
diff --git a/npc/events/children_week.txt b/npc/events/children_week.txt
index e0d3fec88..99c0fedaf 100644
--- a/npc/events/children_week.txt
+++ b/npc/events/children_week.txt
@@ -16,20 +16,20 @@
prontera,146,91,5 script Pandit chacha#child07 61,{
if(BaseLevel > 50) {
mes "[Pandit chacha]";
- mes "Hahaha.";
+ mes "Hahaha~";
mes "It is special day, comes only one time in a year.";
mes "If you see little adventurers around you send to me~";
mes "I will give the special gift.";
close;
} else if(BaseLevel < 20) {
mes "[Pandit chacha]";
- mes "Hahaha.";
+ mes "Hahaha~";
mes "You are a baby adventurer not little adventurer.";
mes "When you more grow up, come back again. hahaha.";
close;
} else if(oversea_event9 < 1) {
mes "[Pandit chacha]";
- mes "Hahaha.";
+ mes "Hahaha~";
mes "Welcome, little adventurers!";
mes "Today is special day, isn't it~?";
mes "I would like to give the small gift to little adventurer...";
@@ -42,13 +42,13 @@ prontera,146,91,5 script Pandit chacha#child07 61,{
mes "Whenever come back again if you want it...";
close;
}
- set oversea_event9,1;
- getitem 11705,10; //Children's Potion
- mes "[Pandit chacha]";
- mes "Look. This is a child Potion.";
- mes "The weight is just 1 but recover much HP.";
- mes "If you want to get more, bring the 1 Wedding Bouquet and 1 Witherless Rose.";
- close;
+ set oversea_event9,1;
+ getitem 11705,10; //Children's Potion
+ mes "[Pandit chacha]";
+ mes "Look. This is a child Potion.";
+ mes "The weight is just 1 but recover much HP.";
+ mes "If you want to get more, bring the 1 Wedding Bouquet and 1 Witherless Rose.";
+ close;
} else if(oversea_event9 == 1) {
if(countitem(745) > 0 && countitem(748) > 0) {
mes "[Pandit chacha]";
@@ -62,25 +62,25 @@ prontera,146,91,5 script Pandit chacha#child07 61,{
mes "If you are not prepared yet, call me when you ready.";
close;
}
- mes "[Pandit chacha]";
- mes "Hahaha.";
- mes "Oh~ you get it.";
- mes "Here, I will exchange to the 50 child potion.";
- mes "Once you get this 50 child potion, I won't give any more.";
- close2;
- delitem 745,1; //Wedding Bouquet
- delitem 748,1; //Witherless Rose
- set oversea_event9,2;
- getitem 11705,50; //Children's Potion
- end;
- }
mes "[Pandit chacha]";
- mes "Little adventurers, you should bring the 1 Wedding Bouquet and 1 Witherless Rose.";
- mes "If you bring these stuffs I will exchange them for child Potion. ";
- close;
+ mes "Hahaha~";
+ mes "Oh~ you get it.";
+ mes "Here, I will exchange to the 50 child potion.";
+ mes "Once you get this 50 child potion, I won't give any more.";
+ close2;
+ delitem 745,1; //Wedding Bouquet
+ delitem 748,1; //Witherless Rose
+ set oversea_event9,2;
+ getitem 11705,50; //Children's Potion
+ end;
+ }
+ mes "[Pandit chacha]";
+ mes "Little adventurers, you should bring the 1 Wedding Bouquet and 1 Witherless Rose.";
+ mes "If you bring these stuffs I will exchange them for child Potion. ";
+ close;
}
- mes "[Pandit chacha]";
- mes "Hahaha.";
- mes "Are you enjoying children week~? ";
- close;
+ mes "[Pandit chacha]";
+ mes "Hahaha~";
+ mes "Are you enjoying children week~?";
+ close;
}
diff --git a/npc/events/halloween_2009.txt b/npc/events/halloween_2009.txt
index c3d314d7a..f143c95f4 100644
--- a/npc/events/halloween_2009.txt
+++ b/npc/events/halloween_2009.txt
@@ -21,7 +21,7 @@
//============================================================
// Headgear Quest - Pumpkin Hat
-// ============================
+//============================================================
prontera,152,192,5 script Pumpkin Hat Researcher 712,{
if(BaseLevel < 45) {
mes "[Pumpkin Hat Researcher]";
@@ -95,7 +95,7 @@ prontera,152,192,5 script Pumpkin Hat Researcher 712,{
}
// Buffs - Trick or Treaters
-// =========================
+//============================================================
- script Trick or Treater::09Treats 706,2,2,{
OnTouch:
hideoffnpc strnpcinfo(3);
@@ -221,7 +221,7 @@ prontera,134,125,5 duplicate(09Treats) Trick or Treater#iRO7 706,2,2
prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 706,2,2
// Monster Summoning - Halloween Wizard
-// ====================================
+//============================================================
- script Halloween Wizard#iRO09::09HallowWiz 737,{
mes "[Halloween Wizard]";
mes "...";
diff --git a/npc/events/idul_fitri.txt b/npc/events/idul_fitri.txt
index 0c11775ca..aad875821 100644
--- a/npc/events/idul_fitri.txt
+++ b/npc/events/idul_fitri.txt
@@ -5,7 +5,7 @@
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
-//= rAthena Version
+//= rAthena SVN
//===== Description: =========================================
//= Info : Official idRO
//= 2006/10/16: 1.0 Release and fully working. [$ephiroth]
@@ -13,28 +13,26 @@
//============================================================
prontera,146,92,3 script Cellerb 58,{
- set @npcname$,"[Staff Idul Fitri]";
- mes @npcname$;
+ mes "[Staff Idul Fitri]";
if((gettime(6)==10 && (gettime(5)==24 || gettime(5)==25))==0) {
mes "Congratulation! Celebrate Feast Day Of Ramadan Idul Fitri 1427 H.";
specialeffect EF_SANDMAN;
close;
}
mes "Haii......^FF8800"+strcharinfo(0)+"^000000!!";
- mes "First day of Idulfitri has arrived.";
+ mes "First day of Idul Fitri has arrived.";
mes "Congratulation celebrate him.";
mes "There is event special today.";
next;
- mes @npcname$;
- mes "Event today .....^009500Idul Fitri Quest!^000000";
+ mes "[Staff Idul Fitri]";
+ mes "Event today.....^009500Idul Fitri Quest!^000000";
next;
- mes @npcname$;
+ mes "[Staff Idul Fitri]";
mes "If you interest to follow this event, I will cook it to you.";
next;
-
switch(select("Allright. I like that!!","Next time.... Thanks.")){
case 1:
- mes @npcname$;
+ mes "[Staff Idul Fitri]";
mes "I have something that might interest you.";
mes "I need all of the following items:";
mes "^D5A500Ketupat Sayur Ingredient :^000000";
@@ -42,7 +40,7 @@ prontera,146,92,3 script Cellerb 58,{
mes "^CC6633~5 Sweet Potato, 10 Meat~,^000000";
mes "^000088~2 Green Herb, 5 Stem~.^000000";
next;
- mes @npcname$;
+ mes "[Staff Idul Fitri]";
if ( (countitem(552)<5 || countitem(515)<5 ||countitem(516)<5 || countitem(517)<10 || countitem(511)<2 || countitem(905)<5) ) {
mes "You don't have enough items.";
mes "Come back when you have them all.";
@@ -62,12 +60,12 @@ prontera,146,92,3 script Cellerb 58,{
mes "^009500-Clang clang~^000000";
getitem 583,1;
next;
- mes @npcname$;
+ mes "[Staff Idul Fitri]";
mes "We appreciate your participation in this special event.";
emotion e_thx;
close;
case 2:
- mes @npcname$;
+ mes "[Staff Idul Fitri]";
mes "Oh well, maybe you will participate in tommorow's quest.";
emotion e_hmm;
close;
diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt
index 519ccb350..c6941016d 100644
--- a/npc/events/valentinesday.txt
+++ b/npc/events/valentinesday.txt
@@ -15,7 +15,8 @@
//= 1.1 Cleaning. [Euphy]
//============================================================
-// Stephen - Valentine Event Chocolate seller ------------------
+// Stephen - Valentine Event Chocolate seller
+//============================================================
alberta,26,243,4 script Stephen 58,{
mes "[Stephen]";
mes "Guess what I've got?";
@@ -58,7 +59,8 @@ alberta,26,243,4 script Stephen 58,{
close;
}
-// Jainie -- Gives information about Valentine Event ------------------------
+// Jainie -- Gives information about Valentine Event
+//============================================================
alberta,29,243,4 script Jainie 53,{
mes "[Jainie]";
mes "You know what? The chocolate that my boyfriend sells are from me!";
@@ -81,7 +83,8 @@ alberta,29,243,4 script Jainie 53,{
close;
}
-// Carl Orleans -- Valentine Event Chocolate maker ------------------
+// Carl Orleans -- Valentine Event Chocolate maker
+//============================================================
prt_castle,54,34,4 script Carl Orleans 47,{
mes "[Carl Orleans]";
mes "Yes?";
diff --git a/npc/jobs/1-1e/taekwon.txt b/npc/jobs/1-1e/taekwon.txt
index 54a6c8ce2..6d4b2ad52 100644
--- a/npc/jobs/1-1e/taekwon.txt
+++ b/npc/jobs/1-1e/taekwon.txt
@@ -16,7 +16,6 @@
//= 1.4 Removed use of 'goto', and fixed some indentation. [L0ne_W0lf]
//============================================================
-
payon,157,141,5 script Phoenix#TKJobChange 753,{
if(Upper == 2) {
mes "[Phoenix]";
diff --git a/npc/jobs/2-2/bard.txt b/npc/jobs/2-2/bard.txt
index a4b158ec8..788542b76 100644
--- a/npc/jobs/2-2/bard.txt
+++ b/npc/jobs/2-2/bard.txt
@@ -25,7 +25,8 @@
//= 2.6 Removed the need for use of 'goto.' [L0ne_W0lf]
//============================================================
-//=============== Ayealo ============================
+// Ayealo
+//============================================================
comodo,226,123,5 script Wandering Bard 741,{
if(Upper == 1) {
mes "[Lalo]";
@@ -912,28 +913,28 @@ comodo,226,123,5 script Wandering Bard 741,{
end;
S_ChangeJob:
- completequest 3004;
- callfunc "Job_Change",Job_Bard;
- callfunc "F_ClearJobVar";
- mes "[Lalo]";
- mes "Good job. I will make you a job change souvenir with this.";
- mes "Wait just a moment.";
- next;
- mes "[Lalo]";
- mes "^3355FFScrape Scrape Tang Tang^000000";
- mes "^3355FFSqueak Squeak Scratch Scratch^000000";
- delitem getarg(0),60;
- getitem getarg(1),1;
- next;
- mes "[Lalo]";
- mes "Here you go, a souvenir. It is useful when you sing.";
- mes "Hope you sing happy songs.";
- next;
- mes "[Lalo]";
- mes "See you next time!";
- close2;
- cutin "job_bard_aiolo01",255;
- end;
+ completequest 3004;
+ callfunc "Job_Change",Job_Bard;
+ callfunc "F_ClearJobVar";
+ mes "[Lalo]";
+ mes "Good job. I will make you a job change souvenir with this.";
+ mes "Wait just a moment.";
+ next;
+ mes "[Lalo]";
+ mes "^3355FFScrape Scrape Tang Tang^000000";
+ mes "^3355FFSqueak Squeak Scratch Scratch^000000";
+ delitem getarg(0),60;
+ getitem getarg(1),1;
+ next;
+ mes "[Lalo]";
+ mes "Here you go, a souvenir. It is useful when you sing.";
+ mes "Hope you sing happy songs.";
+ next;
+ mes "[Lalo]";
+ mes "See you next time!";
+ close2;
+ cutin "job_bard_aiolo01",255;
+ end;
}
//============================================================
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt
index 5f0cebf45..fc54de2c2 100644
--- a/npc/jobs/2-2/crusader.txt
+++ b/npc/jobs/2-2/crusader.txt
@@ -1459,10 +1459,6 @@ OnStop:
}
//============================================================
-// mapflag
-//============================================================
-
-//============================================================
// Old changelog
//============================================================
//= Need optimalization and fixing
diff --git a/npc/jobs/2-2/monk.txt b/npc/jobs/2-2/monk.txt
index 869011f09..f2d1ade8b 100644
--- a/npc/jobs/2-2/monk.txt
+++ b/npc/jobs/2-2/monk.txt
@@ -2607,10 +2607,6 @@ job_monk,0,0,0,0 monster Thief Mushroom 1182,70,0,0,0
job_monk,0,0,0,0 monster Thief Bug Larva 1051,20,0,0,0
//============================================================
-// mapflag
-//============================================================
-
-//============================================================
// Old changelog
//============================================================
//= 1.1 Fixed missing '";'. Now it's loading fine [Lupus]
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index 6d9ffe14f..ba6938052 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -2013,10 +2013,6 @@ in_rogue,399,286,1 script switch#rogreset 88,{
}
//============================================================
-// mapflag
-//============================================================
-
-//============================================================
// Old changelog
//============================================================
//= 1.1 fixed 3 wrong questions, added missing lines [Lupus]
diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt
index 481392c60..49ada45f4 100644
--- a/npc/jobs/2-2/sage.txt
+++ b/npc/jobs/2-2/sage.txt
@@ -2894,10 +2894,6 @@ OnTimer9000:
}
//============================================================
-// Mapflag
-//============================================================
-
-//============================================================
// Old changelog
//============================================================
//= Script mostly based on translated jA script
diff --git a/npc/other/books.txt b/npc/other/books.txt
index 7655b9516..6175e383f 100644
--- a/npc/other/books.txt
+++ b/npc/other/books.txt
@@ -14,9 +14,6 @@
//= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
//============================================================
-// Prontera
-//============================================================
-
prt_in,168,56,4 script Monster Encyclopedia#prt 111,{
mes "^FF0000[Monster Encyclopedia]^000000";
mes "This is a Monster Encyclopedia";
diff --git a/npc/quests/gunslinger_quests.txt b/npc/quests/gunslinger_quests.txt
index 2f1c5b317..d45a09c20 100644
--- a/npc/quests/gunslinger_quests.txt
+++ b/npc/quests/gunslinger_quests.txt
@@ -23,9 +23,6 @@
//= 1.6c Corrected a bad delitem. (bugreport:763) [Samuray22]
//============================================================
-
-//===================== Garrison =====================================================
-
que_ng,182,85,3 script Garrison 109,{
if(BaseJob != Job_Gunslinger)
diff --git a/npc/re/merchants/inn.txt b/npc/re/merchants/inn.txt
index 5429354ef..e8eb922a5 100644
--- a/npc/re/merchants/inn.txt
+++ b/npc/re/merchants/inn.txt
@@ -13,8 +13,8 @@
//= 1.1 Updated dialog for Brasilis inn. [L0ne_W0lf]
//============================================================
-
-//======================== Brasilis =================================
+// Brasilis
+//============================================================
bra_in01,27,24,3 script Hotel Keeper#bra1 478,{
mes "[Hotel Keeper]";
mes "Welcome to the beautiful Brasilis Hotel.";
diff --git a/npc/re/merchants/renters.txt b/npc/re/merchants/renters.txt
index 278b1937b..0ac62a476 100644
--- a/npc/re/merchants/renters.txt
+++ b/npc/re/merchants/renters.txt
@@ -13,6 +13,7 @@
//============================================================
// Dragon Breeder on the Rune Knight job change map, couldn't find NPC on iRO.
+//============================================================
job3_rune01,88,62,5 script Dragon Breeder 105,{
mes "[Dragon Breeder]";
if (Class == Job_Rune_Knight || Class == Job_Rune_Knight_T || Class == Job_Baby_Rune) {
@@ -50,6 +51,7 @@ job3_rune01,88,62,5 script Dragon Breeder 105,{
}
// Dragon/Gryphon Master
+//============================================================
prontera,130,213,5 script Riding Creature Master 105,{
mes "[Riding Creature Master]";
if (Class == Job_Rune_Knight || Class == Job_Rune_Knight_T || Class == Job_Baby_Rune) {
@@ -114,6 +116,7 @@ prontera,130,213,5 script Riding Creature Master 105,{
}
// Peco removing NPC
+//============================================================
prontera,125,208,5 script Peco Peco Remover 105,{
mes "[Soldier]";
mes "If you're unable to dismount from a Peco Peco";
@@ -144,6 +147,7 @@ prontera,125,208,5 script Peco Peco Remover 105,{
}
// Magic Gear Renter
+//============================================================
prontera,163,178,4 script Magic Gear Master 105,{
mes "[Magic Gear Master]";
if (Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Baby_Mechanic) {