summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/009-1/fisherman.txt16
-rw-r--r--npc/012-1/jack.txt14
-rw-r--r--npc/012-3/alan.txt10
-rw-r--r--npc/functions/news.txt2
-rw-r--r--npc/functions/util.txt2
5 files changed, 22 insertions, 22 deletions
diff --git a/npc/009-1/fisherman.txt b/npc/009-1/fisherman.txt
index a47191db8..5aaddae2f 100644
--- a/npc/009-1/fisherman.txt
+++ b/npc/009-1/fisherman.txt
@@ -7,7 +7,7 @@
// Forest Bow Quest. DO NOT RENAME THE NPC.
009-1,116,106,0 script Fisherman NPC_FISHERMAN_HALI,{
- .@q=getq(HurscaldQuest_ForestBow);
+ .@q=getq(HurnscaldQuest_ForestBow);
if (BaseLevel < 30) goto L_Weak;
mesn;
mesq l("Hello. Ah, bad luck. I am three days without fishing a single carp.");
@@ -15,7 +15,7 @@
mesn strcharinfo(0);
menu
l("Any fishing tips for me?"),-,
- rif(.@q == 1 && getq3(HurscaldQuest_ForestBow) < 99, l("I need a string, but not just any string, a really good string.")), L_String;
+ rif(.@q == 1 && getq3(HurnscaldQuest_ForestBow) < 99, l("I need a string, but not just any string, a really good string.")), L_String;
mes "";
mesn;
@@ -34,7 +34,7 @@ L_Weak:
close;
L_String:
- .@k=getq3(HurscaldQuest_ForestBow);
+ .@k=getq3(HurnscaldQuest_ForestBow);
mes "";
switch (.@k) {
case 0:
@@ -55,7 +55,7 @@ L_String:
next;
mesn;
mesq l("I'll make your life easier, I'm also accepting 20 @@ or @@ instead the Grass Carp. Go now, pal.", getitemlink(CommonCarp), getitemlink(Roach));
- setq3 HurscaldQuest_ForestBow, 10;
+ setq3 HurnscaldQuest_ForestBow, 10;
close;
break;
case 50:
@@ -122,7 +122,7 @@ L_Finish:
}
delitem Root, 10;
Zeny=Zeny-1000;
- setq3 HurscaldQuest_ForestBow, 99;
+ setq3 HurnscaldQuest_ForestBow, 99;
getexp 800, 0; // 10% of max exp
mes "";
mesn;
@@ -137,9 +137,9 @@ L_Finish:
close;
OnKillFireGoblin:
- if (getq(HurscaldQuest_ForestBow) == 1 && getq3(HurscaldQuest_ForestBow) >= 10 && getq3(HurscaldQuest_ForestBow) < 50) {
- setq3 HurscaldQuest_ForestBow, getq3(HurscaldQuest_ForestBow)+1;
- dispbottom l("@@/40 Fire Goblins killed", getq3(HurscaldQuest_ForestBow)-10);
+ if (getq(HurnscaldQuest_ForestBow) == 1 && getq3(HurnscaldQuest_ForestBow) >= 10 && getq3(HurnscaldQuest_ForestBow) < 50) {
+ setq3 HurnscaldQuest_ForestBow, getq3(HurnscaldQuest_ForestBow)+1;
+ dispbottom l("@@/40 Fire Goblins killed", getq3(HurnscaldQuest_ForestBow)-10);
}
end;
diff --git a/npc/012-1/jack.txt b/npc/012-1/jack.txt
index c66a1a820..55eef5d2d 100644
--- a/npc/012-1/jack.txt
+++ b/npc/012-1/jack.txt
@@ -7,8 +7,8 @@
// Jack is Hurnscald Lumberjack
012-1,69,93,0 script Jack NPC_LUMBERJACK,{
- .@q1=getq(HurscaldQuest_ForestBow);
- //.@q2=getq(HurscaldQuest_WoodShield);
+ .@q1=getq(HurnscaldQuest_ForestBow);
+ //.@q2=getq(HurnscaldQuest_WoodShield);
mesn "Jack, the Lumberjack";
mesq l("Hello there! I'm Jack, the Lumberjack, and enemy of all trees. If you need some firewood, just let me know.");
@@ -61,7 +61,7 @@ L_Polish:
close;
L_ForestBow:
- .@k=getq2(HurscaldQuest_ForestBow);
+ .@k=getq2(HurnscaldQuest_ForestBow);
switch (.@k) {
case 0:
@@ -78,7 +78,7 @@ L_ForestBow:
}
mesn strcharinfo(0);
mesq l("I'm railroaded here, I cannot say no. I'll bring you some @@. Break them until one of them fit.", getitemlink(RawLog));
- setq2 HurscaldQuest_ForestBow, 1;
+ setq2 HurnscaldQuest_ForestBow, 1;
close;
break;
case 99:
@@ -91,7 +91,7 @@ L_ForestBow:
goto L_Close;
L_Loop:
- .@k=getq2(HurscaldQuest_ForestBow);
+ .@k=getq2(HurnscaldQuest_ForestBow);
mesn;
mesq l("Bring me your wood, and I'll show you which one is sturdy, yet flexible enough to make a good Forest Bow.");
mes "";
@@ -109,7 +109,7 @@ L_Loop:
if (.@success <= 1) {
mesc l("The wood bends a little, but doesn't breaks.");
getexp 295, 100; // 10% of max exp
- setq2 HurscaldQuest_ForestBow, 99;
+ setq2 HurnscaldQuest_ForestBow, 99;
next;
mesn;
mesq lg("That's the right wood, my son. Here, I'll wrap it so you don't accidentaly lose it. Good luck with your quest!");
@@ -118,7 +118,7 @@ L_Loop:
mesc l("However, the log breaks with a loud crack.");
Zeny=Zeny+10;
getexp 5, 1;
- setq2 HurscaldQuest_ForestBow, .@k+1;
+ setq2 HurnscaldQuest_ForestBow, .@k+1;
next;
mesn;
mesq lg("Sorry, son. I know how hard this is. But this is teaching you a valuable lesson, your eye will be more sharp for quality wood from now on.");
diff --git a/npc/012-3/alan.txt b/npc/012-3/alan.txt
index e1f328a23..282f12e74 100644
--- a/npc/012-3/alan.txt
+++ b/npc/012-3/alan.txt
@@ -5,9 +5,9 @@
// Alan is Hurnscald's bowmaster. He may craft the Forest Bow, and sell ammo.
012-3,44,40,0 script Alan NPC_BOWMASTER,{
- .@q=getq(HurscaldQuest_ForestBow);
- .@q2=getq2(HurscaldQuest_ForestBow);
- .@q3=getq3(HurscaldQuest_ForestBow);
+ .@q=getq(HurnscaldQuest_ForestBow);
+ .@q2=getq2(HurnscaldQuest_ForestBow);
+ .@q3=getq3(HurnscaldQuest_ForestBow);
switch (.@q) {
case 1:
npctalk3 l("Ah, if Jack and that fisherman from Halinarzo still gave me materials...");
@@ -56,14 +56,14 @@ L_Next:
L_Start:
// q2 → Wood Part
// q3 → String Part
- setq HurscaldQuest_ForestBow, 1, 0, 0;
+ setq HurnscaldQuest_ForestBow, 1, 0, 0;
goto L_Close;
L_Craft:
inventoryplace ForestBow, 1;
getitem ForestBow, 1;
getexp 900, 0;
- setq HurscaldQuest_ForestBow, 2, 0, 0;
+ setq HurnscaldQuest_ForestBow, 2, 0, 0;
mesn;
mesq l("Here you go - have fun with it.");
next;
diff --git a/npc/functions/news.txt b/npc/functions/news.txt
index 074b67f69..da995b008 100644
--- a/npc/functions/news.txt
+++ b/npc/functions/news.txt
@@ -20,7 +20,7 @@ function script GameNews {
mesc l("Many rejoiced. The damage was very big, and all players help is required, to make Hurnscald prosper again.");
}
next;
- mesc l("This server's Sponsors bought the area above Hurscald's Inn. Nobody else is being allowed there.");
+ mesc l("This server's Sponsors bought the area above Hurnscald's Inn. Nobody else is being allowed there.");
mesc l("However, they allowed everyone to use @@ command to rapidly reach Aeros during events.", "##B@toevent##b");
next;
mesc l("Guilds storage is free for test, and monsters are fainting when too many players attack them at once.");
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index a72d6e5fb..8f595cd9a 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -156,7 +156,7 @@ function script marine_reputation {
} else if (getarg(0) == "Hurns") {
// Alan Quest (+1 rep)
- if (getq(HurscaldQuest_ForestBow) >= 2)
+ if (getq(HurnscaldQuest_ForestBow) >= 2)
.@nr=.@nr+1;
// Gwendolyn Quest (+1 rep)