diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-04-02 11:06:32 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-04-02 22:21:29 -0700 |
commit | c0ba38cd4b68491e28e467889804ebc09c9c002e (patch) | |
tree | af2890e6fe20990d2a9b7c94b991be58f25a5d52 /world/map/npc/009-2/selim.txt | |
parent | 514a2f05cb335c1e9210fea58bc9a9a58478283f (diff) | |
download | serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.gz serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.bz2 serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.xz serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.zip |
Clean up main scripts
Diffstat (limited to 'world/map/npc/009-2/selim.txt')
-rw-r--r-- | world/map/npc/009-2/selim.txt | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/world/map/npc/009-2/selim.txt b/world/map/npc/009-2/selim.txt index dee87a8e..92c7aa2e 100644 --- a/world/map/npc/009-2/selim.txt +++ b/world/map/npc/009-2/selim.txt @@ -12,6 +12,7 @@ mes "[Selim]"; mes "\"What can I dye for you today?\""; next; + goto L_clothes_choice; L_clothes_choice: set @pronoun$, "it"; @@ -38,8 +39,7 @@ L_clothes_choice: "Bowler hat (brown).", L_bowlerhatbrown, "Fine dress.", L_finedress, "About these sorcerer robes...", L_asksorcererrobe, - "I'm fine for now, thanks.", -; - close; + "I'm fine for now, thanks.", L_Close; L_cottonshirt: set @del, 1202; @@ -165,8 +165,7 @@ L_sorcererrobe: "A purple lined one.", L_purplelinedsorcererrobe, "A dark green lined one.", L_darkgreenlinedsorcererrobe, "A white lined one.", L_whitelinedsorcererrobe, - "I'm fine for now, thanks.", -; - close; + "I'm fine for now, thanks.", L_Close; L_redlinedsorcererrobe: set @del, 798; @@ -257,39 +256,45 @@ L_asksorcererrobe: mes "\"Yes?\""; next; menu - "Do you think you can dye that line to a different color?", -; + "Do you think you can dye that line to a different color?", L_Next1; + +L_Next1: mes "[Selim]"; mes "\"Hum, I fear I can't do that. The area is too small and I can operate only on large ones."; mes "But with the appropriate materials, maybe a talented tailor can make the change.\""; next; menu - "Oh, I see!", -; + "Oh, I see!", L_Next; + +L_Next: mes "[Selim]"; mes "\"Of course I can help you by dyeing the materials your tailor will want."; mes "All I need is a piece of Cotton Cloth.\""; menu "Sure. Here is one.", L_cottoncloth, - "I have to go pick that.", -; - close; + "I have to go pick that.", L_Close; L_picked_item: if (countitem(@del) == 0) goto L_havenone; + goto L_colour; L_colour: mes "[Selim]"; mes "\"Excellent. Now, what color do you want?\""; next; menu - "Red.", -, - "Green.", -, - "Dark Blue.", -, - "Yellow.", -, - "Light Blue.", -, - "Pink.", -, - "Black.", -, - "Orange.", -, - "Purple.", -, - "Dark Green.", -; + "Red.", L_MenuItems, + "Green.", L_MenuItems, + "Dark Blue.", L_MenuItems, + "Yellow.", L_MenuItems, + "Light Blue.", L_MenuItems, + "Pink.", L_MenuItems, + "Black.", L_MenuItems, + "Orange.", L_MenuItems, + "Purple.", L_MenuItems, + "Dark Green.", L_MenuItems; + +L_MenuItems: set @colour, @menu - 1; set @vial, 690 + @colour; if (countitem(@vial) == 0) goto L_no_dye; @@ -305,8 +310,7 @@ L_no_dye: "I wanted to dye a different item anyway.", L_clothes_choice, "What do you mean, `bring you dye'?", L_explain_dye, "Where would I get dye?", L_explain_dye, - "Never mind.", -; - close; + "Never mind.", L_Close; L_explain_dye: if (QUEST_clothdyer_knowsdye < 1) @@ -332,4 +336,7 @@ L_havenone: mes "Would you like to dye something else?\""; next; goto L_clothes_choice; + +L_Close: + close; } |