summaryrefslogtreecommitdiff
path: root/npc/003-1/lieutenantdausen.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-22 08:33:47 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-22 08:33:47 -0300
commit1260bce71eb83d9b01ce33726b5cfbfcfed16bdc (patch)
tree3a2a352c958a3a692805a13bdd4ce606db34c95e /npc/003-1/lieutenantdausen.txt
parent0f2be2f438617e4ce090c18584a8ccca30be1211 (diff)
downloadserverdata-1260bce71eb83d9b01ce33726b5cfbfcfed16bdc.tar.gz
serverdata-1260bce71eb83d9b01ce33726b5cfbfcfed16bdc.tar.bz2
serverdata-1260bce71eb83d9b01ce33726b5cfbfcfed16bdc.tar.xz
serverdata-1260bce71eb83d9b01ce33726b5cfbfcfed16bdc.zip
Initial version for Dausen on Hasan Quest. Add Sorfina, empty.
Diffstat (limited to 'npc/003-1/lieutenantdausen.txt')
-rw-r--r--npc/003-1/lieutenantdausen.txt39
1 files changed, 31 insertions, 8 deletions
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: