From 4e77a410994f1932a62adf3a8cb64a3c9842e889 Mon Sep 17 00:00:00 2001 From: Ecuador-ManaWorld Date: Tue, 3 May 2016 05:40:24 +0530 Subject: Lora Tay: Bugs corrections and Code improvement Having wg_state = 12, if I was asking about cape then "I have a proposal" option was getting removed (temporarily). I think same would be happening for trim, lengthen etc., but not for fur boots / winter gloves (because of L_Fur1). I could have created L_cape1, L_trim1 etc. like L_Fur1 already existed, but instead of doing that I changed the code and even removed the L_Fur1. Added missing "Can you enhance a sorcerer robe"... in L_main_menu2 (now L_main_menu_proposal). By the way, can common items of L_main_menu and L_main_menu_proposal be combined? --- world/map/npc/010-2/loratay.txt | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'world') diff --git a/world/map/npc/010-2/loratay.txt b/world/map/npc/010-2/loratay.txt index 6843bfcc..4e4232d7 100644 --- a/world/map/npc/010-2/loratay.txt +++ b/world/map/npc/010-2/loratay.txt @@ -242,7 +242,7 @@ L_regular_intro: mes "\"Ah, you again. Is there anything in particular you need?\""; next; if (@wg_state == 12) - goto L_main_menu2; + goto L_main_menu_proposal; goto L_main_menu; L_give_water: @@ -269,7 +269,7 @@ L_give_water: next; if (@wg_state == 12) - goto L_main_menu2; + goto L_main_menu_proposal; goto L_main_menu; L_main_menu: @@ -292,26 +292,11 @@ L_Fur: next; goto L_main_menu; -L_main_menu2: +L_main_menu_proposal: menu - "Can you trim something for me?", L_trim, - "Can you lengthen something for me?", L_lengthen, - "Can you make me a shirt?", L_shirt, - "Can you make me a tank top?", L_tanktop, - "Can you make me a cape?", L_cape, - "Can you make fur boots for me?", L_Fur1, - "Can you make winter gloves me?", L_Fur1, - "Can you sew a robe for me?", L_robe, - "Can you make a desert hat for me?", L_desert_hat, "Actually...I have a proposal for you...", L_agostine_proposal, "Goodbye for now.", L_end; -L_Fur1: - mes "[Lora Tay the Seamstress]"; - mes "\"From what? Fluffy fur? I won't work with such lowly materials.\""; - next; - goto L_main_menu2; - L_agostine_proposal: mes "[Lora Tay the Seamstress]"; mes "\"What kind of proposal are you asking of me?\""; @@ -319,7 +304,7 @@ L_agostine_proposal: menu "I have talked to Agostine and he needs your help.", L_Next1, - "I forgot...", L_main_menu2; + "I forgot...", L_end; L_Next1: mes "[Lora Tay the Seamstress]"; -- cgit v1.2.3-60-g2f50