diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-04 10:25:42 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-04 10:25:42 -0300 |
commit | 38319d39bc9de1d75bea27235c635ad580646ab0 (patch) | |
tree | 9764f4435e09d16d479ed36b8f2ef701f7ade7b5 /npc/017-1 | |
parent | 8c1f1245ad75d2a620c290f6ca580d630087912f (diff) | |
download | serverdata-38319d39bc9de1d75bea27235c635ad580646ab0.tar.gz serverdata-38319d39bc9de1d75bea27235c635ad580646ab0.tar.bz2 serverdata-38319d39bc9de1d75bea27235c635ad580646ab0.tar.xz serverdata-38319d39bc9de1d75bea27235c635ad580646ab0.zip |
Omattizator minigame
Diffstat (limited to 'npc/017-1')
-rw-r--r-- | npc/017-1/paxel.txt | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/npc/017-1/paxel.txt b/npc/017-1/paxel.txt index b6dda6b6f..342a9678d 100644 --- a/npc/017-1/paxel.txt +++ b/npc/017-1/paxel.txt @@ -12,7 +12,7 @@ .@q=getq(SQuest_Paxel); if(.@q == 2) goto L_Done; if (season() != SEASON_SPRING && !$@GM_OVERRIDE) goto L_OutOfSeason; - if(.@q == 1) goto L_Ask2; + if(.@q == 1) goto L_Ask2; if (BaseLevel >= 60) goto L_Ask1; @@ -169,6 +169,60 @@ L_Spring: mesq l("Hahah, good to hear! Do you know some items are only dropped on spring? You should go after them!"); close; +// Saulc/Omatt/Prsm minigame +OnTouch: + addtimer(100, "Paxel::OnOmattizator"); + end; + +OnOmattizator: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + npctalk3 l("Unsit me at once!"); + emotion E_FURIOUS; + addtimer(1000, "Paxel::OnOmattizator2"); + end; + +OnOmattizator2: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + npctalk3 l("Unsit me OR I'LL KILL YOU in name of my father, Prsm!"); + emotion E_FURIOUS; + addtimer(3000, "Paxel::OnOmattizator3"); + end; + +OnOmattizator3: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + npctalk3 l("I HAVE WARNED YOU!!!!!"); + emotion E_FURIOUS; + addtimer(1000, "Paxel::OnOmattizator4"); + end; + +OnOmattizator4: + if (!isin("017-1", 131, 22, 0)) + end; + if (!issit()) + addtimer(100, "Paxel::OnOmattizator"); + .@q=getq(General_EasterEggs); + npctalk3 l("DIE!"); + + if (!(.@q & EE_PRSM)) { + setq General_EasterEggs, .@q|EE_PRSM; + dispbottom l("For finding an Easter Egg, you got Strange Coins!"); + getitem StrangeCoin, 3; + } + + slide 130, 23; + emotion E_FURIOUS; + percentheal -100, -100; + end; + OnInit: .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, PrsmHelmet); |