diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-23 17:21:29 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-23 17:21:29 +0100 |
commit | 63f34d9fc5c4a4f527bc55e37fd78124401033e2 (patch) | |
tree | dc0b572912370ba0c7c3ffd372b345e6ea95d62d /npc/001-1_Tulimshar/sandra.txt | |
parent | 781f70b09f66f177cd737e8b98c052623a5da65c (diff) | |
parent | 175d674267356b7d6a915a9912698a9c922f2b17 (diff) | |
download | serverdata-63f34d9fc5c4a4f527bc55e37fd78124401033e2.tar.gz serverdata-63f34d9fc5c4a4f527bc55e37fd78124401033e2.tar.bz2 serverdata-63f34d9fc5c4a4f527bc55e37fd78124401033e2.tar.xz serverdata-63f34d9fc5c4a4f527bc55e37fd78124401033e2.zip |
Merge commit 'map-renaming/master'
Diffstat (limited to 'npc/001-1_Tulimshar/sandra.txt')
-rw-r--r-- | npc/001-1_Tulimshar/sandra.txt | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/npc/001-1_Tulimshar/sandra.txt b/npc/001-1_Tulimshar/sandra.txt new file mode 100644 index 00000000..eb1ebdf0 --- /dev/null +++ b/npc/001-1_Tulimshar/sandra.txt @@ -0,0 +1,83 @@ +// + +001-1.gat,110,71,0 script Sandra 114,{ + if(Scorp == 2) goto done; + if(Scorp == 1) goto reas; + set @TEMP,rand(3); + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + if(@TEMP == 0) goto L_4; +L_1: + mes "[Sandra]"; + mes "\"In the outskirts of Tulimshar, there wanders a red scorpion. I need a favor, please help me.\""; + next; + goto red; +L_2: + mes "[Sandra]"; + mes "\"When you venture in the outskirts of Tulimshar, you can spot a red scorpion. Will you help me kill one?\""; + next; + goto red; +L_3: + mes "[Sandra]"; + mes "\"The red scorpion stinger carries many properties used in potions.\""; + next; + goto red; +L_4: + mes "[Sandra]"; + mes "\"You look sturdy enough, will you help me get something?\""; + next; + goto red; +red: + menu "Yes",L_kl,"No",L_N; +L_kl: + if(@TEMP == 1) goto K_1; + if(@TEMP == 2) goto K_2; + if(@TEMP == 3) goto K_3; + if(@TEMP == 0) goto K_1; +K_1: + mes "[Sandra]"; + mes "\"I need you to slaughter the red scorpion found outside of Tulimshar and bring me 5 [Red Stingers].\""; + next; + goto set1; +K_2: + mes "[Sandra]"; + mes "\"I heard a while ago that the stinger of a red scorpion can be used for medical purposes. I need you to help me get 5 [Red Stingers].\""; + next; + goto set1; +K_3: + mes "[Sandra]"; + mes "\"Bring me 5 [Red Stingers] and i will reward you greatly.\""; + next; + goto set1; +set1: + set Scorp,1; + mes "[Sandra]"; + mes "\"Please bring me them!\""; + close; +reas: + if(countitem(517) >= 5) goto have; + mes "[Sandra]"; + mes "\"Please hurry and bring me 5 [Red Stingers].\""; + close; +have: + mes "[Sandra]"; + mes "\"Excellent!"; + mes "You brought me 5 [Red Stingers]!\""; + delitem 517,5; + next; + mes "[Sandra]"; + mes "\"Here you go, your reward!\""; + mes "+Got Bow"; + mes "+Got Arrows 100"; + getitem 1200,1; + getitem 1199,100; + set Scorp,2; + close; +done: + mes "[Sandra]"; + mes "\"Thank you for all your help!\""; + close; +L_N: + close; +} |