summaryrefslogtreecommitdiff
path: root/npc/001-1_Tulimshar/bernard.txt
diff options
context:
space:
mode:
authorWombat <hpwombat@yahoo.com>2010-08-18 21:02:01 -0400
committerWombat <hpwombat@yahoo.com>2010-08-18 21:02:01 -0400
commit0b9235d0865509feb9ef97aa197204293cee0b1f (patch)
tree719ddcf0441486774d0b827fb5a36e7e0a5b7ec8 /npc/001-1_Tulimshar/bernard.txt
parent75dfdd443d6dbe9bd556debeb1c50d3000d95967 (diff)
downloadserverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.tar.gz
serverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.tar.bz2
serverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.tar.xz
serverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.zip
Low Level Tulimshar Release
News, Small Fixes, Tulimshar Related Quests, Sandstorm Mob Changes Expensive Hurnscald Warp NPC
Diffstat (limited to 'npc/001-1_Tulimshar/bernard.txt')
-rwxr-xr-xnpc/001-1_Tulimshar/bernard.txt117
1 files changed, 117 insertions, 0 deletions
diff --git a/npc/001-1_Tulimshar/bernard.txt b/npc/001-1_Tulimshar/bernard.txt
new file mode 100755
index 00000000..25aad835
--- /dev/null
+++ b/npc/001-1_Tulimshar/bernard.txt
@@ -0,0 +1,117 @@
+//
+
+001-1.gat,37,44,0 script Bernard 117,{
+ if(TMW_Quest >= 4) goto L_Done2;
+ if(TMW_Quest == 3) goto L_Progress2;
+ if(TMW_Quest == 2) goto L_Done1;
+ if(TMW_Quest == 1) goto L_Progress;
+
+ set @TEMP, rand(2);
+ if(@TEMP == 0) goto L_Opening0;
+ if(@TEMP == 1) goto L_Opening1;
+
+L_Opening0:
+ mes "[Bernard]";
+ mes "\"In Tulimshar, there are a lot of maggots. I need a favor, please help me. Will you?\"";
+ next;
+ goto L_Ask;
+
+L_Opening1:
+ mes "[Bernard ]";
+ mes "\"The taste of maggots in soup is... unforgettable, taste so good. Will you help me kill some?\"";
+ next;
+ goto L_Ask;
+
+L_Ask:
+ menu
+ "Yes", L_Yes,
+ "No", L_No;
+
+L_Yes:
+ set @TEMP, rand(2);
+ if(@TEMP == 0) goto L_Req0;
+ if(@TEMP == 1) goto L_Req1;
+
+L_Req0:
+ mes "[Bernard]";
+ mes "\"I need a [Roasted Maggot] for my soup.\"";
+ next;
+ goto L_Set;
+
+L_Req1:
+ mes "[Bernard]";
+ mes "\"Bring me a [Roasted Maggot]. I'll give you something if you do.\"";
+ next;
+ goto L_Set;
+
+L_Set:
+ set TMW_Quest,1;
+ mes "[Bernard]";
+ mes "\"Please bring me it!\"";
+ close;
+
+L_Progress:
+ if (countitem("RoastedMaggot") < 1) goto L_NotEnough;
+ mes "[Bernard]";
+ mes "\"Perfect! It's perfect !";
+ mes "You brought me my Roasted Maggot! Here, have some cake.\"";
+ getinventorylist;
+ if ((@inventorylist_count - (countitem("RoastedMMaggot") == 1) > 99 - (countitem("CherryCake") == 0) )) goto L_TooMany;
+ delitem "RoastedMaggot", 1;
+ getexp 100, 0;
+ getitem "CherryCake", 5;
+ set TMW_Quest, 2;
+ close;
+
+L_Progress2:
+ if (countitem("MaggotSlime") < 3) goto L_NotEnough1;
+ mes "[Bernard]";
+ mes "\"Nice ! It'll perfect, so perfect !";
+ mes "You brought me the 3 maggots slimes! Here, have some beer.\"";
+ getinventorylist;
+ if ((@inventorylist_count - (countitem("MaggotSlime") == 3) > 99 - (countitem("Beer") == 0) )) goto L_TooMany;
+ delitem "MaggotSlime", 3;
+ getexp 100, 0;
+ getitem "Beer", 3;
+ set TMW_Quest, 4;
+ close;
+
+
+L_NotEnough:
+ mes "[Bernard]";
+ mes "\"Please hurry and bring me a [Roasted Maggot].\"";
+ close;
+
+L_NotEnough1:
+ mes "[Bernard]";
+ mes "\"Please hurry and bring me 3 [Maggot Slime]s.\"";
+ close;
+
+
+L_Done1:
+ mes "[Bernard]";
+ mes "\"Thank you so much !\"";
+ mes "\"But something is missing to make the soup creamy !\"";
+ next;
+ mes "\"I need 3 [Maggot Slime] for the soup.\"";
+ mes "\"Bring me them. I'll give you something if you do.\"";
+ set TMW_Quest,3;
+ close;
+
+L_Done2:
+ mes "[Bernard]";
+ mes "\"I didn't tell you, I also put beer in my soup. I hope you like beer as much as I do because..\"";
+ next;
+ mes "\"Beer is life!\"";
+ close;
+
+
+L_No:
+ close;
+
+L_TooMany:
+ next;
+ mes "[Bernard]";
+ mes "\"You don't have room for my reward. I'll wait until you do.\"";
+ close;
+}