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
|
// TMW2 Scripts.
// Author:
// Jesusalva
// Description:
// Nard's ship Doors NPCs.
002-3,30,28,0 script AreaNPC#doors4 NPC_HIDDEN,0,0,{
OnTouch:
if (!getq(General_Narrator) && getq(ShipQuests_Julia) < 3) {
showavatar NPC_NARD;
setcamnpc "Nard";
mesn l("Nard");
mesq l("Where do you think you are going, without talking to me first?");
next;
mesc l("Talk to Nard to unlock the door.");
next;
restorecam;
close;
}
if (getvaultid() && !(##02_MLQUEST & MLP_ML_NARD)) {
mesc l("Alright. A new world. What mysteries await for me behind that wooden door?");
next;
mesc l("Visiting a new world is always exciting. Actually, the opportunity of taking a new life in a new universe isn't that bad either.");
next;
mesc l("That's why we must stop... THEM... at any costs. I don't know what they're plotting, but it is not in this world inhabitants best interests... nor any other world.");
next;
mesc l("Anyway... Let's see how this world works!");
next;
##02_MLQUEST = ##02_MLQUEST | MLP_ML_NARD;
closeclientdialog;
}
if (LOCATION$ == "Candor") {
warp "005-1", 49, 117;
close;
}
if (LOCATION$ == "Artis") {
warp "029-0", 203, 85;
close;
}
if (LOCATION$ == "Tulim") {
if ($@MK_SCENE == MK_SIEGE_TULIM && BaseLevel < 30) {
showavatar NPC_NARD;
setcamnpc "Nard";
mesn l("Nard");
mesc l("The Monster Army is currently sieging Tulimshar. There are hundreds of dangerous monsters out there right now."), 1;
next;
mesn l("Nard");
mesc l("I would advise you to remain here in the ship, they should leave in a few minutes, but I will not force you."), 1;
next;
mesn l("Nard");
mesc l("Just beware that if you leave, you might get killed really quickly. No death penalty, though."), 1;
next;
mesc l("Leave the ship? The town have no death penalty and is under a global event."), 1;
if (askyesno() == ASK_NO)
close;
// Boost their evade and HP so they don't get instantly KO'ed (5 min)
sc_start SC_INCFLEE, 300000, 200;
sc_start SC_INCMHP, 300000, 1000;
heal 1000, 0;
dispbottom l("Queen Of Dragons: It is dangerous to go out alone, I'll raise your evasion and life!"); // QoD = “Demure”.
}
warp "003-1", 81, 68;
close;
}
Exception("Script error: 002-3 door");
close;
}
002-3,42,25,0 script AreaNPC#002-3d NPC_HIDDEN,0,0,{
OnTouch:
if (LOCATION$ == "")
warp "002-1", 72, 29;
else
warp "002-1@"+LOCATION$, 72, 29;
close;
}
|