summaryrefslogtreecommitdiff
path: root/npc/017-1/paxel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-1/paxel.txt')
-rw-r--r--npc/017-1/paxel.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/017-1/paxel.txt b/npc/017-1/paxel.txt
index f71d16d77..8b66cee38 100644
--- a/npc/017-1/paxel.txt
+++ b/npc/017-1/paxel.txt
@@ -9,6 +9,11 @@
// He probably used the nice furnace NPC too... We will need another NPC to use that...
017-1,131,22,0 script Paxel NPC_PLAYER,0,0,{
+ function maybeTowel;
+ if (maybeTowel())
+ npctalk3 l("I hope that strange towel man doesn't bother me again...");
+ else if (rand2(10) == 4)
+ npctalk3 l("I'm glad there's no annoying towel man. He keeps coming back to annoy me!");
.@q=getq(SQuest_Paxel);
if(.@q == 2) goto L_Done;
if (season() != SPRING && !$@GM_OVERRIDE) goto L_OutOfSeason;
@@ -244,6 +249,10 @@ OnOmattizator4:
percentheal -100, -100;
end;
+function maybeTowel {
+ return (gettime(GETTIME_MONTH) % 3 == 2 && gettime(GETTIME_DAYOFMONTH) >= 18 && gettime(GETTIME_DAYOFMONTH) <= 25)
+}
+
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, PrsmHelmet);