summaryrefslogtreecommitdiff
path: root/world/map/npc/002-1/lieutenant_dausen.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/002-1/lieutenant_dausen.txt')
-rw-r--r--world/map/npc/002-1/lieutenant_dausen.txt22
1 files changed, 3 insertions, 19 deletions
diff --git a/world/map/npc/002-1/lieutenant_dausen.txt b/world/map/npc/002-1/lieutenant_dausen.txt
index f8a6cf66..c945a296 100644
--- a/world/map/npc/002-1/lieutenant_dausen.txt
+++ b/world/map/npc/002-1/lieutenant_dausen.txt
@@ -1,7 +1,7 @@
// Lieutenant in charge of monitoring the monster threat surrounding the city.
// Variables used: nibble 4 and 5 of QUEST_SouthTulimshar
-002-1.gat,54,27,0|script|Lieutenant Dausen|122
+002-1.gat,63,67,0|script|Lieutenant Dausen|122
{
// This NPC previously used the variable TMW_Quest
callfunc "ClearVarTMW_Quest";
@@ -17,28 +17,16 @@
if (@state == 2) goto L_LD_Woe_Is_Me;
if (@state == 1) goto L_LD_Drinks;
- set @bermik, ((QUEST_SouthTulimshar & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
- set @sarah, ((QUEST_SouthTulimshar & NIBBLE_1_MASK) >> NIBBLE_1_SHIFT);
- set @vincent, ((QUEST_SouthTulimshar & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT);
- set @sandra, ((QUEST_SouthTulimshar & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
-
- if ((@state == 0) && (@bermik >= 6) && (@sarah >= 2) && (@vincent >= 2) && (@sandra >= 2))
- goto L_LD_Start;
-
mes "[Lieutenant Dausen]";
mes "\"Hello. I am Lieutenant Dausen. I monitor the monster threat around the city to ensure the safety of its citizens.\"";
- next;
-
if (@state)
goto L_Close;
- mes "[Lieutenant Dausen]";
- mes "\"I may have a job for you, stranger, but first I would like to learn more about you. Go walk among the citizens of Tulimshar, see if any of them could use some help. Once you have established a good reputation, word will get to me.\"";
- goto L_Close;
+ goto L_LD_Start;
L_LD_Start:
set @state, 1;
callsub S_Update_Var;
- mes "[Lieutenant Dausen]";
+ next;
mes "\"Out here in the desert, it sure does get hot! My men and I get thirsty rather quickly. Cactus Drinks are our favourite; if you can get some for us, we'd surely appreciate your effort. About 10 would do.\"";
goto L_Close;
@@ -134,10 +122,6 @@ L_LD_Key:
L_Close:
set @state, 0;
- set @bermik, 0;
- set @sarah, 0;
- set @vincent, 0;
- set @sandra, 0;
close;
S_Update_Var: