summaryrefslogtreecommitdiff
path: root/localserver/npc/015-8_blackbox.txt
blob: 7ae5c57e07ea3a2344074056dac7e66ac655bf37 (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
27
// 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 was alive, I brought people to their destiny.");
    mesc l("One day, I was provoked. Others came to my aid,");
    mesc l("But all I could do was a bite.");
    mesc l("To my murders, I gave them a full meal.");
    mesc l("And in a hut, a lone woman mourned my death.");
    mes "";
    input .@ans$;

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