summaryrefslogtreecommitdiff
path: root/npc/002-1/dan.txt
blob: bc5a5c76e1af1b1ac0e34c3b62e84dced4624871 (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
// TMW-2 Script
// Authors:
//    Qwerty Dragon and Reid (originals)
//    Jesusalva
// Description:
//    Dan is a sailor from Nard ship (TODO another Redy? Seriously?) who is afraid
//    of Pious.
// Variables:
//    ShipQuests_Dan

002-1,32,31,0	script	Dan#002-1	NPC_REDY_MAN,{
    .@q=getq(ShipQuests_Dan);
    mesn;
    mesq l("You see these pious around us?");
    next;
    mesq l("It seems that we are close to an island, we should take a look at the upper level.");
    close;

OnInit:
    .sex = G_MALE;
    .distance = 5;
    end;

OnRespawnPiou:
    areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("Dan#002-1")+"::OnRespawnPiou");
    end;

OnInstanceInit:
    //instance_set_respawn instance_mapname("002-1"), 52, 32;
    areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 3, instance_npcname("Dan#002-1")+"::OnRespawnPiou");
    end;

}