summaryrefslogtreecommitdiff
path: root/localserver/npc/015-8_blackbox.txt
diff options
context:
space:
mode:
Diffstat (limited to 'localserver/npc/015-8_blackbox.txt')
-rw-r--r--localserver/npc/015-8_blackbox.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/localserver/npc/015-8_blackbox.txt b/localserver/npc/015-8_blackbox.txt
new file mode 100644
index 0000000..a95b065
--- /dev/null
+++ b/localserver/npc/015-8_blackbox.txt
@@ -0,0 +1,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]);
+}
+