diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-04 22:42:21 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-04 22:42:21 -0300 |
commit | 3cba54478158221f7c62c567f8de321384abed48 (patch) | |
tree | eeca2cc2f8fb536e427a6e84ed51d00906c8f86c /npc/017-1/paxel.txt | |
parent | 61c6c5cc4839bd4504f16e133249049596650ef8 (diff) | |
download | serverdata-3cba54478158221f7c62c567f8de321384abed48.tar.gz serverdata-3cba54478158221f7c62c567f8de321384abed48.tar.bz2 serverdata-3cba54478158221f7c62c567f8de321384abed48.tar.xz serverdata-3cba54478158221f7c62c567f8de321384abed48.zip |
Paxel and Stranger - Connect both.
Diffstat (limited to 'npc/017-1/paxel.txt')
-rw-r--r-- | npc/017-1/paxel.txt | 9 |
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); |