diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-18 21:44:24 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-18 21:44:24 -0300 |
commit | ae9b73f4f3558ce9b266fe6dda2991c89e1f0f1c (patch) | |
tree | 528cd7dbe387096f94f5639f38da1c03447c95ab /npc/020-7-1/core.txt | |
parent | fbed4a4d281a466f0a76b0dccd21e6f85f610543 (diff) | |
download | serverdata-ae9b73f4f3558ce9b266fe6dda2991c89e1f0f1c.tar.gz serverdata-ae9b73f4f3558ce9b266fe6dda2991c89e1f0f1c.tar.bz2 serverdata-ae9b73f4f3558ce9b266fe6dda2991c89e1f0f1c.tar.xz serverdata-ae9b73f4f3558ce9b266fe6dda2991c89e1f0f1c.zip |
The INK QUEST + Function utils
Diffstat (limited to 'npc/020-7-1/core.txt')
-rw-r--r-- | npc/020-7-1/core.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/npc/020-7-1/core.txt b/npc/020-7-1/core.txt index 8fbb318d2..c27c06b5c 100644 --- a/npc/020-7-1/core.txt +++ b/npc/020-7-1/core.txt @@ -1 +1,22 @@ // Core functions + +// Some setup is required + +// BSQuestion(quest state) +function script BSQuestion { + switch (getarg(0)) { + case 3: + case 4: + return BS_QVISITOR; + case 5: + case 8: + return BS_QHELPER; + case 6: + case 7: + case 9: + case 10: + return BS_QVISITOR | BS_QHELPER; + } + return 0; +} + |