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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
// TMW2 scripts.
// Authors:
// Jesusalva
// Description:
// Alliance High Council
003-0-2,22,24,0 script HC Jesusalva NPC_LOF_NOBLEMAN,{
mesn l("Councilor Jesusalva");
mesq l("Greetings, %s %s, to the Alliance High Council.", ($MOST_HEROIC$ == strcharinfo(0) ? l("Great Hero") : (ACADEMIC_RANK ? academicrank() : lg("miss", "mister"))), strcharinfo(0));
next;
mesn l("Councilor Jesusalva");
mesq l("I am currently in charge of overseeing the world state and the Monster King advancements, as well as planning and dealing with emergencies. The Alliance High Council is currently composed by %s members and %s honorary ones.", l("five"), l("two"));
next;
mesn l("Councilor Jesusalva");
mesq l("If you found anything which requires immediate attention, like broken roads which lead nowhere, or cliffs with weird collisions, invisible rocks, scamming NPCs or the sorts, please write down a %s and I'll see it. If the interface is too difficult to use, you can also do so %s or send an email to %s.", "[@@https://git.themanaworld.org/ml/serverdata/-/issues|ticket@@]", "[@@https://discord.gg/BQNTe68|here@@]", "bug@tmw2.org");
if (.saul && .jak1 && .lawn && .craz)
close;
next;
mesn l("Councilor Jesusalva");
mesq l("The other councilors?");
if (!.saul)
mes l("─ Saulc should be on his residence, going over the plans again.");
if (!.jak1)
mes l("─ Jak1 should be on the Mirror Lake or verifying the infrastructure.");
if (!.lawn)
mes l("─ LawnCable is likely on his room doing research, I wouldn't disturb him if I were you.");
if (!.craz)
mes l("─ Crazyfefe is likely patrolling the world, aiding Constables and catching criminals.");
// The honor commanders, Pihro and Pyndragon, are likely managing their town. Ever been to Land of Fire? I heard they plan in building a floating island, too!
// The "Diamond" is, uh, I guess he's on the study room, the academy or perhaps the library. He said he is not qualified enough to be on the high command and decided to study some more.
// Demure is now part of game lore, how do I even make her a member XD
close;
OnDeloc:
if (isin("003-0-2", 20, 20, 49, 37)) {
slide 35, 38;
sleep2(200);
dispbottom l("The High Council is now on session, you were forced to leave the meeting chamber.");
}
end;
OnInit:
.sex = G_MALE;
.distance = 5;
.session = false;
OnMinute17:
OnMinute44:
disablenpc "HC Saulc";
disablenpc "HC Jak1";
disablenpc "HC LawnCable";
disablenpc "HC Crazyfefe";
.saul = false;
.jak1 = false;
.lawn = false;
.craz = false;
// Define who will be at Council Room
.@r = rand2(100);
if (.session) {
.@r -= 5;
.session = false;
disablenpc "High Council Secretary";
delcells "HCouncilGate";
npctalk "The council is dismissed!";
}
if (.@r >= 97 && !$FIRESOFSTEAM) {
// Council Session
enablenpc "HC Saulc";
enablenpc "HC Jak1";
enablenpc "HC LawnCable";
enablenpc "HC Crazyfefe";
enablenpc "High Council Secretary";
setcells "003-0-2", 32, 35, 37, 37, 1, "HCouncilGate";
.session = true;
npctalk "The council is now in session.";
maptimer("003-0-2", 100, "HC Jesusalva::OnDeloc");
end;
// TODO: Council - make the NPCs speak etc
}
// Not a council session, so some members may show up
if (.@r % 30) {
enablenpc "HC LawnCable";
.lawn = true;
}
if (.@r % 10) {
enablenpc "HC Jak1";
.jak1 = true;
}
if (.@r % 5) {
enablenpc "HC Crazyfefe";
.craz = true;
}
if (.@r % 2) {
enablenpc "HC Saulc";
.saul = true;
}
end;
}
003-0-2,34,27,0 script HC Saulc NPC_HALBERDBARBARIAN,{
mesn l("Councilor Saulc");
mesq l("These battle plans are all wrong; They trace routes on the Canyon which doesn't exist...");
close;
OnInit:
.sex = G_MALE;
.distance = 5;
end;
}
003-0-2,22,30,0 script HC Jak1 NPC_LOF_DOCTOR,{
mesn l("Councilor Jak1");
mesq l("Why everything is so broken, couldn't the Monster King try to do less collateral damage?! These things will take years to be fixed!");
close;
OnInit:
.sex = G_MALE;
.distance = 5;
end;
}
003-0-2,47,24,0 script HC LawnCable NPC_BLACKALCHEMIST,{
mesn l("Councilor LawnCable");
mesq l("Maybe if... No... Hmm... I better try this the next time I'm at my laboratory...");
close;
OnInit:
.sex = G_MALE;
.distance = 5;
end;
}
003-0-2,47,30,0 script HC Crazyfefe NPC_LOF_RICH,{
mesn l("Councilor Crazyfefe");
mesq l("I want to arrest the Monster King one day, but until then, I'm happy getting rid of petty scammers, spammers, and general evildoers.");
close;
OnInit:
.sex = G_MALE;
.distance = 5;
end;
}
// NPC_BLACKWIZARD NPC_MIRAJ
// NPC_BELLA » Secretary
// When the council is in session, a lock raises
// And Bella explains the council is in session, to come back later
// NPCs may also speak stuff randomly
003-0-2,32,38,0 script High Council Secretary NPC_BELLA,{
mesn;
mesq l("Greetings. The council is currently in session, no one is allowed in the inner chambers.");
close;
OnInit:
.sex = G_MALE;
.distance = 5;
disablenpc .name$;
end;
}
|