summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-23 13:54:01 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-23 13:54:01 -0300
commit89fdc961f085fa3f58c2c27523cef169134fbb93 (patch)
tree553f4194b00b25d24cccf370aed36ec7c54bfcf4 /npc/functions
parent3a5fdbdfc6ed9b8bfe1644dd6e5d53293ff745df (diff)
downloadserverdata-89fdc961f085fa3f58c2c27523cef169134fbb93.tar.gz
serverdata-89fdc961f085fa3f58c2c27523cef169134fbb93.tar.bz2
serverdata-89fdc961f085fa3f58c2c27523cef169134fbb93.tar.xz
serverdata-89fdc961f085fa3f58c2c27523cef169134fbb93.zip
Introduce setq1, required for new Grand Hunter.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/main.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 9685ff256..e1fca2863 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -13,6 +13,12 @@ function script menuaction {
return "[" + getarg(0) + "]";
}
+function script setq1 {
+ // Quest, val1 , val2 , val3 , time
+ setq getarg(0), getarg(1), getq(getarg(0)), getq3(getarg(0)), getqtime(getarg(0));
+ return;
+}
+
function script setq2 {
// Quest, val1 , val2 , val3 , time
setq getarg(0), getq(getarg(0)), getarg(1), getq3(getarg(0)), getqtime(getarg(0));