summaryrefslogtreecommitdiff
path: root/localserver/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-03 08:46:18 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-03 08:46:18 -0300
commit16cac8c75108c272b6356dc064b4427210ebe365 (patch)
tree231b2895285a792d6b7299fde4e761e1841b0a0f /localserver/npc
parent7a90ef1b53e6ec1e304614dbf70b5ebcbe8e146b (diff)
downloadtools-16cac8c75108c272b6356dc064b4427210ebe365.tar.gz
tools-16cac8c75108c272b6356dc064b4427210ebe365.tar.bz2
tools-16cac8c75108c272b6356dc064b4427210ebe365.tar.xz
tools-16cac8c75108c272b6356dc064b4427210ebe365.zip
Add a blackbox to 015-8
Diffstat (limited to 'localserver/npc')
-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]);
+}
+