From 356d9693d69c43f2a66f7e60aa10483803b50951 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Apr 2021 15:11:22 -0300 Subject: Add several changes from 2018 which had been excluded by accident =/ --- npc/functions/miriam.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 npc/functions/miriam.txt (limited to 'npc/functions/miriam.txt') diff --git a/npc/functions/miriam.txt b/npc/functions/miriam.txt new file mode 100644 index 00000000..e59b736b --- /dev/null +++ b/npc/functions/miriam.txt @@ -0,0 +1,17 @@ +function script MiriamGoal { + if (QUEST_MIRIAM_run > 0) + QUEST_MIRIAM_run = 0 - (gettimetick(2) - QUEST_MIRIAM_run); + return; +} + +function script MiriamExpire { + if (QUEST_MIRIAM_run > 0) + set QUEST_MIRIAM_run, 0 - 2; // force failute (expired) + return; +} + +function script MiriamCheat { + if (QUEST_MIRIAM_run > 0) + set QUEST_MIRIAM_run, 0 - 1; // force failure (cheating) + return; +} -- cgit v1.2.3-70-g09d2