summaryrefslogtreecommitdiff
path: root/world/map/npc/010-2
diff options
context:
space:
mode:
authorEcuador-ManaWorld <Ecuador@email.com>2016-05-03 05:40:24 +0530
committermekolat <mekolat@users.noreply.github.com>2016-05-03 14:25:31 -0400
commit4e77a410994f1932a62adf3a8cb64a3c9842e889 (patch)
treedd298b2aeb477d87bfdf157477dbf380431e8ea6 /world/map/npc/010-2
parentf8924867ee3e1020cb9fc73df98c22218a52ad2f (diff)
downloadserverdata-4e77a410994f1932a62adf3a8cb64a3c9842e889.tar.gz
serverdata-4e77a410994f1932a62adf3a8cb64a3c9842e889.tar.bz2
serverdata-4e77a410994f1932a62adf3a8cb64a3c9842e889.tar.xz
serverdata-4e77a410994f1932a62adf3a8cb64a3c9842e889.zip
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?
Diffstat (limited to 'world/map/npc/010-2')
-rw-r--r--world/map/npc/010-2/loratay.txt23
1 files changed, 4 insertions, 19 deletions
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]";