diff options
author | The Kandiman <kandiman@kandiman.(none)> | 2011-08-27 00:54:21 -0400 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-08-27 18:14:36 +0200 |
commit | c8e0ce7f52ae0c8c4965170c9a3382005fd4231d (patch) | |
tree | 58bcf383f2220d3a45ea39c828fd25fc8db59058 /world/map/npc/001-1/sandra.txt | |
parent | 4b5ae2226b50c2c381ed7b9b0459b1778d2ac1ee (diff) | |
download | serverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.tar.gz serverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.tar.bz2 serverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.tar.xz serverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.zip |
First set of conversions to using 4 spaces in place of tabs. Also replaced tabs with pipes in headers. Map 001-1 complete.
Diffstat (limited to 'world/map/npc/001-1/sandra.txt')
-rw-r--r-- | world/map/npc/001-1/sandra.txt | 145 |
1 files changed, 72 insertions, 73 deletions
diff --git a/world/map/npc/001-1/sandra.txt b/world/map/npc/001-1/sandra.txt index dcef65c9..e6dec303 100644 --- a/world/map/npc/001-1/sandra.txt +++ b/world/map/npc/001-1/sandra.txt @@ -1,109 +1,108 @@ // -001-1.gat,110,71,0 script Sandra 114,{ - if (TMW_Quest >= 12) goto L_Done; - if (TMW_Quest == 11) goto L_Progress; - if (TMW_Quest == 10) goto L_Start; +001-1.gat,110,71,0|script|Sandra|114,{ + if (TMW_Quest >= 12) goto L_Done; + if (TMW_Quest == 11) goto L_Progress; + if (TMW_Quest == 10) goto L_Start; - mes "[Sandra]"; - mes "\"Hunting monsters for potion ingredients can sometimes be a difficult task. Maybe you could help me at some point.\""; - close; + mes "[Sandra]"; + mes "\"Hunting monsters for potion ingredients can sometimes be a difficult task. Maybe you could help me at some point.\""; + close; L_Start: - - 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; + 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; L_Opening0: - mes "[Sandra]"; - mes "\"In the outskirts of Tulimshar, there are some scorpions... I need a favor, please help me! Will you?\""; - next; - goto L_Ask; + mes "[Sandra]"; + mes "\"In the outskirts of Tulimshar, there are some scorpions... I need a favor, please help me! Will you?\""; + next; + goto L_Ask; L_Opening1: - mes "[Sandra]"; - mes "\"When you venture to the outskirts of Tulimshar, you can spot scorpions. Will you help me kill some?\""; - next; - goto L_Ask; + mes "[Sandra]"; + mes "\"When you venture to the outskirts of Tulimshar, you can spot scorpions. Will you help me kill some?\""; + next; + goto L_Ask; L_Opening2: - mes "[Sandra]"; - mes "\"The Scorpion Stinger carries many properties used in potions. Would you get some for me?\""; - next; - goto L_Ask; + mes "[Sandra]"; + mes "\"The Scorpion Stinger carries many properties used in potions. Would you get some for me?\""; + next; + goto L_Ask; L_Opening3: - mes "[Sandra]"; - mes "\"You look sturdy enough, will you help me get something?\""; - next; - goto L_Ask; + mes "[Sandra]"; + mes "\"You look sturdy enough, will you help me get something?\""; + next; + goto L_Ask; L_Ask: - menu - "Yes.", L_Yes, - "No.", L_No; + menu + "Yes.", L_Yes, + "No.", L_No; L_Yes: - set @TEMP, rand(3); - if(@TEMP == 0) goto L_Req0; - if(@TEMP == 1) goto L_Req1; - if(@TEMP == 2) goto L_Req2; + set @TEMP, rand(3); + if(@TEMP == 0) goto L_Req0; + if(@TEMP == 1) goto L_Req1; + if(@TEMP == 2) goto L_Req2; L_Req0: - mes "[Sandra]"; - mes "\"I need 5 Scorpion Stingers.\""; - next; - goto L_Set; + mes "[Sandra]"; + mes "\"I need 5 Scorpion Stingers.\""; + next; + goto L_Set; L_Req1: - mes "[Sandra]"; - mes "\"I heard a while ago that stingers from scorpions can be used for medical purposes. I need you to help me get 5 Scorpion Stingers.\""; - next; - goto L_Set; + mes "[Sandra]"; + mes "\"I heard a while ago that stingers from scorpions can be used for medical purposes. I need you to help me get 5 Scorpion Stingers.\""; + next; + goto L_Set; L_Req2: - mes "[Sandra]"; - mes "\"Bring me 5 Scorpion Stingers. I'll give you something if you do!\""; - next; - goto L_Set; + mes "[Sandra]"; + mes "\"Bring me 5 Scorpion Stingers. I'll give you something if you do!\""; + next; + goto L_Set; L_Set: - set TMW_Quest,11; - mes "[Sandra]"; - mes "\"Please get them for me!\""; - close; + set TMW_Quest,11; + mes "[Sandra]"; + mes "\"Please get them for me!\""; + close; L_Progress: - if (countitem("ScorpionStinger") < 5) goto L_NotEnough; - mes "[Sandra]"; - mes "\"Excellent! You brought me 5 Scorpion Stingers!\""; - getinventorylist; - if (@inventorylist_count + (countitem("ScorpionStinger") == 5) - (countitem("Arrow") == 0) > 99) goto L_TooMany; - delitem "ScorpionStinger", 5; - getitem "Bow", 1; - getitem "Arrow", 100; - set TMW_Quest, 12; - close; + if (countitem("ScorpionStinger") < 5) goto L_NotEnough; + mes "[Sandra]"; + mes "\"Excellent! You brought me 5 Scorpion Stingers!\""; + getinventorylist; + if (@inventorylist_count + (countitem("ScorpionStinger") == 5) - (countitem("Arrow") == 0) > 99) goto L_TooMany; + delitem "ScorpionStinger", 5; + getitem "Bow", 1; + getitem "Arrow", 100; + set TMW_Quest, 12; + close; L_NotEnough: - mes "[Sandra]"; - mes "\"Please hurry and bring me 5 Scorpion Stingers.\""; - close; + mes "[Sandra]"; + mes "\"Please hurry and bring me 5 Scorpion Stingers.\""; + close; L_Done: - mes "[Sandra]"; - mes "\"Thank you for all your help!\""; - close; + mes "[Sandra]"; + mes "\"Thank you for all your help!\""; + close; L_No: - close; + close; L_TooMany: - next; - mes "[Sandra]"; - mes "\"You don't have room for my reward. I'll wait until you do.\""; - close; + next; + mes "[Sandra]"; + mes "\"You don't have room for my reward. I'll wait until you do.\""; + close; } |