diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-01-18 16:27:13 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-01-18 16:27:13 +0000 |
commit | 6a92fbc8e20a211d85e0656cc86bb3569389b85b (patch) | |
tree | 2c209e08298c90c31c0bd9323043cc3d8f80c440 /npc/001-1_Tulimshar | |
parent | bb203b7c602ae52111828c7f89a5c10cd8e7a206 (diff) | |
parent | d66e5af9f0024f897a8d239aa5100b30c487a45b (diff) | |
download | serverdata-6a92fbc8e20a211d85e0656cc86bb3569389b85b.tar.gz serverdata-6a92fbc8e20a211d85e0656cc86bb3569389b85b.tar.bz2 serverdata-6a92fbc8e20a211d85e0656cc86bb3569389b85b.tar.xz serverdata-6a92fbc8e20a211d85e0656cc86bb3569389b85b.zip |
Merge commit 'mainline/master'
Diffstat (limited to 'npc/001-1_Tulimshar')
-rw-r--r-- | npc/001-1_Tulimshar/bleacher.txt | 6 | ||||
-rw-r--r-- | npc/001-1_Tulimshar/sandra.txt | 56 |
2 files changed, 35 insertions, 27 deletions
diff --git a/npc/001-1_Tulimshar/bleacher.txt b/npc/001-1_Tulimshar/bleacher.txt index 48b5c6c6..67ea1497 100644 --- a/npc/001-1_Tulimshar/bleacher.txt +++ b/npc/001-1_Tulimshar/bleacher.txt @@ -29,6 +29,7 @@ L_bleach_menu: "Silk robe", L_robe, "Cotton headband", L_cotton_headband, "Desert hat", L_desert_hat, + "Cotton boots", L_cotton_boots, "Nevermind", -; goto L_close; @@ -74,6 +75,11 @@ L_desert_hat: set @normal, 723; set @dyeBase, 2130; goto L_choose_color; + +L_cotton_boots: + set @normal, 735; + set @dyeBase, 2150; + goto L_choose_color; L_choose_color: mes "[Candide]"; diff --git a/npc/001-1_Tulimshar/sandra.txt b/npc/001-1_Tulimshar/sandra.txt index 048bfa19..314e009a 100644 --- a/npc/001-1_Tulimshar/sandra.txt +++ b/npc/001-1_Tulimshar/sandra.txt @@ -4,31 +4,31 @@ if(Scorp == 2) goto L_Done; if(Scorp == 1) goto L_Progress; - set @TEMP,rand(3); + set @TEMP, rand(4); + if(@TEMP == 0) goto L_Opening0; if(@TEMP == 1) goto L_Opening1; if(@TEMP == 2) goto L_Opening2; if(@TEMP == 3) goto L_Opening3; - if(@TEMP == 0) goto L_Opening4; -L_Opening1: +L_Opening0: mes "[Sandra]"; - mes "\"In the outskirts of Tulimshar, there wanders a red scorpion. I need a favor, please help me. Will you?\""; + mes "\"In the outskirts of Tulimshar, there are some scorpions. I need a favor, please help me. Will you?\""; next; goto L_Ask; -L_Opening2: +L_Opening1: mes "[Sandra]"; - mes "\"When you venture in the outskirts of Tulimshar, you can spot a red scorpion. Will you help me kill one?\""; + mes "\"When you venture in the outskirts of Tulimshar, you can spot scorpions. Will you help me kill some?\""; next; goto L_Ask; -L_Opening3: +L_Opening2: mes "[Sandra]"; - mes "\"The red scorpion stinger carries many properties used in potions. Will you get some for me?\""; + mes "\"The scorpion stinger carries many properties used in potions. Will you get some for me?\""; next; goto L_Ask; -L_Opening4: +L_Opening3: mes "[Sandra]"; mes "\"You look sturdy enough, will you help me get something?\""; next; @@ -40,26 +40,26 @@ L_Ask: "No", L_No; L_Yes: - if(@TEMP == 1) goto L_Req1; - if(@TEMP == 2) goto L_Req2; - if(@TEMP == 3) goto L_Req3; + set @TEMP, rand(3); if(@TEMP == 0) goto L_Req1; + if(@TEMP == 1) goto L_Req2; + if(@TEMP == 2) goto L_Req3; -L_Req1: +L_Req0: mes "[Sandra]"; - mes "\"I need you to slaughter the red scorpion found outside of Tulimshar and bring me 5 [Red Stingers].\""; + mes "\"I need 5 [Scorpion Stingers] and 1 [Red Scoprion Stinger].\""; next; goto L_Set; -L_Req2: +L_Req1: 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].\""; + mes "\"I heard a while ago that scorpion stingers can be used for medical purposes. I need you to help me get 5 [Scorpion Stingers] and 1 [Red Scoprion Stinger].\""; next; goto L_Set; -L_Req3: +L_Req2: mes "[Sandra]"; - mes "\"Bring me 5 [Red Stingers] and i will reward you greatly.\""; + mes "\"Bring me 5 [Scorpion Stingers] and 1 [Red Scoprion Stinger]. I'll give you something if you do.\""; next; goto L_Set; @@ -70,23 +70,25 @@ L_Set: close; L_Progress: - if (countitem(517) >= 5) goto L_Have; - mes "[Sandra]"; - mes "\"Please hurry and bring me 5 [Red Stingers].\""; - close; - -L_Have: + if (countitem(507) < 5) goto L_NotEnough; + if (countitem(517) < 1) goto L_NotEnough; mes "[Sandra]"; mes "\"Excellent!"; - mes "You brought me 5 [Red Stingers]!\""; + mes "You brought me 5 [Scorpion Stingers] and 1 [Red Scoprion Stinger]!\""; getinventorylist; - if (@inventorylist_count == 100 && countitem(517) > 5) goto L_TooMany; - delitem 517, 5; + if ((@inventorylist_count - (countitem(507) == 5) - (countitem(517) == 1)) > 99 - (countitem(1199) == 0)) goto L_TooMany; + delitem 507, 5; + delitem 517, 1; getitem 1200, 1; getitem 1199, 100; set Scorp, 2; close; +L_NotEnough: + mes "[Sandra]"; + mes "\"Please hurry and bring me 5 [Scorpion Stingers] and 1 [Red Scoprion Stinger].\""; + close; + L_Done: mes "[Sandra]"; mes "\"Thank you for all your help!\""; |