diff options
-rw-r--r-- | npc/017-1/paxel.txt | 9 | ||||
-rw-r--r-- | npc/017-1/stranger.txt | 5 |
2 files changed, 14 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); diff --git a/npc/017-1/stranger.txt b/npc/017-1/stranger.txt index 2a2ddccae..c60e98844 100644 --- a/npc/017-1/stranger.txt +++ b/npc/017-1/stranger.txt @@ -159,6 +159,11 @@ L_Reward: L_Complete: mesn; mesq l("I have a lot of work to do now."); + if (rand2(3) == 2) { + next; + mesn; + mesq l("Annoying Paxel, for example %%o"); + } close; // Proccessing Core |