summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/quiz.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-03-15 14:00:04 -0400
committermekolat <mekolat@users.noreply.github.com>2016-03-30 11:22:57 -0400
commita99779828dd609f004a17048d72bbfeb484a81bd (patch)
treef3605c8bdded9dd1f89461001a316fbf2fb1be26 /world/map/npc/functions/quiz.txt
parent8d9de1d4d43b4548aa544a995d402173e7e56af8 (diff)
downloadserverdata-a99779828dd609f004a17048d72bbfeb484a81bd.tar.gz
serverdata-a99779828dd609f004a17048d72bbfeb484a81bd.tar.bz2
serverdata-a99779828dd609f004a17048d72bbfeb484a81bd.tar.xz
serverdata-a99779828dd609f004a17048d72bbfeb484a81bd.zip
get rid of magic secrets, convert stranger quiz
Diffstat (limited to 'world/map/npc/functions/quiz.txt')
-rw-r--r--world/map/npc/functions/quiz.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/functions/quiz.txt b/world/map/npc/functions/quiz.txt
index ea10a3c4..0f2f7c87 100644
--- a/world/map/npc/functions/quiz.txt
+++ b/world/map/npc/functions/quiz.txt
@@ -1,3 +1,8 @@
+// FIXME/TODO: some variables should be scoped, and some other variables
+// combined in an array, with a very specific name, to avoid
+// collisions. The script as a whole should be optimized to
+// take advangage of magic-v3
+
function|script|MultiQuiz
{
if((getarraysize(@quiz_answers$) != getarraysize(@quiz_questions$)) ||