summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/main.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 243ae383d..9685ff256 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -13,6 +13,18 @@ function script menuaction {
return "[" + getarg(0) + "]";
}
+function script setq2 {
+ // Quest, val1 , val2 , val3 , time
+ setq getarg(0), getq(getarg(0)), getarg(1), getq3(getarg(0)), getqtime(getarg(0));
+ return;
+}
+
+function script setq3 {
+ // Quest, val1 , val2 , val3 , time
+ setq getarg(0), getq(getarg(0)), getq2(getarg(0)), getarg(1), getqtime(getarg(0));
+ return;
+}
+
function script mesn {
if (getargcount() > 0)
{