summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
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));