blob: 20d815084413469a4a7062fdae768b2672dc3c7b (
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
|
// Evol scripts.
// Author:
// Reid
// Description:
// Random some sailors's dialogues between two categories of NPCs.
function script SailorFood {
mesn;
set @q, rand(0,400)/100;
if (@q == 0) goto l_RandomA;
if (@q == 1) goto l_RandomB;
if (@q > 1) goto l_RandomC;
l_RandomA:
mesq l("Hey.");
next;
mesq l("What did Gugli said about the box? Was it ok?");
next;
menu
l("It's ok."), l_Fine,
l("He needs more food."), -;
mes "";
mesn;
mesq l("Oh really? I'll put more food in the next box then.");
close;
l_Fine:
mes "";
mesn;
mesq l("It's alright! Just one more box and it'll be ok.");
close;
l_RandomB:
mesq l("Thanks for the help!");
next;
mesq l("These boxes are way too heavy to be brought alone onto the ship.");
close;
l_RandomC:
mesq l("I think that I'm soon done since I'll soon have a box full of @@s!", getitemlink("CrocClaw"));
next;
mesq l("And you? How's it going on your side?");
next;
return;
}
|