blob: 66abd8d4a26091fc8eea9b7d4af215bc5da6afd9 (
plain) (
tree)
|
|
// TMW2/LOF Script.
// Author:
// Jesusalva
// Description:
// Part of Katze quest
// See also
// npc/config/inspector.txt
017-1,77,104,0 script Anselmo NPC_ANSELMO_BR,{
.@q = getq(LoFQuest_Inspector);
mesn;
mesq l("Hello. My name is Anselmo and I'm investigating a recent string of robberies.");
next;
if (BaseLevel < 50) goto L_Close;
if (!is_staff()) goto L_Close; // FIXME
mesn;
mesq l("Well... Not robberies per se... Just cheese vanishing and being replaced by %s, which is super weird.", getitemlink(GoldenApple));
next;
mesn;
mesq l("You look capable, will you help me solve these robberies? Of course, not for free.");
next;
if (askyesno() == ASK_NO)
goto L_Close;
mesn;
mesq l("Excellent. I'd like you to ask around about the recent string of robberies.");
next;
mesn;
mesq l("But remember, they're stealing %s, not shinies, so try to limit your search a bit.", getitemlink(Cheese));
setq LoFQuest_Inspector, 1, 0;
next;
goto L_Close;
L_Close:
closeclientdialog;
if (rand2(100) < 2)
npctalk3 l("And remember to never sit on Paxel! He hates that!");
else
goodbye();
close;
OnInit:
.distance=5;
.sex = G_MALE;
end;
}
|