diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-02-23 17:26:20 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-02-23 17:26:20 +0000 |
commit | 0ce23fe45c6a98adfabbe3285fa454f3220072bf (patch) | |
tree | bdb69c48e94ea2e37a9062dace4a67251d93d21b /npc/woodland-village/ironore.txt | |
parent | a060f654f332b1824e9c6f6dc6925102232b2f51 (diff) | |
download | classic-serverdata-0ce23fe45c6a98adfabbe3285fa454f3220072bf.tar.gz classic-serverdata-0ce23fe45c6a98adfabbe3285fa454f3220072bf.tar.bz2 classic-serverdata-0ce23fe45c6a98adfabbe3285fa454f3220072bf.tar.xz classic-serverdata-0ce23fe45c6a98adfabbe3285fa454f3220072bf.zip |
Added quest to obtain helmets and map fixes by QOAL.
Diffstat (limited to 'npc/woodland-village/ironore.txt')
-rw-r--r-- | npc/woodland-village/ironore.txt | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/npc/woodland-village/ironore.txt b/npc/woodland-village/ironore.txt new file mode 100644 index 00000000..1e0ffd94 --- /dev/null +++ b/npc/woodland-village/ironore.txt @@ -0,0 +1,97 @@ +new_20-1.gat,185,55,0 script Nicholas 135,{
+mes "[Nicholas]";
+mes "Hello there,";
+mes "I'm an expert blacksmith.";
+mes "If you get me some Iron Ore";
+mes "I could make you a very valuable helmet.";
+next;
+L_M:
+menu "I have some Iron Ore!",L_Check,"Where can I get this Iron Ore?",L_Info,"I'm okay, thanks.",L_Pass;
+ L_Check:
+ mes "[Nicholas]";
+ mes "Let me take at look at how much you have...";
+ next;
+ if(countitem(640)<5) goto NoItem;
+ if(countitem(640)<10) goto StageA;
+ if(countitem(640)<15) goto StageB;
+ goto StageC;
+ L_Info:
+ mes "[Nicholas]";
+ mes "You can find Iron Ore in mines.";
+ mes "It is quite hard to come by though.";
+ close;
+ L_Pass:
+ mes "[Nicholas]";
+ mes "Oh, okay";
+ mes "Come back any time.";
+ close;
+ StageA:
+ mes "[Nicholas]";
+ mes "That's just enough for me to make you";
+ mes "a winged Knight's Helmet.";
+ mes "But it'll cost you 10,000GP";
+ mes "and 5 lumps of Iron Ore.";
+ next;
+ menu "Deal!",L_YesKnight,"I'll pass, thanks.",ComeBack;
+ StageB:
+ mes "[Nicholas]";
+ mes "Ahh, with that much Iron Ore I can";
+ mes "make you one of two helmets,";
+ mes "for only 10,000GP.";
+ mes "";
+ mes "Which one do you want?";
+ next;
+ menu "Crusade Helmet. (10 Iron Ore's)",L_YesCrusade,"Knight's Helmet. (5 Iron Ore's)",L_YesKnight,"I'll pass, thanks.",ComeBack;
+ StageC:
+ mes "[Nicholas]";
+ mes "Excellent, that's enough to make";
+ mes "three different types of helmet.";
+ mes "My fee is 10,000GP.";
+ mes "";
+ mes "Which helmet do you want?";
+ next;
+ menu "Warlord Helmet. (15 Iron Ore's)",L_YesWarlord,"Crusade Helmet. (10 Iron Ore's)",L_YesCrusade,"Knight's Helmet. (5 Iron Ore's)",L_YesKnight,"I'll pass, thanks.",ComeBack;
+ NoItem:
+ mes "[Nicholas]";
+ mes "It appears you don't have enough Iron Ore for me to work with.";
+ mes "Please do come back when you have more though.";
+ close;
+ ComeBack:
+ mes "[Nicholas]";
+ mes "Come back any time.";
+ close;
+ NoMoney:
+ mes "[Nicholas]";
+ mes "Oh dear, it seems you don't have enough money.";
+ close;
+ L_YesKnight:
+ if (zeny < 10000) goto NoMoney;
+ set zeny, zeny-10000;
+ delitem 640,5;
+ getitem 637,1;
+ mes "[Nicholas]";
+ mes "There you go!";
+ mes "";
+ mes "Come back any time.";
+ close;
+ L_YesCrusade:
+ if (zeny < 10000) goto NoMoney;
+ set zeny, zeny-10000;
+ delitem 640,10;
+ getitem 639,1;
+ mes "[Nicholas]";
+ mes "Hope you like it!";
+ mes "";
+ mes "Come back any time.";
+ close;
+ L_YesWarlord:
+ if (zeny < 10000) goto NoMoney;
+ set zeny, zeny-10000;
+ delitem 640,15;
+ getitem 636,1;
+ mes "[Nicholas]";
+ mes "Here you go!";
+ mes "";
+ mes "Come back any time.";
+ close;
+}
\ No newline at end of file |