From 1260bce71eb83d9b01ce33726b5cfbfcfed16bdc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 22 May 2018 08:33:47 -0300 Subject: Initial version for Dausen on Hasan Quest. Add Sorfina, empty. --- npc/003-1/lieutenantdausen.txt | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) (limited to 'npc/003-1/lieutenantdausen.txt') diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt index 5d5064564..6e0a5cd20 100644 --- a/npc/003-1/lieutenantdausen.txt +++ b/npc/003-1/lieutenantdausen.txt @@ -44,24 +44,29 @@ select l("Yes sir. I will help them."), + rif(getq(TulimsharQuest_Hasan) == 1, l("A guy named Hasan stole me!")), menuaction(l("Quit")); - if (1 != @menu) - { - closedialog; - goodbye; - } - else - { + switch (@menu) { + case 1: setq TulimsharQuest_WaterForGuard, 1; - speech S_FIRST_BLANK_LINE, l("Good luck! Come for remuneration when you finish!"); + break; + case 2: + setq TulimsharQuest_Hasan, 2; + speech S_FIRST_BLANK_LINE, lg("Ah, Hasan... Sorry pal, afraid I can't do anything for you. Try talking to his mother Sorfina, she is on Mahoud's house, near the Inn."); + break; + case 3: + closedialog; + goodbye; + break; } return; L_InProgress: mesn; mesq l("Please help my wards!"); + if (getq(TulimsharQuest_Hasan) == 1) goto L_Hasan; return; L_Reward: @@ -84,6 +89,24 @@ L_QuestDone: mesn; mesq l("Thank you for your help."); + if (getq(TulimsharQuest_Hasan) == 1) goto L_Hasan; + return; + + L_Hasan: + select + rif(getq(TulimsharQuest_Hasan) == 1, l("A guy named Hasan stole me!")), + menuaction(l("Quit")); + + switch (@menu) { + case 1: + setq TulimsharQuest_Hasan, 2; + speech S_FIRST_BLANK_LINE, lg("Ah, Hasan... Sorry pal, afraid I can't do anything for you. Try talking to his mother Sorfina, she is on Mahoud's house, near the Inn."); + break; + default: + closedialog; + goodbye; + break; + } return; L_MKControl: -- cgit v1.2.3-60-g2f50