summaryrefslogtreecommitdiff
path: root/localserver/npc/015-8_blackbox.txt
blob: a95b0656599ab7656f7bf3d27e7ef4316c4ce586 (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
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  This is the “015-8 mapfile” black box.
//  It contains the answers to all the riddles.
//  This file is kept outside the main tree for translation purposes.
//  You thought you could cheat the answers, eh?

//  Syntax:
//  0158_Riddle_BlackBox(  )
//  Returns true on success, false on failure.
function	script	0158_Riddle_BlackBox	{
    .@r$="secret";
    .@l$=l("secret");

    mesc l("When I died, I gave to my killers a full meal.");
    mesc l("But when I was alive, I brought them to their destiny.");
    mesc l("When provoked, others came to my aid,");
    mesc l("And after a bite, my aggressors walked away from my body.");
    mes "";
    input .@ans$;

    return riddlevalidation(.@ans$, .@r$[.@e], .@l$[.@e]);
}