summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/soren/main.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
index a8d1870fb..53f1376a5 100644
--- a/npc/soren/main.txt
+++ b/npc/soren/main.txt
@@ -53,6 +53,19 @@ OnTouch:
close;
}
end;
+
+// Some cleanup might be needed to don't raise difficulty infinitely
+// So every day, at 03:23 AM, if no one is trying the quest, it'll get rid
+// of the non-permanent monsters on Soren Village & Soren House.
+OnClock0323:
+ if (getareausers("soren") == 0 &&
+ getareausers("soren-2") == 0 &&
+ getareausers("001-6") == 0 &&
+ getareausers("001-7") == 0) {
+ killmonster("soren", "All");
+ killmonster("soren-2", "All");
+ }
+ end;
}