summaryrefslogtreecommitdiff
path: root/world/map/npc/018-2/angus.txt
blob: f44bef56c63ce90886beb86875780bf380b1026e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Angus the craftsman

018-2.gat,31,39,0|script|Angus|147,{
    set @honorific$, "lad";
    if (Sex == 0) set @honorific$, "lass";

    callfunc "ClearVariables";

    set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);

    if (@inspector == 10) goto L_NohMask;

    mes "[Angus]";
    mes "Angus is tinkering with some mechanical concoction.";
    mes "\"It keeps breakin' left an' right...  fortunat'ly I put in redundancies everywhere, but I haf' to keep repairin'.\"";
    goto L_Close;

L_NohMask:
    mes "[Angus]";
    mes "\"I'm sorry, " + @honorific$ + ", I truely am, but I stay in the town. One o' the miners might have heard something.\"";
    goto L_Close;

L_Close:
    set @inspector, 0;
    close;
}