summaryrefslogtreecommitdiff
path: root/npc/027-2_Caretakers_House/testnpcs.txt
blob: 9cd452c6091e532b842c8007d9e6f47dbd581e96 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// Temporary placing of all non shop npcs
// A proper break down of files will need to be done later

// drunk lover: quest, 
// werewolf: gambling,
// chef's helper: simple dialog,
// horn mage: golbenez,
// drunker: simple dialog,
// barman: crafting related,
// swordguy: weapon master,
// ghost from dead drunk: simple dialog,
// crying child: I don't know,
// Innkeeper's ghost: quest,
// evil guard: simple dialog,
// hangman: quest,
// headless: quest or simple dialog,
// lightman: quest,


027-2.gat,80,34,0	script	Drunk Lover	303,{
	end;
}

027-2.gat,118,23,0	script	Werewolf	305,{
	mes "debug for the lovetriangle quest";
	menu
		"reset reid", -,
		"leave", L_Close;

	set @Graveyard_Inn_MASK, NIBBLE_0_MASK;
	set @Graveyard_Inn_SHIFT, NIBBLE_0_SHIFT;

	set @state, ((QUEST_Graveyard_Inn & @Graveyard_Inn_MASK) >> @Graveyard_Inn_SHIFT);
	set @state, 0;
	callsub S_Update_Mask;

L_Close:
	close;

S_Update_Mask:
        set QUEST_Graveyard_Inn,
        	(QUEST_Graveyard_Inn & ~(@Graveyard_Inn_MASK))
                | (@state << @Graveyard_Inn_SHIFT);
        return;
}

027-2.gat,75,29,0	script	Archibald	306,{
	end;
}

027-2.gat,77,40,0	script	Drunker	308,{
	set @drunker, rand(4);
	if (@drunker == 0) goto L_0;
	if (@drunker == 1) goto L_1;
	if (@drunker == 2) goto L_2;
	if (@drunker == 3) goto L_3;
	end;
L_0:
	mes "[Ghost Drunker]";
	mes "\"zzzZZZzzz...\"";
	close;
L_1:
	mes "[Ghost Drunker]";
	mes "\"Ish that a Zzombee?...\"";	
	close;
L_2:
	mes "[Ghost Drunker]";
	mes "\"Auuu... Hiccup... Don't byte mee... \"";	
	close;
L_3:
	mes "[Ghost Drunker]";
	mes "\"Moar Bearr...Pleash!\"";
	close;
}

027-2.gat,103,22,0	script	Barman	310,{
	end;
}

027-2.gat,70,77,0	script	Cerhan	311,{
	end;
}

027-2.gat,110,23,0	script	Ghost Drunker	312,{
	mes "[Ghost Drunker]";
	mes "\"Ohh... My head is killing me! I have to stop drinking too much or I will lose my job... But being a waiter... oh I can't resist a drink or two!\"";
	close;
}

027-2.gat,39,91,0	script	Golbenez	307,{
	end;
}

027-2.gat,100,43,0	script	Evil Guard	316,{
	end;
}

027-2.gat,43,73,0	script	Hanged Lover	317,{
	end;
}

027-2.gat,24,77,0	script	Headless Man	318,{
	end;
}

027-2.gat,22,84,0	script	Lantern Man	319,{
	end;
}