diff options
Diffstat (limited to 'npc/003-1/lieutenantdausen.txt')
-rw-r--r-- | npc/003-1/lieutenantdausen.txt | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt index f0d0858d9..5d5064564 100644 --- a/npc/003-1/lieutenantdausen.txt +++ b/npc/003-1/lieutenantdausen.txt @@ -17,7 +17,7 @@ 003-1,111,84,0 script Lieutenant Dausen NPC_PLAYER,{ // The Monster King guild have a special menu if (strcharinfo(2) == "Monster King") goto L_MKControl; - + .@has = getq(TulimsharQuest_WaterForGuard); switch (.@has) { @@ -46,7 +46,7 @@ l("Yes sir. I will help them."), menuaction(l("Quit")); - if (1 != @menu) + if (1 != @menu) { closedialog; goodbye; @@ -58,7 +58,7 @@ speech S_FIRST_BLANK_LINE, l("Good luck! Come for remuneration when you finish!"); } return; - + L_InProgress: mesn; mesq l("Please help my wards!"); @@ -75,8 +75,8 @@ next; - speech S_LAST_NEXT, - l("Wait a minute..."), + speech S_LAST_NEXT, + l("Wait a minute..."), l("The Tulimshar guards needs an freelance employee who would help us in our work. We are searching for people as you."), l("Take this badge, so you can get access to the guard house. You will find more work there. Bye, and good luck!"); return; @@ -402,10 +402,10 @@ function script CheckGuard { mesn; mesq l("Thanks for help! Other guards may need help too!"); close; - } - else + } + else { - while (.@count_tmp < 18) + while (.@count_tmp < 18) { if (GUARDS_DONE_BITARRAY & $@GuardBits[.@count_tmp]) .@guard_count = (.@guard_count + 1); @@ -456,9 +456,9 @@ function script GuardHandler { 003-1,98,100,0 script Guard Philip NPC_GUARD1,{ GuardHandler(0); - + end; - + OnTimer1000: domovestep; @@ -477,7 +477,7 @@ OnInit: initpath "move", 98, 104, "dir", DOWN, 0, - "wait", 60, 0, + "wait", 60, 0, "move", 84, 100, "dir", DOWN, 0, "wait", 45, 0, @@ -492,14 +492,14 @@ OnInit: "wait", 68, 0, "move", 93, 110, "dir", DOWN, 0, - "wait", 90, 0, + "wait", 90, 0, "move", 111, 109, "dir", DOWN, 0, "wait", 11, 0; initialmove; initnpctimer; .distance = 5; - + setarray $@GuardBits, 1, (1 << 1), (1 << 2), (1 << 3), (1 << 4), (1 << 5), (1 << 6), (1 << 7), (1 << 8), (1 << 9), (1 << 10), (1 << 11), (1 << 12), (1 << 13), (1 << 14), (1 << 15), (1 << 16), (1 << 17); } 003-1,98,121,0 script Guard Defou NPC_GUARD1,{ @@ -553,20 +553,20 @@ OnInit: 003-1,58,100,0 script Guard Popaul NPC_GUARD1,{ GuardHandler(7); end; - + OnTimer1000: domovestep; OnInit: initpath "move", 58, 100, "dir", DOWN, 0, - "wait", 100, 0, + "wait", 100, 0, "move", 62, 100, "dir", DOWN, 0, "wait", 35, 0, "move", 62, 93, "dir", DOWN, 0, - "wait", 48, 0, + "wait", 48, 0, "move", 58, 104, "dir", DOWN, 0, "wait", 55, 0, @@ -602,14 +602,14 @@ OnInit: 003-1,54,52,0 script Guard Maxim NPC_GUARD1,{ GuardHandler(10); end; - + OnTimer1000: domovestep; OnInit: initpath "move", 54, 52, "dir", DOWN, 0, - "wait", 85, 0, + "wait", 85, 0, "move", 54, 45, "dir", DOWN, 0, "wait", 70, 0, @@ -624,10 +624,10 @@ OnInit: "wait", 6, 0, "move", 35, 36, "dir", UP, 0, - "wait", 9, 0, + "wait", 9, 0, "move", 49, 52, "dir", DOWN, 0, - "wait", 70, 0; + "wait", 70, 0; initialmove; initnpctimer; .distance = 5; @@ -636,7 +636,7 @@ OnInit: 003-1,50,36,0 script Guard Totor NPC_GUARD1,{ GuardHandler(11); end; - + OnTimer1000: domovestep; @@ -646,13 +646,13 @@ OnInit: "wait", 45, 0, "move", 50, 39, "dir", DOWN, 0, - "wait", 35, 0, + "wait", 35, 0, "move", 35, 40, "dir", UP, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 33, 34, "dir", DOWN, 0, - "wait", 12, 0; + "wait", 12, 0; initialmove; initnpctimer; .distance = 5; @@ -660,35 +660,35 @@ OnInit: 003-1,53,36,0 script Guard Roukin NPC_GUARD1,{ GuardHandler(12); end; - + OnTimer1000: domovestep; OnInit: initpath "move", 53, 36, "dir", DOWN, 0, - "wait", 60, 0, + "wait", 60, 0, "move", 56, 59, "dir", DOWN, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 61, 76, "dir", RIGHT, 0, "wait", 5, 0, "move", 61, 105, "dir", RIGHT, 0, - "wait", 8, 0, + "wait", 8, 0, "move", 59, 129, "dir", LEFT, 0, - "wait", 4, 0, + "wait", 4, 0, "move", 60, 103, "dir", UP, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 56, 82, "dir", LEFT, 0, - "wait", 7, 0, + "wait", 7, 0, "move", 56, 59, "dir", UP, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 53, 39, "dir", DOWN, 0, "wait", 25, 0; @@ -699,17 +699,17 @@ OnInit: 003-1,35,34,0 script Guard Falko NPC_GUARD1,{ GuardHandler(13); end; - + OnTimer1000: domovestep; OnInit: initpath "move", 35, 34, "dir", DOWN, 0, - "wait", 60, 0, + "wait", 60, 0, "move", 51, 38, "dir", DOWN, 0, - "wait", 10, 0; + "wait", 10, 0; initialmove; initnpctimer; .distance = 5; @@ -733,14 +733,14 @@ OnInit: 003-1,102,80,0 script Guard Tetric NPC_GUARD1,{ GuardHandler(16); end; - + OnTimer1000: domovestep; OnInit: initpath "move", 110, 84, "dir", RIGHT, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 110, 101, "dir", RIGHT, 0, "wait", 0, 0, @@ -752,28 +752,28 @@ OnInit: "wait", 1, 0, "move", 65, 152, "dir", DOWN, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 71, 139, "dir", RIGHT, 0, "wait", 1, 0, "move", 59, 128, "dir", LEFT, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 47, 79, "dir", LEFT, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 80, 73, "dir", RIGHT, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 53, 52, "dir", RIGHT, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 52, 37, "dir", RIGHT, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 35, 35, "dir", RIGHT, 0, - "wait", 1, 0, + "wait", 1, 0, "move", 62, 105, "dir", DOWN, 0, "wait", 1, 0; |