blob: 8f20bb5fa76e7e5e11eb38e5e031f3d3ed4bc8a0 (
plain) (
tree)
|
|
// TMW2 Scripts.
// Author:
// Saulc
// Jesusalva
// Description:
// Constable Perry invites players to the TMW2 Project
// Part of the THIEF/MERCHANT branches
003-1,47,75,0 script Constable Perry NPC_MOUBOO,{
if (JobLevel > 20 && THIEF_RANK == 0) goto L_Quest;
L_Intro:
mesn;
mesq l("Hello there! I am a constable. I keep law and order here.");
next;
mesq l("Yes, I am a mouboo. Why? Can't a mouboo be a law and order enforcer?!");
next;
mesq l("Have you ever felt struck? Lost? Didn't know about a quest, or an item is troubling you?");
mesq l("Have no idea where in the world you are? Or what a certain mob drops, or even if you should challenge it?");
next;
mesn;
mesq l("Fear not! You can check our [@@https://gitlab.com/TMW2/Docs/wikis/home|Wiki@@] to find that and other awesome stuff!");
mesc l("(To see the rules, use ##B@rules##b.)");
next;
mesq l("You can even join the project there. Contributors are greatly appreciated! %%N");
close;
L_Quest:
if (MERC_RANK == 0)
goto L_Recruit;
mesn;
mesq l("Hello there, @@, protector of law and order.", mercrank());
if (MERC_RANK == 5) close;
mesq l("I see you have collected some experience. Let me try to rank you up!");
next;
if (MERC_EXP > (MERC_RANK*2)**5) {
MERC_EXP-=(MERC_RANK*2)**5;
MERC_EXP=(MERC_EXP/20); // Penalty for postponing rank up (you keep 5%)
MERC_RANK+=1;
mesn;
mesq l("Congrats! You rank up! You are now a(n) @@!", mercrank());
} else {
mesn;
mesq l("Well, you need more experience. Keep trying!");
}
close;
L_Recruit:
mesn;
mesq l("You seem to be doing some money. Would you consider fighting for good, and against all thieves?");
mesq l("...Of course, Hasan is an exception.");
mesc l("Notice: If you join the ##BMerchants Guild Police##b now, you WON'T BE ABLE to be a thief later!"), 1;
next;
if (askyesno() == ASK_YES) {
MERC_EXP=0;
MERC_RANK=1;
mes "";
mesn;
mesq l("Welcome to the ##BMerchant Guild Police##b! Capture anyone doing an evil-doing!");
} else {
goto L_Intro;
}
close;
OnInit:
.sex = G_MALE;
.distance = 5;
end;
}
|