diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-01 15:34:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-01 15:34:58 -0300 |
commit | 27add2af4e962568f5cda159af416632af17dfa6 (patch) | |
tree | e192c55059eafc7aaac1c50876bec730bed8418a /npc | |
parent | ee121971765296e15ae088b388788b51074453cc (diff) | |
download | serverdata-27add2af4e962568f5cda159af416632af17dfa6.tar.gz serverdata-27add2af4e962568f5cda159af416632af17dfa6.tar.bz2 serverdata-27add2af4e962568f5cda159af416632af17dfa6.tar.xz serverdata-27add2af4e962568f5cda159af416632af17dfa6.zip |
Allow Soren Village to get rid of monsters every once in a while
Diffstat (limited to 'npc')
-rw-r--r-- | npc/soren/main.txt | 13 |
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; } |