From 27add2af4e962568f5cda159af416632af17dfa6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 Mar 2019 15:34:58 -0300 Subject: Allow Soren Village to get rid of monsters every once in a while --- npc/soren/main.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; } -- cgit v1.2.3-60-g2f50