From 3cba54478158221f7c62c567f8de321384abed48 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 4 Feb 2020 22:42:21 -0300 Subject: Paxel and Stranger - Connect both. --- npc/017-1/paxel.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'npc/017-1/paxel.txt') 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); -- cgit v1.2.3-60-g2f50