summaryrefslogtreecommitdiff
path: root/npc/000-1/tarlan.txt
blob: 73c0be1f8d34b676f56cb3466e337ed6420ba898 (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
// Evol scripts.
// Authors:
//    Reid
// Description:
//    Sailor hitting a palm tree, and which is being hitted back by a croconut.

000-1.gat,35,43,0,1	script	Tarlan	315,{

    mesn;

    setnpcdir 2;
    set @a, rand(4);
    if (@a == 0) goto l_HardToHit;
    if (@a == 1) goto l_Aouch;
    if (@a == 2) goto l_DoYou;

    mesq l("Hey.");
    next;
    mesq l("What are you looking for?");
    next;

    menu
        l("Some food."), l_Food,
        l("Nothing, just hanging around."), -;

    mes " ";
    mesn;
    mesq l("Ok, see you then!");

    goto l_Close;

l_Food:
    mes " ";
    mesn;
    mesq l("You can yaye some @@ by hitting these palm trees.", getitemlink("Croconut"));
    next;
    mesq l("Yeye be prudent with wild animal's food, some of them are dangerouyous, especially the Blobs.");

    goto l_Close;

l_HardToHit:
    mesq l("These Croco Trees are full of yaying @@, but they are so hard to hit...", getitemlink("Croconut"));

    goto l_Close;

l_Aouch:
    mesq l("Ayouyouch! My head...");
    next;
    mesq l("Damn @@.", getitemlink("Croconut"));

    goto l_Close;

l_DoYou:
    mesq l("Do you want to try?");
    next;
    mesq l("Just hit the trunk, and it will yeye a @@.", getitemlink("Croconut"));

    goto l_Close;

l_Close:
    setnpcdir 4;
    close;

}