blob: 38225d4e0a37ec93147ad7f0ab6a476eaa54aebc (
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
|
// Evol functions.
// Author:
// Reid
// Description:
// Tell a random sentence.
// Variables:
// .@rand = Random number between the number of sentence choice.
function script sailortalk {
.@rand = rand(8);
if (.@rand == 0) goodbye;
if (.@rand == 1)
{
speech 4,
l("These purple mushrooms are called @@s. There are plenty of 'em on this island!", getitemlink(Plushroom)),
l("It's a kind of mushroom that tastes like a marshmallow and looks like a plush! @@, get it?", getitemlink(Plushroom)),
l("These funny fungi are mushrooming all around this island. Just pick some @@s and have a try.", getitemlink(Plushroom));
}
if (.@rand == 2) npctalk3 l("Good to hear from you!");
if (.@rand == 3) npctalk3 l("So finally someone has came to visit me?");
if (.@rand == 4)
{
speech 4,
l("A sunny and hot day,"),
l("a quiet place,"),
l("a ground!"),
l("What else do you need?");
}
if (.@rand == 5) npctalk3 l("A-hoy matey!");
if (.@rand == 6) npctalk3 l("We are glad captain Nard has let you join the crew!");
if (.@rand == 7) npctalk3 l("Howdy?");
closedialog;
close;
}
|